Recent posts

Enable pstore for kernel oops/panic dumping

1 minute read

Debugging devices without serial console is big challenge especially for kernel panic issues, pstore (persistent store) writes kernel messages before system ...

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