xfs
[Top] [All Lists]

Re: oops on reboot damaged filesystem

To: "Godfrey Livingstone" <godfrey.livingstone@xxxxxxxxxxxx>
Subject: Re: oops on reboot damaged filesystem
From: Keith Owens <kaos@xxxxxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2001 14:31:27 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Your message of "Tue, 21 Aug 2001 09:01:32 +1200." <09259B1E9A747045AEFC8FD791FDC2100ECDDF@xxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 21 Aug 2001 09:01:32 +1200, 
"Godfrey Livingstone" <godfrey.livingstone@xxxxxxxxxxxx> wrote:
>How do you save an oops and kdb output, does issuing DEBUG=1 when in kdb
>save the output or is that unnecessary?

"set LOGGING=1" in kdb to log the output to disk, via syslog.  But that
only works if the kernel can recover after the oops, if the machine
dies then syslog never gets called.  Your best option is to use a
serial console, Documentation/serial-console.txt, and capture the
serial output on the second machine.

>Is the output from the kbd bt command needed? 

Depends on the type of error.  For a deadlock, bt is useful.  For a
straight oops, it is rarely useful, unless the oops comes from code
that is testing for deadlocks.


<Prev in Thread] Current Thread [Next in Thread>