This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to read/write to a tape with tar


So, W2k recognizes the device as a "ARCHIVE VIPER 150 21531" and the file pointed for driving is qic157.sys

I 've done the strace, but my poor knowledge prevent me from analyzing it correctly so as recommended by Corinna i've attached the trace file.

thank you for your help. Cyril.










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@cygwin.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/


Attachment: trace.txt.bz2
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]