From owner-freebsd-stable@freebsd.org Tue Sep 8 02:29:11 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 A1A1A9CD551 for ; Tue, 8 Sep 2015 02:29:11 +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 7E6171A94 for ; Tue, 8 Sep 2015 02:29:10 +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 AC36B6E58; Mon, 7 Sep 2015 19:29:09 -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:content-transfer-encoding; s=mail; bh=dzhAyatGjIdn1VfNHm+FJyjNzto=; b=r/ENlQPVowVCpUmnhryucy78gy2v gHzqU2jPXkssYJx2AdBhg4ytjS2QNrUfJOWbGxEmz2Uu8E+iAnFKmsuj9ni2Sl44 WptbgP6t5LG+2xkLbLVT/R5xK1T4CAn+uwrWj5d/rmkgCl2iNJSLDfu86RXj7WUq WT9pneIVf1DGpyY= 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:content-transfer-encoding; q=dns; s= mail; b=xeOmfGB7qENW9AUIEmqnxJPhCi4oRuniMWJ0xup/x388ycFHksC1b8Y5 SEZPVaNAfwmTpyJORU/fcMh1XK53RoigS+GiDtcu5XCd4Nv1l0h058IpYG60qpQl BHT0p2RiCOQ43U+m6Sbg6nMN5stEnzoIkdTDEhmt4kyb5UNq1fQ= Received: from uno (localhost [127.0.0.1]) by uno.duttonbros.com (Postfix) with ESMTPS id 4E0F46E57; Mon, 7 Sep 2015 19:29:09 -0700 (PDT) Received: from aero.duttonbros.com (aero.duttonbros.com [192.168.170.129]) by duttonbros.com (Horde Framework) with HTTP; Mon, 07 Sep 2015 19:29:09 -0700 Date: Mon, 07 Sep 2015 19:29:09 -0700 Message-ID: <20150907192909.Horde.sDaQSSkewl4vEHh-rJLXcfb@duttonbros.com> From: "Bradley W. Dutton" To: Scott Long Cc: freebsd-stable@freebsd.org Subject: Re: ISCI bus_alloc_resource failed References: <20150907103435.Horde.z4GgTZD3-chqVxPgZhMklyM@duttonbros.com> <514DD6B2-EBC3-43F7-8C2A-F8A1C77463F0@samsco.org> In-Reply-To: <514DD6B2-EBC3-43F7-8C2A-F8A1C77463F0@samsco.org> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 02:29:11 -0000 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 =20 Centos 7 VM and it worked without the SMBus device being passed =20 through. I then tried the FreeBSD VM without SMBus and saw the same =20 allocation error as before. Looks like the SMBus device is a red =20 herring? Thanks, Brad Quoting Scott Long : > This is really weird. According to what you=E2=80=99ve posted, it=E2=80= =99s =20 > advertising itself as an SMBus controller with no BARs. Maybe =20 > you=E2=80=99re passing through the wrong device, or someone added the w= rong =20 > PCI device id data to the driver? > > Scott > >> On Sep 7, 2015, at 11:34 AM, Bradley W. Dutton =20 >> wrote: >> >> Hi, >> >> I'm having trouble with the isci driver in both stable and current. =20 >> I see the following dmesg in stable: >> >> isci0: =20 >> port 0x5000-0x50ff mem 0xe7afc000-0xe7afffff,0xe7400000-0xe77fffff =20 >> irq 19 at device 0.0 on pci11 >> isci: 1:000051 ISCI bus_alloc_resource failed >> >> >> I'm running FreeBSD on VMWare ESXi 6 with vt-d passthrough of the =20 >> isci devices, here is the relevant pciconf output: >> >> none2@pci0:3:0:0: class=3D0x0c0500 card=3D0x062815d9 chip=3D0x1d708086= =20 >> rev=3D0x06 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'C600/X79 series chipset SMBus Controller 0' >> class =3D serial bus >> subclass =3D SMBus >> cap 10[90] =3D PCI-Express 2 endpoint max data 128(128) link x32(x3= 2) >> speed 5.0(5.0) ASPM disabled(L0s) >> cap 01[cc] =3D powerspec 3 supports D0 D3 current D0 >> cap 05[d4] =3D MSI supports 1 message >> ecap 000e[100] =3D ARI 1 >> isci0@pci0:11:0:0: class=3D0x010700 card=3D0x062815d9 chip=3D0x1d6b808= 6 =20 >> rev=3D0x06 hdr=3D0x00 >> vendor =3D 'Intel Corporation' >> device =3D 'C602 chipset 4-Port SATA Storage Control Unit' >> class =3D mass storage >> subclass =3D SAS >> cap 01[98] =3D powerspec 3 supports D0 D3 current D0 >> cap 10[c4] =3D PCI-Express 2 endpoint max data 128(128) link x32(x3= 2) >> speed 5.0(5.0) ASPM disabled(L0s) >> cap 11[a0] =3D MSI-X supports 2 messages >> Table in map 0x10[0x2000], PBA in map 0x10[0x3000] >> ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected >> ecap 000e[138] =3D ARI 1 >> ecap 0017[180] =3D TPH Requester 1 >> ecap 0010[140] =3D SRIOV 1 >> >> >> I haven't tried booting on bare metal but running a linux distro =20 >> (centos 7) in the same VM works without issue. Is is possible the =20 >> SRIOV option is causing trouble? I don't see a BIOS option to =20 >> disable that setting on this server like I have on some others. Any =20 >> other ideas to get this working? >> >> Thanks, >> Brad >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.o= rg"