www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/23/07:38:27

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: Tue, 23 Aug 2005 13:38:12 +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: <20050823113812.GO17452@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BAY104-F41A822F0C0C252EFE506E87A90 AT phx DOT gbl>
Mime-Version: 1.0
In-Reply-To: <BAY104-F41A822F0C0C252EFE506E87A90@phx.gbl>
User-Agent: Mutt/1.4.2i

On Aug 23 09:17, cyril bonnard wrote:
> So here we are again ;-)
> 
> the output:
> Administrateur AT t-0e0d94b2a0f54 ~
> $ strace -o d:/stracemt mt -f /dev/st0 status
> mt: /dev/st0: Invalid request code
> 
> 
> Administrateur AT t-0e0d94b2a0f54 ~
> $ strace -o d:/stracetar tar -cvf /dev/st0 d:/importPy
> d:/importPy/
> d:/importPy/a.py
> d:/importPy/a.pyc
> d:/importPy/a.py~
> d:/importPy/b.py
> d:/importPy/b.py~
> d:/importPy/Copie de a.py
> d:/importPy/Copie de a.pyc
> d:/importPy/Copie de a.py~
> d:/importPy/Copie de b.py
> d:/importPy/Copie de b.py~
> tar: /dev/st0: Wrote only 0 of 10240 bytes
> tar: Error is not recoverable: exiting now

Well, I had a look into the straces and it's really weird.  Opening
the tape device works fine, but calling any of the Win32 tape functions
(for instance GetTapeParameter) results in a Win32 error 1, "Incorrect
function".  I can't change anything in Cygwin to circumvent this and
I can't get any further information.  It's just this, no Win32 tape
access function is working.

This is really unexpected.  I'm wondering if something's broken in your
configuration.  Maybe the driver is broken?  Perhaps you should try to
reinstall it or something.


Sorry if that's no help,
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