Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
|
07-24-2006, 09:15 PM
|
#1
|
LQ Newbie
Registered: Jul 2006
Location: Bucharest, Romania
Posts: 6
Rep:
|
how can i log all the messages during boot ?
i configured and compiled 2.6.17 (on slackware 10.2 with 2.4.31 - the kernel that comes with this distribution) but when i boot my new image, it crushes: kernel panic(0). the thing is i would want to try and do some debugging. the /var/log/syslog doesn't contain information about booting the new kernel, just for the old one, although i boot my new one with the "debug" option
any kind of help would be appreciated
|
|
|
07-25-2006, 01:12 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
/var/log/dmesg usually contains all the stuff that gets dumped to the screen during boot. syslog gets loaded later on so it will not contain any info if your kernel crashes. I think it's called by either the rc.S or the rc.M, either way, this is much later in the boot process.
regards,
...drkstr
|
|
|
07-25-2006, 04:41 AM
|
#3
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
You could try configuring /etc/lilo.conf and /etc/inittab to start a serial console, and then use a second PC and nullmodem cable to display the boot process in a serial terminal such as minicom. That way, if the kernel crashes, you can copy/paste the serial terminal's log or get a screendump.
Eric
|
|
|
07-25-2006, 07:21 AM
|
#4
|
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625
Rep:
|
Quote:
/var/log/dmesg usually contains all the stuff that gets dumped to the screen during boot.
|
Unfortunately, this is also done at the rc.M stage.
|
|
|
07-25-2006, 01:49 PM
|
#5
|
LQ Newbie
Registered: Jul 2006
Location: Bucharest, Romania
Posts: 6
Original Poster
Rep:
|
thank you guys
i think i'll try and redirect the output, as bob said.
for anyone else who might need this, it can be done with an argument passed to the kernel at the boot time, "console=/dev/something" (i hope i'm not wrong with this)
for more info man bootparam
|
|
|
All times are GMT -5. The time now is 11:27 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
|
|