All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.5.53] Cannot open root device
@ 2002-12-24 13:19 Kronos
  2002-12-24 15:16 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Kronos @ 2002-12-24 13:19 UTC (permalink / raw)
  To: linux-kernel

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
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
"It is more complicated than you think"
                -- The Eighth Networking Truth from RFC 1925

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.5.53] Cannot open root device
  2002-12-24 13:19 [2.5.53] Cannot open root device Kronos
@ 2002-12-24 15:16 ` Andrew Morton
  2002-12-24 15:42   ` Kronos
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2002-12-24 15:16 UTC (permalink / raw)
  To: kronos; +Cc: linux-kernel

Kronos wrote:
> 
> 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?


--- 25/init/do_mounts.c~devfs-fix	Tue Dec 24 07:15:16 2002
+++ 25-akpm/init/do_mounts.c	Tue Dec 24 07:15:21 2002
@@ -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]) {

_

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.5.53] Cannot open root device
  2002-12-24 15:16 ` Andrew Morton
@ 2002-12-24 15:42   ` Kronos
  0 siblings, 0 replies; 3+ messages in thread
From: Kronos @ 2002-12-24 15:42 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Il Tue, Dec 24, 2002 at 07:16:07AM -0800, Andrew Morton ha scritto: 
> > VFS: Cannot open root device "305" or 03:05
> 
> Does this fix t?
> 
> 
> --- 25/init/do_mounts.c~devfs-fix	Tue Dec 24 07:15:16 2002
> +++ 25-akpm/init/do_mounts.c	Tue Dec 24 07:15:21 2002
> @@ -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]) {

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

Luca
-- 
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Mi piace avere amici rispettabili;
Mi piace essere il peggiore della compagnia.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-24 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-24 13:19 [2.5.53] Cannot open root device Kronos
2002-12-24 15:16 ` Andrew Morton
2002-12-24 15:42   ` Kronos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.