Unable to read/write to a tape with tar

cyril bonnard cyril_bonnard@hotmail.com
Tue Aug 23 08:03:00 GMT 2005


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.bz2
Type: application/x-bzip2
Size: 4798 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050823/1603c437/attachment.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stracetar.bz2
Type: application/x-bzip2
Size: 5043 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050823/1603c437/attachment-0001.bz2>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list