RE: Panics need better handling

From: Cress, Andrew R (andrew.r.cress_at_intel.com)
Date: 06/14/04

  • Next message: William Lee Irwin III: "Re: 2.6.7-rc3-mm2"
    Date:	Mon, 14 Jun 2004 10:20:48 -0400
    To: "John Bradford" <john@grabjohn.com>, "Helge Hafting" <helgehaf@aitel.hist.no>, <ndiamond@despammed.com>
    
    

    For Intel servers, there is some help in 2.4. It is now included within
    the OpenIPMI driver.
    It saves the panic info into a firmware log.
    See http://sourceforge.net/projects/openipmi/ and http://panicsel.sf.net
    (more info, plus a 'showsel' utility to view the firmware log).

    The parameter to save this isn't turned on by default in OpenIPMI, but
    it is there in 2.4 kernels (CONFIG_IPMI_PANIC_EVENT).

    Andy Cress

    -----Original Message-----
    From: linux-kernel-owner@vger.kernel.org
    [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of John Bradford
    Sent: Monday, June 14, 2004 3:44 AM
    To: Helge Hafting; ndiamond@despammed.com
    Cc: linux-kernel@vger.kernel.org
    Subject: Re: Panics need better handling

    Quote from Helge Hafting <helgehaf@aitel.hist.no>:
    > ndiamond@despammed.com wrote:
    >
    > > I am not asking for
    > >help in solving this particular panic,
    > >I am asking for help in general, in
    > >getting information displayed when it
    > >needs to be displayed.
    > >
    > >
    > I have struggled with this from time to time. Wanting to
    > report a trace, but it is too long for the screen.
    >
    > Using a framebuffer console helps a lot. I use 1280x1024 resolution,
    > and 8x8 characters. The resulting 160x128 console isn't
    > that fun to _work_ with, but most panics/oopses fit. I rarely
    > work at the console anyway. If you do, consider making two almost
    > identical kernels where console font size is the only difference.
    (The
    > extra compile takes very little time.) Then use the small-font kernel
    > when debugging.

    On the other hand, if like me you use a text-based console almost
    exclusively,
    then the best course of action is probably to buy a real serial
    terminal, (or
    several :-) ), and configure one of them as the console. Then you can
    basically ignore the VGA display completely.

    John.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel"
    in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: William Lee Irwin III: "Re: 2.6.7-rc3-mm2"

    Relevant Pages

    • crash with 2.6.0-test7
      ... regularly freezes (SysRq keys not working any more) ... and/or panics and outputs the following ... on the console: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: page fault panic in scioctl and console-kit-daemon
      ... I also removed really strange console cleanup bit sticked in a long time ago (see ioctl() part). ... boot or in single-user mode the system panics. ... can wait for any other screens, in particular, the screens that are ...
      (freebsd-current)
    • Re: VIA SATA I/O errors
      ... > and a lot of SCSI error messages will be output to the console. ... > few instances of this happening (which requires a hard power-off, ... I have no idea whether this is a software or hardware ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Logging a kernel panic (remotely)
      ... panics from time to time. ... Unfortunately we have no remote console. ... I'll try and get a serial console hooked up at some point but I may not be ... The problem as I understand it is that when a kernel ...
      (Debian-User)
    • Re: 2.6.9-rc2-mm1 swsusp bug report.
      ... > It is easy to lose sight of the user perspective on these things if all ... > sprinkling the code with panics, ... never fails to suspend and is in Linus' tree. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)