How do I capture a kernel Oops?There are several ways to capture an Oops dump ..
If the kernel keeps running:
- open the /var/log/messages or /var/log/syslog to see the Oops dump (if the syslogd daemon is running!)
- check the kernel message buffer (/proc/kmsg) for the Oops dump (if NO syslogd daemon was started!)
If the kernel hangs completely:
- write the Oops down by hand from the screen (this is the only way if the Oops was not planned, thus no device captured anything)
- use a parallel port printer as a console device (makes sense for laaaarge Oops dumps)
- use a netconsole to redirect the output via UDP to a listening remote machine (unstable solution, because most network card require interrupt handlers)
|