您的位置:首页 > 其它

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

2015-03-03 14:15 531 查看
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)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: