Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 16:29:16 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-scsi@FreeBSD.org, Ed Maste <emaste@FreeBSD.org>
Subject:   Re: camcontrol rescan all fails if there is no bus 0
Message-ID:  <20101031202915.GA23291@sandvine.com>
In-Reply-To: <4CCDC08E.7020506@icyb.net.ua>
References:  <AANLkTiksEn2DP7Y=x=u99qcf28bBEspOWRnsWUfhaOPg@mail.gmail.com> <E4EB1292-C4F8-4385-8ACD-58BE792988F1@samsco.org> <20101026160457.GA61133@sandvine.com> <9EC3B874-B089-4ED4-9A12-FA7A0E170A7B@samsco.org> <20101031141031.GA14661@sandvine.com> <4CCDC08E.7020506@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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@edlaptop ~]# camcontrol rescan all
camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument

With the patch:

[root@edlaptop ~]# ./camcontrol rescan all
Re-scan of bus 1 was successful

-Ed



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