Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2005 10:14:28 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: how CAM/HBA probe for devices?
Message-ID:  <20050208171428.GA62414@nargothrond.kdm.org>
In-Reply-To: <E1CyYUO-0003tg-IT@cs1.cs.huji.ac.il>
References:  <E1CyYUO-0003tg-IT@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208171428.GA62414>