From nobody@FreeBSD.org  Sat May 20 16:42:08 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1004E16A423
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 May 2006 16:42:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0F68B43D5A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 May 2006 16:42:07 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4KGg6dl020700
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 May 2006 16:42:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k4KGg67U020699;
	Sat, 20 May 2006 16:42:06 GMT
	(envelope-from nobody)
Message-Id: <200605201642.k4KGg67U020699@www.freebsd.org>
Date: Sat, 20 May 2006 16:42:06 GMT
From: Doug Rose <dbrose@syr.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bge driver shows "no carrier" on IBM Blade 8843L1U
X-Send-Pr-Version: www-2.3

>Number:         97527
>Category:       kern
>Synopsis:       [bge] bge driver shows "no carrier" on IBM Blade 8843L1U
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 20 16:50:13 GMT 2006
>Closed-Date:    Mon Jun 26 08:32:37 GMT 2006
>Last-Modified:  Mon Jun 26 08:32:37 GMT 2006
>Originator:     Doug Rose
>Release:        6.1-Release
>Organization:
>Environment:
Running FreeBSD 6.1 RELEASE/AMD64 with GENERIC plus kernel configuration:
 options BGE_FAKE_AUTONEG
>Description:
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,
>How-To-Repeat:
Try to install FreeBSD 6.1 Release on a bladecenter blade 8843L1U with the DLink switch.
>Fix:
I have tried FreeBSD 6.0 Release, 7.0 Current all had the same problem.  I have not found a fix
>Release-Note:
>Audit-Trail:

From: Doug White <dwhite@gumbysoft.com>
To: bug-followup@FreeBSD.org, dbrose@syr.edu
Cc:  
Subject: kern/97527
Date: Mon, 22 May 2006 12:40:50 -0700 (PDT)

 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
State-Changed-From-To: open->feedback 
State-Changed-By: glebius 
State-Changed-When: Wed May 24 12:22:26 UTC 2006 
State-Changed-Why:  
Please try to set  

hw.bge.fake_autoneg=1 

in /boot/loader.conf. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=97527 
State-Changed-From-To: feedback->closed 
State-Changed-By: maxim 
State-Changed-When: Mon Jun 26 08:31:33 UTC 2006 
State-Changed-Why:  
The submitter reports he fixed the issue by replacing the ethernet switch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97527 
>Unformatted:
