Kernel debugging with kmemd
Kmemd is a tool for reading kernel memory of a running kernel using GDB. This can be very useful for debugging and development. Read the state of the kernel without adding a debug prints and rebooting. And because it is read-only, it doesn’t interrupt the running kernel and cause problems with hardware watchdogs. Though, the drawback is you can’t do breakpoints or step through the code. This is a simple introduction to using it. Aimed at debugging a remote system. ...