From owner-freebsd-questions@FreeBSD.ORG Fri Mar 20 19:04:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35237106568D for ; Fri, 20 Mar 2009 19:04:58 +0000 (UTC) (envelope-from mikes@siralan.org) Received: from arvo.suso.org (arvo.suso.org [66.244.94.5]) by mx1.freebsd.org (Postfix) with ESMTP id 029A08FC21 for ; Fri, 20 Mar 2009 19:04:57 +0000 (UTC) (envelope-from mikes@siralan.org) Received: from c-98-220-3-224.hsd1.in.comcast.net (c-98-220-3-224.hsd1.in.comcast.net [98.220.3.224]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arvo.suso.org (Postfix) with ESMTP id 184888806E; Fri, 20 Mar 2009 18:59:01 +0000 (GMT) Date: Fri, 20 Mar 2009 14:58:07 -0400 (EDT) From: "Michael L. Squires" X-X-Sender: mikes@familysquires.net To: Jaime In-Reply-To: Message-ID: <20090320144916.E29434@familysquires.net> References: <20090319141433.F24611@familysquires.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Formatting a tape? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 19:04:59 -0000 This looks like a hardware problem to me. However, I don't have any experience with this type of SCSI hardware. If it were my system I'd be double-checking the tape drive setup, cabling and termination, and then substituting other cables and SCSI controllers. One thing that confuses me is that the DLT drive is shown as a SCSI-2 device but is nonetheless running with 160MB/sec transfers. On my system (7.1-STABLE, SM P6DC6, onboard Adaptec 7899 UW160 controller, external Overland AIT# library I get the following: ahc0: port 0x9400-0x94ff mem 0xf3021000- 0xf3021fff irq 18 at device 4.0 on pci3 ahc0: [ITHREAD] ahc1: port 0x9800-0x98ff mem 0xf3022000- 0xf3022fff irq 18 at device 4.1 on pci3 ahc1: [ITHREAD] sa0 at ahc1 bus 0 target 4 lun 0 sa0 at ahc1 bus 0 target 4 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 40.000MB/s transfers (20.000MHz, offset 127, 16bit) On Thu, 19 Mar 2009, Jaime wrote: > On Thu, Mar 19, 2009 at 2:18 PM, Michael L. Squires wrote: >> Have you looked at /var/log/messages? I've found error messages written >> there when trying to write to a tape which showed that I needed to change >> the block size. > > Good idea, but sadly there is nothing useful there. The following > happened during my tinkering with mt, tar, and dd: > > Mar 19 14:06:32 atlas kernel: sa0 at ahc0 bus 0 target 6 lun 0 > Mar 19 14:06:32 atlas kernel: sa0: Removable > Sequential Access SCSI-2 device > Mar 19 14:06:32 atlas kernel: sa0: 160.000MB/s transfers (80.000MHz, > offset 96, 16bit) > Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): Unexpected busfree in > Data-out phase > Mar 19 14:23:46 atlas kernel: SEQADDR == 0x86 > Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): lost device > Mar 19 14:23:46 atlas kernel: (sa0:ahc0:0:6:0): failed to write > terminating filemark(s) > Mar 19 14:23:47 atlas kernel: (sa0:ahc0:0:6:0): tape is now frozen- > use an OFFLINE, REWIND or MTEOM command to clear this state. > Mar 19 14:23:47 atlas kernel: (sa0:ahc0:0:6:0): removing device entry > Mar 19 14:27:37 atlas kernel: sa0 at ahc0 bus 0 target 6 lun 0 > Mar 19 14:27:37 atlas kernel: sa0: Removable > Sequential Access SCSI-2 device > Mar 19 14:27:37 atlas kernel: sa0: 160.000MB/s transfers (80.000MHz, > offset 96, 16bit) > Mar 19 14:29:19 atlas kernel: (sa0:ahc0:0:6:0): lost device > Mar 19 14:29:19 atlas kernel: (sa0:ahc0:0:6:0): removing device entry > > > Jaime >