R's Workshop

Generate Stack Trace for C program

Generate Stack Trace Crash 時會產生 SIGSEGV signal, 可以註冊 signal handler 來產生 back trace. Read more

Disable IPv6 on Ubuntu Linux

Check IPv6 status Read more

Linux PCI Device

PCI device and Sysfs Read more

Use neconsole to Debug Linux Kernel Panic

在開發 Linux driver 時, kernel panic 是家常便飯. 在一般的 embedded system 上通常會有接出 console 讓我們在另外一台電腦上紀錄 panic 訊息. 但如果是在一般 PC 上開發, 沒有 console, kernel panic 時又來不急把訊息寫到 disc (e.g. /var/log/syslog or /proc/kmesg) 的... Read more

Run sudo without Password on Ubuntu

Modification Read more