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


hello, here is the new stuff: the traces of tar and mt bzip2ed, and here the output:

Administrateur@t-0e0d94b2a0f54 ~
$ strace -o d:/strace mt -f /dev/st0 status
mt: /dev/st0: Bad address

Administrateur@t-0e0d94b2a0f54 ~
$ strace -o d:/stracetar tar -cvf /dev/st0
tar: /dev/st0: Cannot open: Bad address
tar: Error is not recoverable: exiting now

I think the message given ( "Bad address") may help!?

Cyril.


From: Corinna Vinschen <corinna-cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: Unable to read/write to a tape with tar
Date: Mon, 22 Aug 2005 21:35:56 +0200

On Aug 22 14:46, cyril bonnard wrote:
> After installing the new dll of cygwin, the behaviour of mt changed to:
>
> Administrateur@t-0e0d94b2a0f54 ~
> $ strace -o trace.txt mt -f /dev/st0 status
> mt: /dev/st0: Bad address
>
> Administrateur@t-0e0d94b2a0f54 ~
> $ mt -f /dev/st0 status
> drive type = Unknown type of tape device
> drive status = 0
> sense key error = 0
> residue count = 0
> file number = -1
> block number = -1
> Tape block size 0 bytes. Density code 00 (default).
> General status bits on (1010000):
> ONLINE IM_REP_EN
>
> So i cannot provide you the trace and the stackdump with the new dll, i
> send the stackdump corresponding to the PREVIOUS run and so to the old dll.
>
> Concerning the SEGV, it occurs only while running strace and not while
> running tar/mt alone.


My bad.  I had a bug in the strace related stuff inside the tape code.
Could you please rerun the whole strace stuff (mt, tar) using the new
Cygwin snapshot http://cygwin.com/snapshots/cygwin1-20050819.dll.bz2 ?

Maybe we still have a chance to find out what's going wrong with your
tape drive.


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: strace.bz2
Description: BZip2 compressed data

Attachment: stracetar.bz2
Description: BZip2 compressed 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]