From owner-freebsd-stable@FreeBSD.ORG Thu Jun 7 06:09:15 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4404A16A400; Thu, 7 Jun 2007 06:09:15 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id C550913C483; Thu, 7 Jun 2007 06:09:14 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.61]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l5769Cq7005346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jun 2007 15:39:12 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Tim Kientzle Date: Thu, 7 Jun 2007 15:39:00 +0930 User-Agent: KMail/1.9.5 References: <20070601114047.z6qgi686os4ogw4o@server.yirdis.nl> <20070606084406.8v6nkbtv9csgs880@server.yirdis.nl> <46679991.4080302@freebsd.org> In-Reply-To: <46679991.4080302@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1445799.q2Rs4MVs51"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706071539.08771.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: Robin Gruyters , freebsd-stable@freebsd.org Subject: Re: Unrecognized archive format with RELENG_6_2 and RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 06:09:15 -0000 --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: 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: 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--