NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47716: if_bge: NVRAM lock timeout on powerpc



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@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: phileas-fogg%mail.ru@localhost, kern-bug-people%netbsd.org@localhost,
  gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
msaitoh%execsw.org@localhost
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@localhost 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



Home | Main Index | Thread Index | Old Index