linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* nfs root not responding?
@ 2012-11-30  6:34 Woody Wu
  2012-11-30  8:32 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Woody Wu @ 2012-11-30  6:34 UTC (permalink / raw)
  To: linux-arm-kernel

Hi, list

I just enabled the network in the kernel and trying to load a rootfs
from remote nfs server.  The kernel did the DHCP succeed and got the
ip and other network parameters.  But it then keep always complaining
that "nfs server not responding" and the login prompt does not show up.

--------------------------------------------------------------------
AX88796B: Restore PHY default settingAX88796B:  The media mode is autosense.
eth0: link up, 100Mbps, Full-duplex
Sending DHCP requests ..,. OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.86.11.136
IP-Config: Complete:
     device=eth0, addr=10.86.11.136, mask=255.255.255.0, gw=10.86.11.1
     host=10.86.11.136, domain=ap.bm.net, nis-domain=(none)
     bootserver=0.0.0.0, rootserver=10.86.11.107, rootpath=
device: '0:9': device_add
VFS: Mounted root (nfs filesystem) on device 0:9.
Freeing init memory: 104K

nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
fs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 OK
... (skipped many duplications)
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 not responding, still trying
nfs: server 10.86.11.107 OK
Starting logging: OK
Initializing random number generator... read-only file system
detected...done
Starting network...
ip: RTNETLINK answers: File exists
...
-----------------------------------------------------


My kernel version is 3.4.19 built for ARM s3c2410, the kernel command
line is:
"ignore_loglevel console=ttySAC0,115200 ip=dhcp root=/dev/nfs rw
nfsroot=10.86.11.107:/nfs.exp/ffc1000.root,v3 nfsrootdebug"
And, I also tried with:
"ignore_loglevel console=ttySAC0,115200 ip=dhcp root=/dev/nfs ro
nfsroot=10.86.11.107:/nfs.exp/ffc1000.root nfsrootdebug"
but seems that the result gets no change.

And, below is my kernel configuration related to NFS:

------------------------------
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
# CONFIG_NFS_V4_1 is not set
CONFIG_ROOT_NFS=y
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
# CONFIG_NFSD is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_COMMON=y
-----------------------------

I tested my NFS server, it should be fine since I can mount the same
exporting directory from another linux machine. 

For the problem, the most strange things that I saw the VFS says "VFS:
Mounted root (nfs filesystem) on device 0:9.", so I think the NFS
mounting has already done. Why still has errors?

What's possible causes and where should I go to check?

Thanks in advance!

- 
woody
I can't go back to yesterday - because I was a different person then.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-03 23:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30  6:34 nfs root not responding? Woody Wu
2012-11-30  8:32 ` Wolfgang Denk
2012-11-30 13:49   ` Woody Wu
2012-11-30 13:59   ` Woody Wu
2012-12-03  1:53   ` Woody Wu
2012-12-03  2:26     ` Woody Wu
2012-12-03 23:51       ` Tim Bird

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).