Skip to contentSkip to conversation

Logging kernel oops

DISCUSSION Joseph Mathewson 3 participants 3 messages May 2, 2001

lore
Share & tools
lore
#0 lore raw

I get a kernel oops every few days (even weeks if I'm lucky) with kernel 2.4.2 that I suspect are related to my Speedtouch USB ADSL modem. The box in question is monitor and keyboardless unless strictly necessary, and routes the ADSL internet connection to a local network.

What is the preferred what of getting debugging information from a kernel oops? Is my only way connecting a monitor and getting a pencil and paper? Is there any conceivable way I can get some useful debugging information (on reset) without plugging in a keyboard/monitor?

+=================================================+
| Joseph Mathewson <[email protected]>          |
+=================================================+
#1 lore raw
Quoted 4 lines

What is the preferred what of getting debugging information from a kernel oops? Is my only way connecting a monitor and getting a pencil and paper? Is there any conceivable way I can get some useful debugging information (on reset) without plugging in a keyboard/monitor?

You can build and boot a kernel with serial console and run a serial cable to another box

#2 lore raw
In reply to Joseph Mathewson
Quoted 4 lines · Joseph Mathewson

What is the preferred what of getting debugging information from a kernel oops? Is my only way connecting a monitor and getting a pencil and paper? Is there any conceivable way I can get some useful debugging information (on reset) without plugging in a keyboard/monitor?

Add a serial console (linux/Documentation/serial-console.txt) and install the kernel debugger of your choice. kdb is good ;)
http://oss.sgi.com/projects/kdb/download