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 Kernel

 
 
LinkBack Thread Tools
 
Old 07-01-2008, 11:37 AM
 
Default Bug#488804: merge messages into dmesg by default for exact playback of booting console

Package: initramfs-tools
Version: 0.92b
Severity: wishlist

One wishes there is nothing shown on the console upon boot that is not
also captured somewhere in /var/log/.

dmesg(1), /var/log/dmesg, /var/log/boot capture almost everything,
except (99%?) for the initramfs-tools messages. Perhaps merge them into
dmesg, so one can see a playback exactly like what was on the console,
before they flew off before anyone can figure them out, and too far
for Shift PageUp to find.

Please make capturing the default, and disabling an option for expert
users. Yes, the initramfs-tools man pages mentions some logging
options, but all basic users know is they can see most of what went by
so fast by looking in /var/log/, except for a few lines that turn out
to be initramfs-tools message, and they wish they were also in
/var/log/ by default, without needing to adjust any fancy tools...

Another problem is identifying who is doing the talking. Apparently
lines with the fractional seconds prefixes are the kernel.

Lines without are the boot scripts... and also initramfs-tools...
All very clear for power users, but not for non-power users.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-01-2008, 12:19 PM
maximilian attems
 
Default Bug#488804: merge messages into dmesg by default for exact playback of booting console

On Tue, Jul 01, 2008 at 07:37:25PM +0800, jidanni@jidanni.org wrote:
> Package: initramfs-tools
> Version: 0.92b
> Severity: wishlist
>
> One wishes there is nothing shown on the console upon boot that is not
> also captured somewhere in /var/log/.
>
> dmesg(1), /var/log/dmesg, /var/log/boot capture almost everything,
> except (99%?) for the initramfs-tools messages. Perhaps merge them into
> dmesg, so one can see a playback exactly like what was on the console,
> before they flew off before anyone can figure them out, and too far
> for Shift PageUp to find.

that is pretty ridicolus, please think about it.
dmesg just clears a kernel buffer. initramfs-tools is userspace
has nothing todo there.

> Please make capturing the default, and disabling an option for expert
> users. Yes, the initramfs-tools man pages mentions some logging
> options, but all basic users know is they can see most of what went by
> so fast by looking in /var/log/, except for a few lines that turn out
> to be initramfs-tools message, and they wish they were also in
> /var/log/ by default, without needing to adjust any fancy tools...
>
> Another problem is identifying who is doing the talking. Apparently
> lines with the fractional seconds prefixes are the kernel.
>
> Lines without are the boot scripts... and also initramfs-tools...
> All very clear for power users, but not for non-power users.

checkout the debug bootparams in man initramfs-tools.

--
maks



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-03-2008, 06:28 PM
 
Default Bug#488804: merge messages into dmesg by default for exact playback of booting console

ma> that is pretty ridicolus, please think about it. dmesg just clears
ma> a kernel buffer. initramfs-tools is userspace has nothing todo
ma> there.
All I use is its
dmesg - print or control the kernel ring buffer
print capability.

Thinking about it doesn't help, as we are in two different worlds. I
represent the simplest user who just feels bad that boot messages fly
by too fast to read, and has discovered where they are stored, in
/var/log, but is dismayed that only 90% of them are stored.

ma> checkout the debug bootparams in man initramfs-tools.

OK, but I just wish to first point out that the basic user cannot tell
the relationship between

debug
generates lots of output. It writes a log to
/tmp/initramfs.debug. Instead when invoked with an arbitrary
argument output is written to console. Use for example
"debug=vc".

on initramfs-tools(8), and

$ zgrep debug.*log
/usr/share/doc/linux-doc-2.6.25/Documentation/kernel-parameters.txt.gz
debug [KNL] Enable kernel debugging (events log level).

Of course it is very clear to the initramfs-tools(8) authors, but not
the basic user. So on initramfs-tools(8) it should be mentioned if
these are to be used e.g., at the lilo prompt, where I chose
2.6.25-2-686 debug S
and in single user mode, looked around for the /tmp/initramfs.debug
file mentioned, but did not find it.

Anyway, I'm just saying, as apparently in Debian, the messages that
fly by at boot are stored (in /var/log/). Please store 100% of them,
not 90% of them.

The missing 10% are apparently the initramfs-tools messages.

But one cannot be sure, as they flew by too fast.

The initramfs-tools(8) man page is nice but is mean for a whole
different level of user, not the simple user,

who only wants to read the messages that flew off too fast to read at
boot,

and does not wish to become a research expert to be able to. Thanks.

You see, I just want you to adjust some Debian defaults to make 100%
of what flew off get logged, not 90%. (For stock kernels.)

Anyway, booting above I saw no more initramfs-tools messages. Maybe
they are maybe they are now turned off by default. (If so you can
close this bug.)

P.S.,
$ set who initramfs-tools update-initramfs mkinitramfs
$ for i do man $i|tail -n 1; done
GNU coreutils 6.10 April 2008 WHO(1)
Date: 2007/07/07 INITRAMFS-TOOLS(8)
$" $Date: 2006/10/12 UPDATE-INITRAMFS(8)
$Date: 2007/08/08 $ MKINITRAMFS(8)

Only the first looks good, the rest have extra $ and "Date:".



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 03:59 PM.

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