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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-04-2004, 03:25 PM
|
#1
|
LQ Newbie
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26
Rep:
|
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
|
|
|
03-05-2004, 12:25 AM
|
#2
|
Member
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419
Rep:
|
/var/log/boot.* are the boot up logs
|
|
|
03-07-2004, 01:16 PM
|
#3
|
LQ Newbie
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26
Original Poster
Rep:
|
hmm... there is no "/var/log/boot" on this Debian box.
|
|
|
03-07-2004, 02:43 PM
|
#4
|
Member
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419
Rep:
|
well, its not exactly /var/log/boot, there are three files. boot.log boot.msg boot.omsg
|
|
|
03-09-2004, 10:50 PM
|
#5
|
LQ Newbie
Registered: Dec 2003
Location: Newark Delaware
Distribution: Debian unstable, Knoppix, PC LinuxOS
Posts: 26
Original Poster
Rep:
|
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 ?)
|
|
|
03-10-2004, 12:18 AM
|
#6
|
Member
Registered: Oct 2003
Location: Virginia, US
Distribution: Debian, Ubuntu, Knoppix.
Posts: 76
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|