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

From: Philip Higgins <shiftyphil_at_gmail.com>
Date: Sun, 9 Sep 2007 22:13:56 +1000
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_at_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: <ACPI PCI bus> 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: <Intel(R) PRO/1000 Network Connection Version - 6.5.3> 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 <jfvogel_at_gmail.com> 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 <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"
> >
> >
> _______________________________________________
> 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 Sun Sep 09 2007 - 10:40:24 UTC

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