From owner-freebsd-stable@freebsd.org Tue Sep 8 05:37:47 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 040859CD8B7 for ; Tue, 8 Sep 2015 05:37:47 +0000 (UTC) (envelope-from brad-fbsd-stable@duttonbros.com) Received: from uno.duttonbros.com (duttonbros.com [173.164.136.189]) by mx1.freebsd.org (Postfix) with ESMTP id ACE111044 for ; Tue, 8 Sep 2015 05:37:46 +0000 (UTC) (envelope-from brad-fbsd-stable@duttonbros.com) Received: from uno.duttonbros.com (localhost [127.0.0.1]) by uno.duttonbros.com (Postfix) with ESMTP id 052431A80C; Mon, 7 Sep 2015 22:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=duttonbros.com; h=date :message-id:from:to:cc:subject:references:in-reply-to :content-type:mime-version; s=mail; bh=Mt8EySrY5iew1HD+m4aP3AHnG NA=; b=yu2Eey0JAPcMz3NBpPeA6C69Vxp/I8xDHDL1Fr9MIMxV+rLlJGvOxmDis eeqAo/3e4HsbKh6jB7Id5x1w1XWFAT1mbNz2o0EPqHpj2+pwvzfAnW57Wrx9pjzx CLMUSFOMm8DvwQgtsNHSf8C0N8Nv9eeh8e2/AWO+yw2Gyh6z3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=duttonbros.com; h=date :message-id:from:to:cc:subject:references:in-reply-to :content-type:mime-version; q=dns; s=mail; b=PV465ROe/Tap1pckx1Q /yYik0sBvWPqkCISaNmmOEhci7EhE0SYDvefRxyktJ3i4oDCdgzlUUPZmPIlB8uk aUKyMPClhcyG76cU60ojbOEmBM8ApGBkVhQKzmxON72/PEkDFpynhTay0LJmblj8 /BHZ0Gd90BxBlGJnGSUpFh48= Received: from uno (localhost [127.0.0.1]) by uno.duttonbros.com (Postfix) with ESMTPS id D5C051A80B; Mon, 7 Sep 2015 22:37:41 -0700 (PDT) Received: from 192.168.170.94 ([192.168.170.94]) by duttonbros.com (Horde Framework) with HTTP; Mon, 07 Sep 2015 22:37:41 -0700 Date: Mon, 07 Sep 2015 22:37:41 -0700 Message-ID: <20150907223741.Horde.7eGz7ZE1dushY2mm-Ko3ZLO@duttonbros.com> From: "Bradley W. Dutton" To: Jim Harris Cc: Scott Long , FreeBSD-STABLE Mailing List Subject: Re: ISCI bus_alloc_resource failed References: <20150907103435.Horde.z4GgTZD3-chqVxPgZhMklyM@duttonbros.com> <514DD6B2-EBC3-43F7-8C2A-F8A1C77463F0@samsco.org> <20150907192909.Horde.sDaQSSkewl4vEHh-rJLXcfb@duttonbros.com> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2015 05:37:47 -0000 Quoting Jim Harris : > 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