LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-12-2004, 05:26 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
My first kernel panic


Hi,

I just got kernel panic on booting up my Knoppix HD install.
Half way through the boot procedure, it just hangs.

The error I got was :
Ext2-fs - ide0(0,2) couldn'pt boot because of unsupported options"
FAT bogus sector size
Kernel Panic VFS failed to mount root fs on 03:02

OK, I was messing with the locales earlier. Does this sound like I went and loaded a locale (through dpkg-reconfigure) that the kernel can't recognise?

It's a pity a locale problem can cause kernel panic. I really need a crash course in locales, I find them a real problem.

Any help or people with similar problems, appreciated.

I suppose I'l have to use the Live Knoppix CD to try and cure this now.
 
Old 05-12-2004, 05:49 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Just a package instalation couldn't cause this. Try to boot from the cd and use fsck to check your / partition.
 
Old 05-12-2004, 08:09 PM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
Thanks for reply Mara.

Yes, fsck is the way to go using the live CD.

As with other tools of the group, best not to mount the fs when you check it.

My partition came up clean in fact.

I was reading the man fsck to see what else it could do, but as happens so often, I run out of patience reading the man pages, so I just reboot. Now, I don't like doing that when I've done nothing to solve the problem, but one hgets lazy, you know ....

So, it the boot sequence came up with something about a warning, ext2_read_super, mounting as ext2 (it is actually an ext3), but this time no panicky kernel! I get in and all is well with the world ... except my confidence in my system. Despite the recovery, I'm still no happier, as it soved itself. I would prefer to find out whatg went wrong ...

Could runnning an e2fsck actually solve a troubled kernel panic. Mara, you're right, a pkg install shouldn't cause this. How do I check the journal, would that tell me anything?

BTW I'm going to post a separate question about the whole locale thing ..., it has my brain cells all aflutter!
 
Old 05-13-2004, 05:34 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
e2fsck is a tool that can check a partition and fix it if needed. Your kernel panic was about kernel not able to access the root partition, so fixing the partition would fix kernel panic.
 
Old 05-13-2004, 10:01 PM   #5
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
Mara,

also correct me if I am wrong, but ext3 is nothing but ext2+journal, so, it is posible to mount a ext3 partition as ext2, and the kernel will do this in case it was unable to mount as ext3.

[edit] typo
 
Old 05-15-2004, 05:36 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Yes ext3 i ext2 with journal, but a tool written for ext2 may overwrite the journal (it doesn't know about it). In such case you may need to add it again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM


All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration