mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PROBLEM: kernel 2.4.17 unable to mount root fs when initial ram disk size set to 0 with LILO
@ 2002-01-14  4:40 Larry W. Finger
  0 siblings, 0 replies; only message in thread
From: Larry W. Finger @ 2002-01-14  4:40 UTC (permalink / raw)
  To: linux-kernel

Hi,
I have detected a problem. When kernel 2.4.17 is configured with a 4096K 
initial ram disk, but the ramsize = 0 parameter is specified in lilo.conf, 
the system is unable to boot due to the following set of events:
    a) In routine rd_load_image, line 660 of file linux/drivers/block/rd.c, 
nblocks is 0 at
       line 710. Next, the call to crd_load returns 0 and control transfers 
to label
       successful_load, where ROOT_DEV is changed to 01:00 from the initial 
value (03:03 on
       my system).
    b) In routine mount_root in file linux/fs/super.c, control proceeds to 
the "for (p =
       fs_names" loop at line 1039. Of course, none of the configured file 
types has a
       root fs at 01:00, and the loop falls through to the panic statement 
at line 1049 with
       the message "VFS: Unable to mount root fs on 01:00".
    c) If lilo.conf contains the statement "ramdisk = 100" rather than 
"ramdisk = 0", the system
       boots normally.

Kernel version 2.4.16, with the same configuration, boots normally with 
"ramdisk = 0".

Thank you,

Larry
--
Larry W. Finger                     Larry.Finger@lwfinger.net
1400 Colorado St.	             Phone: +1 (240) 463-2051
Boulder City, NV 89005              FAX:   +1 (209) 844-9855

http://www.lwfinger.net/ 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-14  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-14  4:40 PROBLEM: kernel 2.4.17 unable to mount root fs when initial ram disk size set to 0 with LILO Larry W. Finger

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®