• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : NFS启动系统的问题,请指教! 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 851
精华: 0
发帖: 21
金钱: 210 两
威望: 93 点
综合积分: 42 分
注册时间: 2008-06-11
最后登录: 2009-06-04
楼主  发表于: 2008-08-11 22:55

 NFS启动系统的问题,请指教!

我是按照手册上面说的一步一步做下来的,做到NFS启动系统时,从光盘中的nfs.txt里直接将param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.111:/opt/FriendlyARM/QQ2440/root_nfs ip=192.168.1.70:192.168.1.111:192.168.1.111:255.255.255.0:sbc2440.arm9.net:eth0:off"复制到vivi模式下,回车后输入boot,再回车,结果老是不对。
我想问一下上面那段文字具体都是什么意思啊?有什么是需要根据具体情况修改的?
我只把redhat linux的IP改为192.168.1.111,这样改对不对?还要改什么吗?
谢谢~~新手上路,请多指教啊!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-08-12 07:15
这样改是对的。除此之外,redhat linux上还必须启动NFS server服务。把内核的启动信息贴出来吧
"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: 851
精华: 0
发帖: 21
金钱: 210 两
威望: 93 点
综合积分: 42 分
注册时间: 2008-06-11
最后登录: 2009-06-04
2楼  发表于: 2008-08-12 13:03
我也启动了NFS,这是启动时输出的最后部分,不懂什么意思,谢谢版主~~
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit buffer not free!
NETDEV WATCHDOG: eth0: transmit timed out
Root-NFS: Server returned error -5 while mounting /opt/FriendlyARM/QQ2440/root_n
fs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-08-12 15:40
从这个启动信息看,网卡(eth0)似乎工作不正常,无法发送数据。把完整的启动信息贴出来吧。另外,不用NFS的时候,进入文件系统后,QQ2440可以正常访问网络吗?
"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: 256
精华: 0
发帖: 42
金钱: 350 两
威望: 55 点
综合积分: 84 分
注册时间: 2008-03-08
最后登录: 2014-10-05
4楼  发表于: 2008-08-26 20:48
如果你的系统是装的RedHat 9.0的话,很简单,你只要把网段调成一致即可,但是如果你用的是虚拟机的话,必须共享网卡,而且虚拟机中的网卡必须选为桥接。
级别: 新手上路
UID: 1330
精华: 0
发帖: 39
金钱: 390 两
威望: 139 点
综合积分: 78 分
注册时间: 2008-08-18
最后登录: 2011-02-07
5楼  发表于: 2008-08-26 23:39
看来和我命运相仿啊!
级别: 新手上路
UID: 796
精华: 0
发帖: 2
金钱: 20 两
威望: 2 点
综合积分: 4 分
注册时间: 2008-06-01
最后登录: 2008-12-27
6楼  发表于: 2008-08-30 09:15
把RedHat 9.0 linux的IP改为192.168.1.1,把nfs 服务打开
打开终端
用telnet 192.168.1.230登陆 输入root
级别: 新手上路
UID: 1491
精华: 0
发帖: 16
金钱: 160 两
威望: 16 点
综合积分: 32 分
注册时间: 2008-09-03
最后登录: 2009-07-29
7楼  发表于: 2008-09-03 11:53
我的网络是通的,主机和学习板上的系统可以互相ping通
可是访问nfs就是有问题
IP-Config: Complete:
      device=eth0, addr=192.168.1.70, mask=255.255.255.0, gw=192.168.1.111,
    host=sbc2440, domain=, nis-domain=arm9.net,
    bootserver=192.168.1.111, rootserver=192.168.1.111, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.111
portmap: server 192.168.1.111 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.111
portmap: server 192.168.1.111 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default

帮忙分析一下问题出在哪里,好吗,谢谢
级别: 新手上路
UID: 1491
精华: 0
发帖: 16
金钱: 160 两
威望: 16 点
综合积分: 32 分
注册时间: 2008-09-03
最后登录: 2009-07-29
8楼  发表于: 2008-09-03 11:54
光盘中的nfs.txt
param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.111:/opt/FriendlyARM/QQ2440/root_nfs ip=192.168.1.70:192.168.1.111:192.168.1.111:255.255.255.0:sbc2440.arm9.net:eth0:off"

这个启动选项具体什么含义啊
特别的, 其中的几个ip地址分别设置了什么呢
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
9楼  发表于: 2008-09-03 12:57
引用第7楼sunnydream于2008-09-03 11:53发表的  :
我的网络是通的,主机和学习板上的系统可以互相ping通
可是访问nfs就是有问题
IP-Config: Complete:
      device=eth0, addr=192.168.1.70, mask=255.255.255.0, gw=192.168.1.111,
     host=sbc2440, domain=, nis-domain=arm9.net,
.......

检查一下主机上的nfs server 服务是否已经开启以及portmap中相应的配置
如果PC上跑的是基于Debian的Linux,可以参考http://linux.chinaitlab.com/server/739222.html
RedHat 9.0的话,开发板手册上有详细的设置步骤
"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."
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go