From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 8 17:14:36 2005 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 EAC4516A4CE for ; Tue, 8 Feb 2005 17:14:36 +0000 (GMT) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84EA343D39 for ; Tue, 8 Feb 2005 17:14:36 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.12.11/8.12.11) with ESMTP id j18HETDb062440; Tue, 8 Feb 2005 10:14:29 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.12.11/8.12.5/Submit) id j18HES3s062439; Tue, 8 Feb 2005 10:14:28 -0700 (MST) (envelope-from ken) Date: Tue, 8 Feb 2005 10:14:28 -0700 From: "Kenneth D. Merry" To: Danny Braniss Message-ID: <20050208171428.GA62414@nargothrond.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-Virus-Scanned: ClamAV version 0.81, clamav-milter version 0.81b on nargothrond.kdm.org X-Virus-Status: Clean cc: freebsd-scsi@freebsd.org Subject: Re: how CAM/HBA probe for devices? 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: Tue, 08 Feb 2005 17:14:37 -0000 On Tue, Feb 08, 2005 at 18:45:24 +0200, Danny Braniss wrote: > i have been writing a driver for the iSCSI, and am concentrating > on the initiator side. > So far i mannaged to get to first base, ie, managed to login onto a target, > but now im stuck. > After several hours of reading/searching, this is avoiding me: > how can i get the CAM to probe for devices on this 'controller'? camcontrol devlist [ find out which scbus number your controller is ] camcontrol rescan N [ where N is the number of the SCSI bus for your controller ] You can either do that, or just reboot, and your bus will get scanned when the transport layer cranks up. Ken -- Kenneth Merry ken@kdm.org