Console debugging wishlist was: Re: oops pauser.



Dave Jones <davej@xxxxxxxxxx> writes:

> In my quest to get better debug data from users in Fedora bug reports,
> I came up with this patch. A majority of users don't have serial
> consoles, so when an oops scrolls off the top of the screen,
> and locks up, they usually end up reporting a 2nd (or later) oops
> that isn't particularly helpful (or worse, some inconsequential
> info like 'sleeping whilst atomic' warnings)

Ok - here's my personal wishlist. If someone is interested ...

What I would like to have is a "more" option for the kernel that makes
it page kernel output like "more" and asks you before scrolling
to the next page.

What would be also cool would be to fix the VGA console to have
a larger scroll back buffer. The standard kernel boot output
is far larger than the default scrollback, so if you get a hang
late you have no way to look back to all the earlier
messages.

(it is hard to understand that with 128MB+ graphic cards and 512+MB
computers the scroll back must be still so short...)

And fixing sysrq to work after panics would be also nice.

And maybe a sysrq key to switch the font to the smallest one available
so as much as possible would fit onto a digital photo.
>
> The one case this doesn't catch is the problem of oopses whilst
> in X. Previously a non-fatal oops would stall X momentarily,
> and then things continue. Now those cases will lock up completely
> for two minutes. Future patches could add some additional feedback
> during this 'stall' such as the blinky keyboard leds, or periodic speaker beeps.

That's the killer issues why this patch is a bad idea.

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



Relevant Pages

  • [PATCH][RESEND] Force mouse detection as imps/2 (and fix my KVM switch)
    ... scroll mouse with my KVM switch when running 2.6 kernels, ... patch which fixes the problem for me. ... have this in the kernel, especially since it has other uses too. ... psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES); ...
    (Linux-Kernel)
  • Re: Supporting tilt-wheels at the OS level.
    ... > horizontal tilt events from the mouse to the kernel. ... > bookkeeping of two streams of scroll events for a mouse ... basically the same way Linux does at the driver level: ... able to tell us how they updated this for the tilt wheel. ...
    (comp.os.linux.development.apps)
  • Please help: Odd mouse problem with kernel-2.6.7-1.494.2.2
    ... I use a ps/2 scroll mouse on all of ... and since installing the 2.6.7-1.494.2.2 kernel the scroll ... did not occur on any previous kernel or under fc1 or rh9. ... and if I boot the former it never occurs while if I boot the latter, ...
    (Fedora)
  • Re: kernel recompile minor problems: help
    ... Press the "Scroll Lock" or "Pause" key to see the shutdown errors ... search more info about your soundcard. ... or it's based on a Chipset and you can select that in the kernel config. ... > stopped and devices shutdown and then I get continuous rolling screenfulls ...
    (comp.os.linux.setup)
  • Re: Please help: Odd mouse problem with kernel-2.6.7-1.494.2.2
    ... and since installing the 2.6.7-1.494.2.2 kernel the scroll ... > wheel on the mouse is somewhat hosed. ... (My system got bjorked for a totally unrelated reason.) ... The kernel option hack does not work for me. ...
    (Fedora)