From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 07:08:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D80BA16A4BF for ; Fri, 12 Sep 2003 07:08:57 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 834BB43F93 for ; Fri, 12 Sep 2003 07:08:56 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h8CE8tOg027044; Fri, 12 Sep 2003 10:08:55 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h8CE8s5n027043; Fri, 12 Sep 2003 10:08:54 -0400 (EDT) From: Jerry McAllister Message-Id: <200309121408.h8CE8s5n027043@clunix.cl.msu.edu> To: luke@intrinsix.net (Luke Lussier) Date: Fri, 12 Sep 2003 10:08:54 -0400 (EDT) In-Reply-To: from "Luke Lussier" at Sep 12, 2003 01:43:57 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Quantum DLT4000 on 4.5-R: "Device busy" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 14:08:58 -0000 Hi, > Greetings, > (Apologies in advance if this is not the correct list for this question) > > I am attemping to get a new tape drive (Quantum DLT4000, external) working > on my FreeBSD (4.5-R, i386) machine. The kernel detects the drive during > boot: > > ahc0: port 0xdc00-0xdcff mem > 0xe7003000-0xe7003fff irq 11 at device 13.0 on pci0 > aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs > sa0 at ahc0 bus 0 target 4 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 15) > > However, when trying to interact with the /dev/sa0 device via mt and tar > commands, the device is reported to be busy: > > [root@th]:/dev $ mt status > mt: /dev/nsa0: Device busy > ('mt offline' fails with the same message, as well) > > I have tried resetting the drive, changing SCSI IDs, rebooting, reseating > the tape cartridge, to no avail. The tape drive works under a > Solaris/Sparc 8 machine, so I do not believe the drive or cable are at > fault. > > I am unfamiliar with tape drives in general under BSD. Am I doing > something wrong? First, I presume you have waited for the tape to quite cycling after it is first inserted. If not, then it actually is busy. Second, we have seen this (or something that looks like it) with several machines that have DAT (DDS) drives. Of about 65 supposedly identical machines it happens on about 10 or 15 of them and we have not been able to discover a reliable solution. Sometimes a reboot with power-cycle (eg turn the power off and pull all power cords for a couple of minutes to let everything drain) clears it up, but most often not. So, if anyone has any good insight, I would also appreciate hearing about it. ////jerry > > -Luke >