VFS: Cannot open root device "304" or hda4

From: kernel_286@hotmail.com
Date: Fri Aug 01 2003 - 10:05:24 EST


Hi to all, this is my first post on LKML.

I'm trying 2.6.0-test2-mm2 and the compiling process ends with no errors
except for some warnings about oss modules.
After reboot with the 2.6 I obtain a kernel panic error:

**************************************
VFS: Cannot open root device "304" or hda4
Please append a correct "root=" boot option
VFS: Unable to mount root fs on hda4;
**************************************
I've read old ML posts but the don't help me.
According to 2.4.21, the root fs is /dev/hda4: I've tried to give "root=0304"
or "root=/dev/hda4" at the 2.6, but I obtain the same errors.
I've even tried initrd with no changes.

I've introduced some printk in init/do_mount.c (see the linked file at line
64) and before the kernel panic, the result was :

***************************************
name hda4 - /sys/block/hda4/dev
descriptor -1

name hda - /sys/block/hda/dev
descriptor 0

scanning '3:0'
***************************************

Is it normal?

Thanks a lot.
                        Mario

PS: sorry for my 'bad' english.. I'm learning...



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:16 EST