From owner-freebsd-stable@FreeBSD.ORG Thu Jun 7 05:37:22 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 4BF1316A469 for ; Thu, 7 Jun 2007 05:37:22 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2545713C44B for ; Thu, 7 Jun 2007 05:37:22 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from [10.0.0.222] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id l575bLH7020710; Wed, 6 Jun 2007 22:37:22 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <46679991.4080302@freebsd.org> Date: Wed, 06 Jun 2007 22:37:21 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robin Gruyters References: <20070601114047.z6qgi686os4ogw4o@server.yirdis.nl> <200706020852.21208.doconnor@gsoft.com.au> <20070604101603.f0ki85am800wso0k@server.yirdis.nl> <200706052131.44320.doconnor@gsoft.com.au> <46658EEB.5000008@freebsd.org> <20070606084406.8v6nkbtv9csgs880@server.yirdis.nl> In-Reply-To: <20070606084406.8v6nkbtv9csgs880@server.yirdis.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 05:37:22 -0000 >>> 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. 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. Tim Kientzle P.S. In the meantime, of course, tar from 6.1 and gtar should both work in this situation.