[gPXE] [PATCH] dmesg command - console memory buffer

M Lowe mlowe at shaw.ca
Sat Jul 3 16:31:04 EDT 2010


I don't know if anyone else would find this useful or not. This patch
adds support to log all console IO to a buffer. The dmesg command can
then display the buffer utilizing more-style paging or dump it to a
remote host via TCP.

I used this to debug my PCI-e InfiniBand sanboot setup. Vintage serial
ports weren't available on the computer so this was the easiest option.
(Although trying out QEMU's pci-e pass-through was a close second.)

The entire code is modularized using gPXE's awesome linker table
methodology and this patch sets it to disabled in the main config by
default. 

Matthew Lowe

---------------------



More information about the gPXE mailing list