Re: Alternatives to serial console for oops.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jesper Juhl wrote:
On 11/27/05, James Courtier-Dutton <[email protected]> wrote:

Hi,

I wish to view the oops that are normally output on the serial port of
the PC. The problem I have, is that my PC does not have a serial port.
Are there any alternatives for getting that vital oops from the kernel
just as it crashes apart from the serial console.
Could I get it to use some other interface? e.g. Network interface.
Parallel port is also not an option.

Netconsole (Documentation/networking/netconsole.txt)

I wasn't able to capture an OOPS using netconsole from my
arm-based firewall box -- the output comes too fast and receiving
end only captures some random parts of the OOPS.  I doubt the
receiving box is too slow (2.4GHz Pentium-IV, Intel GigE ethernet),
so it must be the sending end which is trying to generate packets
faster than it's own NIC can transmit them... or something else.

Even "normal" serial console does not work here for this device:
serial port on the box has no flow control, and at 9600 it still
loses some parts of the OOPS, or especially a sysrq-t output
(which is much larger than a typical OOPS).

Digital camera to take a photo of the screen.

Not all systems has a screen (my router certainly does not).
Also, even for "usual" PC, amount of information in an OOPS
is larger than a screen, so most important part of the OOPS
(several lines on the top) is lost.

Pen & paper to manually write down the Oops.

The same problem as above with a camera.

This stuff worked perfectly in 2.4 kernel, where it was possible
to use keyboard to scroll to the beginning of an OOPS - only
half a screen and we're here (well, sometimes it is larger,
but Shift-PgUp still worked).  Now, when keyboard does not work
anymore, it's not possible.  As is not possible to reboot the
system using "Three Finger Solution" (Ctrl-Alt-Del) -- some modern
systems does not have "Reset" button, so in order to reboot after
an OOPS, one have to power-cycle the box...

It'd be really nice to have keyboard back in "OOPS mode", as 2.4
had...

Oh well.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux