Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where do I find the startup log?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Mad_Dude
n00b
n00b


Joined: 18 Oct 2004
Posts: 68
Location: Singapore / Ang Mo Kio

PostPosted: Sat Mar 12, 2005 5:20 am    Post subject: Where do I find the startup log? Reply with quote

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
View user's profile Send private message
jfb3
Apprentice
Apprentice


Joined: 01 Feb 2003
Posts: 242

PostPosted: Sat Mar 12, 2005 5:30 am    Post subject: Reply with quote

At a command promp type
Code:
dmesg
This should give you some/all of what you are looking for.
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Sat Mar 12, 2005 5:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Mad_Dude
n00b
n00b


Joined: 18 Oct 2004
Posts: 68
Location: Singapore / Ang Mo Kio

PostPosted: Sat Mar 12, 2005 6:17 am    Post subject: Reply with quote

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
View user's profile Send private message
transienteagle
Apprentice
Apprentice


Joined: 24 Dec 2003
Posts: 190
Location: UK

PostPosted: Sat Mar 12, 2005 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Sat Mar 12, 2005 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
transienteagle
Apprentice
Apprentice


Joined: 24 Dec 2003
Posts: 190
Location: UK

PostPosted: Sun Mar 13, 2005 12:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Sun Mar 13, 2005 2:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mad_Dude
n00b
n00b


Joined: 18 Oct 2004
Posts: 68
Location: Singapore / Ang Mo Kio

PostPosted: Sun Mar 13, 2005 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Mon Jun 20, 2005 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon Jun 20, 2005 7:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum