新手上路
- 积分
- 45
- 金钱
- 45
- 注册时间
- 2019-4-24
- 在线时间
- 13 小时
|
1金钱
启动时出现:启动内核是出现VFS: Cannot open root device "dev/nfs" or unknown-block(0,0): error -6 后面就是内核启动失败。
已经根据文档,和老师讲解重新整了两边,感觉配置没有错误
网络可以ping通,单独用nfs下载zImage,也可以以下载。请问各位大神哪里出问题了
附 bootarge配置,我检查好几遍了应该没问题
bootargs=console=ttymxc0,115200 root=dev/nfs rw nfsroot=192.168.1.115:/home/wjs/linux/nfs/rootfs ip=192.168.1.51:192.168.1.115:192.168.1.1:255.255.255.0::eth0ff
附 启动失败时的截图
mmcblk0: mmc0:aaaa SC16G 14.8 GiB
mmcblk0:
NET: Registered protocol family 10
usb 2-1: new high-speed USB device number 2 using ci_hdrc
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
input: gpio_keys@0 as /devices/platform/gpio_keys@0/input/input1
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 05:11:42 UTC (18702)
mmc1: MAN_BKOPS_EN bit is not set
mmc1: new HS200 MMC card at address 0001
mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
mmcblk1: p1 p2
fec 20b4000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=20b4000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IP-Config: Complete:
device=eth0, hwaddr=00:04:9f:04:d2:35, ipaddr=192.168.1.51, mask=255.255.255.0, gw=192.168.1.1
host=192.168.1.51, domain=, nis-domain=(none)
bootserver=192.168.1.115, rootserver=192.168.1.115, rootpath=
can-3v3: disabling
ALSA device list:
No soundcards found.
VFS: Cannot open root device "dev/nfs" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
0100 65536 ram0 (driver?)
0101 65536 ram1 (driver?)
0102 65536 ram2 (driver?)
0103 65536 ram3 (driver?)
0104 65536 ram4 (driver?)
0105 65536 ram5 (driver?)
0106 65536 ram6 (driver?)
0107 65536 ram7 (driver?)
0108 65536 ram8 (driver?)
0109 65536 ram9 (driver?)
010a 65536 ram10 (driver?)
010b 65536 ram11 (driver?)
010c 65536 ram12 (driver?)
010d 65536 ram13 (driver?)
010e 65536 ram14 (driver?)
010f 65536 ram15 (driver?)
b300 15558144 mmcblk0 driver: mmcblk
b310 7634944 mmcblk1 driver: mmcblk
b311 131072 mmcblk1p1 df8c7eb5-01
b312 7493632 mmcblk1p2 df8c7eb5-02
b340 512 mmcblk1rpmb (driver?)
b330 4096 mmcblk1boot1 (driver?)
b320 4096 mmcblk1boot0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
|
最佳答案
查看完整内容[请看2#楼]
bootargs参数设置错误,root=/dev/nfs,前面有个“/”,你设置的是root=dev/nfs
|