This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with an NT Installation


I'm guessing you're going to need to debug the situation then.  I'm still
not sure that this isn't an issue with /tmp being read-only but clearly the
information available so far does not point specifically to where the 
problem is.  You might try using strace or even build and debug cygwin1.dll
and bash.  If that doesn't make the problem obvious, the results of your 
findings might make it so for someone on the list.  You could report those 
findings here and perhaps someone could help further then.  Generally 
speaking, the list doesn't see many problems with using network drives and 
certainly none like you've described.

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

At 05:15 AM 3/5/2001, Harry Erwin wrote:
>On Mon, 26 Feb 2001 12:14:17 -0500, Christopher Faylor <cgf@redhat.com> wrote:
>>
>>  On Mon, Feb 26, 2001 at 09:47:09AM +0000, Harry Erwin wrote:
>>  >We're trying to install cygwin on an NT-based network. The
>>  >installation is to the C: drive, while the students have write-access
>>  >only to the H: drive, which contains their home directories. When we
>    ++++++++++++++++++++
>>  >kick off bash and cd to H:/, we get an indication that we're in
>>  >/cygdrive/h/, but when we try a dir or ls on that, we crash hard.
>
>I guess that they try to access /tmp which is on C: drive (check
>your mount table). /tmp must be writable for many programs.
>
>Ehud.
>
>Apparently not the problem. It has to do with the networked drive, H:. Anyone know of issues involving networked drives? C: is read-only for the students, but the problem still occurs if it's an administrator using cygwin. Here's the cygcheck output:
>
>
>Cygnus Win95/NT Configuration Diagnostics
>Current System Time: Mon Mar  5 09:40:06 2001
>
>WinNT Ver 4.0 build 1381 Service Pack 5
>
>Path:   /usr/local/bin
>         /usr/bin
>         /bin
>         /cygdrive/c/WINNT/system32
>         /cygdrive/c/WINNT
>         /cygdrive/c/jdk1.2.2/bin
>         /cygdrive/c/BC5/BIN
>         .
>
>SysDir: C:\WINNT\System32
>WinDir: C:\WINNT
>
>Here's some environment variables that may affect cygwin:
>PWD = `/h'
>USER = `cisuser'
>MAKE_MODE = `unix'
>HOME = `/cygdrive/c/usr/home'
>
>Here's the rest of your environment variables:
>NUMBER_OF_PROCESSORS = `1'
>PROMPT = `$P$G'
>LOGONSERVER = `\\CET-L3-5'
>OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
>COMSPEC = `C:\WINNT\system32\cmd.exe'
>!C: = `C:\cygwin\bin'
>SYSTEMDRIVE = `C:'
>HOSTNAME = `CET-L3-5'
>PROCESSOR_REVISION = `0605'
>PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.JS;.VBE;.JSE;.WSF;.WSH'
>COMPUTERNAME = `CET-L3-5'
>FPRES = `01'
>PUBLICSERVER = `CETTECH_SUPPORT'
>COUNTRY = `UK'
>WINDIR = `C:\WINNT'
>LS = `SUNSPDC001'
>USERPROFILE = `C:\WINNT\Profiles\cisuser'
>APPSSERVER = `CETTECH_SUPPORT'
>COMPMOD = `Intel Celeron 366Mhz'
>PS1 = `\[\033]0;\w\007
>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>$ '
>TCVER = `0531'
>MACHTYPE = `i686-pc-cygwin'
>PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 5, GenuineIntel'
>OS = `Windows_NT'
>OSVER = `0421'
>SBAPPSSERVER = `CETTECH_SUPPORT'
>OLDPWD = `/cygdrive/c/usr/home'
>PROCESSOR_ARCHITECTURE = `x86'
>TEMP = `/cygdrive/c/TEMP'
>HDVER = `0102'
>PROCESSOR_LEVEL = `6'
>SYSTEMROOT = `C:\WINNT'
>HOMEDRIVE = `C:'
>SHLVL = `1'
>HOMEPATH = `\'
>USERDOMAIN = `CET-L3-5'
>INSTALLSRV = `CETTECH_SUPPORT'
>PRINTSERVER = `CETTECH_SUPPORT'
>HARDWARE = `D'
>USERNAME = `cisuser'
>SHELL = `/bin/sh'
>HOSTTYPE = `i686'
>OSTYPE = `cygwin'
>SITE = `STUDENT'
>WG = `HLPROT'
>TERM = `cygwin'
>SBENV = `PROT'
>_ = `/usr/bin/cygcheck'
>TZ = `GMTST0GMTDT-1,M3.5.0/2,M10.5.0/3'
>
>Scanning registry for keys with `Cygnus' in them...
>HKEY_CURRENT_USER\Software\Cygnus Solutions
>HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
>HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
>   (default) = `/cygdrive'
>   cygdrive flags = 0x00000020
>HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/h
>   (default) = `H:'
>   flags = 0x00000000
>HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
>
>Listing available drives...
>Drv Type        Size   Free Flags              Name
>a:  fd  FAT        1Mb  88% CP    UN           WINZIP62
>c:  had  NTFS    4118Mb  55% CP CS UN PA FC    
>f:  net SUNWNFS  8501Mb  51% CP                 eos
>h:  net SUNWNFS 208148Mb  15% CP                 magog1
>fd=floppy, had=hard drive, cd=CD-ROM, net=Network Share
>CP=Case Preserving, CS=Case Sensitive, UN=Unicode
>PA=Persistent ACLS, FC=File Compression, VC=Volume Compression
>
>Mount entries: these map POSIX directories to your NT drives.
>-NT-  -POSIX-  -Type-  -Flags-
>C:\cygwin\bin  /usr/bin  system  textmode
>C:\cygwin\lib  /usr/lib  system  textmode
>C:\cygwin  /        system  textmode
>H:    /h       user    textmode
>
>Looking to see where common programs can be found, if at all...
>Found: C:\cygwin\bin\bash.exe
>Found: C:\cygwin\bin\cat.exe
>Found: C:\cygwin\bin\cpp.exe
>Found: c:\BC5\BIN\cpp.exe
>Warning: C:\cygwin\bin\cpp.exe hides c:\BC5\BIN\cpp.exe
>Found: C:\cygwin\bin\find.exe
>Found: C:\cygwin\bin\gcc.exe
>Found: C:\cygwin\bin\gdb.exe
>Found: C:\cygwin\bin\ld.exe
>Found: C:\cygwin\bin\ls.exe
>Found: C:\cygwin\bin\make.exe
>Found: c:\BC5\BIN\make.exe
>Warning: C:\cygwin\bin\make.exe hides c:\BC5\BIN\make.exe
>Found: C:\cygwin\bin\sh.exe
>
>Looking for various Cygnus DLLs...  (-v gives version info)
>    56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
>                   "cygbz21.0.dll" v0.0 ts=2000/11/20 23:53
>    82k 2001/01/21 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
>                   "cygform5.dll" v0.0 ts=2001/1/21 20:39
>    18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
>                   "cyggdbm.dll" v0.0 ts=2000/10/23 3:26
>    17k 2001/01/07 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
>                   "cyghistory4.dll" v0.0 ts=2001/1/7 4:34
>    14k 2000/10/23 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
>                   "cygintl.dll" v0.0 ts=2000/10/23 20:02
>    81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitcl30.dll" v0.0 ts=2000/11/26 1:43
>    35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
>                   "cygitk30.dll" v0.0 ts=2000/11/26 1:43
>    45k 2000/10/22 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygjbig1.dll" v0.0 ts=2000/10/23 0:06
>   119k 2000/10/23 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
>                   "cygjpeg6b.dll" v0.0 ts=2000/10/23 1:58
>    53k 2001/01/21 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
>                   "cygmenu5.dll" v0.0 ts=2001/1/21 20:39
>   414k 2001/01/21 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
>                   "cygncurses++5.dll" v0.0 ts=2001/1/21 20:40
>   299k 2001/01/21 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
>                   "cygncurses5.dll" v0.0 ts=2001/1/21 20:38
>    34k 2001/01/21 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpanel5.dll" v0.0 ts=2001/1/21 20:38
>   163k 2001/02/03 C:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
>                   "cygpng2.dll" v0.0 ts=2001/2/3 21:21
>   108k 2001/01/07 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
>                   "cygreadline4.dll" v0.0 ts=2001/1/7 4:34
>   390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=2000/11/26 1:39
>     5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
>    10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=2000/11/26 1:39
>   243k 2000/10/23 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtiff3.dll" v0.0 ts=2000/10/23 2:14
>   623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=2000/11/26 1:43
>    41k 2000/11/20 C:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
>                   "cygXpm-noX4.dll" v0.0 ts=2000/11/20 2:41
>    45k 2000/11/20 C:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
>                   "cygXpm-X4.dll" v0.0 ts=2000/11/20 2:45
>    49k 2001/02/03 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
>                   "cygz.dll" v0.0 ts=2001/2/3 20:35
>   615k 2001/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2001/1/31 15:08
>     Cygwin DLL version info:
>         dll major: 1001
>         dll minor: 8
>         dll epoch: 19
>         dll bad signal mask: 19005
>         dll old termios: 5
>         dll malloc env: 28
>         api major: 0
>         api minor: 34
>         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: Wed Jan 31 10:08:38 EST 2001
>         shared id: cygwin1S3
>
>-- 
>---
>Harry Erwin, PhD, Senior Lecturer of Computing, University of Sunderland. Computational neuroscientist modeling bat bioacoustics and behavior. <http://world.std.com/~herwin> 
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]