From owner-freebsd-hardware@FreeBSD.ORG Thu Sep 11 07:53:10 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 95C7016A4BF for ; Thu, 11 Sep 2003 07:53:10 -0700 (PDT) Received: from corp.xe.com (ws-gw.tor.xe.net [216.220.37.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF65343F3F for ; Thu, 11 Sep 2003 07:53:09 -0700 (PDT) (envelope-from bfarmer@xe.com) Received: from [192.168.1.100] ([192.168.1.100]) by corp.xe.com (8.12.8/8.12.3) with ESMTP id h8BEr8jB044181; Thu, 11 Sep 2003 10:53:09 -0400 (EDT) (envelope-from bfarmer@xe.com) Date: Thu, 11 Sep 2003 10:53:14 -0400 From: Beric Farmer To: Peter B Message-ID: <176865645.1063277594@[192.168.1.100]> In-Reply-To: <200309111222.h8BCMfh23406@brother.ludd.luth.se> References: <200309111222.h8BCMfh23406@brother.ludd.luth.se> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Scanned-By: CanIt (www . canit . ca) 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 14:53:10 -0000 Hi Peter. --On September 11, 2003 14:22 +0200 Peter B wrote: >> 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 > This command failed (after writing 70 bytes). (I had already tried forcing the blocksize to a multiple of 1024, just in case it wasn't by default.) However, the command "dd if=/dev/zero of=/dev/rsa0 bs=32k count=1" (suggested to me by someone who responded directly) does work. In fact, it works with various larger block sizes and counts. It seems as long as I'm writing only zeros to the drive, it works fine. > > 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. The drive is connected directly to the PCI SCSI adapter (with a terminated cable, since the drive is not self-terminating). > 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. > I think it might be more cost-effective to buy a different drive... (I think the time required to collect all that information would be significant -- the docs for the drive don't indicate which parameters the OS dip switches change). Thanks very much for your input. Beric