"Kernel panic - not syncing" after power loss while shutting down KDE
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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.
"Kernel panic - not syncing" after power loss while shutting down KDE
Yesterday, I went to shut down my machine during some thunderstorms.
KDE was taking a very long time to close, and wouldn't let me get over to any other virtual terminal. The power went out while it was still in that state, and today when I went to power back on, the boot sequence halts on the lines
Code:
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)
I'm still enough of a newbie to not know where to go to find the right information. I'm using Slackware 12.0, right off the CD. So far I've done
cat etc/fstab
Edit: I've booted the machine fine before. I've come across a lot of stories of problems on the first boot, but that isn't what happened here. Slackware has been running for a few weeks now without a reboot, but KDE has only been running for a couple of days.
Last edited by AllSaintsDay; 03-07-2008 at 11:21 AM.
Reason: Clarification
Does this mean you are running Slackware from the cd as a liveCD? Or, does it mean you are running a default installation on the hard drive?
If you are running from the hard drive, and the problem began after power loss during a thunderstorm, my first suspecion would be a power spike in conjuction with the power loss. That power spike can damage hardware on the motherboard, especially the RAM chips (been there; done that).
If you have a liveCD of a distro, boot that. If there is a menu of choices before booting the cd, choose to run memtest86 to test your RAM chips. You get a more complete test if the RAM chips aren't in use yet, as they would be if you try to run memtest86 after the livdCD has booted.
If there is a problem with RAM, you will get error messages. You should also run fsck from the liveCD on your Slackware partition to verify the state of the filesystem.
If you have the SystemRescueCD, it has tools to test other hardware as well.
Last edited by bigrigdriver; 03-08-2008 at 02:27 PM.
Or, does it mean you are running a default installation on the hard drive?
This one. I was trying to indicate that I haven't messed with the kernel, lilo, &c since doing a default install that worked fine.
Quote:
That power spike can damage hardware on the motherboard, especially the RAM chips (been there; done that).
I've tried everything I can think of to test for this, but it comes up negative. I ran memtest off of Knoppix, as suggested, and it's gone 15 passes without an error. I've also disabled the Quick POST setting in BIOS, and it's gone through the tests several times without error. Finally, all three bootable discs I have (Slackware DVD, Knoppix DVD, WinXP CD) work fine, while the installation consistently halts on the same error if I forget to boot from CD.
Quote:
You should also run fsck from the liveCD on your Slackware partition to verify the state of the filesystem.
I ran "fsck /dev/sda2" from the Slackware DVD and got a result of "clean" (the full output is in the OP). Is there an option I should use? The manpage didn't list any that seemed helpful for me.
Quote:
If you have the SystemRescueCD, it has tools to test other hardware as well.
At the moment, I don't, but I guess it'll be my next step.
Thanks for the suggestions. Now off to fight with this laptop's burning software to get a SystemRescueCD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.