FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-17-2011, 07:57 PM
Camaleón
 
Default Tracking boot messages

On Mon, 17 Jan 2011 13:03:27 -0700, Bob Proulx wrote:

> T o n g wrote:
>> Camaleón wrote:
>> > What I can't see is why this logging facility is not enabled by
>> > default. I also think it should be kept in a unique file, instead to
>> > be split in "/ var/log/dmesg" and "/var/log/boot", IMO it would be
>> > easier to read, interpret and debug...
>>
>> Strongly agree.
>
> There is a wishlist bug in the BTS for this:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=232569

Thanks for the link.

I know the bug is very old but anyway, I've added my comments there.

> Miquel van Smoorenburg wrote:
> > Date: Tue, 17 Feb 2004 16:43:44 +0100 The reason bootlogd is off, is
> > that it is buggy and doesn't work on all systems. So, it will remain
> > off for the foreseeable future. It will likely even be replaced by
> > another solution entirely.
>
> After the Squeeze release seems like a good time to visit that issue
> again. It would be useful.

Yes, and I hope "bootlogd" is nowadays (7 years later) working okay.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.01.17.20.57.12@gmail.com">http://lists.debian.org/pan.2011.01.17.20.57.12@gmail.com
 
Old 01-17-2011, 08:22 PM
Tom H
 
Default Tracking boot messages

On Mon, Jan 17, 2011 at 11:43 AM, Stephen Powell <zlinuxman@wowway.com> wrote:
> On Mon, 17 Jan 2011 11:02:15 -0500 (EST), frank thyes wrote:
>> On Mon, 2011-01-17 at 10:53 -0500, Stephen Powell wrote:
>>> Hello, list. *I am trying to find a way to track boot messages. *I know about
>>> things like
>>>
>>> * *dmesg|less
>>>
>>> and
>>>
>>> * *less /var/log/syslog
>>>
>>> but they don't cover everything. *For example, /etc/init.d/console-setup
>>> issues a message during boot that goes something like this:
>>>
>>> * *Setting up console font and keymap
>>>
>>> and this does not appear in either dmesg output or in /var/log/syslog.
>>> Furthermore, it appears that the font change done by console-setup
>>> kills my scrollback; so that Shift+PageUp and Shift+PageDown don't
>>> work. *That is, I can't scroll back prior to the font change.
>>>
>>> On some hardware platforms, such as s390, when running in a
>>> virtual machine under z/VM, I can capture the console boot messages by
>>> "spooling the virtual console". *But on other platforms, such as
>>> i386, I do not know of a way to capture all the boot messages. *Does
>>> anybody know of a way? *(I am running Debian Squeeze.)
>>
>> /etc/default/bootlogd
>>
>> Set BOOTLOGD_ENABLE=YES and examine /var/log/boot or dmesg after
>> rebooting.
>
> Hmm. *Well, that helps. *dmesg still does not contain the message from
> console-setup, but /var/log/boot now does. *I'm not sure if I needed
> to rebuild my initial RAM file system image after making the above
> change, but I did anyway for good measure.
>
> Still, I was hoping for all boot messages in a single file somewhere.
> /var/log/boot starts with
>
> * Setting parameters of disc: (none).
>
> This is about three lines prior to
>
> * Checking root file system...fsck from util-linux-ng 2.17.2
>
> All boot messages prior to this point are not included in /var/log/boot.
> Is there any way to get *all* messages actually written to the console
> during boot in a single file somewhere?

The closest to what you're looking for is to add "debug" to the boot
command line to have your initrd's "/init" run with "set -x" and have
its output saved to "/dev/.initramfs/initramfs.debug".


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTinXCJycZrzPuFwpE-62=D-CTZQ0KoW=aL7FDTen@mail.gmail.com">http://lists.debian.org/AANLkTinXCJycZrzPuFwpE-62=D-CTZQ0KoW=aL7FDTen@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 01:39 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org