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: Mon, 22 Aug 2005 11:15:38 +0200 From: Corinna Vinschen 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: 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 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/