Re: em0: Unable to locate IO BAR ( two 82542 cards )

From: Jack Vogel <jfvogel_at_gmail.com>
Date: Thu, 10 May 2007 13:14:52 -0700
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 <atkin901_at_yahoo.com> 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_at_k8we:/usr/obj/usr/src/sys/K8WE  i386
>
>
> pci18: <ACPI PCI bus> 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: <Intel(R) PRO/1000 Network Connection Version - 6.5.0> 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: <Intel(R) PRO/1000 Network Connection Version - 6.5.0> 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_at_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_at_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_at_yahoo.com
> (!wired)?(coffee++):(wired);
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
>
Received on Thu May 10 2007 - 18:14:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC