Problems with NFS server
Thu Jun 15 13:55:00 GMT 2006
I am trying to export via NFS a cygwin directory as a root filesystem for an embedded Linux system (I hope it can work..), but I get problems. I installed the NFS services properly on Windows XP (nfsd, portmap, mountd). As indicated in the install script, they are running as an user that I created, member of the Administrators group. The Linux system can use an NFS root filesystem from a Linux PC without any problem, so my configuration should be OK. I use the NFS cygwin package version 2.3-4.
My kernel command line is:
console=ttyCL1 root=/dev/nfs nfsroot=172.16.20.245:/usr/src/buildroot-20060308/build_arm/root ip=172.16.7.65
At boot I get the following messages:
eth0: using half-duplex 10Base-T (RJ-45)
IP-Config: Guessing netmask 255.255.0.0
device=eth0, addr=172.16.7.65, mask=255.255.0.0, gw=255.255.255.255,
host=172.16.7.65, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=172.16.20.245, rootpath=
Looking up port of RPC 100003/2 on 172.16.20.245
Looking up port of RPC 100005/1 on 172.16.20.245
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
It waits for about 3 seconds after the "Looking up..." lines and then it gives this error.
All I get in my logs on my server are these messages:
15:01:54: mountd: PID 4064: NFS mount request received (/usr/src/buildroot-20060308/build_arm/root, from 172.16.7.65).
15:01:58: mountd: PID 4064: NFS mount request completed (/usr/src/buildroot-20060308/build_arm/root, from 172.16.7.65).
I am exporting a directory with correct permissions, my /etc/exports contains:
What is strange is that I don't get any error from nfsd.
If you have any idea... Thanks in advance for any help.
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin