Hi,
I was tftp booting rc4 correctly but when i playing with u-boot trying to boot off mmc, now, I get a kernel panic on the tftp kernel boot rc4 (also tried it on rc5)
lib80211: common routines for IEEE802.11 drivers
rtc-mv rtc-mv: setting system clock to 2009-05-13 00:07:17 UTC (1242173237)
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address c7d9
mmcblk0: mmc0:c7d9 SD256 243 MiB
mmcblk0:
IP-Config: Device `DB88FXX81' not found.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 1024 mtdblock0 (driver?)
1f01 4096 mtdblock1 (driver?)
1f02 519168 mtdblock2 (driver?)
b300 249088 mmcblk0 driver: mmcblk
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[<c00309c0>] (unwind_backtrace+0x0/0xe0) from [<c003db20>] (panic+0x50/0x120)
[<c003db20>] (panic+0x50/0x120) from [<c0008ec4>] (mount_block_root+0x1d4/0x214)
[<c0008ec4>] (mount_block_root+0x1d4/0x214) from [<c000916c>] (prepare_namespace+0x16c/0x1c4)
[<c000916c>] (prepare_namespace+0x16c/0x1c4) from [<c0008734>] (kernel_init+0xc0/0xec)
[<c0008734>] (kernel_init+0xc0/0xec) from [<c0040b18>] (do_exit+0x0/0x6ac)
on uBoot:
Marvell>> printenv bootcmd
bootcmd=run boottftp;setenv bootargs $(console) $(bootargs_nfs) ip=$(ipaddr):$(serverip):$(bootargs_end);bootm 0x2000000
Marvell>> printenv boottftp
boottftp=tftpboot 0x2000000 $(image_name)
Marvell>> printenv image_name
image_name=sheeva-2.6.30-rc5-uImage
Marvell>> printenv bootargs
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x100000@0(uboot)ro,0x0@0x100000(uImage),0x1ff00000@0x100000(rootfs)rw root=/dev/nfs rw nfsroot=$(serverip):/tftpboot/rootfs ip=192.168.0.35:192.168.0.20::::DB88FXX81:eth0:none
Any ideas on how to boot nfs rootfs back? When removing the MMC card kernel also complains.
I wonder why it was working and now it fails.. with same stuff.. :-/
I got the same error today, I was lack of some devices under /dev/*, so I copied from regular linux /dev/.
-David