From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 22 09:06:58 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E8416A4CE for ; Mon, 22 Mar 2004 09:06:58 -0800 (PST) Received: from racket.t2g.ch (adsl-130-141.init7.net [213.144.130.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B5A343D31 for ; Mon, 22 Mar 2004 09:06:57 -0800 (PST) (envelope-from m.senft@t2g.ch) Received: from t2g.ch (dhcp-35.t2g.ch [192.168.5.35]) by racket.t2g.ch (8.12.10/8.12.10) with ESMTP id i2MH5HjH080418 for ; Mon, 22 Mar 2004 18:05:21 +0100 (CET) (envelope-from m.senft@t2g.ch) Message-ID: <405F1D1C.9050005@t2g.ch> Date: Mon, 22 Mar 2004 18:06:36 +0100 From: Marco Senft Organization: Technische Treuhand GmbH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de, en, en-us MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Subject: Accessing tape drive using passthrough driver X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 17:06:58 -0000 I'm currently using a HP DAT24 tape drive which is working fine when using standard unix tools like mt, tar or dump. Here's the dmesg output concerning the tape drive: ahc1: port 0xe000-0xe0ff mem 0xd8020000-0xd8020fff irq 11 at device 11.0 on pci0 aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs sa0 at ahc1 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) However, we recently bought a software called "TapeWare" (Version 7) which does not recognize the drive. The technical support of the manufacturer told me that I am "accessing the tape drive currently through ST but this is no way for Tapeware to access the drive." I should use the SG driver instead. This sounds like they're talking of Solaris stuff, and recommended me to "just look at your OS documentation on how to load up SG vs ST". If I understand this correctly, these drivers are called "sa" and "pass" in the FreeBSD world. I'm using the GENERIC 4.7-RELEASE kernel currently, which is compiled with both the "sa" and the "pass" devices. There are some "pass" devices under /dev: > ls -la /dev/pass* crw------- 1 root operator 31, 0 Oct 21 2002 pass0 crw------- 1 root operator 31, 1 Oct 21 2002 pass1 crw------- 1 root operator 31, 2 Oct 21 2002 pass2 crw------- 1 root operator 31, 3 Oct 21 2002 pass3 I have four hard drives attached to the first controller, don't know if this has any influence on the list above. So if someone just could tell me if and how I can make sure that the tape drive is accessible using the "pass" driver, I'd be really happy. Cheers, marco -- Marco Senft Technische Treuhand GmbH http://www.t2g.ch/