mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Unable to mount root device under .49 (possibly earlier than .47)
@ 2002-11-25  6:10 Peter T. Breuer
  2002-11-25  6:23 ` Zwane Mwaikambo
  0 siblings, 1 reply; 5+ messages in thread
From: Peter T. Breuer @ 2002-11-25  6:10 UTC (permalink / raw)
  To: linux-kernel

> X-X-Sender: zwane@montezuma.mastecende.com
> 
> Linux version 2.5.49 (zwane@montezuma.mastecende.com) (gcc version 3.2
> 20020903 (Red Hat Linux 8.0 3.2-7)) #17 SMP Sat Nov 23 15:39:24 EST 2002
> 
> What i get at boot is;
> 
> kernel /vmlinuz ro root=/dev/hda1
> ...
> VFS: Cannot open root device "hda1" or 00:00
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 00:00
> 

I found that on 2.5.47. It turned out that I had to give the devfs
name for the root device. root=/dev/ide/la/la/la.

I had devfs compiled in but not active on boot. 

 CONFIG_PROC_FS=y
 CONFIG_DEVFS_FS=y
 # CONFIG_DEVFS_MOUNT is not set
 # CONFIG_DEVFS_DEBUG is not set
 CONFIG_DEVPTS_FS=y



Peter

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Unable to mount root device under .49 (possibly earlier than .47)
@ 2002-11-24 20:28 Zwane Mwaikambo
  2002-11-25 21:13 ` Patrick Mochel
  0 siblings, 1 reply; 5+ messages in thread
From: Zwane Mwaikambo @ 2002-11-24 20:28 UTC (permalink / raw)
  To: Linux Kernel; +Cc: Patrick Mochel

Linux version 2.5.49 (zwane@montezuma.mastecende.com) (gcc version 3.2
20020903 (Red Hat Linux 8.0 3.2-7)) #17 SMP Sat Nov 23 15:39:24 EST 2002

What i get at boot is;

kernel /vmlinuz ro root=/dev/hda1
...
VFS: Cannot open root device "hda1" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

in init/do_mounts.c:/try_name() i get -ENOENT for sys_stat(/sys/block/hda)

i finally hacked in the ROOT_DEV to make it boot and /sys shows;

root@mondecino /sys {0} find -name hda\*
./hda
./hda/hda2
./hda/hda1

root@mondecino /sys {0} ls -l block
total 0

All the block devices are in the toplevel directory of /sys. I have
another SCSI based (/dev/sda1 root device) test box (I use the same
kernel on all boxes) which shows the following and has all its block
devices in /sys/block;

root@linux /sys {1} find -name hda\*
./block/hda
./block/hda/hda1
root@linux /sys {0} find -name sda\*
./block/sda
./block/sda/sda2
./block/sda/sda1

The odd part is that the failing test box's drive used to be in another
box, which used to boot in .48

If you need any more info please give me a holla.

	Zwane
-- 
function.linuxpower.ca

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

end of thread, other threads:[~2002-11-26  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-25  6:10 Unable to mount root device under .49 (possibly earlier than .47) Peter T. Breuer
2002-11-25  6:23 ` Zwane Mwaikambo
  -- strict thread matches above, loose matches on Subject: below --
2002-11-24 20:28 Zwane Mwaikambo
2002-11-25 21:13 ` Patrick Mochel
2002-11-26  7:43   ` Zwane Mwaikambo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®