camcontrol rescan all fails if there is no bus 0

Andriy Gapon avg at icyb.net.ua
Mon Nov 1 06:59:52 UTC 2010


on 31/10/2010 22:29 Ed Maste said the following:
> On Sun, Oct 31, 2010 at 09:16:30PM +0200, Andriy Gapon wrote:
> 
>> Can you test a synthetic situation where you have e.g. bus 1, but no
>> bus 0 ?  E.g. by having two umass devices connected during boot and
>> then removing one of them.
> 
> Yes, good idea - stock camcontrol:
> 
> [root at edlaptop ~]# camcontrol rescan all
> camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument
> 
> With the patch:
> 
> [root at edlaptop ~]# ./camcontrol rescan all
> Re-scan of bus 1 was successful

Cool! Thank you.

-- 
Andriy Gapon


More information about the freebsd-scsi mailing list