Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/