From: "Larry W. Finger" <Larry.Finger@lwfinger.net>
To: linux-kernel@vger.kernel.org
Subject: PROBLEM: kernel 2.4.17 unable to mount root fs when initial ram disk size set to 0 with LILO
Date: Sun, 13 Jan 2002 21:40:34 -0700 [thread overview]
Message-ID: <5.1.0.14.0.20020113212754.00a686a0@postoffice.att.net> (raw)
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/
reply other threads:[~2002-01-14 4:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.0.20020113212754.00a686a0@postoffice.att.net \
--to=larry.finger@lwfinger.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®