Initial ramdisk support does not work (for me) on 2.6.17.13
Hi!
We are building embedded devices based on Linux and we use a ramdisk as our root device in order to avoid problems with people switching off the unit without a proper shutdown and to save write-cycles on our flash disc.
Using a 2.6.12 kernel it was no problem to boot the system by using this kernel parameters:
load_ramdisk=1 console=tty0 initrd=initrd.gz rw vga=769 ramdisk_size=32768 root=/dev/ram0
Today I tried to test run a 2.6.17.12 kernel using the same parameters but I get this error message:
VFS: Cannot open root device "ram0" or unknown-block(1,0) Please append a correct "root=" boot option
The RAMDISK driver seems to be initialized correctly and the initrd image (gzipped ext2fs) contains a block device /dev/ram0 with major 1 and minor 0 ...
Any hints what has changed and how I can get this kernel to use a ramdisk as its root device?
Thanks in advance,
best regards,
Heiko
Signature · 13 lines
------------------------------------------------------------------------ *MEINBERG Funkuhren GmbH & Co. KG* Auf der Landwehr 22 D-31812 Bad Pyrmont, Germany Tel.: ++49 (0)5281 9309-25 Fax: ++49 (0)5281 9309-30 eMail: [email protected] <mailto:[email protected]> Internet: www.meinberg.de <http://www.meinberg.de/> ------------------------------------------------------------------------ Meinberg radio clocks: 25 years of accurate time worldwide
Quoted 1 line · you
Hi!
Hallo.
Quoted 9 lines
We are building embedded devices based on Linux and we use a ramdisk as our root device in order to avoid problems with people switching off the unit without a proper shutdown and to save write-cycles on our flash disc.
Using a 2.6.12 kernel it was no problem to boot the system by using this kernel parameters:
load_ramdisk=1 console=tty0 initrd=initrd.gz rw vga=769 ramdisk_size=32768 root=/dev/ram0
Quoted 4 lines
Today I tried to test run a 2.6.17.12 kernel using the same parameters but I get this error message:
VFS: Cannot open root device "ram0" or unknown-block(1,0) Please append a correct "root=" boot option
In subject you've wrote "2.6.17.13", but anyway in such cases one must include full dmesg (boot output) and (sometimes) ".config".
Also, if you are using some kind of embedded hardware, f.e. ARM, please, use arm-user mailing list for such questions.
____
Quoted 15 lines
Hi!
Hallo.
We are building embedded devices based on Linux and we use a ramdisk as our root device in order to avoid problems with people switching off the unit without a proper shutdown and to save write-cycles on our flash disc.
Using a 2.6.12 kernel it was no problem to boot the system by using this kernel parameters:
load_ramdisk=1 console=tty0 initrd=initrd.gz rw vga=769 ramdisk_size=32768 root=/dev/ram0
Quoted 5 lines
Today I tried to test run a 2.6.17.12 kernel using the same parameters but I get this error message:
VFS: Cannot open root device "ram0" or unknown-block(1,0) Please append a correct "root=" boot option
This is the message you get if you accidentally build the kernel without ramdisk support. Check your configuration.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.24 on an i686 machine (5592.72 BogoMips). New book: http://www.AbominableFirebug.com/
_
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.