lkml.org 
[lkml]   [2006]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Console debugging wishlist was: Re: oops pauser.
Jan Engelhardt wrote:
>> 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.
>
> An oops is usually a condition you can recover from in some/most/depends
> cases (e.g. a null deref in a filesystem "only" makes that vfsmount
> (filesystem at all?) blocked), so if the kernel is waiting for user input
> on a non-panic condition, this means userspace stops too, which is not
> too good if the kernel is still 'alive'.
> It's like we are entering kdb although everything is fine enough to go
> through a proper `init 6`.
>
>> 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...)
>
> I doubt this scrollback buffer is implemented as part of the video cards.
> It is rather a kernel invention, and therefore uses standard RAM. But the
> idea is good, preferably make it a CONFIG_ option.

In the VGA console, all buffers, including scrollback is in video RAM, but
the size is fixed and is very small.

With the framebuffer console, you can increase the size of the scrollback
buffer with the boot option:

fbcon=scrollback:<n> (default is 32K)

Tony
-
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/

\
 
 \ /
  Last update: 2006-01-11 13:27    [W:0.938 / U:0.180 seconds]
©2003-2011 Jasper Spaans. Advertise on this site