主题 : SBC2440的NFS启动问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 1456
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
综合积分: 8 分
注册时间: 2008-08-30
最后登录: 2009-04-07
楼主  发表于: 2008-09-02 11:34

 SBC2440的NFS启动问题

开发板为SBC2440,vivi,kernel,root分别下载的是光盘images目录中的sbc_vivi,zImage_dm9000_s35,root_default.img.上位机NFS服务已开启,/etc/exports设置为:/opt/nfsdir  *(rw,sync,no_root_squash),上位机上检验服务已启动:# mount -t nfs 192.168.1.108:/opt/nfsdir  /mnt/,  /mnt与/opt/nfsdir中内容一致,但在目标板中:#mount –t nfs –o nolock 192.168.1.108:/opt/nfsdir  /mnt却显示:Mounting 192.168.1.108:/opt/nfsdir on /mnt/  failed: Invalid argument,整了两天也没整明白,望高手指点
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-09-02 15:15
先在SBC2440上用'cat  /proc/filesystems'看看内核是否支持nfs吧,如果支持的话,用strace跟一下看看是哪一步出错了
"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."