camcontrol rescan all fails if there is no bus 0
Ed Maste
emaste at freebsd.org
Sun Oct 31 20:29:17 UTC 2010
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
-Ed
More information about the freebsd-scsi
mailing list