Recent posts

Phicomm N1 Box High CPU Usage Due to IRQ-42

6 minute read

While playing Armbian with Phicomm N1 box, I found kernel thread irq/42-0.200908 have very high cpu usage thus cause the load average to around 2, this is a ...

Markdown Cheatsheet

less than 1 minute read

Preserve white spaces In macOS, you need to press⌥ Opt+Space

Remove Git Commit from History

1 minute read

Occasionally, you may want to remove a commit from github/gitlab, for example, I pushed a commit to switched the jekyll theme from minima to minimal mistakes...

Random Kernel Debugging Tips

3 minute read

All-zero address shown when do cat /proc/modules echo 0 > /proc/sys/kernel/kptr_restrict # or with sysctl sysctl kernel.kptr_restrict=0

Syzkaller: Coverage-guided Kernel Fuzzer

2 minute read

Syzkaller is a coverage-guided fuzzer for Linux kernel, it was mainly developed by Dmitry Vyukov, and with many other developers, it’s under active developme...

Kernel Debugging With Kgdb

10 minute read

In Kernel memory debugging techniques, we talked about using script decode_stacktrace.sh to translate addresses to lines, or if only interested in one entry ...