Re: some help in kernel debugging

From: Samuel Korpi
Date: Mon Nov 20 2006 - 03:53:30 EST


Hi,

I don't know what sort of debugging needs you have, exactly, but I
would suggest you take a look at User Mode Linux (UML). UML provides a
safe and pretty easy way to start you with kernel debugging and just
looking into kernel internals. It is a virtual kernel running in user
space, so it doesn't require a separate test machine, and you can
debug it with normal gdb. Furthermore, it is included in current
vanilla kernels, so you can get started without any extra patches.

Main sources for information concerning UML are:

Main page: http://www.user-mode-linux.org/
HOWTO: http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO.html
Wiki: http://uml.jfdi.org/
Precompiled kernels and root file systems: http://uml.nagafix.co.uk/

/Samuel Korpi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/