View previous topic :: View next topic |
Author |
Message |
Mad_Dude n00b
Joined: 18 Oct 2004 Posts: 68 Location: Singapore / Ang Mo Kio
|
Posted: Sat Mar 12, 2005 5:20 am Post subject: Where do I find the startup log? |
|
|
Hi all
I just installed 2.6.11-r3 and when booting up, I saw some errors but they went by pretty fast. Where can I find the log so as to trace the problems? Currently the system seems to be working fine, eth, sound, display etc, so I'm curious as to what went wrong.
Thanks! |
|
Back to top |
|
|
jfb3 Apprentice
Joined: 01 Feb 2003 Posts: 242
|
Posted: Sat Mar 12, 2005 5:30 am Post subject: |
|
|
At a command promp type This should give you some/all of what you are looking for. |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sat Mar 12, 2005 5:36 am Post subject: |
|
|
With most system loggers, the information stored in the kernel ring buffer (what dmesg prints) is automatically logged to a file in /var/log, usually /var/log/messages or /var/log/kernel, something like that. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
Mad_Dude n00b
Joined: 18 Oct 2004 Posts: 68 Location: Singapore / Ang Mo Kio
|
Posted: Sat Mar 12, 2005 6:17 am Post subject: |
|
|
Thanks for the reply dudes! Yeap, I know that the logs are at var/log ( hope i dun sound rude ) but then I can't seem to find what is going wrong as I saw some sugid error running pass and some other errors. My hardware seems to be running fine. Hmm.. to make my self clear, I'm trying to find the log where when booting up.. they show the [ok] sign part. |
|
Back to top |
|
|
transienteagle Apprentice
Joined: 24 Dec 2003 Posts: 190 Location: UK
|
Posted: Sat Mar 12, 2005 4:29 pm Post subject: |
|
|
Mad_Dude,
As the other guy's have stated dmesg is the normal tool to be used, however you have to remember that dmesg will only report agaist kernel events and on startup you will have a number of "userspace" processes that will report to the console but not to the kernel ring buffer (dmesg) or make an entry in the syslog's.
What I think you need is ,effectively a console scrape program to be run at boot time so that you can see all messages as they appeared on the console.
You should have a program called bootlogd on your system (part of baselayout??) which will do the job
rgds
TE |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sat Mar 12, 2005 6:30 pm Post subject: |
|
|
transienteagle wrote: | Mad_Dude,
As the other guy's have stated dmesg is the normal tool to be used, however you have to remember that dmesg will only report agaist kernel events and on startup you will have a number of "userspace" processes that will report to the console but not to the kernel ring buffer (dmesg) or make an entry in the syslog's.
What I think you need is ,effectively a console scrape program to be run at boot time so that you can see all messages as they appeared on the console.
You should have a program called bootlogd on your system (part of baselayout??) which will do the job
rgds
TE | That's not true. dmesg also prints internal messages from programs like shorewall, mount, modprobe.... _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
transienteagle Apprentice
Joined: 24 Dec 2003 Posts: 190 Location: UK
|
Posted: Sun Mar 13, 2005 12:47 am Post subject: |
|
|
Sith,
Which are of course kernel (controlled/effected) events; so correctly show up in dmesg..........contrast this with a problem with udev....which will not show up in dmesg.............but will be reported by bootlogd
rgds
TE |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sun Mar 13, 2005 2:05 pm Post subject: |
|
|
If you run dhcpcd with the -d flag, it will create debugging output that will show up in dmesg. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
Mad_Dude n00b
Joined: 18 Oct 2004 Posts: 68 Location: Singapore / Ang Mo Kio
|
Posted: Sun Mar 13, 2005 4:40 pm Post subject: |
|
|
Hi Guys
Thanks for your help. I tested the startup scripts one by one and I've tracked it down to the SVSCAN service. There are some problems with the script, not too sure why but I've already unmerge it. How do I go about installing bootlogd as I can't find any HOWTO in the Gentoo-Wiki or sorts?
Once again, thanks for making my Gentoo experience a much better one! |
|
Back to top |
|
|
nielchiano Veteran
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Mon Jun 20, 2005 11:14 am Post subject: |
|
|
Mad_Dude wrote: | How do I go about installing bootlogd as I can't find any HOWTO in the Gentoo-Wiki or sorts? |
any news on this? |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Jun 20, 2005 7:01 pm Post subject: |
|
|
Sith_Happens wrote: | If you run dhcpcd with the -d flag, it will create debugging output that will show up in dmesg. |
i think you are mistaken .. possibly getting confused with /var/log/messages _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
|