* 1.5.12: mt sees incorrect maximum block size @ 2004-12-14 22:36 Richard Simon 2004-12-15 9:05 ` Corinna Vinschen 0 siblings, 1 reply; 4+ messages in thread From: Richard Simon @ 2004-12-14 22:36 UTC (permalink / raw) To: cygwin when I attempt to set the correct block size with mt (or try to do so with tar) I am unable to do so. mt status 2 reports a maximum block size of 65535, whereas the windows driver and the winTarSCSI utility both report a much larger maximum block size of 16777214 I can use the winTarSCSI utility to write tapes with a block size of 262144, but tar under cygwin will not write with a block size larger than 65535. I have tried reinstalling the tape driver and reinstalling cygwin. I'm using cygwin 1.5.12, mt 2.3, tat 1.13.25. Installed on Windows XP professional, Service Pack 1. PIII, 800Mhz, 1GB ram. Why is cygwin seeing this incorrectly and how do I fix it? below I've pasted my cygcheck file Richard Simon Giant Killer Robots 361 Brannan St. San Francisco, CA 94107 (415) 777-2477 Cygwin Configuration Diagnostics Current System Time: Tue Dec 14 14:32:05 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin C c:\Perl\bin\ c:\Program Files\AliasWavefront\Maya5.0\bin c:\Program Files\Shake-v2.46.0116 c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\rush\bin w:\Approved\utilities\tools c:\Program Files\Sonic\MyDVD .\ c:\Program Files\Sonic\MyDVD .\ c:\PROGRA~1\ABSOLU~1 c:\Program Files\Common Files\Ulead Systems\MPEG c:\Program Files\Sonic\MyDVD % c:\PROGRA~1\ABSOLU~1 Output from C:\cygwin\bin\id.exe (nontsec) UID: 10500(administrator) GID: 10545(mkgroup_l_d) 10545(mkgroup_l_d) Output from C:\cygwin\bin\id.exe (ntsec) UID: 10500(administrator) GID: 10545(mkgroup_l_d) 0(root) 544(Administrators) 545(Users) 10545(mkgroup_l_d) SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `c:\Documents and Settings\Administrator' MAKE_MODE = `unix' PWD = `/cygdrive/c/Documents and Settings/Administrator' USER = `administrator' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Administrator\Application Data' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `SILVAR' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' EYEON_LICENSE_FILE = `@OLDCALCULON' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Administrator' HOSTNAME = `silvar' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LOGONSERVER = `\\BILLY' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man:' MAYA_HELP_URL = `http://mayadocs.killerobot.com/Maya5.0/en_US/' NR_ICON_PATH = `\\calculon\central\z\Approved\shake\nreal25\icons' NR_INCLUDE_PATH = `\\calculon\central\z\Approved\shake\nreal25\include_merge' NUMBER_OF_PROCESSORS = `2' OLDPWD = `/usr/bin' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PRINTER = `\\voltar\HP LaserJet 3300 Series PCL 6' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0806' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' RUSH_DIR = `c:\rush' SESSIONNAME = `Console' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' TERM = `cygwin' TMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' USERDNSDOMAIN = `KILLEROBOT.COM' USERDOMAIN = `KILLEROBOT' USERNAME = `administrator' USERPROFILE = `C:\Documents and Settings\Administrator' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' POSIXLY_CORRECT = `1' 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:\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 19586Mb 87% CP CS UN PA FC d: cd N/A N/A m: net NTFS 29306Mb 55% CP CS UN PA FC q: net NTFS 8738Mb 74% CP CS UN PA FC s: net NTFS 8738Mb 74% CP CS UN PA FC v: net NTFS 350004Mb 93% CP CS UN PA FC Video w: net NTFS 8738Mb 74% CP CS UN PA FC x: net NTFS 5238279Mb 89% CP CS UN PA LSI-0 z: net NTFS 5238279Mb 89% CP CS UN PA LSI-0 C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: w:\Approved\utilities\tools\cat.exe Warning: C:\cygwin\bin\cat.exe hides w:\Approved\utilities\tools\cat.exe Found: C:\cygwin\bin\cp.exe Found: w:\Approved\utilities\tools\cp.exe Warning: C:\cygwin\bin\cp.exe hides w:\Approved\utilities\tools\cp.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Found: w:\Approved\utilities\tools\find.exe Warning: C:\cygwin\bin\find.exe hides w:\Approved\utilities\tools\find.exe Not Found: gcc Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: w:\Approved\utilities\tools\grep.exe Warning: C:\cygwin\bin\grep.exe hides w:\Approved\utilities\tools\grep.exe Not Found: ld Found: C:\cygwin\bin\ls.exe Found: w:\Approved\utilities\tools\ls.exe Warning: C:\cygwin\bin\ls.exe hides w:\Approved\utilities\tools\ls.exe Not Found: make Found: C:\cygwin\bin\mv.exe Found: w:\Approved\utilities\tools\mv.exe Warning: C:\cygwin\bin\mv.exe hides w:\Approved\utilities\tools\mv.exe Found: C:\cygwin\bin\rm.exe Found: w:\Approved\utilities\tools\rm.exe Warning: C:\cygwin\bin\rm.exe hides w:\Approved\utilities\tools\rm.exe Found: C:\cygwin\bin\sed.exe Found: w:\Approved\utilities\tools\sed.exe Warning: C:\cygwin\bin\sed.exe hides w:\Approved\utilities\tools\sed.exe Found: C:\cygwin\bin\sh.exe Found: w:\Approved\utilities\tools\sh.exe Warning: C:\cygwin\bin\sh.exe hides w:\Approved\utilities\tools\sh.exe Found: C:\cygwin\bin\tar.exe Found: w:\Approved\utilities\tools\tar.exe Warning: C:\cygwin\bin\tar.exe hides w:\Approved\utilities\tools\tar.exe 18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2004/7/6 11:09 40k 2004/10/10 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2004/10/10 1:33 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/24 22:28 35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2002/1/8 22:03 48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0 "cygform7.dll" v0.0 ts=2003/8/9 2:25 28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-3.dll" v0.0 ts=2003/7/20 0:58 30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2003/8/10 19:12 19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2002/2/19 19:05 15k 2003/07/20 C:\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 1:00 15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 19:13 107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 10:56 17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0 "cyggettextpo-0.dll" v0.0 ts=2004/7/6 10:56 190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0 "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 10:56 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 20:34 29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2003/8/10 16:16 25k 2004/10/12 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2004/10/11 23:51 991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2004/7/6 11:10 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 1:28 37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 14:50 54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2004/7/6 10:51 12k 2003/02/17 C:\cygwin\bin\cygioperm-0.dll - os=4.0 img=1.0 sys=4.0 "cygioperm-0.dll" v0.0 ts=2003/2/17 11:58 22k 2004/10/10 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2004/10/10 1:33 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/24 22:27 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2002/1/8 22:03 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0 "cygmenu7.dll" v0.0 ts=2003/8/9 2:25 74k 2004/10/10 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2004/10/10 1:33 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/24 22:29 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2002/1/8 22:03 216k 2004/10/10 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2004/10/10 1:25 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/24 22:17 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2002/1/8 22:03 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 "cygncurses7.dll" v0.0 ts=2003/8/9 2:24 13k 2004/10/10 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2004/10/10 1:32 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/24 22:27 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2002/1/8 22:03 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0 "cygpanel7.dll" v0.0 ts=2003/8/9 2:24 62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2003/12/11 9:01 63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 "cygpcre.dll" v0.0 ts=2003/4/11 1:31 9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2003/12/11 9:01 61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix.dll" v0.0 ts=2003/4/11 1:31 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 20:34 148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2003/8/10 16:16 144k 2004/10/12 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2004/10/11 23:51 62k 2004/10/10 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2004/10/9 21:09 1114k 2004/11/10 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2004/11/10 5:34 Cygwin DLL version info: DLL version: 1.5.12 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 116 Shared data: 4 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 Nov 10 08:34:47 EST 2004 Shared id: cygwin1S4 Cygwin Package Information Last downloaded files to: c:\Cygwin\packages Last downloaded files from: ftp://mirror.mcs.anl.gov/pub/cygwin.com Package Version _update-info-dir 00230-1 ash 20040127-1 base-files 3.1-4 base-passwd 2.1-1 bash 2.05b-16 bzip2 1.0.2-6 cpio 2.5-3 cygutils 1.2.5-1 cygwin 1.5.12-1 cygwin-doc 1.3-7 diffutils 2.8.7-1 editrights 1.01-1 fileutils 4.1-2 findutils 4.2.10-5 gawk 3.1.4-3 gdbm 1.8.3-7 grep 2.5-1 groff 1.18.1-2 gzip 1.3.5-1 ioperm 0.4-1 less 381-1 libcharset1 1.9.2-1 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-7 libgdbm3 1.8.3-3 libgdbm4 1.8.3-7 libgettextpo0 0.14.1-1 libiconv 1.9.2-1 libiconv2 1.9.2-1 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.1-1 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-4 libncurses8 5.4-1 libpcre 4.1-1 libpcre0 4.5-1 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.0-1 login 1.9-7 man 1.5o1-1 mktemp 1.5-3 mt 2.3-1 ncurses 5.4-1 readline 5.0-1 sed 4.1.2-1 sh-utils 2.0.15-4 tar 1.13.25-5 tcsh 6.13.00-2 termcap 20021106-2 terminfo 5.4_20041009-1 texinfo 4.2-4 textutils 2.0.21-1 which 1.5-2 zlib 1.2.2-1 Use -h to see help about each section -- 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/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 1.5.12: mt sees incorrect maximum block size 2004-12-14 22:36 1.5.12: mt sees incorrect maximum block size Richard Simon @ 2004-12-15 9:05 ` Corinna Vinschen 2004-12-15 18:33 ` Brian Dessent 0 siblings, 1 reply; 4+ messages in thread From: Corinna Vinschen @ 2004-12-15 9:05 UTC (permalink / raw) To: cygwin On Dec 14 14:36, Richard Simon wrote: > when I attempt to set the correct block size with mt (or try to do so with tar) I am unable to do so. > mt status 2 reports a maximum block size of 65535, whereas the windows driver and the winTarSCSI utility both report a much larger maximum block size of 16777214 > > I can use the winTarSCSI utility to write tapes with a block size of 262144, but tar under cygwin will not write with a block size larger than 65535. Now that you mention it... While rewriting the Cygwin tape driver code a couple of months ago, I found the same problem. I've just drawn the wrong conclusion. According to the documentation, my Tandberg SLR7 drive is capable of writing 262144 byte blocks and the XP drivers properties dialog also reports a max block size of 262144. But the Windows function reports 65536 as maximum block size. Yes, it's actually Windows which returns that value. I just wrote a small testcase(tm), which verifies that without involving Cygwin. ======== SNIP ======== #include <windows.h> #include <stdio.h> int main (int argc, char **argv) { TAPE_SET_MEDIA_PARAMETERS smp; TAPE_GET_DRIVE_PARAMETERS dp; TAPE_GET_MEDIA_PARAMETERS mp; DWORD len, err; HANDLE fh = CreateFile ("\\\\.\\tape0", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); if (fh != INVALID_HANDLE_VALUE) { if (argc > 1) { smp.BlockSize = strtoul (argv[1], NULL, 0); if (smp.BlockSize > 0) { printf ("Try setting BlockSize to %lu\n", smp.BlockSize); while ((err = SetTapeParameters (fh, SET_TAPE_MEDIA_INFORMATION, (void *) &smp)) == ERROR_MEDIA_CHANGED) ; if (err) printf ("SetTapeParameters returned Win32 error %lu\n", err); } } len = sizeof dp; while ((err = GetTapeParameters (fh, GET_TAPE_DRIVE_INFORMATION, &len, &dp)) == ERROR_MEDIA_CHANGED) ; if (!err) { printf ("DefaultBlockSize: %lu\n", dp.DefaultBlockSize); printf ("MinimumBlockSize: %lu\n", dp.MinimumBlockSize); printf ("MaximumBlockSize: %lu\n", dp.MaximumBlockSize); } len = sizeof mp; while ((err = GetTapeParameters (fh, GET_TAPE_MEDIA_INFORMATION, &len, &mp)) == ERROR_MEDIA_CHANGED) ; if (!err) { printf ("CurrentBlockSize: %lu\n", mp.BlockSize); } CloseHandle (fh); } return 0; } ======== SNAP ======== $ gcc mt-test.c -o mt-test $ ./mt-test DefaultBlockSize: 512 MinimumBlockSize: 1 MaximumBlockSize: 65536 CurrentBlockSize: 512 $ ./mt-test 65536 Try setting BlockSize to 65536 DefaultBlockSize: 512 MinimumBlockSize: 1 MaximumBlockSize: 65536 CurrentBlockSize: 65536 $ ./mt-test 131072 Try setting BlockSize to 131072 SetTapeParameters returned Win32 error 87 DefaultBlockSize: 512 MinimumBlockSize: 1 MaximumBlockSize: 65536 CurrentBlockSize: 65536 So, as you can see, the Windows NT tape functions doesn't allow me to set the block size to more than 64K, too. That's the same functionality used inside of Cygwin. I have no idea how to workaround that. I also didn't find anything useful on the Web so far. I'd *love* to get that solved, but I don't know how. I'm going to ask someone who's writing tape drivers for Windows, perhaps he has a clue. Other than that, I'm open to any useful hint from the community. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 1.5.12: mt sees incorrect maximum block size 2004-12-15 9:05 ` Corinna Vinschen @ 2004-12-15 18:33 ` Brian Dessent 2004-12-16 13:14 ` Corinna Vinschen 0 siblings, 1 reply; 4+ messages in thread From: Brian Dessent @ 2004-12-15 18:33 UTC (permalink / raw) To: cygwin Corinna Vinschen wrote: > So, as you can see, the Windows NT tape functions doesn't allow me to set > the block size to more than 64K, too. That's the same functionality used > inside of Cygwin. I have no idea how to workaround that. I also didn't > find anything useful on the Web so far. > > I'd *love* to get that solved, but I don't know how. I'm going to ask > someone who's writing tape drivers for Windows, perhaps he has a clue. > Other than that, I'm open to any useful hint from the community. A little googling found the following, but I don't have a tape drive so I cannot test it... <http://www.complanguages.com/Reading_128K_Blocks_off_a_DLT_via_Adaptec_AHA2940AU-7710081-5505-a.html> Brian -- 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/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 1.5.12: mt sees incorrect maximum block size 2004-12-15 18:33 ` Brian Dessent @ 2004-12-16 13:14 ` Corinna Vinschen 0 siblings, 0 replies; 4+ messages in thread From: Corinna Vinschen @ 2004-12-16 13:14 UTC (permalink / raw) To: cygwin On Dec 15 10:36, Brian Dessent wrote: > Corinna Vinschen wrote: > > > So, as you can see, the Windows NT tape functions doesn't allow me to set > > the block size to more than 64K, too. That's the same functionality used > > inside of Cygwin. I have no idea how to workaround that. I also didn't > > find anything useful on the Web so far. > > > > I'd *love* to get that solved, but I don't know how. I'm going to ask > > someone who's writing tape drivers for Windows, perhaps he has a clue. > > Other than that, I'm open to any useful hint from the community. > > A little googling found the following, but I don't have a tape drive so > I cannot test it... > <http://www.complanguages.com/Reading_128K_Blocks_off_a_DLT_via_Adaptec_AHA2940AU-7710081-5505-a.html> Thanks Brian, that was very interesting. I tried it with my Adaptec U160 but unfortunately nothing changed. I had a quick look into winTar, but, alas, that's a proprietary application. If there's actually some problem with the SCSI adapter, then winTar apparently knows how to get around it. I don't know much about the SCSI low level interface... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-16 13:14 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-12-14 22:36 1.5.12: mt sees incorrect maximum block size Richard Simon 2004-12-15 9:05 ` Corinna Vinschen 2004-12-15 18:33 ` Brian Dessent 2004-12-16 13:14 ` Corinna Vinschen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).