Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Nov 2010 08:59:47 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Ed Maste <emaste@freebsd.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: camcontrol rescan all fails if there is no bus 0
Message-ID:  <4CCE6563.1090808@icyb.net.ua>
In-Reply-To: <20101031202915.GA23291@sandvine.com>
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> <20101031202915.GA23291@sandvine.com>

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

Cool! Thank you.

-- 
Andriy Gapon



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