[ELDK] nfs: server not responding, still trying

Wolfgang Denk wd at denx.de
Tue Nov 3 13:54:53 CET 2009


Dear "Chris Alfred",

In message <D365F247891F4028A80B6D87DDBB1C94 at kos> you wrote:
> Our networking appears to work ok as we can load the kernel via tftp 
> in uboot.
> 
> However, when we boot the kernel with nfs root we get:

Which board / processor / kernel version is this?

> I read at 
> http://wiki.ltsp.org/twiki/bin/view/Ltsp/NFS#NFS_Server_not_responding 
> that it might be due to the NFS block sizes. So we tried the suggested 
> kernel argument change using:
> 
> [    0.000000] Kernel command line: /dev/nfs 
> rw,nolock,tcp,rsize=2048,wsize=2048 
> nfsroot=192.168.1.103:/opt/eldk/ppc_82xx 
> ip=192.168.1.21:192.168.1.103:192.168.1.254:255.255.0.0:jkc5200n7:eth0:off 
> panic=1 console=ttyPSC0,115200

PSC0? Is this eventually a MPC5200 then?

> We tried other rsize and wsize values to no avail.
> 
> NFS export from 192.168.1.103 is working as it was checked by mounting 
> the same directory on another linux box.
> 
> Any ideas?

Maybe your kernel is too old, i. e. older than March 17?

You are probably missing this commit:

commit c9310920e6e7ae0a5c0accbd57d34c194cb31780
Author: Piotr Ziecik <kosmo at semihalf.com>
Date:   Tue Mar 17 09:17:50 2009 -0600

    powerpc/5200: Enable CPU_FTR_NEED_COHERENT for MPC52xx
    
    BestComm, a DMA engine in MPC52xx SoC, requires snooping when
    CPU caches are enabled to work properly.
    
    Adding CPU_FTR_NEED_COHERENT fixes NFS problems on MPC52xx machines
    introduced by 'powerpc/mm: Fix handling of _PAGE_COHERENT in BAT setup
    code' (sha1: 4c456a67f501b8b15542c7c21c28812bf88f484b).
    
    Signed-off-by: Piotr Ziecik <kosmo at semihalf.com>
    Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The two most common things in the universe are hydrogen  and  stupi-
dity."


More information about the eldk mailing list