Attached are the patches that allow LKCD to talk to generic interface to
perform a console dump. For right now we have to dump consoles network and
The network dump is based on RedHat netdump source code, I changed to work
part of LKCD and changed some of the protocol for communication between the
dumped clients and the server.
Disk console is the removed code from original in LKCD that write to disk. I
abstract the dump to console layer in LKCD so LKCD only have an interface to
dump console that it writes to.
linux-netdump.patch is the kernel patch to the kernel to enable network
dump. It basically change the net device to allow blocking call to net
lkcd-4.1-1.patch This is lkcd patch that talk to generic interface instead
disconsole.tar source code to disk console dump driver. It is loadable
module for right now.
netconsole.tar source code for network dump driver. It is loadable module
for right now.
net-server.tar source code for net server that listen to dumped clients. It
also have some man pages and script to load server and client driver.
How it works
1- apply the two patches to 2.4.18 kernel then compile the kernel.
2- tar the three tar files and compile them.
3- run the server kernel on different machine. If you want a net dump.
4- install one of the dump driver. look in README.client in net-server.patch
to insmod the net dump driver.
5- run lkcd config, Make sure you load one of the driver before running lkcd
with config option.
6- cause a crash.
P.S. this is source not final, it is just to demonstrate the netdump
capabilities and changing lkcd to talk to generic interface, so we could
have the option to install any of available dump console.
Please email me you feedback.
Get latest updates about Open Source Projects, Conferences and News.