主题 : 移植linux3.7.2到mini2440时不能以nfs网络文件系统启动急求大神指教!!! 复制链接 | 浏览器收藏 | 打印
逍遥一叹!!!
级别: 新手上路
UID: 97676
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2013-10-30
最后登录: 2013-11-19
楼主  发表于: 2013-10-30 15:40

 移植linux3.7.2到mini2440时不能以nfs网络文件系统启动急求大神指教!!!

dm9000 dm9000 eth0: link down
IP-Config: Complete:
device=eth0, addr=192.168.0.110, mask=255.255.255.0, gw=192.168.0.1
host=192.168.0.110, domain=, nis-domain=(none)
bootserver=192.168.0.150, rootserver=192.168.0.150, rootpath=
ALSA device list:
No soundcards found.
dm9000 dm9000 eth0: link up, 10Mbps, half-duplex, lpa 0x0021

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:
1f00 256 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 5120 mtdblock2 (driver?)
1f03 256640 mtdblock3 (driver?)
1f04 262144 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[<c000dc58>] (unwind_backtrace+0x0/0xf8) from [<c03435d8>] (panic+0x80/0x1f0)
[<c03435d8>] (panic+0x80/0x1f0) from [<c0443c7c>] (mount_block_root+0x1a0/0x264)
[<c0443c7c>] (mount_block_root+0x1a0/0x264) from [<c0443dc0>] (mount_root+0x80/0x100)
[<c0443dc0>] (mount_root+0x80/0x100) from [<c0443f4c>] (prepare_namespace+0x10c/0x1cc)
[<c0443f4c>] (prepare_namespace+0x10c/0x1cc) from [<c033f574>] (kernel_init+0x168/0x344)
[<c033f574>] (kernel_init+0x168/0x344) from [<c0009250>] (ret_from_fork+0x14/0x24)



且yaffs成功启动能够ping,如下:
[root@xiamin /]# ping 192.168.0.150
PING 192.168.0.150 (192.168.0.150): 56 data bytes
64 bytes from 192.168.0.150: seq=2 ttl=64 time=1.031 ms
64 bytes from 192.168.0.150: seq=3 ttl=64 time=0.945 ms
64 bytes from 192.168.0.150: seq=10 ttl=64 time=0.942 ms
64 bytes from 192.168.0.150: seq=13 ttl=64 time=0.939 ms
64 bytes from 192.168.0.150: seq=14 ttl=64 time=0.950 ms
64 bytes from 192.168.0.150: seq=17 ttl=64 time=1.094 ms

挂载nfs文件如下:


[root@xiamin /]# mount -t nfs -o nolock 192.168.0.150:/home/student/root_qtopia
/mnt/
mount: mounting 192.168.0.150:/home/student/root_qtopia on /mnt/ failed: Connection timed out