This is the mail archive of the cygwin@sources.redhat.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]

mt -f /dev/nrmt0 tell is failing


The shell script below is held in /tmp/applsave.sh

#!/usr/bin/sh
mt -f /dev/nrmt0 rewind
cd /dosf
tar czf /dev/nrmt0 *
mt -f /dev/nrmt0 tell
sleep 30
cd /dosi
tar czf /dev/nrmt0 *
mt -f /dev/nrmt0 tell
sleep 30
mt -f /dev/nrmt0 rewoffl

$ /tmp/applsave.sh
TapeGetPos: 6: The handle is invalid.


TapeGetPos: 6: The handle is invalid.

These two reports are associated with the tell request to mt. This works
for another machine with a DAT drive. (This one is a QIC525 Tandberg
3800 unit).

cygcheck -r -s -v follows and shows that I updated cygwin today to
1.5.1.

Cheers

Don Sharp

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Oct 30 15:52:56 2000

WinNT Ver 4.0 build 1381 Service Pack 6

Path:	/usr/local/bin
	/usr/bin
	/bin
	/dosc/WINNT/System32
	/dosc/DOS
	/dosc/BIN
	/dosc

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

PWD = `/'
USER = `administrator'
MAKE_MODE = `unix'
HOME = `/home/administrator'

NUMBER_OF_PROCESSORS = `1'
PROMPT = `$P$G'
LOGONSERVER = `\\TULUM2'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
TZ = `GMT0BST'
COMSPEC = `C:\WINNT\system32\cmd.exe'
SYSTEMDRIVE = `C:'
ROOTDIR = `C:/BIN'
HOSTNAME = `TULUM2'
PROCESSOR_REVISION = `0109'
PATHEXT = `.COM;.EXE;.BAT;.CMD'
COMPUTERNAME = `TULUM2'
WINDIR = `C:\WINNT'
SCSI_DRIVER = `C:\IOMEGA '
USERPROFILE = `C:\WINNT\Profiles\Administrator'
PS1 = `]0;\w
\u@\h \w
$ '
!G: = `G:\bin'
MACHTYPE = `i686-pc-cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 1 Stepping 9, GenuineIntel'
OS = `Windows_NT'
OLDPWD = `/dosi'
PROCESSOR_ARCHITECTURE = `x86'
TEMP = `/dosc/TEMP'
PROCESSOR_LEVEL = `6'
SCSI_UTILITY = `C:\IOMEGA '
SYSTEMROOT = `C:\WINNT'
HOMEDRIVE = `C:'
SHLVL = `1'
HOMEPATH = `\'
USERDOMAIN = `TULUM2'
USERNAME = `administrator'
SHELL = `/bin/sh'
HOSTTYPE = `i686'
OSTYPE = `cygwin'
TERM = `cygwin'
_ = `/usr/bin/cygcheck'

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\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed
Components\g:/
  (default) = `20000517'
  bash = `0002.0004.0001'
  binutils = `19990818.0001'
  bison = `0000'
  byacc = `0000'
  bzip = `0000'
  clear = `0001.0000'
  cygwin = `0001.0001.0002'
  dejagnu = `0000'
  diff = `0000'
  expect = `0000'
  fileutils = `0000'
  findutils = `0000'
  flex = `0000'
  gawk = `0000'
  gcc = `0002.0095.0002.0001'
  gdb = `20000610'
  gperf = `0000'
  grep = `0000'
  groff = `0001.011a.0001'
  gzip = `0000'
  inetutils = `0001.0003.0002.0002'
  less = `0000'
  libpng = `0001.0000.0006.0001'
  login = `0001.0002'
  m = `0000'
  make = `0003.0079.0001'
  man = `0001.005g.0002'
  patch = `0000'
  sed = `0003.0002.0001'
  shellutils = `0000'
  tar = `0000'
  tcltk = `20000610'
  termcap = `0002'
  texinfo = `0000'
  time = `0000'
  zlib = `0001.0001.0003.0001'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `g:\'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dev/nrmt0
  (default) = `\\.\tape0'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dev/rmt0
  (default) = `\\.\tape0'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosc
  (default) = `c:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosd
  (default) = `d:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosf
  (default) = `f:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosh
  (default) = `h:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosi
  (default) = `i:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosj
  (default) = `j:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/dosn
  (default) = `n:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `g:/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `g:/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1

a:  fd  FAT        1Mb   1% CP    UN           
c:  hd  FAT      511Mb  48% CP    UN           SYSTEMFILES
d:  hd  FAT      255Mb  59% CP    UN           USERFILES
e:  hd  FAT      143Mb  96% CP    UN           WINDOWSWAPS
f:  hd  FAT      511Mb  64% CP    UN           WINAPPLICS
g:  hd  FAT      127Mb  94% CP    UN           CYGWINPOSIX
h:  hd  FAT      127Mb  43% CP    UN           OPENWORK
i:  hd  FAT      511Mb  93% CP    UN           
j:  hd  NTFS     511Mb  85% CP CS UN PA FC     NTApplics
k:  hd  NTFS     255Mb  39% CP CS UN PA FC     
l:  fd           N/A    N/A                    
m:  cd  CDFS     405Mb 100%    CS              SOL_8_600_IA
n:  hd  FAT      509Mb  34% CP    UN           TEMP_FILES
q:  hd  FAT      501Mb  39% CP    UN           LUXURYLINER
s:  hd  FAT      509Mb  22% CP    UN           JAVASTUFF

\\.\tape0  /dev/nrmt0  system  binmode
\\.\tape0  /dev/rmt0  system  binmode
g:\bin  /usr/bin  system  binmode
g:\lib  /usr/lib  system  binmode
c:    /dosc    system  binmode
d:    /dosd    system  binmode
f:    /dosf    system  binmode
g:    /        system  binmode
h:    /dosh    system  binmode
i:    /dosi    system  binmode
j:    /dosj    system  binmode
n:    /dosn    system  binmode

Found: g:\bin\bash.exe
Found: \bin\bash.exe
Warning: g:\bin\bash.exe hides \bin\bash.exe
Found: g:\bin\cat.exe
Found: c:\BIN\cat.exe
Warning: g:\bin\cat.exe hides c:\BIN\cat.exe
Found: \bin\cat.exe
Warning: g:\bin\cat.exe hides \bin\cat.exe
Found: g:\bin\cpp.exe
Found: \bin\cpp.exe
Warning: g:\bin\cpp.exe hides \bin\cpp.exe
Found: g:\bin\find.exe
Found: c:\DOS\find.exe
Warning: g:\bin\find.exe hides c:\DOS\find.exe
Found: \bin\find.exe
Warning: g:\bin\find.exe hides \bin\find.exe
Found: g:\bin\gcc.exe
Found: \bin\gcc.exe
Warning: g:\bin\gcc.exe hides \bin\gcc.exe
Found: g:\bin\gdb.exe
Found: \bin\gdb.exe
Warning: g:\bin\gdb.exe hides \bin\gdb.exe
Found: g:\bin\ld.exe
Found: \bin\ld.exe
Warning: g:\bin\ld.exe hides \bin\ld.exe
Found: g:\bin\ls.exe
Found: \bin\ls.exe
Warning: g:\bin\ls.exe hides \bin\ls.exe
Found: g:\bin\make.exe
Found: \bin\make.exe
Warning: g:\bin\make.exe hides \bin\make.exe
Found: g:\bin\sh.exe
Found: \bin\sh.exe
Warning: g:\bin\sh.exe hides \bin\sh.exe

  655k 2000/10/19 g:\bin\cygduff.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/10/19 5:04
   18k 2000/10/23 g:\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/23 3:26
   83k 2000/06/11 g:\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/6/11 4:34
   35k 2000/06/11 g:\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/6/11 4:34
  402k 2000/06/11 g:\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/6/11 4:30
    5k 2000/06/11 g:\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/06/11 g:\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/6/11 4:30
  639k 2000/06/11 g:\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/6/11 4:34
   14k 2000/10/23 g:\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2000/10/23 20:02
   45k 2000/10/22 g:\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 g:\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2000/10/23 1:58
  162k 2000/10/23 g:\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2000/10/23 1:40
  243k 2000/10/23 g:\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2000/10/23 2:14
   49k 2000/10/23 g:\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2000/10/23 1:22
  606k 2000/10/29 g:\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/10/29 4:56
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 5
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        api major: 0
        api minor: 29
        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
        build date: Sun Oct 29 00:56:47 EDT 2000
        shared id: cygwin1S3

  655k 2000/10/19 \bin\cygduff.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/10/19 5:04
   18k 2000/10/23 \bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/23 3:26
   83k 2000/06/11 \bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/6/11 4:34
   35k 2000/06/11 \bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/6/11 4:34
  402k 2000/06/11 \bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/6/11 4:30
    5k 2000/06/11 \bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/06/11 \bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/6/11 4:30
  639k 2000/06/11 \bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/6/11 4:34
   14k 2000/10/23 \bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2000/10/23 20:02
   45k 2000/10/22 \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 \bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2000/10/23 1:58
  162k 2000/10/23 \bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2000/10/23 1:40
  243k 2000/10/23 \bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2000/10/23 2:14
   49k 2000/10/23 \bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2000/10/23 1:22
  606k 2000/10/29 \bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/10/29 4:56
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 5
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        api major: 0
        api minor: 29
        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
        build date: Sun Oct 29 00:56:47 EDT 2000
        shared id: cygwin1S3

Use -h to see help about each section


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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