Lite5200 NFS mount issue

Andersson Tord Tord.Andersson at combitech.se
Fri Sep 22 00:53:35 EST 2006


Hi,

I have some additional information on the problems we had with NFS on the Lite5200 card and the 
2.4.25 kernel (DENX linuxppc_2_4_devel 2006-04-06) . 
When analyzing the IP traffic with Etherreal, it was seen that the problems were 
caused by loss of fragmented IP-packets. When the IP fragmentation was removed by forcing NFS's 
UDP size to less than the Ethernet MTU size, the problems disappeared. 
We used the kernel NFS argument option to this effect;

	nfsroot=${serverip}:${rootpath},rsize=1024,wsize=1024

Still, the question remains, why do fragmented packets get lost? Do anyone know of any related FEC/BESTCOMM/driver/buffer issues which might cause this problem? The problem also exist with the 5200B version. 

Regards,

Tord Andersson

 

> -----Original Message-----
> From:
> linuxppc-embedded-bounces+tord.andersson=combitechsystems.com@
> ozlabs.org
> [mailto:linuxppc-embedded-bounces+tord.andersson=combitechsyst
> ems.com at ozlabs.org] On Behalf Of Björn Östby
> Sent: den 20 juni 2006 10:15
> To: linuxppc-embedded at ozlabs.org
> Subject: Lite5200 NFS mount issue
> 
> 
> Hi all,
> I'm using u-boot 1.1.4 (CVS downloaded 2006-05-04) and ELDK
> 4.0. I've encountered 
> problems when trying to mount a NFS root filesystem when 
> using the Lite MPC5200 development board. The system mounts 
> ok when the board is connected to office wide 
> network switches but if the board is connected directly 
> through a small 100/10Mbit switch to the NFS server, the 
> mount halts as shown in the log below (The 100/10Mbit switch 
> do work as other boards can mount their filesystem through 
> these). Does anyone recognize this problem and know a 
> suitable work-around/solution?
> 
> =>run flash_nfs
>  ## Booting image at ff0a0000 ...
>    Image Name:   Linux-2.4.25
>    Created:      2006-06-16  13:11:56 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    945550 Bytes = 923.4 kB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
> Linux version 2.4.25 (tord at toshiba) (gcc version 4.0.0 (DENX
> ELDK 4.0 4.0.0)) #1 fre jun 16 14:46:35 CEST 2006 On node 0 
> totalpages: 16384
> zone(0): 16384 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: root=/dev/nfs rw 
> nfsroot=10.3.67.98:/opt/eldk_4_0/ppc_6xx 
> ip=10.3.67.99:10.3.67.98:10.3.67.1:::eth0:off panic=1 
...
> Looking up port of RPC 100003/2 on 10.3.67.98
> Looking up port of RPC 100005/1 on 10.3.67.98
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 80k init
> nfs: server 10.3.67.98 not responding, still trying
> nfs: server 10.3.67.98 OK
> nfs: server 10.3.67.98 not responding, still trying
> nfs: server 10.3.67.98 OK
> [time to this about 5 minutes]
> INIT: version 2.85 booting
> nfs: server 10.3.67.98 not responding, still trying
> nfs: server 10.3.67.98 OK
> nfs: server 10.3.67.98 not responding, still trying
> nfs: server 10.3.67.98 OK
> 
> Regards,
> Bjorn Ostby
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 



More information about the Linuxppc-embedded mailing list