2183
- 收藏
- 点赞
- 分享
- 举报
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
-
2021-07-29 11:16:51
-
2019-10-09 11:01:07
-
2018-05-24 12:20:31
-
2022-07-29 08:08:25
-
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-10-21 15:57:34
-
2019-03-19 17:12:37
-
42020-10-16 12:03:24
-
42019-08-02 09:16:03
-
02020-09-06 16:24:20
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认