[U-Boot-Users] Kernel panic: VFS: Unable to mount root fs on 1f:03
SETTE AGOSTINO - technolabs
Agostino.Sette at technolabs.it
Mon Aug 6 18:23:50 CEST 2007
Hi All,
I am having problems with U-Boot 1.2.0. Hereafter is reported the card
boot
U-Boot 1.2.0 (Jun 18 2007 - 12:58:28)
CPU: MPC852TxxZPnnA at 66 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
Board: MPC852
Watchdog enabled
DRAM: 16 MB
FLASH: 16 MB
In: serial
Out: serial
Err: serial
Restart Reason: 0xc0000000
SPI Chipselects: 0= EPLD, 1= EEPROM, 2= EXT
PUMA: env. variable puma_addr undefined
Net: FEC ETHERNET
Hit any key to stop autoboot: 0
## Booting image at 40180000 ...
Image Name: Linux-2.4.20-rthal5
Created: 2006-12-22 10:23:37 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 617326 Bytes = 602.9 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Kernel panic: VFS: Unable to mount root fs on 1f:03
Here is the env
baudrate=19200
loads_echo=1
gatewayip=0.0.0.0
ethact=FEC ETHERNET
ethaddr=00:0f:bb:19:cd:1f
fileaddr=100000
netmask=255.255.255.0
ipaddr=192.168.0.42
serverip=192.168.0.254
board=MPC852
pram=256
bootdelay=2
kernel_addr=40180000
kernel_end=4025ffff
basefs_addr=40260000
basefs_end=4047ffff
optfs_addr=40480000
optfs_end=404fffff
usrfs_addr=40500000
usrfs_end=407fffff
info_addr=4003FEC0
unlock=yes
mtdargs=mtdparts=0:256k(b),1280k(u),896k(k),2176k(r),512k(o),-(j)
optargs=quiet flashwidth=16 ccm=852
dl_kernel=tftp 100000 "$(board)/bps/pImage"; erase $(kernel_addr)
$(kernel_end); cp.b 100000 $(kernel_addr) $(filesize)
dl_basefs=tftp 100000 "$(board)/bps/basefs.cramfs"; erase $(basefs_addr)
$(basefs_end); cp.b 100000 $(basefs_addr) $(filesize)
dl_optfs=tftp 100000 "$(board)/bps/optfs.cramfs"; erase $(optfs_addr)
$(optfs_end); cp.b 100000 $(optfs_addr) $(filesize)
dl_bootenv=tftp 100000 "$(board)/bps/bootenv.img"; autoscr 100000
dl_info=tftp 100000 "$(board)/bps/bpsinfo.img";protect off 40000000
4003FFFF;cp.b 100000 $(info_addr) $(filesize);protect on 40000000
4003FFFF
dl_all=run dl_bootenv;run dl_kernel;run dl_basefs;run dl_optfs;run
dl_info
bootcmd=run dl_bps; run bargs; bootm $(kernel_addr)
bargs=setenv bootargs $(mtdargs) $(optargs) mem=$(mem)
root=/dev/mtdblock3
ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off wdt
8xx=timeout:120
dl_bps=echo
stdin=serial
stdout=serial
stderr=serial
mem=16128k
Environment size: 1427/65532 bytes
And the flinfo
Bank # 1: CFI conformant FLASH (16 x 16) Size: 16 MB in 131 Sectors
Intel Extended command set, Manufacturer ID: 0x89, Device ID: 0x21
Erase timeout: 4096 ms, write timeout: 1 ms
Buffer write timeout: 2 ms, buffer size: 64 bytes
Sector Start Addresses:
40000000 RO 40008000 RO 40010000 RO 40018000 RO
40020000 RO
40040000 40060000 40080000 400A0000
400C0000
400E0000 40100000 40120000 40140000
40160000
40180000 401A0000 401C0000 401E0000
40200000
40220000 40240000 40260000 40280000
402A0000
402C0000 402E0000 40300000 40320000
40340000
40360000 40380000 403A0000 403C0000
403E0000
40400000 40420000 40440000 40460000
40480000
404A0000 404C0000 404E0000 40500000
40520000
40540000 40560000 40580000 405A0000
405C0000
405E0000 40600000 40620000 40640000
40660000
40680000 406A0000 406C0000 406E0000
40700000
40720000 40740000 40760000 40780000
407A0000
407C0000 407E0000 40800000 40820000
40840000
40860000 40880000 408A0000 408C0000
408E0000
40900000 40920000 40940000 40960000
40980000
409A0000 409C0000 409E0000 40A00000
40A20000
40A40000 40A60000 40A80000 40AA0000
40AC0000
40AE0000 40B00000 40B20000 40B40000
40B60000
40B80000 40BA0000 40BC0000 40BE0000
40C00000
40C20000 40C40000 40C60000 40C80000
40CA0000
40CC0000 40CE0000 40D00000 40D20000
40D40000
40D60000 40D80000 40DA0000 40DC0000
40DE0000
40E00000 40E20000 40E40000 40E60000
40E80000
40EA0000 40EC0000 40EE0000 40F00000
40F20000
40F40000 40F60000 40F80000 40FA0000
40FC0000
40FE0000
I think there are problems with MTDs. If I change in the bootargs
"root=/dev/mtdblock3" with "root=/dev/mtdblock/3" I have the following
error:
=> boot
## Booting image at 40180000 ...
Image Name: Linux-2.4.20-rthal5
Created: 2006-12-22 10:23:37 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 617326 Bytes = 602.9 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Kernel panic: VFS: Unable to mount root fs on 1f:00
Does anyone know how to fix it?
Thanks
Ciao
Agostino
More information about the U-Boot
mailing list