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

Re: [microblaze-uclinux] Cannot use root FS via NFS.



Hello,

according to NFS I use the TCP connection. This works much better for me
and the throughput is higher (UDP-NFS ~ 750kB/s;  TCP-NFS ~ 1.3MB/s
measured on a 50MHz EmacLite design with 100Mb/s link speed. Apply to
the mount command the option:

-o tcp

The NFSv3 client option must be enabled in the kernel and the NFS server must
also support it.

File systems  --->
	Network File Systems  --->
		[*]  Provide NFSv3 client support

Johann

Wright, Ron <ron.wright@xxxxxxxxx> wrote:
> Hi Leonid,
> 
> Try limiting the NFS bandwidth by adding the following option to your
> mount command:
> 
> -o rsize=2048,wsize=2048
> 
> It worked for me.
> 
> Ron
> 
> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
> [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Leonid
> Sent: Tuesday, January 30, 2007 7:49 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Cc: Balajee Premraj
> Subject: [microblaze-uclinux] Cannot use root FS via NFS.
> 
> Hi:
> 
> I'm trying to make Xilinx Spartan board mount root file system via NFS.
> First step here is to create file system on the host which can be used
> for that. I'm using Petalinux and I didn't find anything better then use
> petalinux-dist/romfs directory for that. 
> 
> Does somebody have better suggestion or may be even Microblaze FS ready
> to use?
> 
> Anyway, to check whether this FS is capable to be root FS, I load
> uClinux with usual CRAMFS first, mount this directory and try "chroot":
> 
> # mkdir /var/root
> # mount -t nfs -onolock 192.168.0.141:/tftpboot/LM125/romfs /var/root/
> # ls /var/root/
> bin   dev   etc   home  lib   mnt   proc  sbin  tmp   usr   var
> # chroot /var/root/
> nfs: server 192.168.0.141 not responding, still trying
> 
> NFS server hangs and never comes back...
> 
> Any ideas?
> 
> Thanks,
> 
> Leonid.
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/

-- 
Dr. Johann Pfefferl   ------------   mailto j.pfefferl at eubus dot net
Eubus GmbH            http://www.eubus.net +++++ http://www.hydraxc.com
Phone: +49 (0)89 45 22 578-67
Fax:   +49 (0)89 45 22 578-55
==
 -o)   A computer program does what you tell it to do,
 /\\        not what you want it to do.               
_\_v-                                                 
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/