2161
- 收藏
- 点赞
- 分享
- 举报
hi3559A 使用 nfs 加载 rootfs的错误请教
hi3559a 想使用nfs 进行 rootfs启动 ,nfsserver安装了, /etc/exports中加了 nfs rootfs 路径。
在uboot种设置了 启动参数 setenv bootargs 'mem=128M console=ttyAMA0,115200 root=/dev/nfs ip=10.2.0.173:10.2.0.178:10.2.0.1:255.255.255.0::eth0:off rw nfsroot=10.2.0.178:/home/gllou/his/Hi3559A/rootfs init=/linuxrc'。
内核配置也已经加了 Root file system on NFS 。
出现如下的错误信息
hi_gmac_v200 101c0000.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=3e:98:81:bd:bb:17, ipaddr=10.2.0.173, mask=255.255.255.0, gw=10.2.0.1
host=10.2.0.173, domain=, nis-domain=(none)
bootserver=10.2.0.178, rootserver=10.2.0.178, rootpath=
uart-pl011 12100000.uart: no DMA platform data
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,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?)
1f00 262144 mtdblock0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.37_hi3559av100_big.LITTLE #2
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
Call trace:
[] dump_backtrace+0x0/0x198
[] show_stack+0x14/0x20
[] dump_stack+0x94/0xb8
[] panic+0x118/0x268
[] mount_block_root+0x184/0x25c
[] mount_root+0x11c/0x134
[] prepare_namespace+0x16c/0x1a8
[] kernel_init_freeable+0x1c0/0x1e0
[] kernel_init+0x10/0x100
[] ret_from_fork+0x10/0x50
SMP: stopping secondary CPUs
Kernel Offset: disabled
Memory Limit: 128 MB
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
在uboot种设置了 启动参数 setenv bootargs 'mem=128M console=ttyAMA0,115200 root=/dev/nfs ip=10.2.0.173:10.2.0.178:10.2.0.1:255.255.255.0::eth0:off rw nfsroot=10.2.0.178:/home/gllou/his/Hi3559A/rootfs init=/linuxrc'。
内核配置也已经加了 Root file system on NFS 。
出现如下的错误信息
hi_gmac_v200 101c0000.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=3e:98:81:bd:bb:17, ipaddr=10.2.0.173, mask=255.255.255.0, gw=10.2.0.1
host=10.2.0.173, domain=, nis-domain=(none)
bootserver=10.2.0.178, rootserver=10.2.0.178, rootpath=
uart-pl011 12100000.uart: no DMA platform data
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,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?)
1f00 262144 mtdblock0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.37_hi3559av100_big.LITTLE #2
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
Call trace:
[
[
[
[
[
[
[
[
[
[
SMP: stopping secondary CPUs
Kernel Offset: disabled
Memory Limit: 128 MB
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
我来回答
回答4个
时间排序
认可量排序
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2019-04-01 17:09:35
-
2019-08-05 16:18:10
-
2019-02-28 19:30:21
-
2019-03-01 09:22:24
-
2021-07-27 17:23:03
-
2019-10-09 11:01:07
-
2021-07-29 11:16:51
-
2022-07-29 08:08:25
-
2018-05-24 12:20:31
-
2020-12-20 09:28:01
-
2019-07-24 17:09:44
-
2020-10-31 10:26:55
-
2019-09-22 15:17:56
-
2020-09-14 16:39:38
-
2020-04-21 09:22:40
-
2020-10-21 15:57:34
-
2019-03-19 17:12:37
-
42019-08-02 09:16:03
-
42020-10-16 12:03:24
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认