Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2007 22:13:56 +1000
From:      "Philip Higgins" <shiftyphil@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: em0: Unable to locate IO BAR ( two 82542 cards )
Message-ID:  <750ebd430709090513n55e56e71pc03b43fc3b117848@mail.gmail.com>
In-Reply-To: <2a41acea0705101314s1e711b86rd0b5ac562e0de108@mail.gmail.com>
References:  <f1vlbk$hs$1@sea.gmane.org> <2a41acea0705101314s1e711b86rd0b5ac562e0de108@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <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@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@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@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@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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?750ebd430709090513n55e56e71pc03b43fc3b117848>