From owner-freebsd-hardware@FreeBSD.ORG Thu Sep 11 05:22:49 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A18C16A4BF for ; Thu, 11 Sep 2003 05:22:49 -0700 (PDT) Received: from mother.ludd.luth.se (mother.ludd.luth.se [130.240.16.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id B41D843FA3 for ; Thu, 11 Sep 2003 05:22:47 -0700 (PDT) (envelope-from pb@ludd.luth.se) Received: from brother.ludd.luth.se (daemon@brother.ludd.luth.se [130.240.16.78])h8BCMjtc027104; Thu, 11 Sep 2003 14:22:45 +0200 (MEST) From: Peter B Received: (from pb@localhost) by brother.ludd.luth.se (8.11.6+Sun/8.9.3) id h8BCMfh23406; Thu, 11 Sep 2003 14:22:41 +0200 (MEST) Message-Id: <200309111222.h8BCMfh23406@brother.ludd.luth.se> In-Reply-To: <111159796.1063211898@[192.168.1.100]> To: bfarmer@xe.com Date: Thu, 11 Sep 2003 14:22:41 +0200 (MEST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-hardware@freebsd.org Subject: Re: Certance DAT 40 Internal tape drive X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2003 12:22:49 -0000 >Hello all. > >I have an Intel-based server running 4.8-RELEASE. I've installed a new >Certance DAT 40 (previously known as a Seagate Scorpion 40) SCSI DDS-4 >tape drive. It is properly detected at boot time (from dmesg.boot): > > sa0 at sym0 bus 0 target 6 lun 0 > sa0: Removable Sequential Access SCSI-3 >device > sa0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit) > >Also, "mt" seems to function properly. (I don't know whether this >communicates directly with the drive or not, though.) > >However, whenever I attempt to write to the drive, using either "dump", >"tar" or "dd", the command fails indicating that only about 60 or 70 bytes >were written, and the following message shows up in /var/log/messages: > > Sep 10 15:26:47 xenon /kernel: (sa0:sym0:0:6:0): Invalid request. Fixed >block device requests must be a multiple of 1024 bytes "multiple of 1024 bytes" Try this: tar -czvpf - . | dd obs=10240 of=/dev/nrsa0 >The drive has "operating system" dip switches that are to be set >differently for different operating systems, but FreeBSD is not one of the >supported operating systems. The switches are currently in their default >configuration, which, according to the drive's documentation, corresponds >to several different operating systems, including Linux. I don't know if >this is relevant to the problem or not. If you open it up and there is a board _between_ your computer and the tapedrive acting like a scsi gateway. Then disconnect that and connect directly. Other than that, find the technical docs for the drive to figure out the dip switches or research how the different operating systems handle the drive. And then mimic that on freebsd.