After many hours of trying to get a serial console up so I can use kdb to
track down a crash while running the stress tests (against the current CVS
tree), I discovered that the kdb manual page linux/Documentation/kdb.mm has
an error.
It specifies you need to specify the serial device as "/dev/ttyS0" - whereas
you really need to put just plain "ttyS0". The /dev/ at the start makes the
machine just hang silently at boot time for me.
A patch is attached to correct this and save others going through the same
grief that I did :). linux/Documentation/serial-console.txt shows the
device without the "/dev/" also, this makes the kdb documentation consistent
with this (even if it somehow works with the /dev/ in some kernels, but I
don't think it can in 2.4 at least after examining the console setup code).
Chris
kdb.mm.diff
Description: Binary data
|