• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : 问个nfs启动Mini2440的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 10334
精华: 0
发帖: 11
金钱: 110 两
威望: 55 点
综合积分: 22 分
注册时间: 2009-11-01
最后登录: 2009-11-15
楼主  发表于: 2009-11-03 07:47

 问个nfs启动Mini2440的问题

老问题了,但是似乎找不到有效的解决办法

通过nfs启动,总是提示如下错误,请问大家都是怎么解决的阿?



TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
lib80211: common routines for IEEE802.11 drivers
s3c2410-rtc s3c2410-rtc: setting system clock to 2008-12-14 13:19:16 UTC (122926
0756)
eth0: link down
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.0.7 not responding, stil
l trying
nfs: server 192.168.0.7 not responding, still trying
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-11-03 09:35
Try to bring eth0 interface up......

看起来像是文件系统在初始化过程中重新配置了网卡的IP地址,造成原本的NFS的IP设置被覆盖了。这个动作默认是在文件系统的/etc/init.d/ifconfig-eth0脚本里完成的。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 10334
精华: 0
发帖: 11
金钱: 110 两
威望: 55 点
综合积分: 22 分
注册时间: 2009-11-01
最后登录: 2009-11-15
2楼  发表于: 2009-11-03 11:58
请问怎么可以解决呢?

thanks
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2009-11-03 12:51
在NFS作root的情况下,网卡的IP由内核启动时配置, 最安全的办法是把文件系统初始化过程中所有调用ifconfig的地方全部屏蔽掉。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 10334
精华: 0
发帖: 11
金钱: 110 两
威望: 55 点
综合积分: 22 分
注册时间: 2009-11-01
最后登录: 2009-11-15
4楼  发表于: 2009-11-03 13:47
请问在哪里可以做到啊?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2009-11-03 14:02

 回 4楼(speeddy) 的帖子

抱歉,我不知道,这取决于你用的文件系统。你需要找出文件系统关于网络设置初始化的地方。这个帖子里面有我对友善之臂提供的root_qtopia文件系统的一些分析,希望对你有帮助。
http://www.aiothome.com/bbs/read.php?tid-1702.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 10334
精华: 0
发帖: 11
金钱: 110 两
威望: 55 点
综合积分: 22 分
注册时间: 2009-11-01
最后登录: 2009-11-15
6楼  发表于: 2009-11-03 14:11
我刚刚在/etc/init.d/rcS 里面把 /sbin/ifconfig lo 127.0.0.1 和 /etc/init.d/ifconfig-eth0 delete了后 nfs启动成功了

但是启动了以后连在终端的主机没有反映了, Hypertinmal打不进Commond了。
级别: 新手上路
UID: 10334
精华: 0
发帖: 11
金钱: 110 两
威望: 55 点
综合积分: 22 分
注册时间: 2009-11-01
最后登录: 2009-11-15
7楼  发表于: 2009-11-03 14:12

 回 5楼(kasim) 的帖子

可以帮我看看吗,Terminel死了,打不进去命令。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
8楼  发表于: 2009-11-03 14:39
把ifconfig lo 127.0.0.1留着,那是配置本地回环的,和NFS没关系
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 10334
精华: 0
发帖: 11
金钱: 110 两
威望: 55 点
综合积分: 22 分
注册时间: 2009-11-01
最后登录: 2009-11-15
9楼  发表于: 2009-11-03 15:14
似乎是linuxrc这个执行代码的问题,这个代码是friendlyarm编译好摆进去的,是不是一定要用这个玩意Boot呢?
有其他的吗?
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go