mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Jesper Juhl <jesper.juhl@gmail.com>
Cc: James Courtier-Dutton <James@superbug.demon.co.uk>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Alternatives to serial console for oops.
Date: Sun, 27 Nov 2005 21:30:28 +0300	[thread overview]
Message-ID: <4389FB44.1080007@tls.msk.ru> (raw)
In-Reply-To: <9a8748490511270909o3e0fdd6erdd17d0b6dbd2c36a@mail.gmail.com>

Jesper Juhl wrote:
> On 11/27/05, James Courtier-Dutton <James@superbug.demon.co.uk> 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

  parent reply	other threads:[~2005-11-27 18:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-27 15:52 James Courtier-Dutton
2005-11-27 16:20 ` Willy Tarreau
2005-11-27 17:09 ` Jesper Juhl
2005-11-27 17:15   ` Mateusz Berezecki
2005-11-28 10:02     ` Geert Uytterhoeven
2005-11-28 13:10       ` Jan-Benedict Glaw
2005-11-27 18:30   ` Michael Tokarev [this message]
2005-11-27 20:04 ` Michael Frank
2005-11-28  4:48 ` Randy.Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4389FB44.1080007@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=James@superbug.demon.co.uk \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®