I.Mx6 NFS挂载失败问题 【已解决】

1、问题描述

串口输出如下信息后,无任何响应。

IP-Config: Complete:
     device=eth0, addr=192.168.1.88, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.88, domain=, nis-domain=(none),
     bootserver=192.168.1.58, rootserver=192.168.1.58, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 212K
starting pid 1434, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys 
Starting the hotplug events dispatcher udevd
udevd (1443): /proc/1443/oom_adj is deprecated, please use /proc/1443/oom_score_adj instead.
Synthesizing initial hotplug events
Setting the hostname to freescale
Mounting filesystems
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
nfs: server 192.168.1.58 not responding, still trying

 

2、问题原因

根文件系统中的 /etc/rc.d/rcS 文件对网卡eth0又进行了一次配置与我们设置在uboot中的IP配置信息不同。

这导致了根文件系统在配置完IP后不能找到完整的根文件系统了。

如下我们在 /etc/rc.d/rcS中找到如下配置信息

ifconfig eth0 192.168.3.104
/sbin/sshd

与我们在uboot中配置的192.168.1.88的IP一不致。

 

3、问题解决

1)将rcS文件中的IP信息修改成与我们uboot中设置的IP值

2)将rcS文件中的IP设置信息注释掉(注释掉后文件系统采用uboot中配置的IP)

转载于:https://www.cnblogs.com/aqing1987/p/4310832.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值