From owner-freebsd-questions Mon Jul 20 16:18:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA11542 for freebsd-questions-outgoing; Mon, 20 Jul 1998 16:18:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA11530 for ; Mon, 20 Jul 1998 16:18:27 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id QAA16698; Mon, 20 Jul 1998 16:18:02 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 20 Jul 1998 16:18:01 -0700 (PDT) From: Doug White To: Eric Patterson cc: freebsd-questions@FreeBSD.ORG Subject: Re: Qualstar 6110 and FreeBS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 17 Jul 1998, Eric Patterson wrote: > Thanks again for your time. No problem. > I have an internal Western Digital 4 GB HDD at target 0. At target 1 > is a Quantum DLT4000. The DLT4000 is inside the autoloader. At target 2 > I have a CMD TECH CRD-5440 RAID. At target 3 is the changer. The Adaptec > host adapter is target 7. Okay, just wanted to clarify. > The changer and the DLT4000 are separate SCSI devices. The changer does > not communicate with the tape drive on the SCSI bus. Both the changer and > the DLT4000 are SCSI-2 devices. The changer handles medium transport and > storage. The drive handles data transfer. ok. > So, on the back of the library, the host connects to the DLT4000. there is > a SCSI bridge that connects the DLT4000 to the changer, then the changer > is terminated. > > Here's what dmesg has to say about the SCSI bus: > > ahc0 rev 0 int a irq 15 on pci0:15:0 > ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs > ahc0 waiting for scsi devices to settle > (ahc0:0:0): "WDIGTL WDE 4360-1807A3 1.80" type 0 fixed SCSI 2 > sd0(ahc0:0:0): Direct-Acess 4095MB (8388314 512 byte sectors) > (ahc0:1:0): "Quantum DLT4000 D069" type 1 removable SCSI 2 > st0(ahc0:1:0): Sequential-Acess density code 0x1a, drive empty > (ahc0:2:)): Direct-Access 121564MB (248964352 512 byte sectors) > (ahc0:3:0): "QUALSTAR TLS-4210 128b" type 8 removable SCSI 2 > uk0(ahc0:3:0): Unknown ok. Type 8 is a changer, so we'll need to build you a SCSI quirks table entry to make this thing show up. Before we do that though, make sure that you have device ch0 compiled into your kernel. Looking at the quirks table, that section will be ignored if you don't have that device compiled in. If you do have ch0 in, starting at line 341 is the quirks table entries for changers. Try adding an entry like: { T_CHANGER, T_CHANGER, T_REMOV, "QUALSTAR", "TLS-4210", "*", "ch", SC_MORE_LUS }, This forces the SCSI code to probe the device on all LUNs and appear as a ch device. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message