NetBSD Problem Report #36022

From andreas@whome.planix.com  Sat Mar 17 15:30:15 2007
Return-Path: <andreas@whome.planix.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 5D51663BA19
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 17 Mar 2007 15:30:15 +0000 (UTC)
Message-Id: <m1HSarD-000YzLC@whome.planix.com>
Date: Sat, 17 Mar 2007 11:30:11 -0400 (EDT)
From: andreas@planix.com
Sender: "Andreas Wrede" <andreas@whome.planix.com>
Reply-To: andreas@planix.com
To: gnats-bugs@NetBSD.org
Subject: [4.0_BETA2] bge(4) fails to initialize 
X-Send-Pr-Version: 3.95

>Number:         36022
>Category:       kern
>Synopsis:       bge(4) fails to initialize
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    msaitoh
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 17 15:35:00 +0000 2007
>Closed-Date:    
>Last-Modified:  Sat Jan 30 18:57:01 +0000 2010
>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.

>Release-Note:

>Audit-Trail:
From: Andreas Wrede <andreas@planix.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/36022: [4.0_BETA2] bge(4) fails to initialize
Date: Thu, 26 Jul 2007 11:02:10 -0400

 [repost: previous post got truncated at first line containing a  
 single period]

 A recent pull-up to the 4.0 branch "improved" the situation somewhat  
 (for some random value of "improved"):

   bge0 at pci5 dev 9 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
   bge0: interrupting at ioapic2 pin 0 (irq 11)
 -bge0: firmware handshake timed out, val = 4b657654
 -bge0: RX CPU self-diagnostics failed!
 -bge0: chip initialization failed
 +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
   bge1 at pci5 dev 9 function 1: Broadcom BCM5704C Dual Gigabit Ethernet
   bge1: interrupting at ioapic2 pin 1 (irq 10)
 -bge1: firmware handshake timed out, val = 4b657654
 -bge1: RX CPU self-diagnostics failed!
 -bge1: chip initialization failed
 +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


 Trying to use the device results in:

 # ifconfig bge0 up
 # ifconfig bge1 up
 [ after a short while...]
 bge0: PHY read timed out
 bge0: PHY read timed out
 bge0: PHY read timed out
 bge0: PHY read timed out
 bge0: PHY read timed out
 bge1: PHY read timed out
 bge0: PHY read timed out
 bge0: PHY read timed out
 bge1: PHY read timed out
 bge1: PHY read timed out
 [scrolling quickly....]
 ..
 ..
 # ifconfig bge0 down
 bge0: PHY read timed out
 bge0: block failed to stop: reg 0x468, bit 0x00000002
 bge0: block failed to stop: reg 0x2c00, bit 0x00000002
 bge0: block failed to stop: reg 0x2000, bit 0x00000002
 bge0: block failed to stop: reg 0x3400, bit 0x00000002
 bge0: block failed to stop: reg 0x2400, bit 0x00000002
 bge0: block failed to stop: reg 0x2800, bit 0x00000002
 bge0: block failed to stop: reg 0x3000, bit 0x00000002
 bge0: block failed to stop: reg 0x1400, bit 0x00000002
 bge0: block failed to stop: reg 0x1800, bit 0x00000002
 bge0: block failed to stop: reg 0xc00, bit 0x00000002
 bge0: block failed to stop: reg 0x4800, bit 0x00000002
 bge0: block failed to stop: reg 0x1000, bit 0x00000002
 bge0: block failed to stop: reg 0x6400, bit 0x00000002
 bge0: block failed to stop: reg 0x1c00, bit 0x00000002
 bge0: block failed to stop: reg 0x3c00, bit 0x00000002
 bge0: block failed to stop: reg 0x4c00, bit 0x00000002
 bge0: block failed to stop: reg 0x3800, bit 0x00000002
 bge0: block failed to stop: reg 0x4400, bit 0x00000002
 bge0: block failed to stop: reg 0x4000, bit 0x00000002
 bge1: PHY read timed out
 bge1: PHY read timed out
 [now only bge1 messages scolling quickly....]
 ..
 ..
 # ifconfig bge1 down
 bge1: PHY read timed out
 bge1: block failed to stop: reg 0x468, bit 0x00000002
 bge1: block failed to stop: reg 0x2c00, bit 0x00000002
 bge1: block failed to stop: reg 0x2000, bit 0x00000002
 bge1: block failed to stop: reg 0x3400, bit 0x00000002
 bge1: block failed to stop: reg 0x2400, bit 0x00000002
 bge1: block failed to stop: reg 0x2800, bit 0x00000002
 bge1: block failed to stop: reg 0x3000, bit 0x00000002
 bge1: block failed to stop: reg 0x1400, bit 0x00000002
 bge1: block failed to stop: reg 0x1800, bit 0x00000002
 bge1: block failed to stop: reg 0xc00, bit 0x00000002
 bge1: block failed to stop: reg 0x4800, bit 0x00000002
 bge1: block failed to stop: reg 0x1000, bit 0x00000002
 bge1: block failed to stop: reg 0x6400, bit 0x00000002
 bge1: block failed to stop: reg 0x1c00, bit 0x00000002

 [ all is quiet ]

 # ifconfig bge0
 bge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500

 capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM 
 _Rx,UDP4CSUM_Tx>

 enabled=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,U 
 DP4CSUM_Tx>
          address: 00:e0:81:30:d6:7c
          media: Ethernet autoselect
          status: no carrier
          inet6 fe80::2e0:81ff:fe30:d67c%bge0 prefixlen 64 scopeid 0x3
 # ifconfig bge1
 bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500

 capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM 
 _Rx,UDP4CSUM_Tx>

 enabled=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,U 
 DP4CSUM_Tx>
          address: 00:e0:81:30:d6:7d
          media: Ethernet autoselect
          status: no carrier
          inet6 fe80::2e0:81ff:fe30:d67d%bge1 prefixlen 64 scopeid 0x4


Responsible-Changed-From-To: kern-bug-people->msaitoh
Responsible-Changed-By: msaitoh@NetBSD.org
Responsible-Changed-When: Sun, 24 Jan 2010 12:56:55 +0000
Responsible-Changed-Why:
mine


State-Changed-From-To: open->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Sun, 24 Jan 2010 12:56:55 +0000
State-Changed-Why:
This problem have been disappeared in latest netbsd-4, netbsd-5 and -current.
Tested on my 5704 A3 card.


From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/36022 (bge(4) fails to initialize)
Date: Sun, 24 Jan 2010 21:30:08 +0000

 (wasn't cc'd to gnats-bugs)

    ------

 From: Bert Kiers <kiers@original.xs4all.nl>
 To: msaitoh@NetBSD.org
 Cc: kern-bug-people@NetBSD.org, netbsd-bugs@NetBSD.org,
 	gnats-admin@NetBSD.org, andreas@planix.com
 Subject: Re: kern/36022 (bge(4) fails to initialize)
 Date: Sun, 24 Jan 2010 18:02:26 +0100

 On Sun, Jan 24, 2010 at 12:56:56PM +0000, msaitoh@NetBSD.org wrote:
 > Synopsis: bge(4) fails to initialize
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: msaitoh@NetBSD.org
 > State-Changed-When: Sun, 24 Jan 2010 12:56:55 +0000
 > State-Changed-Why:
 > This problem have been disappeared in latest netbsd-4, netbsd-5 and -current.
 > Tested on my 5704 A3 card.

 However, on NetBSD-current sparc64, on a Sun Fire V210:

 bge0 at pci0 dev 2 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
 bge0: interrupting at ivec 37c8
 bge0: firmware handshake timed out, val = 4b657654
 bge0: RX CPU self-diagnostics failed!
 bge0: chip initialization failed

 bge[123] same

 Complete dmesg at http://netbsd.itsx.net/schizo+panic.txt

 Grtnx,
 -- 
 Bert Kiers, !MCSE && 0xFF, frique d'ordinateur

From: Andreas Wrede <andreas@wrede.ca>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org,
 msaitoh@NetBSD.org
Subject: Re: kern/36022 (bge(4) fails to initialize)
Date: Mon, 25 Jan 2010 18:04:42 -0500

 With the updated bge(4) driver, I now get "bge0: eeprom read timed out" =
 on the machine that reported the original problem:

 bge0 at pci5 dev 9 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
 bge0: interrupting at ioapic2 pin 0
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: ASIC BCM5704 A3 (0x2003), Ethernet address 00:00:00:00:00:00
 brgphy0 at bge0 phy 1: BCM5704 1000BASE-T media interface, rev. 0
 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, =
 1000baseT-FDX, auto
 [same for bge1]

 However, once I assign the original MAC address (ifconfig bge0 link =
 00:e0:81:30:d6:7c active), the interface works fine:

 bge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         =
 capabilities=3D3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM=
 _Rx,UDP4CSUM_Tx>
         enabled=3D0
         address: 00:e0:81:30:d6:7c
         media: Ethernet autoselect (1000baseT =
 full-duplex,flowcontrol,rxpause,txpause)
         status: active
         inet 10.99.1.123 netmask 0xffff0000 broadcast 10.99.255.255
         inet6 fe80::2e0:81ff:fe30:d60a%bge0 prefixlen 64 scopeid 0x3
         link 00:00:00:00:00:00


 --=20
     aew

From: SAITOH Masanobu <masanobu@iij.ad.jp>
To: gnats-bugs@NetBSD.org, andreas@wrede.ca
Cc: msaitoh@NetBSD.org, gnats-admin@netbsd.org, andreas@planix.com
Subject: Re: kern/36022 (bge(4) fails to initialize)
Date: Tue, 26 Jan 2010 09:45:02 +0900 (JST)

  Hello, Andreas.

  > The following reply was made to PR kern/36022; it has been noted by GNATS.
  > 
  > From: Andreas Wrede <andreas@wrede.ca>
  > To: gnats-bugs@NetBSD.org
  > Cc: gnats-admin@netbsd.org,
  >  netbsd-bugs@netbsd.org,
  >  msaitoh@NetBSD.org
  > Subject: Re: kern/36022 (bge(4) fails to initialize)
  > Date: Mon, 25 Jan 2010 18:04:42 -0500
  > 
  >  With the updated bge(4) driver, I now get "bge0: eeprom read timed out" =
  >  on the machine that reported the original problem:
  >  
  >  bge0 at pci5 dev 9 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
  >  bge0: interrupting at ioapic2 pin 0
  >  bge0: eeprom read timed out
  >  bge0: eeprom read timed out
  >  bge0: eeprom read timed out
  >  bge0: eeprom read timed out
  >  bge0: eeprom read timed out
  >  bge0: eeprom read timed out
  >  bge0: ASIC BCM5704 A3 (0x2003), Ethernet address 00:00:00:00:00:00
  >  brgphy0 at bge0 phy 1: BCM5704 1000BASE-T media interface, rev. 0
  >  brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, =
  >  1000baseT-FDX, auto
  >  [same for bge1]
  >  
  >  However, once I assign the original MAC address (ifconfig bge0 link =
  >  00:e0:81:30:d6:7c active), the interface works fine:
  >  
  >  bge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
  >          =
  >  capabilities=3D3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM=
  >  _Rx,UDP4CSUM_Tx>
  >          enabled=3D0
  >          address: 00:e0:81:30:d6:7c
  >          media: Ethernet autoselect (1000baseT =
  >  full-duplex,flowcontrol,rxpause,txpause)
  >          status: active
  >          inet 10.99.1.123 netmask 0xffff0000 broadcast 10.99.255.255
  >          inet6 fe80::2e0:81ff:fe30:d60a%bge0 prefixlen 64 scopeid 0x3
  >          link 00:00:00:00:00:00
  >  
  >  
  >  --=20
  >      aew

  Is your bge on-board? Does your system has IPMI or ASF functions?
 Could you give me the full dmesg?

 ----------------------------------------------------------
 		SAITOH Masanobu (masanobu@iij.ad.jp
 				  msaitoh@netbsd.org)

From: Andreas Wrede <andreas@wrede.ca>
To: SAITOH Masanobu <masanobu@iij.ad.jp>
Cc: gnats-bugs@NetBSD.org,
 msaitoh@NetBSD.org,
 gnats-admin@netbsd.org
Subject: Re: kern/36022 (bge(4) fails to initialize)
Date: Mon, 25 Jan 2010 20:04:28 -0500

 On Jan 25, 2010, at 19:45 , SAITOH Masanobu wrote:

 >=20
 > Hello, Andreas.
 >=20
 > Is your bge on-board?

 Yes - the board is a Tyan S2892

 > Does your system has IPMI or ASF functions?

 Yes, see


 > Could you give me the full dmesg?

 NetBSD 5.99.24 (WAPANA) #78: Mon Jan 25 16:12:49 EST 2010
         =
 root@wotan.wrede.pvt:/u2/netbsd-current/obj.amd64/sys/arch/amd64/compile/W=
 APANA
 total memory =3D 1022 MB
 avail memory =3D 977 MB
 timecounter: Timecounters tick every 10.000 msec
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 TYAN Computer Corp S2892  (REFERENCE)
 mainbus0 (root)
 cpu0 at mainbus0 apid 0: AMD 686-class, 2009MHz, id 0xf5a
 cpu0: erratum 89 present
 cpu0: erratum 97 present
 cpu0: erratum 101 present
 cpu0: WARNING: errata present, BIOS upgrade may be
 cpu0: WARNING: necessary to ensure reliable operation
 cpu1 at mainbus0 apid 1: AMD 686-class, 2009MHz, id 0xf5a
 ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
 ioapic1 at mainbus0 apid 3: pa 0xdf300000, version 11, 4 pins
 ioapic2 at mainbus0 apid 4: pa 0xdf301000, version 11, 4 pins
 acpi0 at mainbus0: Intel ACPICA 20090730
 acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
 acpi0: SCI interrupting at int 9
 acpi0: fixed-feature power button present
 timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 ACPI-Fast 24-bit timer
 acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 attimer1 at acpi0 (PIT0, PNP0100): io 0x40-0x43 irq 0
 pcppi1 at acpi0 (SPK0, PNP0800): io 0x61
 sysbeep0 at pcppi1
 pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
 pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
 com2 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
 com2: ns16550a, working fifo
 com3 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
 com3: ns16550a, working fifo
 com3: console
 fdc1 at acpi0 (FDC0, PNP0700-1): io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
 lpt2 at acpi0 (PRT, PNP0401-2): io 0x378-0x37f,0x778-0x77f irq 7 drq 3
 attimer1: attached to pcppi1
 pckbd0 at pckbc2 (kbd slot)
 pckbc2: using irq 1 for kbd slot
 wskbd0 at pckbd0 mux 1
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 NVIDIA nForce4 Memory Controller (miscellaneous memory, revision 0xa3) =
 at pci0 dev 0 function 0 not configured
 pcib0 at pci0 dev 1 function 0: NVIDIA nForce4 PCI-ISA Bridge (rev. =
 0xa3)
 nfsmbc0 at pci0 dev 1 function 1: NVIDIA nForce4 SMBus (rev. 0xa2)
 nfsmb0 at nfsmbc0 SMBus 1
 iic0 at nfsmb0: I2C bus
 spdmem0 at iic0 addr 0x50
 spdmem0: DDR SDRAM (registered), data ECC, 512MB, 400MHz (PC-3200)
 spdmem0: 13 rows, 10 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
 spdmem0: tAA-tRCD-tRP-tRAS: 2-3-3-8
 spdmem0: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
 nfsmb1 at nfsmbc0 SMBus 2
 iic1 at nfsmb1: I2C bus
 ohci0 at pci0 dev 2 function 0: NVIDIA nForce4 USB Host Controller (rev. =
 0xa2)
 LUS0: Picked IRQ 20 with weight 0
 ohci0: interrupting at ioapic0 pin 20
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 ehci0 at pci0 dev 2 function 1: NVIDIA nForce4 USB2 Host Controller =
 (rev. 0xa3)
 LUS2: Picked IRQ 21 with weight 0
 ehci0: interrupting at ioapic0 pin 21
 ehci0: EHCI version 1.0
 ehci0: companion controller, 4 ports each: ohci0
 usb1 at ehci0: USB revision 2.0
 viaide0 at pci0 dev 6 function 0: NVIDIA nForce4 IDE Controller (rev. =
 0xf2)
 viaide0: bus-master DMA support present
 viaide0: primary channel configured to compatibility mode
 viaide0: primary channel ignored (disabled)
 viaide0: secondary channel configured to compatibility mode
 viaide0: secondary channel interrupting at ioapic0 pin 15
 atabus0 at viaide0 channel 1
 viaide1 at pci0 dev 7 function 0: NVIDIA nForce4 Serial ATA Controller =
 (rev. 0xf3)
 viaide1: bus-master DMA support present
 viaide1: primary channel wired to native-PCI mode
 LTID: Picked IRQ 22 with weight 0
 viaide1: using ioapic0 pin 22 for native-PCI interrupt
 atabus1 at viaide1 channel 0
 viaide1: secondary channel wired to native-PCI mode
 atabus2 at viaide1 channel 1
 viaide2 at pci0 dev 8 function 0: NVIDIA nForce4 Serial ATA Controller =
 (rev. 0xf3)
 viaide2: bus-master DMA support present
 viaide2: primary channel wired to native-PCI mode
 LSI1: Picked IRQ 23 with weight 0
 viaide2: using ioapic0 pin 23 for native-PCI interrupt
 atabus3 at viaide2 channel 0
 viaide2: secondary channel wired to native-PCI mode
 atabus4 at viaide2 channel 1
 ppb0 at pci0 dev 9 function 0: NVIDIA nForce4 PCI Host Bridge (rev. =
 0xa2)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 puc0 at pci1 dev 4 function 0: Lava Computers Octopus-550 8-port serial =
 (com, com, com, com)
 LNK1: Picked IRQ 16 with weight 0
 com4 at puc0 port 0: interrupting at ioapic0 pin 16
 com4: ns16550a, working fifo
 com5 at puc0 port 1: interrupting at ioapic0 pin 16
 com5: ns16550a, working fifo
 com6 at puc0 port 2: interrupting at ioapic0 pin 16
 com6: ns16550a, working fifo
 com7 at puc0 port 3: interrupting at ioapic0 pin 16
 com7: ns16550a, working fifo
 puc1 at pci1 dev 4 function 1: Lava Computers Octopus-550 8-port serial =
 (com, com, com, com)
 com8 at puc1 port 0: interrupting at ioapic0 pin 16
 com8: ns16550a, working fifo
 com9 at puc1 port 1: interrupting at ioapic0 pin 16
 com9: ns16550a, working fifo
 com10 at puc1 port 2: interrupting at ioapic0 pin 16
 com10: ns16550a, working fifo
 com11 at puc1 port 3: interrupting at ioapic0 pin 16
 com11: ns16550a, working fifo
 vga0 at pci1 dev 6 function 0: ATI Technologies Rage XL (rev. 0x27)
 wsdisplay0 at vga0 kbdmux 1
 wsmux1: connecting to wsdisplay0
 wskbd0: connecting to wsdisplay0
 drm at vga0 not configured
 fxp0 at pci1 dev 8 function 0: i82551 Ethernet, rev 16
 LNK3: Picked IRQ 17 with weight 0
 fxp0: interrupting at ioapic0 pin 17
 fxp0: Ethernet address 00:e0:81:30:d6:0a
 inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ppb1 at pci0 dev 13 function 0: NVIDIA nForce4 PCIe Host Bridge (rev. =
 0xa3)
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb2 at pci0 dev 14 function 0: NVIDIA nForce4 PCIe Host Bridge (rev. =
 0xa3)
 pci3 at ppb2 bus 3
 pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 wm0 at pci3 dev 0 function 0: Intel i82574L, rev. 0
 wm0: interrupting at ioapic0 pin 17
 wm0: PCI-Express bus
 wm0: FLASH
 wm0: Ethernet address 00:1b:21:36:19:a4
 makphy0 at wm0 phy 1: Marvell 88E1149 Gigabit PHY, rev. 1
 makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, =
 1000baseT-FDX, auto
 pchb0 at pci0 dev 24 function 0: AMD K8 AMD64 HyperTransport =
 Configuration (rev. 0x00)
 pchb1 at pci0 dev 24 function 1: AMD K8 AMD64 Address Map Configuration =
 (rev. 0x00)
 pchb2 at pci0 dev 24 function 2: AMD K8 AMD64 DRAM Configuration (rev. =
 0x00)
 pchb3 at pci0 dev 24 function 3: AMD K8 AMD64 Miscellaneous =
 Configuration (rev. 0x00)
 pchb4 at pci0 dev 25 function 0: AMD K8 AMD64 HyperTransport =
 Configuration (rev. 0x00)
 pchb5 at pci0 dev 25 function 1: AMD K8 AMD64 Address Map Configuration =
 (rev. 0x00)
 pchb6 at pci0 dev 25 function 2: AMD K8 AMD64 DRAM Configuration (rev. =
 0x00)
 pchb7 at pci0 dev 25 function 3: AMD K8 AMD64 Miscellaneous =
 Configuration (rev. 0x00)
 isa0 at pcib0
 pci4 at mainbus0 bus 9
 pci4: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pci5 at mainbus0 bus 10
 pci5: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 mpt0 at pci5 dev 3 function 0: Symbios Logic FC929
 mpt0: interrupting at ioapic2 pin 2
 scsibus0 at mpt0: 255 targets, 8 luns per target
 mpt1 at pci5 dev 3 function 1: Symbios Logic FC929
 mpt1: interrupting at ioapic2 pin 3
 scsibus1 at mpt1: 255 targets, 8 luns per target
 bge0 at pci5 dev 9 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
 bge0: interrupting at ioapic2 pin 0
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: eeprom read timed out
 bge0: ASIC BCM5704 A3 (0x2003), Ethernet address 00:00:00:00:00:00
 brgphy0 at bge0 phy 1: BCM5704 1000BASE-T media interface, rev. 0
 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, =
 1000baseT-FDX, auto
 bge1 at pci5 dev 9 function 1: Broadcom BCM5704C Dual Gigabit Ethernet
 bge1: interrupting at ioapic2 pin 1
 bge1: eeprom read timed out
 bge1: eeprom read timed out
 bge1: eeprom read timed out
 bge1: eeprom read timed out
 bge1: eeprom read timed out
 bge1: eeprom read timed out
 bge1: ASIC BCM5704 A3 (0x2003), Ethernet address 00:00:00:00:00:00
 brgphy1 at bge1 phy 1: BCM5704 1000BASE-T media interface, rev. 0
 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, =
 1000baseT-FDX, auto
 Initializing SSP: 632ffb0dbb1079a8 9046ee13e14adbfa 7736044631c9b87c =
 b504fbd5ecb9d463 8257c35b78087a88 1a3f1fa92a2aa6ac f24f9bb76d9fe6ce =
 67e68531d7fc211=20
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 scsibus0: waiting 2 seconds for devices to settle...
 scsibus1: waiting 2 seconds for devices to settle...
 atapibus0 at atabus0: 2 targets
 cd0 at atapibus0 drive 0: <HL-DT-STDVD-ROM GDR8164B, , 0L06> cdrom =
 removable
 uhub0 at usb0: NVIDIA OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 10 ports with 10 removable, self powered
 uhub1 at usb1: NVIDIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub1: 10 ports with 10 removable, self powered
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
 cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using =
 DMA)
 IPsec: Initialized Security Association Processing.
 viaide1 port 0: device present, speed: 3.0Gb/s
 viaide2 port 0: device present, speed: 3.0Gb/s
 wd0 at atabus1 drive 0: <WDC WD1600JS-22MHB0>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 =
 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using =
 DMA)
 wd1 at atabus3 drive 0: <WDC WD1600JS-00MHB0>
 wd1: drive supports 16-sector PIO transfers, LBA48 addressing
 wd1: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 =
 sectors
 wd1: 32-bit data port
 wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 wd1(viaide2:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using =
 DMA)
 sd0 at scsibus0 target 0 lun 0: <APPLE, Xserve RAID, 1.51> disk fixed
 sd0: 2794 GB, 357701 cyl, 128 head, 128 sec, 512 bytes/sect x 5860573184 =
 sectors
 sd0: mbr partition exceeds disk size
 sd0: GPT GUID: c9dc5440-384a-11dc-984c-000e0c65e3a1
 dk0 at sd0: sd-dk0
 dk0: 5860573117 blocks at 34, type: ffs
 sd1 at scsibus1 target 0 lun 0: <APPLE, Xserve RAID, 1.51> disk fixed
 sd1: 2794 GB, 357701 cyl, 128 head, 128 sec, 512 bytes/sect x 5860573184 =
 sectors
 sd1: mbr partition exceeds disk size
 sd1: GPT GUID: 9d99e526-3eeb-11dc-95ad-000e0c65e3a1
 dk1 at sd1: sd1-dk3
 dk1: 5860573117 blocks at 34, type: ffs
 fd0 at fdc1 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 swwdog0: software watchdog initialized
 Kernelized RAIDframe activated
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio0 at pad0: half duplex, playback, capture
 Component on: wd0a: 312581745
    Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
    Version: 2 Serial Number: 20051218 Mod Counter: 1076
    Clean: Yes Status: 0
    sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
    RAID Level: 1  blocksize: 512 numBlocks: 312581632
    Autoconfig: Yes
    Contains root partition: Yes
    Last configured as: raid0
 Component on: wd1a: 312581745
    Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
    Version: 2 Serial Number: 20051218 Mod Counter: 1076
    Clean: Yes Status: 0
    sectPerSU: 128 SUsPerPU: 1 SUsPerRU: 1
    RAID Level: 1  blocksize: 512 numBlocks: 312581632
    Autoconfig: Yes
    Contains root partition: Yes
    Last configured as: raid0
 Found: wd0a at 0
 Found: wd1a at 1
 RAID autoconfigure
 Configuring raid0:
 Starting autoconfiguration of RAID set...
 Looking for 0 in autoconfig
 Found: wd0a at 0
 Looking for 1 in autoconfig
 Found: wd1a at 1
 raid0: allocating 20 buffers of 65536 bytes.
 raid0: RAID Level 1
 raid0: Components: /dev/wd0a /dev/wd1a
 raid0: Total Sectors: 312581632 (152627 MB)
 boot device: raid0
 root on raid0a dumps on raid0b
 mountroot: trying smbfs...
 mountroot: trying nfs...
 mountroot: trying msdos...
 mountroot: trying ext2fs...
 mountroot: trying ffs...
 root file system type: ffs
 init: copying out path `/sbin/init' 11
 mag 0 21:1
 mag 1 2e:2
 mag 2 72:3
 mag 3 65:4
 mag 4 73:5
 mag 5 65:6
 mag 6 74:7
 mag 7 2d:8
 mag 8 78:7f
 wsdisplay0: screen 1 added (80x25, vt100 emulation)
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)



 --=20
     aew

State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 28 Jan 2010 03:55:51 +0000
State-Changed-Why:
too optimistic, some cards still fail :(


State-Changed-From-To: open->feedback
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Thu, 28 Jan 2010 05:02:25 +0000
State-Changed-Why:
actually, there are even more fixes in now, and any tests performed more than
24 hours ago should be re-run.

this should now work on eg, sparc64 systems with onboard bge.


From: Andreas Wrede <andreas@wrede.ca>
To: gnats-bugs@NetBSD.org
Cc: msaitoh@NetBSD.org,
 netbsd-bugs@netbsd.org,
 gnats-admin@netbsd.org,
 mrg@NetBSD.org,
 Andreas Wrede <andreas@wrede.ca>
Subject: Re: kern/36022 (bge(4) fails to initialize)
Date: Thu, 28 Jan 2010 13:23:02 -0500

 On Jan 28, 2010, at 0:02 , mrg@NetBSD.org wrote:

 > Synopsis: bge(4) fails to initialize
 >=20
 > State-Changed-From-To: open->feedback
 > State-Changed-By: mrg@NetBSD.org
 > State-Changed-When: Thu, 28 Jan 2010 05:02:25 +0000
 > State-Changed-Why:
 > actually, there are even more fixes in now, and any tests performed =
 more than
 > 24 hours ago should be re-run.
 >=20
 > this should now work on eg, sparc64 systems with onboard beg.

 On the Tyan S2892 system with dual embedded bges:

 bge0 at pci5 dev 9 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
 bge0: interrupting at ioapic2 pin 0
 bge0: eeprom read timed out
 bge0: failed to read station address
 bge1 at pci5 dev 9 function 1: Broadcom BCM5704C Dual Gigabit Ethernet
 bge1: interrupting at ioapic2 pin 1
 bge1: eeprom read timed out
 bge1: failed to read station address

 --=20
     aew

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 30 Jan 2010 18:57:01 +0000
State-Changed-Why:
No such luck. sigh


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.