为了调试驱动,整了一天的NFS启动根文件系统出了各种问题,后来还是一一解决,不过还不太完美,因为不能使用交换机,我只能用PC和目标板直连,导致我上网很麻烦
无法挂载问题一:
IP-Config: Cannot add default route (-101).
Looking up port of RPC 100003/2 on 192.168.0.7
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Looking up port of RPC 100005/1 on 192.168.0.7
VFS: Mounted root (nfs filesystem) on device 0:11.
Freeing init memory: 128K
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will b
e case sensitive!
[14/Dec/2008:05:19:25 +0000] boa: server version Boa/0.94.13
[14/Dec/2008:05:19:25 +0000] boa: server built Mar 26 2009 at 15:28:42.
[14/Dec/2008:05:19:25 +0000] boa: starting server pid=508, port 80
Try to bring eth0 interface up......nfs: server 192.168.1.112 not responding, stil
l trying
nfs: server 192.168.1.112 not responding, still trying
解决:
PC机,目标板的linux_cmd_line和虚拟机内的linux网关全部设为一致,我的就全部设置为192.168.1.1
无法挂载问题二:
就一直在这儿等待
解决:都是交换机惹的祸!把目标板和PC直连就没问题了
无法挂载问题三:
可以挂载之后,我没有了端口上网,就用无线的端口上网,之后又无法挂载的,而且都无法Ping通!
然后把无线断掉之后 又可以挂载了,原来这次是无线惹的祸,目标板和PC用本地连接时,不要用无线上网。
PS:万恶的NFS啊,我整了一天!