[lug] Kernel Hacking
Jonathan Corbet
corbet at lwn.net
Mon Apr 30 08:44:29 MDT 2001
> Is there an elegant way to debug kernel code? Or do I just put in a huge
> number of printk()'s?
Depending on what you're trying to do, the user-mode Linux port can really
be your friend. See http://user-mode-linux.sourceforge.net. It lets you
run an independent kernel in user mode, which brings a lot of nice things.
Crashes don't bring down the whole system. You can use gdb on any process
in the user-mode "system." And so on. Good stuff.
More info in http://lwn.net/2001/0215/kernel.php3.
jon
Jonathan Corbet
Executive editor, LWN.net
corbet at lwn.net
More information about the LUG
mailing list