Date: Mon, 7 Sep 2015 20:59:20 -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-7CSvMPD_u21dTf38gKyeNt8vPGZmaWYdLn=r2WRp7yg@mail.gmail.com> In-Reply-To: <20150907192909.Horde.sDaQSSkewl4vEHh-rJLXcfb@duttonbros.com> References: <20150907103435.Horde.z4GgTZD3-chqVxPgZhMklyM@duttonbros.com> <514DD6B2-EBC3-43F7-8C2A-F8A1C77463F0@samsco.org> <20150907192909.Horde.sDaQSSkewl4vEHh-rJLXcfb@duttonbros.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--047d7b33d2b80871d1051f346452 Content-Type: text/plain; charset=UTF-8 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 --047d7b33d2b80871d1051f346452 Content-Type: application/octet-stream; name="isci.patch" Content-Disposition: attachment; filename="isci.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ieattsdu0 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvaXNjaS9pc2NpLmMgYi9zeXMvZGV2L2lzY2kvaXNjaS5jCmlu ZGV4IDJmMDcyN2QuLjVhMTA2NmMgMTAwNjQ0Ci0tLSBhL3N5cy9kZXYvaXNjaS9pc2NpLmMKKysr IGIvc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o aXNjaS0+ZGV2aWNlLCAmaXNjaS0+bnVtX2ludGVycnVwdHMpID09IDAgJiYKKwkJICAgIGlzY2kt Pm51bV9pbnRlcnJ1cHRzID09IG1heF9tc2l4X21lc3NhZ2VzKQogCQkJdXNlX21zaXggPSBUUlVF OwogCX0KIAo= --047d7b33d2b80871d1051f346452--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJP=Hc-7CSvMPD_u21dTf38gKyeNt8vPGZmaWYdLn=r2WRp7yg>