Subject: kern/36022: [4.0_BETA2] bge(4) fails to initialize
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 03/17/2007 15:35:00
>Number:         36022
>Category:       kern
>Synopsis:       bge(4) fails to initialize
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 17 15:35:00 +0000 2007
>Originator:     Andreas Wrede
>Release:        NetBSD 4.0_BETA2
>Organization:
Andreas Wrede              Planix, Inc.
andreas@planix.com         Networking, System Administration, Consulting
http://www.planix.com      Toronto, Ontario, Canada

"The steady state of disks is full."
                               -- Ken Thompson
>Environment:
	
	
System: NetBSD whome.planix.com 4.0_BETA2 NetBSD 4.0_BETA2 (PLANIX.MPACPI) #106: Sat Mar 17 10:34:49 EDT 2007 root@whome.planix.com:/u2/netbsd-4.0/obj.i386/sys/arch/i386/compile/PLANIX.MPACPI i386

Architecture: i386
Machine: i386
>Description:
bge(4) devices fail to initialize, see dmesg below for messages:

@@ -1,4 +1,4 @@
-NetBSD 4.0_BETA2 (PLANIX.MPACPI) #56: Thu Jan 25 23:30:23 EST 2007
+NetBSD 4.0_BETA2 (PLANIX.MPACPI) #106: Sat Mar 17 10:34:49 EDT 2007
 	root@whome.planix.com:/u2/netbsd-4.0/obj.i386/sys/arch/i386/compile/PLANIX.MPACPI
 total memory = 1022 MB
 avail memory = 996 MB
@@ -7,7 +7,7 @@
 BIOS32 rev. 0 found at 0xfd5c0
 mainbus0 (root)
 cpu0 at mainbus0: apid 0 (boot processor)
-cpu0: AMD Unknown K7 (Athlon) (686-class), 2009.34 MHz, id 0xf5a
+cpu0: AMD Opteron or Athlon 64 FX (686-class), 2009.33 MHz, id 0xf5a
 cpu0: features e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu0: features e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
 cpu0: features e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
@@ -22,7 +22,7 @@
 cpu0: 16 page colors
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: starting
-cpu1: AMD Unknown K7 (Athlon) (686-class), 2009.26 MHz, id 0xf5a
+cpu1: AMD Opteron or Athlon 64 FX (686-class), 2009.26 MHz, id 0xf5a
 cpu1: features e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu1: features e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
 cpu1: features e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
@@ -202,16 +202,14 @@
 scsibus1 at mpt1: 256 targets, 8 luns per target
 bge0 at pci5 dev 9 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
 bge0: interrupting at ioapic2 pin 0 (irq 11)
-bge0: ASIC BCM5704 A3 (0x2003), Ethernet address 00:e0:81:30:d6:7c
-brgphy0 at bge0 phy 1: BCM5704 1000BASE-T media interface, rev. 0
-brgphy0: using BCM5704 DSP patch
-brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
+bge0: firmware handshake timed out, val = 4b657654
+bge0: RX CPU self-diagnostics failed!
+bge0: chip initialization failed
 bge1 at pci5 dev 9 function 1: Broadcom BCM5704C Dual Gigabit Ethernet
 bge1: interrupting at ioapic2 pin 1 (irq 10)
-bge1: ASIC BCM5704 A3 (0x2003), Ethernet address 00:e0:81:30:d6:7d
-brgphy1 at bge1 phy 1: BCM5704 1000BASE-T media interface, rev. 0
-brgphy1: using BCM5704 DSP patch
-brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
+bge1: firmware handshake timed out, val = 4b657654
+bge1: RX CPU self-diagnostics failed!
+bge1: chip initialization failed
 ioapic0: enabling
 ioapic1: enabling
 ioapic2: enabling


>How-To-Repeat:
	
Build new 4.0_BETA2 kernel, reboot
>Fix:
Unknown. A quick check on releng shows that ticket #466 made changes
to the bge(4) driver.

>Unformatted: