NetBSD Problem Report #47716

From www@NetBSD.org  Fri Apr  5 06:47:42 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 80E2163F02F
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  5 Apr 2013 06:47:42 +0000 (UTC)
Message-Id: <20130405064741.44C7063F02F@www.NetBSD.org>
Date: Fri,  5 Apr 2013 06:47:41 +0000 (UTC)
From: phileas-fogg@mail.ru
Reply-To: phileas-fogg@mail.ru
To: gnats-bugs@NetBSD.org
Subject: if_bge: NVRAM lock timeout on powerpc
X-Send-Pr-Version: www-1.0

>Number:         47716
>Category:       kern
>Synopsis:       if_bge: NVRAM lock timeout on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    msaitoh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 05 06:50:00 +0000 2013
>Closed-Date:    Thu May 16 03:07:04 +0000 2013
>Last-Modified:  Thu May 16 03:07:04 +0000 2013
>Originator:     Phileas Fogg
>Release:        NetBSD HEAD
>Organization:
>Environment:
NetBSD powerpc/macppc PowerMac G5 32bit

NetBSD 6.99.19 (POWERMAC_G5_11_2) #99: Thu Apr  4 22:12:53 UTC 2013
	root@.intern:/usr/current/obj/sys/arch/macppc/compile/POWERMAC_G5_11_2
>Description:
The commit 1.232 for if_bge.c is the cause on my PowerMac G5
for the error message 'NVRAM lock timedout!' but the card seems to work OK.

bge0: interrupting at irq 66
bge0: NVRAM lock timedout!
bge0: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:78
bge0: setting short Tx thresholds
ukphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
genppc_pci_intr_map: pin: 2, line: 67


bge1: interrupting at irq 67
bge1: NVRAM lock timedout!
bge1: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:79
bge1: setting short Tx thresholds
ukphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto


>How-To-Repeat:
Boot NetBSD HEAD on PowerMac G5.
>Fix:
Revert the commit 1.232

>Release-Note:

>Audit-Trail:
From: Masanobu SAITOH <msaitoh@execsw.org>
To: gnats-bugs@NetBSD.org
Cc: phileas-fogg@mail.ru, kern-bug-people@netbsd.org, 
 gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, msaitoh@execsw.org
Subject: Re: kern/47716: if_bge: NVRAM lock timeout on powerpc
Date: Fri, 05 Apr 2013 16:44:49 +0900

 (2013/04/05 15:50), phileas-fogg@mail.ru wrote:
 >> Number:         47716
 >> Category:       kern
 >> Synopsis:       if_bge: NVRAM lock timeout on powerpc
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       medium
 >> Responsible:    kern-bug-people
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Fri Apr 05 06:50:00 +0000 2013
 >> Originator:     Phileas Fogg
 >> Release:        NetBSD HEAD
 >> Organization:
 >> Environment:
 > NetBSD powerpc/macppc PowerMac G5 32bit
 > 
 > NetBSD 6.99.19 (POWERMAC_G5_11_2) #99: Thu Apr  4 22:12:53 UTC 2013
 > 	root@.intern:/usr/current/obj/sys/arch/macppc/compile/POWERMAC_G5_11_2
 >> Description:
 > The commit 1.232 for if_bge.c is the cause on my PowerMac G5
 > for the error message 'NVRAM lock timedout!' but the card seems to work OK.
 > 
 > bge0: interrupting at irq 66
 > bge0: NVRAM lock timedout!
 > bge0: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:78
 > bge0: setting short Tx thresholds
 > ukphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 > bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
 > genppc_pci_intr_map: pin: 2, line: 67
 > 
 > 
 > bge1: interrupting at irq 67
 > bge1: NVRAM lock timedout!
 > bge1: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:79
 > bge1: setting short Tx thresholds
 > ukphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
 > ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 > 
 > 
 >> How-To-Repeat:
 > Boot NetBSD HEAD on PowerMac G5.
 >> Fix:
 > Revert the commit 1.232

  Could you add "options BGE_DEBUG" or "#define BGE_DEBUG 1" and recompile kernel?
 Could you show me the full dmesg with the kerne?

 > ukphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

 The latest kernel should recognize this phy as brgphy...

 miidevs:
 > oui BROADCOM                    0x001018        Broadcom Corporation
 > model BROADCOM BCM5780          0x0035 BCM5780 1000BASE-T media interface

 brgphy.c:
 >         { MII_OUI_BROADCOM,             MII_MODEL_BROADCOM_BCM5780,
 >           MII_STR_BROADCOM_BCM5780 },



 -- 
 -----------------------------------------------
                 SAITOH Masanobu (msaitoh@execsw.org
                                  msaitoh@netbsd.org)

From: Phileas Fogg <phileas-fogg@mail.ru>
To: gnats-bugs@NetBSD.org
Cc: Masanobu SAITOH <msaitoh@execsw.org>, kern-bug-people@netbsd.org, 
 gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/47716: if_bge: NVRAM lock timeout on powerpc
Date: Fri, 05 Apr 2013 17:12:00 +0200

 On 04/05/2013 09:50 AM, Masanobu SAITOH wrote:
 > The following reply was made to PR kern/47716; it has been noted by GNATS.
 >
 > From: Masanobu SAITOH <msaitoh@execsw.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: phileas-fogg@mail.ru, kern-bug-people@netbsd.org,
 >   gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, msaitoh@execsw.org
 > Subject: Re: kern/47716: if_bge: NVRAM lock timeout on powerpc
 > Date: Fri, 05 Apr 2013 16:44:49 +0900
 >
 >   (2013/04/05 15:50), phileas-fogg@mail.ru wrote:
 >   >> Number:         47716
 >   >> Category:       kern
 >   >> Synopsis:       if_bge: NVRAM lock timeout on powerpc
 >   >> Confidential:   no
 >   >> Severity:       non-critical
 >   >> Priority:       medium
 >   >> Responsible:    kern-bug-people
 >   >> State:          open
 >   >> Class:          sw-bug
 >   >> Submitter-Id:   net
 >   >> Arrival-Date:   Fri Apr 05 06:50:00 +0000 2013
 >   >> Originator:     Phileas Fogg
 >   >> Release:        NetBSD HEAD
 >   >> Organization:
 >   >> Environment:
 >   > NetBSD powerpc/macppc PowerMac G5 32bit
 >   >
 >   > NetBSD 6.99.19 (POWERMAC_G5_11_2) #99: Thu Apr  4 22:12:53 UTC 2013
 >   > 	root@.intern:/usr/current/obj/sys/arch/macppc/compile/POWERMAC_G5_11_2
 >   >> Description:
 >   > The commit 1.232 for if_bge.c is the cause on my PowerMac G5
 >   > for the error message 'NVRAM lock timedout!' but the card seems to work OK.
 >   >
 >   > bge0: interrupting at irq 66
 >   > bge0: NVRAM lock timedout!
 >   > bge0: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:78
 >   > bge0: setting short Tx thresholds
 >   > ukphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
 >   > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 >   > bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
 >   > genppc_pci_intr_map: pin: 2, line: 67
 >   >
 >   >
 >   > bge1: interrupting at irq 67
 >   > bge1: NVRAM lock timedout!
 >   > bge1: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:79
 >   > bge1: setting short Tx thresholds
 >   > ukphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
 >   > ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 >   >
 >   >
 >   >> How-To-Repeat:
 >   > Boot NetBSD HEAD on PowerMac G5.
 >   >> Fix:
 >   > Revert the commit 1.232
 >
 >    Could you add "options BGE_DEBUG" or "#define BGE_DEBUG 1" and recompile kernel?
 >   Could you show me the full dmesg with the kerne?
 >


 I enabled brgphy in my kernel config and BGE_DEBUG too.
 Here is the dmesg:

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
      2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
      The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
      The Regents of the University of California.  All rights reserved.

 NetBSD 6.99.19 (POWERMAC_G5_11_2) #101: Fri Apr  5 17:08:35 UTC 2013
 	root@.intern:/usr/current/obj/sys/arch/macppc/compile/POWERMAC_G5_11_2
 total memory = 3072 MB
 oea_startup: failed to allocate DEAD ZONE: error=12
 avail memory = 1907 MB
 timecounter: Timecounters tick every 10.000 msec
 cprng kernel: WARNING insufficient entropy at creation.
 found U3/U4 HT PIC at f8040000
 OpenPIC Version 1.2: Supports 4 CPUs and 124 interrupt sources.
 bootpath:
 mainbus0 (root)
 cpu0 at mainbus0: 970MP (Revision 1.0), ID 0 (primary)
 cpu0: HID0 , powersave: -1
 cpu1 at mainbus0: ID 1
 cpu1: processor off-line; multiprocessor support not present in kernel
 uninorth0 at mainbus0
 pci0 at uninorth0 bus 10
 pci0: i/o space, memory space enabled
 genfb0 at pci0 dev 0 function 0found EDID property...
 : NVIDIA GeForce 6600 (rev. 0xa2)
 genfb0: framebuffer at 0x98020000, size 1280x1024, depth 8, stride 1536
 wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 drm at genfb0 not configured
 ibmcpc0 at mainbus0
 Mapping in config space @ pa 0xf2000000, size: 0x02800000
 pci1 at ibmcpc0 bus 4
 pci1: i/o space, memory space enabled
 pci2 at ibmcpc0 bus 5
 pci2: i/o space, memory space enabled
 bge0 at pci2 dev 4 function 0: Broadcom BCM5780 Gigabit Ethernet
 genppc_pci_intr_map: pin: 1, line: 66
 bge0: interrupting at irq 66
 bge0: NVRAM lock timedout!
 bge0: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:78
 bge0: setting short Tx thresholds
 brgphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface, rev. 0
 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-FDX, auto
 Hardware Flags:
   - 575X Plus
   - 5705 Plus
   - 5714 Family
   - PCI-X Bus
   - BER bug
 bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
 genppc_pci_intr_map: pin: 2, line: 67
 bge1: interrupting at irq 67
 bge1: NVRAM lock timedout!
 bge1: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:79
 bge1: setting short Tx thresholds
 brgphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface, rev. 0
 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-FDX, auto
 Hardware Flags:
   - 575X Plus
   - 5705 Plus
   - 5714 Family
   - PCI-X Bus
   - BER bug
 pci3 at ibmcpc0 bus 6
 pci3: i/o space, memory space enabled
 pci4 at ibmcpc0 bus 7
 pci4: i/o space, memory space enabled
 pci5 at ibmcpc0 bus 8
 pci5: i/o space, memory space enabled
 pci6 at ibmcpc0 bus 9
 pci6: i/o space, memory space enabled
 pci7 at ibmcpc0 bus 2
 pci7: i/o space, memory space enabled
 Apple Computer Shasta GMAC (ethernet network) at pci7 dev 15 function 0 
 not configured
 pci8 at ibmcpc0 bus 1
 pci8: i/o space, memory space enabled
 Apple Computer Shasta (undefined, subclass 0x00) at pci8 dev 7 function 
 0 not configured
 ohci0 at pci8 dev 11 function 0: NEC USB Host Controller (rev. 0x43)
 csr: 02100006
 genppc_pci_intr_map: pin: 1, line: 70
 ohci0: interrupting at irq 70
 ohci0: OHCI version 1.0
 usb0 at ohci0: USB revision 1.0
 ohci1 at pci8 dev 11 function 1: NEC USB Host Controller (rev. 0x43)
 csr: 02100006
 genppc_pci_intr_map: pin: 2, line: 70
 ohci1: interrupting at irq 70
 ohci1: OHCI version 1.0
 usb1 at ohci1: USB revision 1.0
 ehci0 at pci8 dev 11 function 2: NEC USB2 Host Controller (rev. 0x04)
 genppc_pci_intr_map: pin: 3, line: 70
 ehci0: interrupting at irq 70
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 3 ports each: ohci0 ohci1
 usb2 at ehci0: USB revision 2.0
 pci9 at ibmcpc0 bus 3
 pci9: i/o space, memory space enabled
 svwsata0 at pci9 dev 12 function 0: ServerWorks K2 SATA Controller (rev. 
 0x00)
 svwsata0: I/O access disabled at device
 Apple Computer Shasta ATA (undefined, subclass 0x00) at pci9 dev 13 
 function 0 not configured
 Apple Computer Shasta Firewire (Firewire serial bus, interface 0x10) at 
 pci9 dev 14 function 0 not configured
 vmmask 60000000 schedmask 70000000 highmask 70000000
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "mftb" frequency 33333333 Hz quality 100
 uhub0 at usb0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 3 ports with 3 removable, self powered
 uhub1 at usb1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhub2 at usb2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub2: 5 ports with 5 removable, self powered
 ehci0: handing over low speed device on port 2 to ohci0
 cprng sysctl: WARNING insufficient entropy at creation.
 boot device: cpu0
 md0: internal 25000 KB image area
 root on md0a dumps on md0b
 mountroot: trying nfs...
 mountroot: trying ffs...
 root file system type: ffs
 WARNING: no TOD clock present
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 warning: no /dev/console
 init: copying out path `/sbin/init' 11
 WARNING: module error: vfs load failed for `usbverbose', error 78
 WARNING: module error: vfs load failed for `usbverbose', error 78
 uhidev0 at uhub1 port 1 configuration 1 interface 0
 WARNING: module error: vfs load failed for `usbverbose', error 78
 WARNING: module error: vfs load failed for `usbverbose', error 78
 uhidev0: vendor 0x046a product 0x0011, rev 2.00/1.00, addr 2, iclass 3/1
 ukbd0 at uhidev0: 8 modifier keys, 6 key codes
 WARNING: module error: vfs load failed for `zstty', error 78
 WARNING: module error: vfs load failed for `zstty', error 78
 WARNING: module error: vfs load failed for `if_bge', error 78
 wskbd0 at ukbd0: console keyboard, using wsdisplay0
 wsdisplay0: screen 1 added (default, vt100 emulation)
 wsdisplay0: screen 2 added (default, vt100 emulation)
 wsdisplay0: screen 3 added (default, vt100 emulation)
 wsdisplay0: screen 4 added (default, vt100 emulation)
 cprng 3501d3: WARNING insufficient entropy at creation.
 WARNING: module error: vfs load failed for `zstty', error 78

From: Phileas Fogg <phileas-fogg@mail.ru>
To: gnats-bugs@NetBSD.org
Cc: Masanobu SAITOH <msaitoh@execsw.org>, kern-bug-people@netbsd.org, 
 gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/47716: if_bge: NVRAM lock timeout on powerpc
Date: Fri, 05 Apr 2013 17:23:42 +0200

 On 04/05/2013 09:50 AM, Masanobu SAITOH wrote:
 > The following reply was made to PR kern/47716; it has been noted by GNATS.
 >
 > From: Masanobu SAITOH <msaitoh@execsw.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: phileas-fogg@mail.ru, kern-bug-people@netbsd.org,
 >   gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, msaitoh@execsw.org
 > Subject: Re: kern/47716: if_bge: NVRAM lock timeout on powerpc
 > Date: Fri, 05 Apr 2013 16:44:49 +0900
 >
 >   (2013/04/05 15:50), phileas-fogg@mail.ru wrote:
 >   >> Number:         47716
 >   >> Category:       kern
 >   >> Synopsis:       if_bge: NVRAM lock timeout on powerpc
 >   >> Confidential:   no
 >   >> Severity:       non-critical
 >   >> Priority:       medium
 >   >> Responsible:    kern-bug-people
 >   >> State:          open
 >   >> Class:          sw-bug
 >   >> Submitter-Id:   net
 >   >> Arrival-Date:   Fri Apr 05 06:50:00 +0000 2013
 >   >> Originator:     Phileas Fogg
 >   >> Release:        NetBSD HEAD
 >   >> Organization:
 >   >> Environment:
 >   > NetBSD powerpc/macppc PowerMac G5 32bit
 >   >
 >   > NetBSD 6.99.19 (POWERMAC_G5_11_2) #99: Thu Apr  4 22:12:53 UTC 2013
 >   > 	root@.intern:/usr/current/obj/sys/arch/macppc/compile/POWERMAC_G5_11_2
 >   >> Description:
 >   > The commit 1.232 for if_bge.c is the cause on my PowerMac G5
 >   > for the error message 'NVRAM lock timedout!' but the card seems to work OK.
 >   >
 >   > bge0: interrupting at irq 66
 >   > bge0: NVRAM lock timedout!
 >   > bge0: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:78
 >   > bge0: setting short Tx thresholds
 >   > ukphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
 >   > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 >   > bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
 >   > genppc_pci_intr_map: pin: 2, line: 67
 >   >
 >   >
 >   > bge1: interrupting at irq 67
 >   > bge1: NVRAM lock timedout!
 >   > bge1: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:79
 >   > bge1: setting short Tx thresholds
 >   > ukphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface (OUI 0x001018, model 0x0035), rev. 0
 >   > ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 >   >
 >   >
 >   >> How-To-Repeat:
 >   > Boot NetBSD HEAD on PowerMac G5.
 >   >> Fix:
 >   > Revert the commit 1.232
 >
 >    Could you add "options BGE_DEBUG" or "#define BGE_DEBUG 1" and recompile kernel?
 >   Could you show me the full dmesg with the kerne?
 >


 ANd here is dmesg with bgedebug = 5


 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
      2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
      The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
      The Regents of the University of California.  All rights reserved.

 NetBSD 6.99.19 (POWERMAC_G5_11_2) #103: Fri Apr  5 17:20:27 UTC 2013
 	root@.intern:/usr/current/obj/sys/arch/macppc/compile/POWERMAC_G5_11_2
 total memory = 3072 MB
 oea_startup: failed to allocate DEAD ZONE: error=12
 avail memory = 1907 MB
 timecounter: Timecounters tick every 10.000 msec
 cprng kernel: WARNING insufficient entropy at creation.
 found U3/U4 HT PIC at f8040000
 OpenPIC Version 1.2: Supports 4 CPUs and 124 interrupt sources.
 bootpath:
 mainbus0 (root)
 cpu0 at mainbus0: 970MP (Revision 1.0), ID 0 (primary)
 cpu0: HID0 , powersave: -1
 cpu1 at mainbus0: ID 1
 cpu1: processor off-line; multiprocessor support not present in kernel
 uninorth0 at mainbus0
 pci0 at uninorth0 bus 10
 pci0: i/o space, memory space enabled
 genfb0 at pci0 dev 0 function 0found EDID property...
 : NVIDIA GeForce 6600 (rev. 0xa2)
 genfb0: framebuffer at 0x98020000, size 1280x1024, depth 8, stride 1536
 wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 drm at genfb0 not configured
 ibmcpc0 at mainbus0
 Mapping in config space @ pa 0xf2000000, size: 0x02800000
 pci1 at ibmcpc0 bus 4
 pci1: i/o space, memory space enabled
 pci2 at ibmcpc0 bus 5
 pci2: i/o space, memory space enabled
 bge0 at pci2 dev 4 function 0: Broadcom BCM5780 Gigabit Ethernet
 Map control/status regs
 pci_mem_find
 pci_intr_map
 genppc_pci_intr_map: pin: 1, line: 66
 pci_intr_string
 pci_intr_establish
 bge0: interrupting at irq 66
 bge0: NVRAM lock timedout!
 (:bge0: PCI-X DMA setting)
 bge0: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:78
 bus_dmamem_alloc
 bus_dmamem_map
 bus_dmamem_create
 bus_dmamem_load
 bzero
 bge0: setting short Tx thresholds
 strcpy if_xname
 mii setup
 brgphy0 at bge0 phy 1: BCM5780 1000BASE-T media interface, rev. 0
 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-FDX, auto
 if_attach
 ether_ifattach
 callout_init
 Hardware Flags:
   - 575X Plus
   - 5705 Plus
   - 5714 Family
   - PCI-X Bus
   - BER bug
 bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
 Map control/status regs
 pci_mem_find
 pci_intr_map
 genppc_pci_intr_map: pin: 2, line: 67
 pci_intr_string
 pci_intr_establish
 bge1: interrupting at irq 67
 bge1: NVRAM lock timedout!
 (:bge1: PCI-X DMA setting)
 bge1: ASIC BCM5714 B3 (0x8003), Ethernet address 00:14:51:62:09:79
 bus_dmamem_alloc
 bus_dmamem_map
 bus_dmamem_create
 bus_dmamem_load
 bzero
 bge1: setting short Tx thresholds
 strcpy if_xname
 mii setup
 brgphy1 at bge1 phy 1: BCM5780 1000BASE-T media interface, rev. 0
 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-FDX, auto
 if_attach
 ether_ifattach
 callout_init
 Hardware Flags:
   - 575X Plus
   - 5705 Plus
   - 5714 Family
   - PCI-X Bus
   - BER bug
 pci3 at ibmcpc0 bus 6
 pci3: i/o space, memory space enabled
 pci4 at ibmcpc0 bus 7
 pci4: i/o space, memory space enabled
 pci5 at ibmcpc0 bus 8
 pci5: i/o space, memory space enabled
 pci6 at ibmcpc0 bus 9
 pci6: i/o space, memory space enabled
 pci7 at ibmcpc0 bus 2
 pci7: i/o space, memory space enabled
 Apple Computer Shasta GMAC (ethernet network) at pci7 dev 15 function 0 
 not configured
 pci8 at ibmcpc0 bus 1
 pci8: i/o space, memory space enabled
 Apple Computer Shasta (undefined, subclass 0x00) at pci8 dev 7 function 
 0 not configured
 ohci0 at pci8 dev 11 function 0: NEC USB Host Controller (rev. 0x43)
 csr: 02100006
 genppc_pci_intr_map: pin: 1, line: 70
 ohci0: interrupting at irq 70
 ohci0: OHCI version 1.0
 usb0 at ohci0: USB revision 1.0
 ohci1 at pci8 dev 11 function 1: NEC USB Host Controller (rev. 0x43)
 csr: 02100006
 genppc_pci_intr_map: pin: 2, line: 70
 ohci1: interrupting at irq 70
 ohci1: OHCI version 1.0
 usb1 at ohci1: USB revision 1.0
 ehci0 at pci8 dev 11 function 2: NEC USB2 Host Controller (rev. 0x04)
 genppc_pci_intr_map: pin: 3, line: 70
 ehci0: interrupting at irq 70
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 3 ports each: ohci0 ohci1
 usb2 at ehci0: USB revision 2.0
 pci9 at ibmcpc0 bus 3
 pci9: i/o space, memory space enabled
 svwsata0 at pci9 dev 12 function 0: ServerWorks K2 SATA Controller (rev. 
 0x00)
 svwsata0: I/O access disabled at device
 Apple Computer Shasta ATA (undefined, subclass 0x00) at pci9 dev 13 
 function 0 not configured
 Apple Computer Shasta Firewire (Firewire serial bus, interface 0x10) at 
 pci9 dev 14 function 0 not configured
 vmmask 60000000 schedmask 70000000 highmask 70000000
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "mftb" frequency 33333333 Hz quality 100
 uhub0 at usb0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 3 ports with 3 removable, self powered
 uhub1 at usb1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 uhub2 at usb2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub2: 5 ports with 5 removable, self powered
 ehci0: handing over low speed device on port 2 to ohci0
 cprng sysctl: WARNING insufficient entropy at creation.
 boot device: cpu0
 md0: internal 25000 KB image area
 root on md0a dumps on md0b
 mountroot: trying nfs...
 mountroot: trying ffs...
 root file system type: ffs
 WARNING: no TOD clock present
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 warning: no /dev/console
 init: copying out path `/sbin/init' 11
 WARNING: module error: vfs load failed for `usbverbose', error 78
 WARNING: module error: vfs load failed for `usbverbose', error 78
 uhidev0 at uhub1 port 1 configuration 1 interface 0
 WARNING: module error: vfs load failed for `usbverbose', error 78
 WARNING: module error: vfs load failed for `usbverbose', error 78
 uhidev0: vendor 0x046a product 0x0011, rev 2.00/1.00, addr 2, iclass 3/1
 ukbd0 at uhidev0: 8 modifier keys, 6 key codes
 WARNING: module error: vfs load failed for `zstty', error 78
 WARNING: module error: vfs load failed for `zstty', error 78
 WARNING: module error: vfs load failed for `if_bge', error 78
 (:bge0: PCI-X DMA setting)
 wskbd0 at ukbd0: console keyboard, using wsdisplay0
 (:bge1: PCI-X DMA setting)
 wsdisplay0: screen 1 added (default, vt100 emulation)
 wsdisplay0: screen 2 added (default, vt100 emulation)
 wsdisplay0: screen 3 added (default, vt100 emulation)
 wsdisplay0: screen 4 added (default, vt100 emulation)
 cprng 3621d3: WARNING insufficient entropy at creation.
 WARNING: module error: vfs load failed for `zstty', error 78


From: "SAITOH Masanobu" <msaitoh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47716 CVS commit: src/sys/dev/pci
Date: Mon, 8 Apr 2013 01:59:12 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Mon Apr  8 01:59:11 UTC 2013

 Modified Files:
 	src/sys/dev/pci: if_bge.c

 Log Message:
  Temporary disable the NVRAM locking stuff for PR#47716.
 I'll get PowerMac G5 in a few days and will fix correctly.


 To generate a diff of this commit:
 cvs rdiff -u -r1.232 -r1.233 src/sys/dev/pci/if_bge.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "SAITOH Masanobu" <msaitoh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47716 CVS commit: src/sys/dev/pci
Date: Mon, 13 May 2013 17:08:20 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Mon May 13 17:08:20 UTC 2013

 Modified Files:
 	src/sys/dev/pci: if_bge.c

 Log Message:
  Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind().
 Fixes PR#47716.

  Re-enable NVRAM lock stuff again (i.e. revert rev. 1.233).


 To generate a diff of this commit:
 cvs rdiff -u -r1.242 -r1.243 src/sys/dev/pci/if_bge.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: kern-bug-people->msaitoh
Responsible-Changed-By: msaitoh@NetBSD.org
Responsible-Changed-When: Mon, 13 May 2013 17:19:26 +0000
Responsible-Changed-Why:
mine.


State-Changed-From-To: open->feedback
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Mon, 13 May 2013 17:19:26 +0000
State-Changed-Why:
Hi, Phileas! I fixed this problem. Tested by my G5.
Colud you verify with your machine?


State-Changed-From-To: feedback->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Thu, 16 May 2013 03:07:04 +0000
State-Changed-Why:
Submitter reported this problem was fixed.


>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.