From: Henry N. <hen...@ar...> - 2012-05-30 23:33:44
|
At 19.04.2012 22:47, deneme.true wrote: > It is possible to debug kernel modules with indicating 'debug' > paramater to uml at specified this address: > > http://user-mode-linux.sourceforge.net/old/debugging.html > > Is it possible to debug kernel modules with coLinux? Is it possible to > provide configured debug vmlinux kernels for slow machines? > Option "debug" is for UML, not for coLinux. You can run an UML-Linux-Kernel and you can debug it. But, you can not debug the coLinux kernel or modules. coLinux kernel runs directly on the native CPU, there exist no dispatcher or hypervisor for debug. In source exist some ideas for debugging, but they are not finished and have no interface to GDB. Debugging modules directly via /dev/kcore is not supported by coLinux. It was disabled, because the physical memory of native Linux is pseudo physical memory (and not linear) under coLinux. -- Henry N. |