From owner-freebsd-stable@FreeBSD.ORG Wed May 3 18:46:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7244A16A438 for ; Wed, 3 May 2006 18:46:46 +0000 (UTC) (envelope-from fbsd@globalmegahost.com) Received: from soulgamer.com (soulgamer.com [192.220.112.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17B9543D7B for ; Wed, 3 May 2006 18:46:44 +0000 (GMT) (envelope-from fbsd@globalmegahost.com) Received: from localhost (ulmer@localhost) by soulgamer.com (8.12.11.20060308) id k43Ikfsb020903; Wed, 3 May 2006 12:46:43 -0600 (MDT) Date: Wed, 3 May 2006 18:46:41 +0000 (GMT) From: Adam X-X-Sender: ulmer@soulgamer.com To: Scott Long In-Reply-To: <4457DC51.9030104@samsco.org> Message-ID: References: <4457DC51.9030104@samsco.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: 'camcontrol rescan all' does not find the attached tape drive X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 18:46:46 -0000 Hi Scott. I am grateful for and honored by your response. I am pretty much stuck with the asr device for now, but I would love a list of quality hardware raid devices and related management utilities that can be used with freebsd/linux. I can get raidutil (sysutils/asr-utils) to recognize a tape drive that was not present during boot by direct inquiry (raidutil -I d0b1t6d0). Unfortunately, camcontrol rescan all will not see the device unless it was present at boot. If I boot with one tape drive attached, power it down, camcontrol rescan all (and confirm that it is gone), attach a different tape drive (use the appropriate raidutil -I d0b1t#d0 command to tell the asr0 where the tape drive can be found), a camcontrol rescan of the bus with the tape drive never returns nor can it be killed. If anyone wants more data or testing on that, I'll be happy to do what I can. I can accept that the issue is the vendor/hardware (asr) and not the software (freebsd). Thanks for pointing me in the right direction. Adam On Tue, 2 May 2006, Scott Long wrote: > This is a problem with the RAID controller that you've hooked the tape > drive to, it has nothing to do with FreeBSD. If this is a configuration > that you much use, and there is absolutely no way that you can find a > simple SCSI controller to hook the tape drive up to, then you'll need to > investigate how to use the ASR management tools to do a manual rescan > before running camcontrol. > > Scott > > > Adam wrote: > > Hello list. > > > > Using camcontrol, I cannot get freebsd 6.1-RC1 to recognize an attached > > tape drive. Is this normal? > > > > If the machine boots with the tape drive turned off, I cannot get the tape > > drive to be recognized after I turn the tape drive on. > > > > # camcontrol rescan 1 > > Re-scan of bus 1 was successful > > # camcontrol rescan all > > Re-scan of bus 0 was successful > > Re-scan of bus 1 was successful > > # camcontrol devlist -v > > scbus0 on asr0 bus 0: > > at scbus0 target 0 lun 0 (da0,pass0) > > at scbus0 target 6 lun 0 (ses0,pass1) > > < > at scbus0 target -1 lun -1 () > > scbus1 on asr0 bus 1: > > < > at scbus1 target -1 lun -1 () > > scbus-1 on xpt0 bus 0: > > < > at scbus-1 target -1 lun -1 (xpt0) > > > > If the machine boots up while the tape drive is attached and powered up, > > the tape drive is recognized. > > > > # camcontrol devlist > > at scbus0 target 0 lun 0 (da0,pass0) > > at scbus0 target 6 lun 0 (ses0,pass1) > > at scbus1 target 6 lun 0 (sa0,pass2) > > > > Here are some more details about my setup. > > > > machine: > > > > - supermicro super server 6013P-8 with zero channel raid controller > > - SMP hardware, UP kernel with ASR_COMPAT > > - FreeBSD name 6.1-RC FreeBSD 6.1-RC #1: Fri Apr 21 16:09:23 MDT 2006 > > - Adaptec AIC-7902 Dual-Channel Ultra-320 Controller > > - Adaptec 2015S ZCR Card > > > > relevant dmesg data: > > > > asr0: mem 0xf8300000-0xf83fffff,0xfb000000-0xfbffffff,0xfc000000-0xfdffffff irq 30 at device 3.0 on pci3 > > asr0: [GIANT-LOCKED] > > asr0: ADAPTEC 2015S FW Rev. 3B0A, 2 channel, 256 CCBs, Protocol I2O > > > > sa0 at asr0 bus 1 target 6 lun 0 > > sa0: Removable Sequential Access SCSI-3 device > > ses0 at asr0 bus 0 target 6 lun 0 > > ses0: Fixed Processor SCSI-2 device > > ses0: SAF-TE Compliant Device > > da0 at asr0 bus 0 target 0 lun 0 > > da0: Fixed Direct Access SCSI-2 device > > da0: Tagged Queueing Enabled > > da0: 70006MB (143372288 512 byte sectors: 255H 63S/T 8924C) [snipped by Adam]