嵌入式爱好者

查看: 9218|回复: 1

[Linux] 关于nfs挂在出现停止不运行问题

  [复制链接]

1

主题

2

帖子

10

积分

扫一扫,手机访问本帖
发表于 2015-11-3 13:20:48 | 显示全部楼层 |阅读模式
开发板是OK335XD工业级,在nfs模式下,下载原来的256M uImage文件,之后运行一段程序后,就停止了,参见附件运行信息。这个uImage文件是光盘原来的文件,通过SD卡烧录是能够正常运行的,只是通过tftp下载后运行不了,
设置启动参数如下:
#setenv serverip 192.168.1.210 (设置ubuntu服务器的ip)
#setenv ipaddr 192.168.1.216 (设置开发板的ip)
#setenv bootargs console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.210:/nfs_rootfs,nolock rw ip=1
92.168.1.216:192.168.1.210:192.168.1.1:255.255.255.0::eth0:off screentype=R screensize=800x600-vga
(nfsroot=192.168.1.210:/nfs_rootfs中的192.168.1.210为ubuntu服务器ip,/nfs_rootfs 为ubuntu下所建的
存放文件系统的路径,192.168.1.216是开发板的ip)
#setenv bootcmd “tftp 80000000 uImage;bootm 80000000”
#save  保存环境变量


出现问题处信息
rev 3
[    1.891662] ThumbEE CPU extension supported.
[    1.896176] mux: Failed to setup hwmod io irq -22
[    1.901798] Power Management for AM33XX family
[    1.906649] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    1.913332] Copied the M3 firmware to UMEM
[    1.917675] Cortex M3 Firmware Version = 0x181
[    1.927476] clock: disabling unused clocks to save power
[    1.935141] Detected MACID=6c:ec:eb:64:6d:3c
[    1.940766] cpsw: Detected MACID = 6c:ec:eb:64:6d:3e
[    1.948005] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    1.956841] rtc-rx8010 1-0032: setting system clock to 2015-11-03 13:05:00 UT
C (1446555900)
[    1.970363] net eth0: CPSW phy found : id is : 0x4dd074
[    3.962542] PHY: 0:00 - Link is Up - 100/Full
[    3.991817] IP-Config: Complete:
[    3.995182]      device=eth0, addr=192.168.1.232, mask=255.255.255.0, gw=192.
168.1.1,
[    4.003108]      host=192.168.1.232, domain=, nis-domain=(none),
[    4.009368]      bootserver=192.168.1.125, rootserver=192.168.1.125, rootpath
=
[    4.038126] VFS: Mounted root (nfs filesystem) on device 0:15.
[    4.044577] devtmpfs: error mounting -2
[    4.048937] Freeing init memory: 244K
[    4.053669] Kernel panic - not syncing: No init found.  Try passing init= opt
ion to kernel. See Linux Documentation/init.txt for guidance.
[    4.066655] Backtrace:
[    4.069243] [<c0017d68>] (dump_backtrace+0x0/0x110) from [<c0511024>] (dump_s
tack+0x18/0x1c)
[    4.078050]  r6:c0041770 r5:c06fd74c r4:c0771410 r3:c07210c8
[    4.083982] [<c051100c>] (dump_stack+0x0/0x1c) from [<c0511094>] (panic+0x6c/
0x1a0)
[    4.091979] [<c0511028>] (panic+0x0/0x1a0) from [<c0008700>] (init_post+0xa8/
0xd8)
[    4.099869]  r3:df02bc00 r2:00000016 r1:00000080 r0:c0612b48
[    4.105789]  r7:00000013
[    4.108445] [<c0008658>] (init_post+0x0/0xd8) from [<c06c1910>] (kernel_init+
0x128/0x130)
[    4.116976]  r4:c06fd74c r3:00000026
[    4.120726] [<c06c17e8>] (kernel_init+0x0/0x130) from [<c0041770>] (do_exit+0
x0/0x67c)
请诸位协助,谢谢了!


回复

使用道具 举报

0

主题

2

帖子

28

积分

RK3568通行证RK3399通行证XX18通行证

发表于 2018-1-15 11:00:02 | 显示全部楼层
楼主解决了吗,我也遇到了这个问题
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-18 15:53

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表