[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] Using NFS with uClinux kernel



Hi,
 
To use NFS, the following could be a check list you want to refer to
 
1) Make sure to config kernel to support NFS
 
2) chmod 777 to the dir to be NFS, just in case
 
3) export the directory by a line in the file /etc/exports". The best way is to use "*" for IP, instead of a specific IP
    dir_name *(rw,no_root_squash,no_all_squash)
 
4) active NFS. Use "restart" to update the new "exports" file
    /etc/init.d/nfs restart
 
5) mount NFS
    exactly the command you used, in particular "-o rsize=2048,wsize=2048" as it won't work without this option
 
Just to make sure the network is OK by using "ping"
 
That's all I use to have successful NFS to run some application due to read-only filesystem
 
Good Luck

 

From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of moises j. cabrera
Sent: Sunday, October 07, 2007 6:36 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: [microblaze-uclinux] Using NFS with uClinux kernel



i hope you can help me, my problem is next:
 
i have my uClinux running on my board on a MicroBlaze processor, and i configured my kernel to support NFS enviroment, where and application is built on my workstation (lap) and is executed remotely on the reference board, so when i want to "mount" my "uClinux-dist" directory of my workstation on the "/mnt" directory of my uClinux (running in the FPGA board) i execute this command in the uClinux operatin system:
 
 "mount -t nfs 192.168.1.55:/home/user1/uClinux-cvs/uClinux-dist  /mnt  -o rsize=2048,wsize=2048" 
 
the next error message appers:

mount: RPC: Timed out
mount: nfsmount failed: Bad file dnfs warning: mount version newer than kernel scriptor
NFS: mount program didn't pass remote address! scriptor
RPC: sendmsg returned error 22
nfs: RPC call returned error 22
nfs_get_root: getattr error = 22
nfs_read_super: get root inode failed
mount: Mounting 192.168.1.55:/home/avnet/uClinux-cvs/uClinux-dist on
/mnt failed : Invalid argument
 
what is the problem?, what does the message "mount version newer than kernel scriptor" mean?
 
thanks
 



¡Sé un mejor besador!
Comparte todo lo que sabes sobre besos en:
http://mx.yahoo.com/promos/mejorbesador.html