Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2007 15:39:00 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        Robin Gruyters <r.gruyters@yirdis.nl>, freebsd-stable@freebsd.org
Subject:   Re: Unrecognized archive format with RELENG_6_2 and RELENG_6
Message-ID:  <200706071539.08771.doconnor@gsoft.com.au>
In-Reply-To: <46679991.4080302@freebsd.org>
References:  <20070601114047.z6qgi686os4ogw4o@server.yirdis.nl> <20070606084406.8v6nkbtv9csgs880@server.yirdis.nl> <46679991.4080302@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1445799.q2Rs4MVs51
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 07 June 2007 15:07, Tim Kientzle wrote:
> >>> This morning I have revert libarchive (src/lib/libarchive) and
> >>> tar (src/usr.bin/tar) back to RELENG_6_1 and surprisingly (or
> >>> maybe not) it works fine now.
> >
> > After that I try to read/list the tar from tape with tar -t:
> > $ sudo tar -tf /dev/sa0
> > archive.dmp
> > tar: Unrecognized archive format: Inappropriate file type or format
> >
> > But when I extract the archive from tape, it works perfectly:
> > $ sudo tar -xvf /dev/sa0
> > x archive.dmp
>
> What SCSI controller are you using?  This could
> conceivably be an issue with a particular SCSI
> controller.

ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0xd000-0xd0ff mem 0xd08200=
00-0xd0820fff irq 23 at device 3.0 on pci5
ahc0: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs
=2E..
sa0 at ahc0 bus 0 target 2 lun 0
sa0: <TANDBERG TS400 0290> Removable Sequential Access SCSI-3 device
sa0: 160.000MB/s transfers (80.000MHz, offset 126, 16bit)

> A few lines from 'dmesg' could help here.
>
> If I must, I suppose I could make 'tar' never
> try to seek if it's talking directly to a device.
> That would penalize devices that can seek, so I'd
> rather find an alternate solution.

Yeah that would be a gross work around :(

> P.S.  In the meantime, of course, tar from 6.1 and
> gtar should both work in this situation.

Or you can use dd to read from the tape.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1445799.q2Rs4MVs51
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBGZ6EE5ZPcIHs/zowRAnhHAJ0Vd9vmC6giNNelQEOk9J5mkK2hlACeJqHd
/RATSBfvA5+0tDdQcGdx0Co=
=BR3M
-----END PGP SIGNATURE-----

--nextPart1445799.q2Rs4MVs51--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706071539.08771.doconnor>