From owner-freebsd-current@FreeBSD.ORG Sun Sep 9 12:40:24 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 774DE16A4A1 for ; Sun, 9 Sep 2007 12:40:24 +0000 (UTC) (envelope-from shiftyphil@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4814413C49D for ; Sun, 9 Sep 2007 12:40:24 +0000 (UTC) (envelope-from shiftyphil@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1205642waf for ; Sun, 09 Sep 2007 05:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=TN3FkJW5T8T4eJk+7ME0snB8R60oF7ZN21Nwau56+Uk=; b=bPcLrBP2xKKtiNXQPRX6BQVjhiTm8RIqqEEPOCDA5I5qElX1Z0AFGARF0tcKRuLuv3RgSAfI4CCd23lMLrMvM0CjyoiAMUK65xr8To2R9sBI9FYlPaSEBVV4Rzi0lDLAtJuk1Rh6TS5doPL1Z6sZ7m0pRRC1h8f1wtzhnOrXKT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IHZ/OHPpJNHa5LdWkxhSEq6bBET8mMQXNgj8YHqtOg71LqtBs7UAEMOuSvb23VFiEtLfVAkJ0JKtAPGSxP6jSZdGsdW6bVM4aRGCBa3pQp66wvaXQbdsBBjqFJ7Xa6f7n+Au/e/4DIp63jeYTZEb7/PUBZHoYH6SIg+IIlUoKsw= Received: by 10.115.111.1 with SMTP id o1mr2811532wam.1189340036384; Sun, 09 Sep 2007 05:13:56 -0700 (PDT) Received: by 10.114.81.8 with HTTP; Sun, 9 Sep 2007 05:13:56 -0700 (PDT) Message-ID: <750ebd430709090513n55e56e71pc03b43fc3b117848@mail.gmail.com> Date: Sun, 9 Sep 2007 22:13:56 +1000 From: "Philip Higgins" To: freebsd-current@freebsd.org In-Reply-To: <2a41acea0705101314s1e711b86rd0b5ac562e0de108@mail.gmail.com> MIME-Version: 1.0 References: <2a41acea0705101314s1e711b86rd0b5ac562e0de108@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: em0: Unable to locate IO BAR ( two 82542 cards ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2007 12:40:24 -0000 I'm having this same issue (well, identical symptoms) with an 82534. Did you get the fix finished? Tryed with up to date current and two months old, same result. #pciconf -l -v ... em0@pci3:4:0: class=0x020000 card=0x10048086 chip=0x10048086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82543GC Gigabit Ethernet Controller (Copper)' class = network subclass = ethernet ... #dmesg ... pci3: on pcib1 pci3: physical bus=3 found-> vendor=0x8086, dev=0x1004, revid=0x02 bus=3, slot=4, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0116, statreg=0x0230, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xc6fe0000, size 17, enabled map[14]: type Memory, range 32, base 0xc6fd0000, size 16, enabled pcib1: matched entry for 3.4.INTA pcib1: slot 4 INTA hardwired to IRQ 27 ... em0: mem 0xc6fe0000-0xc6ffffff,0xc6fd0000-0xc6fdffff irq 27 at device 4.0 on pci3 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xc6fe0000 em0: Unable to locate IO BAR em0: Allocation of PCI resources failed device_attach: em0 attach returned 6 ... On 5/11/07, Jack Vogel wrote: > > Sigh, I changed the logic of what adapters try to map the IO > BAR because only older adapters use it, but now that I look > at the shared code, it turns out when you get to the oldest > ones, aka 82542, they dont do it either. The code used > to make ALL adapters except the 542 try to map it, I > could revert to that, but let me think about this a bit, I > will check in a fix for it by tonight ok? > > Jack > > On 5/10/07, Mark Atkinson wrote: > > > > I just updated to -current from today on a tyan 2895 (K8WE). I applied > the > > new nfe MSI/MSIX support patches as well, however I don't think those > have > > anything to do with the problem below: > > > > FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Thu May 10 10:07:23 PDT > 2007 > > root@k8we:/usr/obj/usr/src/sys/K8WE i386 > > > > > > pci18: on pcib5 > > pci18: physical bus=18 > > found-> vendor=0x8086, dev=0x1000, revid=0x03 > > bus=18, slot=4, func=0 > > class=02-00-00, hdrtype=0x00, mfdev=0 > > cmdreg=0x0116, statreg=0x0210, cachelnsz=16 (dwords) > > lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 > ns) > > intpin=a, irq=10 > > powerspec 1 supports D0 D3 current D0 > > map[10]: type Memory, range 32, base 0xd8100000, size 17, > enabled > > pcib5: requested memory range 0xd8100000-0xd811ffff: good > > pcib5: matched entry for 18.4.INTA > > pcib5: slot 4 INTA hardwired to IRQ 28 > > found-> vendor=0x8086, dev=0x1000, revid=0x03 > > bus=18, slot=9, func=0 > > class=02-00-00, hdrtype=0x00, mfdev=0 > > cmdreg=0x0116, statreg=0x0210, cachelnsz=16 (dwords) > > lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 > ns) > > intpin=a, irq=11 > > powerspec 1 supports D0 D3 current D0 > > map[10]: type Memory, range 32, base 0xd8120000, size 17, > enabled > > pcib5: requested memory range 0xd8120000-0xd813ffff: good > > pcib5: matched entry for 18.9.INTA > > pcib5: slot 9 INTA hardwired to IRQ 29 > > em0: mem > > 0xd8100000-0xd811ffff irq 28 at device 4.0 on pci18 > > em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xd8100000 > > em0: Unable to locate IO BAR > > em0: Allocation of PCI resources failed > > device_attach: em0 attach returned 6 > > em1: mem > > 0xd8120000-0xd813ffff irq 29 at device 9.0 on pci18 > > em1: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xd8120000 > > em1: Unable to locate IO BAR > > em1: Allocation of PCI resources failed > > device_attach: em1 attach returned 6 > > > > here's the pciconf -v -l output > > > > em0@pci18:4:0: class=0x020000 card=0x10008086 chip=0x10008086 rev=0x03 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82542 Gigabit Ethernet Controller' > > class = network > > subclass = ethernet > > em1@pci18:9:0: class=0x020000 card=0x10008086 chip=0x10008086 rev=0x03 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = '82542 Gigabit Ethernet Controller' > > class = network > > subclass = ethernet > > > > Attached it the bootverbose output for this machine. > > > > -- > > Mark Atkinson > > atkin901@yahoo.com > > (!wired)?(coffee++):(wired); > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >