1.5.7: nfs-server 2.2.47-2 troubles on XP

Baurjan Ismagulov ibr@ata.cs.hun.edu.tr
Wed Feb 4 15:39:00 GMT 2004


Hello,

I've installed cygwin snapshot 20030203 and run nfs-server-config. After
starting the services, I cannot mount a directory with map_static:

linuxnfsclient:~# mount -o nolock 192.168.0.10:/etc /mnt
mount: wrong fs type, bad option, bad superblock on 192.168.0.10:/etc,
       or too many mounted filesystems

The same setup works with Linux server.

/etc/exports looks like this:

/etc          192.168.0.101 (rw,map_static=/etc/s2c.map)

I am able to mount the directory if I use "192.168.0.101
(rw,no_root_squash)" in the exports file; it isn't mounted with, e.g.,
"192.168.0.101 (rw)", giving the same error message. This somewhat
resembles http://marc.theaimsgroup.com/?l=cygwin&m=107367747914042&w=2 .

/etc/s2c.map contains TAB-separated LF-terminated entries like:

uid  0-2  2113
uid  4  2116
... and so on. The latter uids are in /etc/passwd:

/etc/passwd:

root:unused_by_nt/2000/xp:2113:513:U-Z\root,S-1-5-21-1229272821-842925246-1957994488-2113:/home/root:/bin/bash
bin:unused_by_nt/2000/xp:2114:513:U-Z\bin,S-1-5-21-1229272821-842925246-1957994488-2114:/home/bin:/bin/bash
daemon:unused_by_nt/2000/xp:2115:513:U-Z\daemon,S-1-5-21-1229272821-842925246-1957994488-2115:/home/daemon:/bin/bash
lp:unused_by_nt/2000/xp:2116:513:U-Z\lp,S-1-5-21-1229272821-842925246-1957994488-2116:/home/lp:/bin/bash
...

/var/log/mountd.log says nothing relevant (it does complain about
rejected mount attempts and syntax errors in map file).

I would appreciate any help.

Thanks in advance,
Baurjan.
-------------- next part --------------

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Feb 04 15:41:04 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:	e:\tmp\ibr\bin
	C:\opt\cygwin\usr\local\bin
	C:\opt\cygwin\usr\local\sbin
	C:\opt\cygwin\opt\ibr\bin
	C:\opt\cygwin\opt\ibr\sbin
	C:\opt\cygwin\bin
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	c:\util\arc

Output from C:\opt\cygwin\bin\id.exe (nontsec)
UID: 1003(ibr) GID: 513(None)
=513(None)

Output from C:\opt\cygwin\bin\id.exe (ntsec)
UID: 1003(ibr) GID: 513(None)
=0(root)                   513(None)
544(Administrators)        555(Remote Desktop Users)
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `ntsec'
HOME = `e:\tmp\ibr'
PWD = `/cygdrive/e/tmp/ibr'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\ibr\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `Z'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `/home/ibr/tmp/cvs'
CVS_RSH = `ssh'
EDITOR = `vim'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\ibr'
LANG = `C'
LC_CTYPE = `de_DE'
LC_MESSAGES = `de_DE'
LESS = `-MM -r -Q'
LOGONSERVER = `\\Z'
LS_OPTIONS = `-F --show-control-chars'
MOST = `less'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PAGER = `less'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0806'
PROGRAMFILES = `C:\Program Files'
PS1 = `\u@\h:\w\$ '
SESSIONNAME = `RDP-Tcp#1'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\ibr\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ibr\LOCALS~1\Temp'
USERDOMAIN = `Z'
USERNAME = `ibr'
USERPROFILE = `C:\Documents and Settings\ibr'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck.exe'
ignoreeof = `0'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\opt\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\opt\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\opt\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  NTFS    2000Mb  42% CP CS UN PA FC     
d:  cd           N/A    N/A                    
e:  hd  NTFS    8063Mb  51% CP CS UN PA FC     
f:  hd  NTFS    4094Mb   1% CP CS UN PA FC     
z:  net NTFS    8032Mb  66% CP CS UN PA FC     W2KSvr

C:\opt\cygwin      /          system  binmode
C:\opt\cygwin/bin  /usr/bin   system  binmode
C:\opt\cygwin/lib  /usr/lib   system  binmode
.                  /cygdrive  system  binmode,cygdrive

Found: C:\opt\cygwin\bin\awk.exe
Found: C:\opt\cygwin\bin\bash.exe
Found: C:\opt\cygwin\bin\cat.exe
Found: C:\opt\cygwin\bin\cp.exe
Found: C:\opt\cygwin\bin\cpp.exe
Found: C:\opt\cygwin\bin\find.exe
Found: C:\opt\cygwin\bin\gcc.exe
Found: C:\opt\cygwin\bin\gdb.exe
Found: C:\opt\cygwin\bin\grep.exe
Found: C:\opt\cygwin\bin\ld.exe
Found: C:\opt\cygwin\bin\ls.exe
Found: C:\opt\cygwin\bin\make.exe
Found: C:\opt\cygwin\bin\mv.exe
Found: C:\opt\cygwin\bin\rm.exe
Found: C:\opt\cygwin\bin\sed.exe
Found: C:\opt\cygwin\bin\sh.exe
Found: C:\opt\cygwin\bin\tar.exe

   61k 2003/08/09 C:\opt\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2003/8/9 8:35
   45k 2001/04/25 C:\opt\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 7:28
   35k 2002/01/09 C:\opt\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 8:03
   48k 2003/08/09 C:\opt\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 11:25
   28k 2003/07/20 C:\opt\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
   30k 2003/08/11 C:\opt\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/11 4:12
   19k 2003/03/22 C:\opt\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 5:05
   15k 2003/07/20 C:\opt\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
   15k 2003/08/11 C:\opt\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/11 4:13
   69k 2003/08/10 C:\opt\cygwin\bin\cyggettextlib-0-12-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextlib-0-12-1.dll" v0.0 ts=2003/8/11 0:10
   12k 2003/08/10 C:\opt\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextpo-0.dll" v0.0 ts=2003/8/11 0:11
  134k 2003/08/10 C:\opt\cygwin\bin\cyggettextsrc-0-12-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextsrc-0-12-1.dll" v0.0 ts=2003/8/11 0:10
   17k 2001/06/28 C:\opt\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 6:34
   29k 2003/08/10 C:\opt\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/11 1:16
  958k 2003/08/10 C:\opt\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2003/8/10 22:57
   22k 2001/12/13 C:\opt\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 11:28
   37k 2003/08/10 C:\opt\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 23:50
   26k 2001/04/25 C:\opt\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 7:27
   20k 2002/01/09 C:\opt\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 8:03
   29k 2003/08/09 C:\opt\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 11:25
  156k 2001/04/25 C:\opt\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
  175k 2002/01/09 C:\opt\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 8:03
  226k 2001/04/25 C:\opt\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 7:17
  202k 2002/01/09 C:\opt\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 8:03
  224k 2003/08/09 C:\opt\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 11:24
   15k 2001/04/25 C:\opt\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 7:27
   12k 2002/01/09 C:\opt\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 8:03
   19k 2003/08/09 C:\opt\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 11:24
   62k 2003/12/11 C:\opt\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/12/11 19:01
   63k 2003/04/11 C:\opt\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 10:31
    9k 2003/12/11 C:\opt\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/12/11 19:01
   61k 2003/04/11 C:\opt\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 10:31
  108k 2001/06/28 C:\opt\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 6:34
  148k 2003/08/10 C:\opt\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/11 1:16
   61k 2003/12/04 C:\opt\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2003/12/4 5:03
 1083k 2004/01/31 C:\opt\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2004/1/31 2:32
    Cygwin DLL version info:
        DLL version: 1.5.7
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 109
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Fri Jan 30 19:32:04 EST 2004
        CVS tag: cr-0x9e
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: E:\tmp\ibr\tmp\download\cygwin-20040203
Last downloaded files from: http://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin

Package              Version            
_update-info-dir     00226-1            
ash                  20040127-1         
base-files           2.6-1              
base-passwd          1.1-1              
bash                 2.05b-16           
binutils             20030901-1         
bzip2                1.0.2-5            
cygrunsrv            0.97-1             
cygutils             1.2.2-1            
cygwin               1.5.7-1            
cygwin-doc           1.3-6              
diffutils            2.8.4-1            
editrights           1.01-1             
fileutils            4.1-2              
findutils            4.1.7-4            
gawk                 3.1.3-4            
gcc                  3.3.1-3            
gcc-mingw-core       20031020-1         
gdb                  20030919-1         
gdbm                 1.8.3-7            
grep                 2.5-1              
groff                1.18.1-2           
gzip                 1.3.5-1            
less                 381-1              
libbz2_1             1.0.2-5            
libgdbm              1.8.0-5            
libgdbm-devel        1.8.3-7            
libgdbm3             1.8.3-3            
libgdbm4             1.8.3-7            
libgettextpo0        0.12.1-3           
libiconv2            1.9.1-3            
libintl1             0.10.40-1          
libintl2             0.12.1-3           
libncurses5          5.2-1              
libncurses6          5.2-8              
libncurses7          5.3-4              
libpcre              4.1-1              
libpcre0             4.5-1              
libreadline4         4.1-2              
libreadline5         4.3-5              
login                1.9-7              
make                 3.80-1             
man                  1.5k-2             
mingw-runtime        3.2-1              
mktemp               1.5-3              
more                 2.11o-1            
ncurses              5.3-4              
nfs-server           2.2.47-2           
readline             4.3-5              
sed                  4.0.8-1            
sh-utils             2.0.15-4           
sunrpc               4.0-2              
tar                  1.13.25-5          
tcltk                20030901-1         
termcap              20021106-2         
terminfo             5.3_20030726-1     
texinfo              4.2-4              
textutils            2.0.21-1           
unzip                5.50-5             
vim                  6.2.098-1          
w32api               2.4-1              
which                1.5-2              
zip                  2.3-5              
zlib                 1.2.1-1            
Use -h to see help about each section

-------------- next part --------------
--
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/


More information about the Cygwin mailing list