i386/79784: Broadcom BCM4401 (bfe) : no carrier
Philippe CASIDY
pcasidy at casidy.com
Mon Apr 11 02:00:40 PDT 2005
>Number: 79784
>Category: i386
>Synopsis: Broadcom BCM4401 (bfe) : no carrier
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 11 09:00:39 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Philippe CASIDY
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD littleoak 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Apr 8 16:03:00 UTC 2005 updater at littleoak:/usr/obj/usr/src/sys/LITTLEOAK i386
The machine is a Dell Inspiron 9100 laptop with a P4 3.2Ghz HT
with 1.5Gb of memory.
SMP is not activated yet.
The NIC is a builtin <Broadcom BCM4401 Fast Ethernet>.
Dmesg reports:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #0: Fri Apr 8 16:03:00 UTC 2005
updater at littleoak:/usr/obj/usr/src/sys/LITTLEOAK
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf34 Stepping = 4
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 1610260480 (1535 MB)
avail memory = 1572446208 (1499 MB)
ACPI APIC Table: <DELL CPi R >
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL CPi R > on motherboard
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.3 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network, ethernet> at device 0.0 (no driver attached)
cbb0: <TI4510 PCI-CardBus Bridge> at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci2: <serial bus, FireWire> at device 1.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 3391521267 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 76319MB <HTS548080M9AT00/MG4OA5EA> [155061/16/63] at ata0-master UDMA100
acd0: DVDR <NEC DVD+/-RW ND-6500A/202C> at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: <_NEC DVD+-RW ND-6500A 202C> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [327045 x 2048 byte records]
Mounting root from ufs:/dev/ad0s2a
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xbf60-0xbf7f irq 19 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xbf20-0xbf3f irq 16 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf8fffc00-0xf8ffffff irq 23 at device 29.7 on pci0
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <EHCI (generic) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
>Description:
As soon as the NIC is assigned an adress, the status of the
interface is "no carrier" and the corresponding leds on the
switch are off.
>How-To-Repeat:
Boot the system.
The kernel sets up the following modules:
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xfaffe000-0xfaffffff irq 18 at devic
e 0.0 on pci2
bfe0: Ethernet address: 00:11:43:65:ab:d1
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
At that moment, ifconfig reports:
bfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
ether 00:11:43:65:ab:d1
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
If you assign the card an adress manually (same problem with DHCP) the following
kernel message appears:
Interrupt storm detected on "irq18: bfe0 uhci2"; throttling interrupt source
Note that if I unload usb module the message is the same without uhci2.
Note also that if I boot without ACPI, I have the same message but a different i
rq and with the other device attach to that irq.
Now, ifconfig reports:
bfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet 192.168.1.200 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::211:43ff:fe65:abd1%bfe0 prefixlen 64 scopeid 0x2
ether 00:11:43:65:ab:d1
media: Ethernet autoselect (none)
status: no carrier
>Fix:
Use ndisulator. Using an ndis driver works and reports:
ndis_bfe0: <Broadcom 440x 10/100 Integrated Controller> mem 0xfaffe000-0xfafffff
f irq 18 at device 0.0 on pci2
ndis_bfe0: NDIS API version: 5.1
ndis_bfe0: Ethernet address: 00:11:43:65:ab:d1
ndis_bfe0: NDIS ERROR: 40050009 (unknown error)
ndis_bfe0: NDIS NUMERRORS: 0
ndis_bfe0: link up
ndis_bfe0: NDIS ERROR: 80050004 (unknown error)
ndis_bfe0: NDIS NUMERRORS: 0
ndis_bfe0: NDIS ERROR: 40050009 (unknown error)
ndis_bfe0: NDIS NUMERRORS: 0
ndis_bfe0: link up
I have successfully used a KNOPPIX on that laptop with this NIC.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-i386
mailing list