From: Ian Thompson <iant@palmchip.com>
To: linux-mips@oss.sgi.com
Subject: ramdisk funkiness
Date: Wed, 30 May 2001 15:55:15 -0700 [thread overview]
Message-ID: <3B157A53.5728029@palmchip.com> (raw)
Hi,
I'm porting the 2.4 kernel to a custom board, and I'm running into some
trouble while trying to mount the root filesystem. There is no media
(hard drives, cdrom drives, etc) attached to the system, but of course
the kernel needs a root filesystem to boot. So, I'm trying to create an
empty ramdisk and have the kernel mount that as the root fs. The kernel
installs the ramdisk driver fine, but when it tries to open the ramdisk,
I get this error message:
RAMDISK driver initialized: 16 RAM disks of 128K size 1024 blocksize
VFS: Cannot open root device "ram0" or 01:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 01:00
Now for some possible complications: I'm not using LILO as of yet. I've
written a custom bootloader, and one of the arguments I pass to the
kernel is "root=/dev/ram0" as it says to do in
Documentation/initrd.txt. So my question is: what other setup am I
skipping? I'd rather not have to store a ramdisk image in ROM, but I'm
guessing I'll run into problems just creating an empty one. What else
do I need to do to get VFS to open the device correctly?
Thanks,
-ian
--
----------------------------------------
Ian Thompson tel: 408.952.2023
Firmware Engineer fax: 408.570.0910
Palmchip Corporation www.palmchip.com
next reply other threads:[~2001-05-30 22:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-30 22:55 Ian Thompson [this message]
2001-05-30 23:17 ` ramdisk funkiness Brian Murphy
[not found] ` <01053016114302.00826@gateway>
[not found] ` <3B158C4A.98CB5C26@palmchip.com>
2001-05-31 0:21 ` Ilya Volynets
2001-05-31 0:41 ` Jun Sun
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=3B157A53.5728029@palmchip.com \
--to=iant@palmchip.com \
--cc=linux-mips@oss.sgi.com \
/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