Syed Khader a écrit :
VFS: Cannot open root device "ram0" or unknown-block(0,0)
Please append a correct "root=" boot option

AFAIK, /dev/ram0 has (1,0) as major/minor device numbers. Does your
/dev nodes get populated properly while generating your romfs?

-syed

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ



Thanks for your answer,
Firstly during compilation, the directory romfs has been correctly created in my uClinux tree with all the devices in romfs/dev/.
The hexdump -C of romfs.img shows that it contains the devices:

...
00014fa0 40 72 61 6d 30 2c 62 2c 31 2c 30 00 00 00 00 00 |@ram0,b,1,0.....|
...

I have also found the device after checking of the memory in GDB.
So  /dev seems correcly populated.

So why my major number is wrong?
What could be the problem?

Thanks in advance!

S.Lambert






--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to