delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/15/09:36:35

X-Spam-Check-By: sourceware.org
X-VirusChecked: Checked
X-Env-Sender: N DOT Boudin AT neopost DOT com
X-Msg-Ref: server-10.tower-115.messagelabs.com!1150378575!14878954!1
X-StarScan-Version: 5.5.10.7; banners=.,-,-
Subject: Problems with NFS server
MIME-Version: 1.0
Date: Thu, 15 Jun 2006 15:36:15 +0200
Message-ID: <0F788535AE8C7D4CB24CADB2A1BA8AF41B1FD8@server25.nibv.neopost.com>
From: "Nicolas Boudin" <N DOT Boudin AT neopost DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5FDaSfo016109

Hello,

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
IP-Config: Complete:
      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:
/usr/src/buildroot-20060308/build_arm/root	172.16.7.65(rw,no_root_squash)

What is strange is that I don't get any error from nfsd.

If you have any idea... Thanks in advance for any help.

Nicolas

______________________________________________________________________
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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019