Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
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.
I'm using Kubuntu 7.04 on a new Dell XPS PC. Occasionally after selecting Kubuntu from the grub screen, a kernel panic will occur resulting in a screen full of error codes and such.
How can I configure Kubuntu to create a dump log so this panic can be troubleshot? There are simply too many characters on the screen to copy down onto paper and type into a post here. Thanks very much.
I'm using Kubuntu 7.04 on a new Dell XPS PC. Occasionally after selecting Kubuntu from the grub screen, a kernel panic will occur resulting in a screen full of error codes and such.
How can I configure Kubuntu to create a dump log so this panic can be troubleshot? There are simply too many characters on the screen to copy down onto paper and type into a post here. Thanks very much.
It depends on how far you get into boot before you have the kernel panic. After a certain point kernel messages are logged and you can print the messages using the dmesg command:
dmesg > /tmp/kernel.panic.txt
See:
man dmesg
-------------------
Steve Stites
Whoops, the log will be overwritten by the next boot so you should boot a live CD and then retrieve the kernel log by running dmesg against the old kernel log on your hard drive.
The most common kernel-panic that occurs at-or-near boot time is that init dies ... which is reported as "attempted to kill init." (By definition, init is not allowed to die.)
There are various root causes, which will be found in messages which shortly precede the actual fall-over-and-die. Unfortuantely it's not easy to categorize those causes.
It depends on how far you get into boot before you have the kernel panic. After a certain point kernel messages are logged and you can print the messages using the dmesg command:
dmesg > /tmp/kernel.panic.txt
Whoops, the log will be overwritten by the next boot so you should boot a live CD and then retrieve the kernel log by running dmesg against the old kernel log on your hard drive.
I got one of those panics so I rebooted with an Ubuntu installation disc. However, I don't know how to access my usual Ubuntu partition (/dev/sda4) after booting to Live CD mode. When I run "mount /dev/sda4" I get the message: "mount: can't find /dev/sda4 in /etc/fstab or /etc/mtab".
I got one of those panics so I rebooted with an Ubuntu installation disc. However, I don't know how to access my usual Ubuntu partition (/dev/sda4) after booting to Live CD mode. When I run "mount /dev/sda4" I get the message: "mount: can't find /dev/sda4 in /etc/fstab or /etc/mtab".
How should I proceed from here? Thanks.
Assuming that your root filesystem is ext3
mkdir /fixit
mount -t ext3 /dev/sda4 /fixit
chroot /fixit
dmesg
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.