Date: Tue, 8 Sep 2015 09:06:17 -0700 From: Jim Harris <jim.harris@gmail.com> To: "Bradley W. Dutton" <brad-fbsd-stable@duttonbros.com> Cc: Scott Long <scottl@samsco.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: ISCI bus_alloc_resource failed Message-ID: <CAJP=Hc--gcO5LRQoUFUQQ3FemojrO14Og5_ysfEMu85_3%2BKauA@mail.gmail.com> In-Reply-To: <20150907223741.Horde.7eGz7ZE1dushY2mm-Ko3ZLO@duttonbros.com> References: <20150907103435.Horde.z4GgTZD3-chqVxPgZhMklyM@duttonbros.com> <514DD6B2-EBC3-43F7-8C2A-F8A1C77463F0@samsco.org> <20150907192909.Horde.sDaQSSkewl4vEHh-rJLXcfb@duttonbros.com> <CAJP=Hc-7CSvMPD_u21dTf38gKyeNt8vPGZmaWYdLn=r2WRp7yg@mail.gmail.com> <20150907223741.Horde.7eGz7ZE1dushY2mm-Ko3ZLO@duttonbros.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 7, 2015 at 10:37 PM, Bradley W. Dutton < brad-fbsd-stable@duttonbros.com> wrote: > Quoting Jim Harris <jim.harris@gmail.com>: > > On Mon, Sep 7, 2015 at 7:29 PM, Bradley W. Dutton < >> brad-fbsd-stable@duttonbros.com> wrote: >> >> There are 2 devices in the same group so I passed both of them: >>> http://duttonbrosllc.com/misc/vmware_esxi_passthrough_config.png >>> >>> At the time I wasn't sure if this was necessary but I just tried the >>> Centos 7 VM and it worked without the SMBus device being passed through. >>> I >>> then tried the FreeBSD VM without SMBus and saw the same allocation error >>> as before. Looks like the SMBus device is a red herring? >>> >>> >>> Looks like on ESXi we are using Xen HVM init ops, which do not enable >> MSI. >> And the isci driver is not reverting to INTx resource allocation when MSIx >> vector allocation fails. I've added reverting to INTx in the attached >> patch - can you try once more? >> >> Thanks, >> >> -Jim >> > > That patch worked. No allocation errors and the drives work as expected. > > Thanks again, > Brad > > Thanks Brad. Committed as r287563 (pci_enable_busmaster) and r287564 (pci_alloc_msix check).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJP=Hc--gcO5LRQoUFUQQ3FemojrO14Og5_ysfEMu85_3%2BKauA>