Skip to contentSkip to conversation

[2.5.53] Cannot open root device

DISCUSSION Kronos 2 participants 3 messages Dec 24, 2002 VFS

lore
Share & tools
lore

Kronos

author
#0 lore raw

I have some problems booting kernel 2.5.53, it seems to be unable to find my root fs:

VFS: Cannot open root device "305" or 03:05

The kernel is booted via lilo:

image = /boot/bzImage-2.5.53
root = /dev/hda5
label = linux-2.5.53
read-only

Appending "root=/dev/hda5" or "root=305" at command line doesn't work. I was able to boot only using root=/dev/ide/host0/bus0/taget0/lun0/part5.

devsfs is automatically mounted at boot, but appending devfs=nomount doesn't change anything.

I have also an other problem that can be related to this:

/dev/hda5 on / type ext2 (rw)
mount: /dev/hda6 has wrong device number or fs type reiserfs not supported.
mount: /dev/hda7 has wrong device number or fs type xfs not supported.

Both reiserfs and xfs are compiled as module (yes, I'm using module-init 0.9.5). I can mount hda6 and hda7 from the shell and the modules are loaded automatically.

2.5.52 shows the same behaviour, 2.5.49 worked fine. Didn't tried 2.5.50 and 2.5.51.

I'm a bit confused...

Luca

Signature · 4 lines
Reply-To: [email protected]
Home: http://kronoz.cjb.net
"It is more complicated than you think"
                -- The Eighth Networking Truth from RFC 1925
#1 lore raw
Quoted 6 lines · Kronos

I have some problems booting kernel 2.5.53, it seems to be unable to find my root fs:

VFS: Cannot open root device "305" or 03:05

Does this fix t?

init/do_mounts.c renamed from init/do_mounts.c~devfs-fix +0 -5
@@ -848,11 +848,6 @@ void prepare_namespace(void)
 {
 	int is_floppy;
 
-#ifdef CONFIG_DEVFS_FS
-	sys_mount("devfs", "/dev", "devfs", 0, NULL);
-	do_devfs = 1;
-#endif
-
 	md_run_setup();
 
 	if (saved_root_name[0]) {

_

author
#2 lore raw

Il Tue, Dec 24, 2002 at 07:16:07AM -0800, Andrew Morton ha scritto:

Quoted 9 lines
Quoted 1 line

VFS: Cannot open root device "305" or 03:05

Does this fix t?

init/do_mounts.c renamed from init/do_mounts.c~devfs-fix +0 -0
@@ -848,11 +848,6 @@ void prepare_namespace(void)
 {

init/do_mounts.c void prepare_namespace(void) · line 853

Quoted 10 lines
init/do_mounts.c renamed from init/do_mounts.c~devfs-fix +0 -5
 	int is_floppy;
 
-#ifdef CONFIG_DEVFS_FS
-	sys_mount("devfs", "/dev", "devfs", 0, NULL);
-	do_devfs = 1;
-#endif
-
 	md_run_setup();
 
 	if (saved_root_name[0]) {

Yes, now I can mount my root fs. I still have problems with the other filesystems, but maybe this is related to modules...

Luca

Signature · 4 lines
Reply-To: [email protected]
Home: http://kronoz.cjb.net
Mi piace avere amici rispettabili;
Mi piace essere il peggiore della compagnia.