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

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



On Tuesday, February 06, 2007 5:56 AM Johann Pfefferl wrote:
> 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

I have v3 client enabled, but didn't use it so far. Following your
suggestion, I've changed my u-boot settings:

U-Boot> setenv nfsargs setenv bootargs root=/dev/nfs rw
nfsroot=\${serverip}:\${rootpath},rsize=2048,wsize=2048,tcp,nfsvers=3

It works, though looks like version is still 2 (I'll check my server):

# mount
/dev/root on / type nfs
(rw,v2,rsize=2048,wsize=2048,hard,tcp,nolock,addr=192.168.0.141)
/proc on /proc type proc (rw)
none on /var type ramfs (rw)
none on /etc/config type ramfs (rw)

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/