* Kernel message
@ 2007-06-02 9:19 umesh
2007-06-02 9:39 ` Robert P. J. Day
0 siblings, 1 reply; 2+ messages in thread
From: umesh @ 2007-06-02 9:19 UTC (permalink / raw)
To: linux-kernel
Can anyone send me the documentation about dmesg message that how can we
understand by it. I am searching good document which can explain each and
every line of dmesg.
umesh
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Kernel message
2007-06-02 9:19 Kernel message umesh
@ 2007-06-02 9:39 ` Robert P. J. Day
0 siblings, 0 replies; 2+ messages in thread
From: Robert P. J. Day @ 2007-06-02 9:39 UTC (permalink / raw)
To: umesh; +Cc: linux-kernel
On Sat, 2 Jun 2007, umesh@websurfer.com.np wrote:
> Can anyone send me the documentation about dmesg message that how
> can we understand by it. I am searching good document which can
> explain each and every line of dmesg.
>
> umesh
this is really more of a kernel newbie question that belongs on the
newbie list but, if you really want to know the meaning of each line,
you might want to trace the code from kernel startup to see when each
of those lines is printed to see what they represent.
starting in init/main.c, find the routine "start_kernel" around line
500 and several lines in, you'll see:
...
printk(KERN_NOTICE);
printk(linux_banner);
...
(why these two printk's are broken over two lines is a mystery but ...
whatever.)
then if you go to init/version.c, you can verify that linux_banner
does indeed represent the normal first line in /var/log/dmesg, such
as:
Linux version 2.6.20-1.2948.fc6
(brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.1 20070105
(Red Hat 4.1.1-51)) #1 SMP Fri Apr 27 19:48:40 EDT 2007
at that point, start following the code to see where each line in
dmesg comes from.
rday
p.s. please use a better subject line than just "Kernel message".
that doesn't tell anyone what you're actually asking about.
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-02 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-02 9:19 Kernel message umesh
2007-06-02 9:39 ` Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®