Date: Mon, 18 Jun 2007 15:13:08 -0700 From: "David Christensen" <davidch@broadcom.com> To: "Jack Vogel" <jfvogel@gmail.com>, "FreeBSD Current" <freebsd-current@freebsd.org> Subject: RE: HELP: EM bus_alloc_resource_any fails on Dell Dimension 9150 Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD90304398D45@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: <2a41acea0706181443w41164255n63be01e021eccc90@mail.gmail.com> References: <2a41acea0706181443w41164255n63be01e021eccc90@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I have a problem that I've never seen before, and although=20 > I've poked at > it a bit I'm kinda stuck. Anyone more knowledgable than I in the bus > code care to offer suggestions? >=20 > Here's the situation: Dell Dimension 9150, you put in a PCI-E 4 port > E1000 adapters... ya I know this makes it a configuration unlikely > to be used :)... and besides that works fine... The problem arises > when you ALSO stick in an 82541_GI, which is just PCI... >=20 > When you load the em driver it attaches the 4 ports just fine, but > then the lowly 541 fails bus_alloc_resource_any() of the IO PORT. >=20 > It isnt the code, if you remove the 4 port card the 541 will attach > and work without a whimper. >=20 > So, there's something happening in PCI space and its resources > here that the current em driver is not equipped to handle, and I > would really like to understand what it is. >=20 > Suggestions to help me debug this? >=20 How much I/O space does each adapter require? PCI specification seems to limit I/O space to 256 bytes per function. How much I/O space is=20 the upstream PCIe switch configured to support? Are there any other I/O devices downstream from the same PCIe switch? If you disable a single function on the quad-port device does the allocation work? What does "pciconf -lv" return on the system? Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09BFF2FA5EAB4A45B6655E151BBDD90304398D45>