From nobody@FreeBSD.org  Tue Mar 29 00:30:08 2005
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 BA93916A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Mar 2005 00:30:08 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6D20143D49
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Mar 2005 00:30:08 +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 j2T0U8PA058585
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Mar 2005 00:30:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2T0U8O4058581;
	Tue, 29 Mar 2005 00:30:08 GMT
	(envelope-from nobody)
Message-Id: <200503290030.j2T0U8O4058581@www.freebsd.org>
Date: Tue, 29 Mar 2005 00:30:08 GMT
From: Shawn Debnath <sdebnath@mac.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Broadcom bge chip initialization failure 
X-Send-Pr-Version: www-2.3
X-GNATS-Notify: saxonww@ufl.edu

>Number:         79324
>Category:       kern
>Synopsis:       [bge] Broadcom bge chip initialization failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 29 00:40:02 GMT 2005
>Closed-Date:    Tue Nov 20 09:00:45 UTC 2007
>Last-Modified:  Tue Nov 20 09:00:45 UTC 2007
>Originator:     Shawn Debnath
>Release:        5.3-RELEASE
>Organization:
Sun Microsystems, Inc
>Environment:
Don't have output but running on dual opterons freebsd 5.3 release (amd64) 1gb memory
>Description:
This is similar to what I am seeing during bootup of FreeBSD:

bge0: <Broadcom BCM5705M Dual Gigabit Ethernet, ASIC rev. 0x3001> mem
0x90000000-0x9000ffff irq 11 at device 14.0 on pci2
bge0: firmware handshake timed out
bge0: RX CPU self-diagnostics failed!
bge0: chip initialization failed
device_probe_and_attach: bge0 attach returned 6


However, I do have Solaris successfully running on the machine, and it thinks its not a BCM750x series card:


Mar 28 14:04:36 tornado bge: [ID 801725 kern.warning] WARNING: bge0: 5705-based 
subsystem 'pci14e4,1653' not supported
Mar 28 14:04:36 tornado unix: [ID 954099 kern.info] NOTICE: IRQ16 is being share
d by drivers with different interrupt levels.
Mar 28 14:04:36 tornado This may result in reduced system performance.
Mar 28 14:04:37 tornado genunix: [ID 454863 kern.info] dump on /dev/dsk/c0d0s1 s
ize 2047 MB
Mar 28 14:04:37 tornado genunix: [ID 678236 kern.info] Ethernet address = 0:11:9
:a0:3:eb
Mar 28 14:04:37 tornado gld: [ID 944156 kern.info] bge0: BCM579x driver v0.44: t
ype "ether" mac address 00:11:09:a0:03:eb
Mar 28 14:04:37 tornado pci: [ID 370704 kern.info] PCI-device: pci14e4,1653@b, b
ge0
Mar 28 14:04:37 tornado genunix: [ID 936769 kern.info] bge0 is /pci@0,0/pci14e4,
1653@b


Just for curiosity sake, I tried increasing the TIMEOUT (src/sys/dev/bge/if_bgereg.h) from:

#define BGE_TIMEOUT		100000 /* 5 zeros */

to 

#define BGE_TIMEOUT		1000000 /* 6 zeros */

and still no luck. Any help will be appreciated. If you need me to test code, send the src files to dump in src/dev/bge and I can test it out.

Thanks

Shawn
>How-To-Repeat:
I am experiencing this on the MSI MASTER2-FAR motherboard (on board broadcom chipset). The MSI website says that its Broadcom BCM5705 Gigabit LAN controllers but they often make mistakes. I can't decipher the model # on the chipset itself, but if I do I will add to this report.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Shawn Debnath <sdebnath@mac.com>
To: freebsd-gnats-submit@FreeBSD.org,
	Shawn Debnath <sdebnath@mac.com>
Cc:  
Subject: Re: kern/79324: Broadcom bge chip initialization failure
Date: Mon, 28 Mar 2005 23:33:25 -0800

 The chipset on the motherboard is indeed a BCM5705.
 

From: "Internet Partners, Inc. Tech Support" <support@ipinc.net>
To: <bug-followup@FreeBSD.org>, <sdebnath@mac.com>
Cc:  
Subject: Re: kern/79324: [bge] Broadcom bge chip initialization failure
Date: Wed, 3 May 2006 12:18:32 -0700

 See PR  kern/94863 for an updated list of PCI chip ID's for this chip.
 
 Ted
State-Changed-From-To: open->feedback 
State-Changed-By: kmacy 
State-Changed-When: Tue Nov 20 06:50:37 UTC 2007 
State-Changed-Why:  

Is this still an issue on RELENG_6/RELENG_7? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79324 
State-Changed-From-To: feedback->closed 
State-Changed-By: kmacy 
State-Changed-When: Tue Nov 20 09:00:08 UTC 2007 
State-Changed-Why:  

bge has changed substantially and submitter mail bounces 

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