From owner-freebsd-stable@FreeBSD.ORG Wed May 3 19:02:32 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 ED28516A431 for ; Wed, 3 May 2006 19:02:32 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E901943D4C for ; Wed, 3 May 2006 19:02:31 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k43J2R7x048433; Wed, 3 May 2006 13:02:28 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4458FE3B.9060800@samsco.org> Date: Wed, 03 May 2006 13:02:19 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam References: <4457DC51.9030104@samsco.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org 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 19:02:33 -0000 Adam wrote: > 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. Is there any chance that you could just plug a simple Adaptec 2940 or even a low-end TekRam card into an unused slot on your motherboard? > > 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. > The view of the SCSI buses that CAM sees is filtered by the ASR hardware. The driver doesn't have direct access to the SCSI buses, it just has access to virtual devices that the firmware has created to represent the physical devices. You are at the mercy of the games that the firmware is playing, unfortunately. In the past, doing a rescan from the utility 'fixed' these problems, but it's probably been 5 years since I last dealt with ASR at this level. From an architectural standpoint, I have a hard time feeling good about mixing RAID functionality and SCSI functionality on a RAID controller. But I also recognize that there are often limitations on PCI slots, so mixing cannot be avoided. Scott