LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-04-2004, 03:25 PM   #1
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Rep: Reputation: 15
Question Boot messages not the same as "dmesg" or "/var/log/messages"?


Hello,

Being in the process of building a Debian-sid system, I curently finished installing the 2.6 kernel.

However, I need to make sure that it "sits" properly before continuing with the rest of the instalation (X-windows, KDE, etc)

The problem is that inspection of "dmesg" or "/var/log/messages" shows that all is alright.

However, when the system boots and the boot text flies-by I get a glimpse of some errors (some of them even "fatal errors" ?) but they are not registered in /var/log/messages .

Why is this happening? How can I record all the boot-output verbatim to the /var/log ?


Thanks
 
Old 03-05-2004, 12:25 AM   #2
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

Rep: Reputation: 35
/var/log/boot.* are the boot up logs
 
Old 03-07-2004, 01:16 PM   #3
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Original Poster
Rep: Reputation: 15
hmm... there is no "/var/log/boot" on this Debian box.
 
Old 03-07-2004, 02:43 PM   #4
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

Rep: Reputation: 35
well, its not exactly /var/log/boot, there are three files. boot.log boot.msg boot.omsg
 
Old 03-09-2004, 10:50 PM   #5
massai
LQ Newbie
 
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26

Original Poster
Rep: Reputation: 15
The "var/log" directory does not contain anything with the word "boot".

As far as I know at this point "dmesg" and "var/log/messages" are the only ways to inspect the boot messages.

I know "dmesg" has an (n level) option possibly to control verbosity, but the man pages neglect to tell us what the range of those "levels" is.

Does anyone know the answer to this ? Is this the limit of what can be recovered from boot ? (It is 110% confirmed that the boot messages are more verbose)

Is it a matter of increasing the buffer size ? (I thought the default buffer for dmesg already matches the kernel ring buffer ?)
 
Old 03-10-2004, 12:18 AM   #6
indeterminate
Member
 
Registered: Oct 2003
Location: Virginia, US
Distribution: Debian, Ubuntu, Knoppix.
Posts: 76

Rep: Reputation: 17
The loglevel definitions are in the syslog(2) manpage, also apparently in kernel.h.

Sounds like your syslog or initlog or whatnot is either getting called with a low log level, or it's not sending its output to the correct files. Either way, I don't know Debian very well, so I can only hazard a guess that your boot log daemon gets called in one of your /etc/rc scripts. I know those files also sometimes pass additional parameters to the kernel... But I can't imagine I'm going to be much help at this point, so I'll shut up now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What does "SFW2-INext-DROP-DEFLT" in my messages log file mean? TrulyTessa Linux - Networking 11 12-22-2004 09:28 AM
Audit Log Messages "denied" shortsword Linux - Newbie 0 10-03-2004 05:46 AM
Multiple "device not ready" messages in System Log quasy Linux - Hardware 0 04-27-2004 05:58 AM
"access denied" boot messages/rc5.d Gaetano Linux - Newbie 5 11-27-2003 08:42 AM
/var/log/messages contains "localhost" instead of the real hostname allel Linux - Networking 0 07-15-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration