kern/144490: FreeBSD can't load driver (bce|bge|bfe) for Broadcom NetXtreme Gigabit Ethernet

AntonioK antoniok.spb at gmail.com
Fri Mar 5 11:10:02 UTC 2010


>Number:         144490
>Category:       kern
>Synopsis:       FreeBSD can't load driver (bce|bge|bfe) for Broadcom NetXtreme Gigabit Ethernet
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 05 11:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     AntonioK
>Release:        8.0 - RELEASE
>Organization:
>Environment:
# uname -a
FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
This problem appears for me at GENERIC amd-64 kernel on RELEASE 7.1, 7.2 and 8.0. Following commands and its output I copied from 8.0 system.

So, there is laptop named Acer Aspire 5738G-754G32Mi WiMax  ( http://market.yandex.ru/model.xml?hid=91013&modelid=5128030 ).

It have gigabit Ethernet (and it works while I running Windows7), in devices manager of Windows 7 I can see it as "Broadcom NetXtreme Gigabit Ethernet".

During installation of RELEASE-8.0 amd64 and then, running installed FreeBSD with GENERIC kernel, ethernet is not seen by system (sysinstall can't see them, ifconfig doesn't show them, but loopback is there).

I have tried to put if_bce_load="YES" into /boot/loader.conf, it doesn't helps.

Some info about this situation:

# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
   options=3<RXCSUM,TXCSUM>
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
   inet6 ::1 prefixlen 128
   inet 127.0.0.1 netmask 0xff000000

#devinfo
nexus0
 apic0
 ram0
 acpi0
   cpu0
     acpi_perf0
     est0
     p4tcc0
     cpufreq0
   cpu1
     acpi_perf1
     est1
     p4tcc1
     cpufreq1
   pcib0
     pci0
       hostb0
       pcib1
         pci1
           vgapci0
       uhci0
         usbus0
           uhub0
       uhci1
         usbus1
           uhub1
       ehci0
         usbus2
           uhub2
       pcib2
         pci2
       pcib3
         pci3
       pcib4
         pci4
       uhci2
         usbus3
           uhub3
             ums0
       uhci3
         usbus4
           uhub4
       uhci4
         usbus5
           uhub5
       uhci5
         usbus6
           uhub6
       ehci1
         usbus7
           uhub7
       pcib5
         pci13
       isab0
         isa0
           orm0
           sc0
           vga0
       atapci0
         ata2
           ad4
             subdisk4
         ata3
           acd0
         ata4
         ata5
   acpi_ec0
   battery0
   acpi_acad0
   atkbdc0
     atkbd0
     psm0
   psmcpnp0
   atdma0
   acpi_hpet0
   fpupnp0
   acpi_sysresource0
   atrtc0
   attimer0
   acpi_sysresource1
   pci_link0
   pci_link1
   pci_link2
   pci_link3
   pci_link4
   pci_link5
   pci_link6
   pci_link7
   acpi_lid0
   acpi_button0
   acpi_tz0
   acpi_tz1
   acpi_timer0 

# pciconf -lvb
hostb0 at pci0:0:0:0:   class=0x060000 card=0x02051025 chip=0x2a408086 rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile Memory Controller Hub'
class = bridge
subclass = HOST-PCI
pcib1 at pci0:0:1:0:   class=0x060400 card=0x02051025 chip=0x2a418086 rev=0x07 hdr=0x01
vendor = 'Intel Corporation'
device = 'Mobile PCI Express Graphics Port'
class = bridge
subclass = PCI-PCI
uhci0 at pci0:0:26:0:   class=0x0c0300 card=0x02051025 chip=0x29378086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
bar [20] = type I/O Port, range 32, base 0x1800, size 32, enabled
uhci1 at pci0:0:26:1:   class=0x0c0300 card=0x02051025 chip=0x29388086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
bar [20] = type I/O Port, range 32, base 0x1820, size 32, enabled
ehci0 at pci0:0:26:7:   class=0x0c0320 card=0x02051025 chip=0x293c8086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
bar [10] = type Memory, range 32, base 0xf4504800, size 1024, enabled
none0 at pci0:0:27:0:   class=0x040300 card=0x02051025 chip=0x293e8086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) HD Audio Controller'
class = multimedia
subclass = HDA
bar [10] = type Memory, range 64, base 0xf4500000, size 16384, enabled
pcib2 at pci0:0:28:0:   class=0x060400 card=0x02051025 chip=0x29408086 rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1'
class = bridge
subclass = PCI-PCI
pcib3 at pci0:0:28:1:   class=0x060400 card=0x02051025 chip=0x29428086 rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 2'
class = bridge
subclass = PCI-PCI
pcib4 at pci0:0:28:4:   class=0x060400 card=0x02051025 chip=0x29488086 rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 5'
class = bridge
subclass = PCI-PCI
uhci2 at pci0:0:29:0:   class=0x0c0300 card=0x02051025 chip=0x29348086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
bar [20] = type I/O Port, range 32, base 0x1840, size 32, enabled
uhci3 at pci0:0:29:1:   class=0x0c0300 card=0x02051025 chip=0x29358086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
bar [20] = type I/O Port, range 32, base 0x1860, size 32, enabled
uhci4 at pci0:0:29:2:   class=0x0c0300 card=0x02051025 chip=0x29368086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
bar [20] = type I/O Port, range 32, base 0x1880, size 32, enabled
uhci5 at pci0:0:29:3:   class=0x0c0300 card=0x02051025 chip=0x29398086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
bar [20] = type I/O Port, range 32, base 0x18a0, size 32, enabled
ehci1 at pci0:0:29:7:   class=0x0c0320 card=0x02051025 chip=0x293a8086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
bar [10] = type Memory, range 32, base 0xf4504c00, size 1024, enabled
pcib5 at pci0:0:30:0:   class=0x060401 card=0x02051025 chip=0x24488086 rev=0x93 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 Family (ICH2/3/4/5/6/7/8/9-M) Hub Interface to PCI Bridge'
class = bridge
subclass = PCI-PCI
isab0 at pci0:0:31:0:   class=0x060100 card=0x02051025 chip=0x29198086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 'ICH9M LPC Interface Controller'
class = bridge
subclass = PCI-ISA
atapci0 at pci0:0:31:2:   class=0x010601 card=0x02051025 chip=0x29298086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) Mobile SATA AHCI Controller'
class = mass storage
subclass = SATA
bar [10] = type I/O Port, range 32, base 0x18f0, size 8, enabled
bar [14] = type I/O Port, range 32, base 0x18e4, size 4, enabled
bar [18] = type I/O Port, range 32, base 0x18e8, size 8, enabled
bar [1c] = type I/O Port, range 32, base 0x18e0, size 4, enabled
bar [20] = type I/O Port, range 32, base 0x18c0, size 32, enabled
bar [24] = type Memory, range 32, base 0xf4504000, size 2048, enabled
none1 at pci0:0:31:3:   class=0x0c0500 card=0x02051025 chip=0x29308086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) SMBus Controller'
class = serial bus
subclass = SMBus
bar [20] = type I/O Port, range 32, base 0x1c00, size 32, enabled
vgapci0 at pci0:1:0:0:   class=0x030000 card=0x02051025 chip=0x95531002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
class = display
subclass = VGA
bar [10] = type Prefetchable Memory, range 32, base 0xd0000000, size 268435456, enabled
bar [14] = type I/O Port, range 32, base 0x2000, size 256, enabled
bar [18] = type Memory, range 32, base 0xf4000000, size 65536, enabled
none2 at pci0:1:0:1:   class=0x040300 card=0xaa381002 chip=0xaa381002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
class = multimedia
subclass = HDA
bar [10] = type Memory, range 32, base 0xf4010000, size 16384, enabled
none3 at pci0:2:0:0:   class=0x020000 card=0x013c1025 chip=0x168414e4 rev=0x10 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'Broadcom NetXtreme Gigabit Ethernet'
class = network
subclass = ethernet
bar [10] = type Memory, range 64, base 0xf4100000, size 65536, enabled
none4 at pci0:3:0:0:   class=0x028000 card=0x13068086 chip=0x423c8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = network
bar [10] = type Memory, range 64, base 0xf4200000, size 8192, enabled

# kldstat
Id Refs Address Size Name
1 1 0xffffffff80100000 d6e650 kernel

# kldload miibus
kldload: can't load miibus: File exists

# kldload /boot/kernel/if_bce.ko
module_register: module bce/miibus already exists!
Module bce/miibus failed to register: 17
module_register: module pci/bce already exists!
Module pci/bce failed to register: 17
kldload: can't load /boot/kernel/if_bce.ko: File exists

# dmesg -a | grep net
pci2: <network, ethernet> at device 0.0 (no driver attached)
pci3: <network> at device 0.0 (no driver attached)
ethernet
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000

# dmesg -a | grep pci
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem 0xd0000000-0xdfffffff,0xf4000000-0xf400ffff irq 16 at device 0.0 on pci1
pci1: <multimedia, HDA> at device 0.1 (no driver attached)
uhci0: <Intel 82801I (ICH9) USB controller> port 0x1800-0x181f irq 20 at device 26.0 on pci0
uhci1: <Intel 82801I (ICH9) USB controller> port 0x1820-0x183f irq 20 at device 26.1 on pci0
ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xf4504800-0xf4504bff irq 20 at device 26.7 on pci0
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network, ethernet> at device 0.0 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <network> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci4: <ACPI PCI bus> on pcib4
uhci2: <Intel 82801I (ICH9) USB controller> port 0x1840-0x185f irq 23 at device 29.0 on pci0
uhci3: <Intel 82801I (ICH9) USB controller> port 0x1860-0x187f irq 17 at device 29.1 on pci0
uhci4: <Intel 82801I (ICH9) USB controller> port 0x1880-0x189f irq 18 at device 29.2 on pci0
uhci5: <Intel 82801I (ICH9) USB controller> port 0x18a0-0x18bf irq 18 at device 29.3 on pci0
ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xf4504c00-0xf4504fff irq 23 at device 29.7 on pci0
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci13: <ACPI PCI bus> on pcib5
isab0: <PCI-ISA bridge> at device 31.0 on pci0
atapci0: <Intel AHCI controller> port 0x18f0-0x18f7,0x18e4-0x18e7,0x18e8-0x18ef,0x18e0-0x18e3,0x18c0-0x18df mem 0xf4504000-0xf45047ff irq 19 at device 31.2 on pci0
atapci0: [ITHREAD]
atapci0: AHCI v1.20 controller with 4 3Gbps ports, PM not supported
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 4> on atapci0
ata5: <ATA channel 5> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached) 
>How-To-Repeat:
It appears on RELEASE-7.1,7.2 and 8.0 for me without any additional actions: just install FreeBSD and sysinstall can't see Ethernet during installation process.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list