Click to See Complete Forum and Search --> : Kernal panic: VFS: Unable to mount root fs on 03:41


airhead
04-15-2001, 12:06 AM
I have just upgraded to Linux 2.4.3 but on running my super new kernel, I always get errors. It worked the first time, but I forgot to enable FAT support so I had to recompile the kernel. So, I booted linux with the new kernel and then I get this at the end of the startup:

ac97_codec: AC97 Audio codec, id: 0x414c:0x432f (Unknown)
fatfs: bogus cluster size
Kernel panic: VFS: Unable to mount root fs on 03:41

Does this mean anything to anyone? Specs are as follows:

PIII 450mhz
128mb ram
Tnt2 32mb vid card
Yamaha DS-XG sound card
PS/2 mouse
USB Joystick
Parallel port printer

I can't understand why it won't work now. So for the moment, I am using the original linux 2.2.16 vmlinuz kernal.

Any suggestions?
:confused: :confused: :confused: :confused: :confused:

BTW: I am using Loadlin.

MBMarduk
04-15-2001, 08:13 AM
AFAICT don't worry to much. *REALLY*

Look, if your old kernel's OK, and THIS (2.4.3) kernel fscks up, it's usually a kernel-config mistake.
Just recompile with other settings.

The first 8 or 9 kernel compiles I ever made screwed up too.
Eventually you'll get the hang of what you need and what not.

Maybe you selected something that requires some other option turned on too. (or OFF!)
Remember: the kernel wants to MOUNT the ROOT fs. So try making a kernel with ONLY ext2fs enabled and grow from there!?

GL
-mike

bdl
04-15-2001, 12:25 PM
Do an 'rdev' on the newly compiled kernel. For whatever reason, it looks as if it's trying to mount root on some bizarre partition on /dev/hda.


linuxprompt# rdev /vmlinuz
(or whatever your new kernel is named)

linuxprompt# man rdev

Also, perhaps mike is on the right track and you forgot to enable 'ext2' into the kernel (highly unlikely)....

airhead
04-16-2001, 05:24 PM
Well, I did what you said, and it is trying to mount the correct hard drive. I had another go at recompiling it last night but could not find which section to check to see if ext2 support was enabled. Do you know which section its in?

[ 16 April 2001: Message edited by: airhead ]