VFS: Unable to mount root fs via NFS, trying floppy.

mengzhendream 2012-06-08 04:20:03

Hit any key to stop autoboot: 0
U-Boot > setenv serverip 192.168.1.8
U-Boot > setenv ipaddr 192.168.1.22
U-Boot > setenv bootargs mem=128M console=ttyS2,115200n8 root=/dev/nfs
U-Boot > setenv nfsroot 192.168.1.8:/opt/workspace/SEED-DEC138/nfs rw
U-Boot > setenv ip 192.168.1.22:192.168.1.8:255.255.255.0
U-Boot > setenv bootcmd 'tftp 0xc0700000 uImage;bootm'
U-Boot > saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x0 -- 100% complete.
Writing to Nand... done
U-Boot >
U-Boot 2009.01 (Jan 06 2010 - 11:01:54)
I2C: ready
DRAM: 64 MB
NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: Bad block at 0x08a20000
nand_read_bbt: Bad block at 0x08a60000
nand_read_bbt: Bad block at 0x12260000
nand_read_bbt: Bad block at 0x1eac0000
512 MiB
In: serial
Out: serial
Err: serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net: More than one PHY detected.

Hit any key to stop autoboot: 0
Using device
TFTP from server 192.168.1.8; our IP address is 192.168.1.22
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################

done
Bytes transferred = 1832356 (1bf5a4 hex)
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.32-rc6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1832292 Bytes = 1.7 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
Linux version 2.6.32-rc6 (root@ubuntu) (gcc version 4.3.2 (Sourcery G++ Lite 202
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA850/OMAP-L138 EVM

Bad eraseblock 1105 at 0x000008a20000
Bad eraseblock 1107 at 0x000008a60000
Bad eraseblock 2323 at 0x000012260000
Bad eraseblock 3926 at 0x00001eac0000
Creating 6 MTD partitions on "davinci_nand.1":
0x000000000000-0x000000020000 : "u-boot env"
0x000000020000-0x000000040000 : "UBL"
0x000000040000-0x0000000c0000 : "u-boot"
0x000000300000-0x000000500000 : "kernel"
0x000000500000-0x000002500000 : "filesystem"
0x000002500000-0x000020000000 : "user"
davinci_nand davinci_nand.1: controller rev. 2.5
davinci SPI Controller driver at 0xfef0e000 (irq = 56) use_dma=1
console [netcon0] enabled
netconsole: network logging started
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 2
ohci ohci.0: irq 59, io mem 0x01e25000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
ads7846 spi1.0: touchscreen, irq 200
input: ADS7846 Touchscreen as /devices/platform/dm_spi.1/spi1.0/input/input0
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
omap_rtc: already running
i2c /dev entries driver
watchdog watchdog: heartbeat 60 sec
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused emac
Clocks: disable unused mcasp
davinci_emac_probe: using random MAC addr: 36:9a:20:91:18:ac
emac-mii: probed
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:24:42 UTC (946686282)
ata1: SATA link down (SStatus 0 SControl 300)
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 128 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 512 mtdblock2 (driver?)
1f03 2048 mtdblock3 (driver?)
1f04 32768 mtdblock4 (driver?)
1f05 486400 mtdblock5 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
...全文
1266 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
懒得烧死蛇吃 2012-12-05
  • 打赏
  • 举报
回复
你这是TI达芬奇的吧? 启动参数也可以分开写的? U-Boot > setenv bootargs mem=128M console=ttyS2,115200n8 root=/dev/nfs U-Boot > setenv nfsroot 192.168.1.8:/opt/workspace/SEED-DEC138/nfs rw 遇到挂载不上的问题,可以找另一台机器挂载nfs试试,如果能挂载成功就说明是nfs启动参数的配置问题,加个nolock。 nfsroot=192.168.2.2:/target/filesys,nolock
mengzhendream 2012-11-30
  • 打赏
  • 举报
回复
时间长了,记不住了
yaoyaochecknow 2012-09-27
  • 打赏
  • 举报
回复
很多人都碰到这个问题。。楼主解决了吗?

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧