delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/22/05:15:51

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
Date: Mon, 22 Aug 2005 11:15:38 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Unable to read/write to a tape with tar
Message-ID: <20050822091538.GY17452@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BAY104-F12CE2458074C49182D110287B60 AT phx DOT gbl>
Mime-Version: 1.0
In-Reply-To: <BAY104-F12CE2458074C49182D110287B60@phx.gbl>
User-Agent: Mutt/1.4.2i

On Aug 22 07:50, cyril bonnard wrote:
> Hello everybody,
> 
> I try to read and write data to a tape using tar under CIGWIN with:
> 
> -a SUN MODEL 411 tape reader hosted in my PC through a SCSI card
> -Win 2000
> -latest Cygwin version
> 
> when i try to get info about the tape i get:
> 
> $ mt -f /dev/st0 status
> mt: /dev/st0: Invalid request code

The Sun 411 is a repacked Archive DDS1 drive, which incidentally is the
one type of drive which I had way back when writing the original tape
support code.  Today's tape code in Cygwin still works nicely with standard
SCSI tape drives, as long as the Windows driver is the right one for the
drive type.  Just for clarification, the tape code in Cygwin doesn't use
any low level access, just plain high level Win32 tape access functions.
Are you using the "DAT 4mm" driver or whatever the name is?

The bottom line is, I can't tell what's going on with your tape drive.
You could run the above command under strace and send the output as a
bzip2'ed attachement to this list.  Maybe it helps to find the cause of
your problem.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019