delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/20/08:56:55

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
Message-ID: <4125F4E4.3010902@macroscoop.nl>
Date: Fri, 20 Aug 2004 14:56:04 +0200
From: Pim Zandbergen <P DOT Zandbergen AT macroscoop DOT nl>
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.10-3 + mt 2.3 scsi tape problems
References: <4122275D DOT 6010101 AT macroscoop DOT nl> <20040817155426 DOT GN1689 AT cygbert DOT vinschen DOT de> <4124BD84 DOT 4020304 AT macroscoop DOT nl> <20040819154822 DOT GB10590 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20040819154822.GB10590@cygbert.vinschen.de>
X-Antivirus: Scanned by F-Prot Antivirus (http://www.f-prot.com)
X-Antivirus-Summary: Mod score: 0
X-Spam-Status: No, hits=0.0 required=2.0 tests=none autolearn=no version=2.63
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mondriaan.macroscoop.nl
Note-from-DJ: This may be spam

Corinna Vinschen wrote:

>FWIW, I never saw are heard of a tape device
>driver which is set to variable blocksize (0) by default.What drive are
>you using?
>
I'm using this script on three servers, which are now running latest 
cygwin+mt again

"hopper", Windows 2000 Server, IBM/Seagate DDS-3
"dou", Windows 2003 Server, IBM/Seagate DDS-4
"degas", Windows 2003 Server, Dell/Sony DDS-4

"hopper" and "dou" use the same Windows driver by Certance LLC,
version 1.6.0.0. "degas" uses a generic Microsoft driver.

Only "hopper" starts with blocksize 0, the other two with blocksize 512.
It's possible this drive has been used in an RS/6000 and has its dip
switch settings changed accordingly. RS/6000's can boot from a tape
drive, but require non-standard settings to support this.

>Could you mail the output of `mt status 3' after a reboot?
>  
>
I'll include it at the end of this message, for "hopper" only.

>>mt -f /dev/st0 setblk 16384
>>dd if=/dev/zero of=/dev/st0 bs=16k count=1
>>    
>>
>
>Works like a charm for me. 
>  
>
I mixed the chain of events. Try this:

mt -f /dev/st0 setblk 16384
dd if=/dev/zero of=/dev/st0 bs=512 count=32

This hung on all three servers, freshly booted up.
After this, instability is introduced which causes all
sorts of commands to fail which otherwise would have
succeeded.

Thanks,
Pim

drive type       :       01 (Unknown type of tape device)
tape capacity    : 11694387 KB          remaining        : 11694387 KB
current file     :        0             active partition :        0
current block    :        0             cur logical block:        0
General status bits on (43030000):
 BOT ONLINE IM_REP_EN REP_SM HW_COMP
min block size   :        1             max block size   :    65536
def block size   :    16384             cur block size   :        0
density code     :       00 (default)

Drive(r) Capabilities:
----------------------
fixed length blocks        : yes        var length blocks          : yes        
set block size             : yes        fixed partitioning         : no         
select partitioning        : no         initiator partitioning     : yes        
get logical blockno        : yes        logical block spacing      : yes        
get absolute blockno       : no         absolute block spacing     : yes        
logical block immediate    : no         absolute block immediate   : no         
relative block spacing     : yes        backward spacing           : yes        
immediate rewind           : yes        fast EOM spacing           : yes        
immediate spacing          : no         write marks immediate      : yes        
filemark spacing           : yes        write filemarks            : yes        
write long filemarks       : no         write short filemarks      : no         
report setmarks            : yes        setmark spacing            : yes        
write setmarks             : yes        set report setmarks        : yes        
sequential filemarks       : yes        sequential setmarks        : no         
load and unload            : yes        un/load immediate          : yes        
lock and unlock            : yes        un/lock immediate          : no         
tape retension             : no         retension immediate        : no         
erase on bop only          : no         erase immediately          : yes        
long erase                 : yes        short erase                : yes        
sw ejects media            : yes        report write protection    : yes        
report EOT warn size       : no         set EOT warn size          : no         
data padding               : no         set data padding           : no         
returns capacity           : yes        returns remaining          : yes        
hw error correction        : no         set hw error correction    : no         
hw compression             : yes        set compression            : yes        
set comp. on bop only      : no         report cleaning request    : no         





--
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