[U-Boot-Users] unable to mount root

Wolfgang Denk wd at denx.de
Wed Jun 21 08:33:40 CEST 2006


In message <44989492.0000EC.01953 at bj163app44.163.com> you wrote:
> 
>      when mount root there throws a exception,can anyone help me?

As mentioned before, this is off topic here.

A few comments anyway:

> ## Booting image at 30007fc0 ...
...
> ## Loading Ramdisk Image at 00030000 ...

Uou boot with a ramdisk image...

>    Image Name:   init ramdisk
>    Created:      2006-06-20   7:15:26 UTC
>    Image Type:   ARM Linux RAMDisk Image (uncompressed)
>    Data Size:    1269760 Bytes =  1.2 MB

For an uncompressed image the size if very small. Are you sure this is OK?

> Linux version 2.4.18-rmk7-pxa1 (Huangrx at huangrx) (gcc version 2.95.3 20010315 (5

This kernel version is extremely old. You will not find much  support
for it any more.

> Kernel command line: initrd=0x30800000,0x200000 root=/dev/mtdblock/2 init=/linu0

You boot with a ramdisk, but put  the  root  file  system  on  a  MTD
device? Strange.

The "/dev/mtdblock/2" suggests that you are attemptiong to use devfs.
IMHO not a good idea.

Also, the "init=/linu0" is strange.

> ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
> ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
> ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410

Your kernel seems to have a bug when printing the serial port names.

> cramfs: wrong magic
> FAT: bogus logical sector size 25322
> Kernel panic: VFS: Unable to mount root fs on 1f:00  

Are you sure there is  actually  a  root  file  system  in  your  MTD
partition?

> --Boundary-=_ELFRGmRbeaYKlQHgUhIykzBuuTGc
> Content-Type: text/html; charset="gb2312"
> Content-Transfer-Encoding: quoted-printable
> 
> <div>hi,all<br>

Please never post HTML here!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Computers are not intelligent.  They only think they are.




More information about the U-Boot mailing list