Re: how to change number of saved lines on console
Gene Heskett wrote: On Monday 06 February 2006 13:06, David Kirchner wrote: On 2/6/06, Lubos Vrbka [EMAIL PROTECTED] wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... thanks, I don't have the answer to your question, but you can run dmesg to view the console messages. The buffer is limited in size, so you'll want to run it immediately after boot. I prefer to use a init.d script, set up to run last, to run dmesg /var/run/dmesg.boot, so I have a copy handy at all times. If you are building your own kernel, increased buffer capacity is as close as a make xconfig, reset it, rebuild and reinstall, reboot. The correct line in the .config to adjust is this one: CONFIG_LOG_BUF_SHIFT=16 It probably has a 14 in there now, for a 16k buffer, the 16 above is 64k. having a look on the CONFIG_LOG_BUF_SHIFT and related options, a question is arising. could changing the CONFIG_EARLY_PRINTK=y to CONFIG_EARLY_PRINTK=n somehow change the situtation? if so how? it isn't particularly clear to me from the help in the [menu/x]config. thanks for any hints. regards, -- Lubos [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to change number of saved lines on console
On 2/6/06, Lubos Vrbka [EMAIL PROTECTED] wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... thanks, I don't have the answer to your question, but you can run dmesg to view the console messages. The buffer is limited in size, so you'll want to run it immediately after boot. I prefer to use a init.d script, set up to run last, to run dmesg /var/run/dmesg.boot, so I have a copy handy at all times.
Re: how to change number of saved lines on console
On Mon, Feb 06, 2006 at 10:06:00AM -0800, David Kirchner wrote: On 2/6/06, Lubos Vrbka [EMAIL PROTECTED] wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... thanks, I don't have the answer to your question, but you can run dmesg to view the console messages. The buffer is limited in size, so you'll want to run it immediately after boot. I prefer to use a init.d script, set up to run last, to run dmesg /var/run/dmesg.boot, so I have a copy handy at all times. That's the best I've found, too. Unfortunately, I've occasionally notices a few lines scolling by during boot that do not show up in dmesg output. Whatever writes them out must bypass the normal procedure for emitting messages. -- hendrik -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to change number of saved lines on console
2006/2/6, Sergio Cuéllar Valdés [EMAIL PROTECTED]: 2006/2/6, Lubos Vrbka [EMAIL PROTECTED]: is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... you should modify the variable HISTSIZE. Ooops, sorry, I didnt read the boot . But, yes, with dmesg you should achieve what you want. - http://biorobotics.fi-p.unam.mx -- Meine Hoffnung soll mich leiten Durch die Tage ohne Dich Und die Liebe soll mich tragen Wenn der Schmerz die Hoffnung bricht
Re: how to change number of saved lines on console
On Mon, 2006-02-06 at 17:13 +0100, Lubos Vrbka wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... bootlogd. turn it on via /etc/default/bootlogd -matt zagrabelny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to change number of saved lines on console
Matt Zagrabelny spake thusly on 02/06/2006 01:38 PM: On Mon, 2006-02-06 at 17:13 +0100, Lubos Vrbka wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... bootlogd. turn it on via /etc/default/bootlogd So simple, yet so hard to find. I'm not the one who asked this question. But I've been meaning to for a long time. Thank you! -- Scott www.angrykeyboarder.com © 2006 angrykeyboarder™ Elmer Fudd. All Wights Wesewved
Re: how to change number of saved lines on console
On Monday 06 February 2006 13:06, David Kirchner wrote: On 2/6/06, Lubos Vrbka [EMAIL PROTECTED] wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... thanks, I don't have the answer to your question, but you can run dmesg to view the console messages. The buffer is limited in size, so you'll want to run it immediately after boot. I prefer to use a init.d script, set up to run last, to run dmesg /var/run/dmesg.boot, so I have a copy handy at all times. If you are building your own kernel, increased buffer capacity is as close as a make xconfig, reset it, rebuild and reinstall, reboot. The correct line in the .config to adjust is this one: CONFIG_LOG_BUF_SHIFT=16 It probably has a 14 in there now, for a 16k buffer, the 16 above is 64k. Have fun! -- Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to change number of saved lines on console
On Monday 06 February 2006 13:16, [EMAIL PROTECTED] wrote: On Mon, Feb 06, 2006 at 10:06:00AM -0800, David Kirchner wrote: On 2/6/06, Lubos Vrbka [EMAIL PROTECTED] wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... thanks, I don't have the answer to your question, but you can run dmesg to view the console messages. The buffer is limited in size, so you'll want to run it immediately after boot. I prefer to use a init.d script, set up to run last, to run dmesg /var/run/dmesg.boot, so I have a copy handy at all times. That's the best I've found, too. Unfortunately, I've occasionally notices a few lines scolling by during boot that do not show up in dmesg output. Whatever writes them out must bypass the normal procedure for emitting messages. Yes, there is that too, and I wish whoever is using the oddball puts() would stop it, cause the only place it ever goes is to the screen itself. Not having that stuff in the logs is a pita... -- hendrik -- Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to change number of saved lines on console
on Mon, Feb 06, 2006 at 02:38:33PM -0600, Matt Zagrabelny ([EMAIL PROTECTED]) wrote: On Mon, 2006-02-06 at 17:13 +0100, Lubos Vrbka wrote: hi guys, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... bootlogd. turn it on via /etc/default/bootlogd Good answer. Another is to enable serial console at boot and log this output either to localhost (sufficient for most purposes) or to a second system (possibly a dedicated logging server). This should capture *everything* that crosses the console, including BIOS, POST, bootloader, kernel, and init messages. It can even be used for debugging. Peace. -- Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/ What Part of Gestalt don't you understand? Spero nos familiares mansuros. signature.asc Description: Digital signature
Re: how to change number of saved lines on console
hi, is it possible to change (increase) the number of lines that are saved on console? i would like to be able to scroll through the whole boot process history. right now it allows me to go approximately one and half pages back... bootlogd. turn it on via /etc/default/bootlogd thanks, that's exactly what i wanted :) the problem indeed is with boot messages that are printed only to screen and not to the logs - it's then complicated to debug the problems without seeing the boot messages... regards, -- Lubos [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]