Bug 97527 - [bge] bge driver shows "no carrier" on IBM Blade 8843L1U
Summary: [bge] bge driver shows "no carrier" on IBM Blade 8843L1U
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-20 17:50 UTC by Doug Rose
Modified: 2006-06-26 09:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Rose 2006-05-20 17:50:13 UTC
The switch is the IBM bladecenter DLink internal GB switch

When this extra kernel option is in place, the link light goes from 
solid to off.  I tried assigning media type and speed through ifconfig.

The dmesg output says:

pci5: <PCI bus> on pcib3
bge0: <Broadcom BCM5704S Dual Gigabit Ethernet, ASIC rev. 0x2100> mem
 0xdcff0000-0xdcffffff irq 77 at device 1.0 on pci5
bge0: Ethernet address: 00:14:5e:3d:9d:dc
bge1: <Broadcom BCM5704S Dual Gigabit Ethernet, ASIC rev. 0x2100> mem 
 0xdcfe0000-0xdcfeffff irq 78 at device 1.1 on pci5
bge1: Ethernet address: 00:14:5e:3d:9d:dd
pci0: <base peripheral> at device 8.0 (no driver attached)
pcib4: <MPTable PCI-PCI bridge> at device 28.0 on pci0 

ifconfig (before I assign a speed and mediaopt) shows:

bge0: flags=8802<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:14:5e:3d:9d:dc
        media: Ethernet autoselect (1000baseSX <full-duplex>)
        status: no carrier
bge1: flags=8802<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:14:5e:3d:9d:dd
        media: Ethernet autoselect (1000baseSX <full-duplex>)
        status: no carrier

This same blade was able to connect with both Solaris and CentOS.

Thank you,

Fix: 

I have tried FreeBSD 6.0 Release, 7.0 Current all had the same problem.  I have not found a fix
How-To-Repeat: Try to install FreeBSD 6.1 Release on a bladecenter blade 8843L1U with the DLink switch.
Comment 1 Doug White 2006-05-22 20:40:50 UTC
Our SBX82 (which is a Intel-rebadged version of the IBM 8843) works fine 
with BGE_FAKE_AUTONEG and an amd64 kernel with the broken DLNK switch.

bge0: <Broadcom BCM5704S Dual Gigabit Ethernet, ASIC rev. 0x2100> mem 
0xdcff0000-0xdcffffff irq 77 at device 1.0 on pci5
bge0: Ethernet address: 00:11:25:9b:a0:66
bge1: <Broadcom BCM5704S Dual Gigabit Ethernet, ASIC rev. 0x2100> mem 
0xdcfe0000-0xdcfeffff irq 78 at device 1.1 on pci5
bge1: Ethernet address: 00:11:25:9b:a0:67

Hardware VPD on the switch:
  I/O Modules
   1
   Ethernet SM
----	n/a	01R0807	DLNK	  EABB 8CB4 E491 11D7 9703 0005 5D9C 8DB4


Switch information:

   Device Type      : Ethernet Switch Module
   MAC Address      : 00-05-5D-9C-8D-B4
   Boot PROM Version: 00.00.04
   Firmware Version : 00.00.95
   Hardware Version : Rev. 2
   Device S/N       :  J1P2G39F196

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org
Comment 2 Gleb Smirnoff freebsd_committer freebsd_triage 2006-05-24 13:22:26 UTC
State Changed
From-To: open->feedback

Please try to set  

hw.bge.fake_autoneg=1 

in /boot/loader.conf.
Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2006-06-26 09:31:33 UTC
State Changed
From-To: feedback->closed

The submitter reports he fixed the issue by replacing the ethernet switch.