NetBSD Problem Report #47634

From ryo_on@yk.rim.or.jp  Fri Mar  8 21:12:22 2013
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 3790563F07F
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 Mar 2013 21:12:22 +0000 (UTC)
Message-Id: <20130308211207.03700DF4E1@mail.SiriusCloud.jp>
Date: Sat,  9 Mar 2013 06:12:06 +0900 (JST)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Broadcom BCM57762 Gigabit Ethernet (bge0) does not work anymore
X-Send-Pr-Version: 3.95

>Number:         47634
>Category:       kern
>Synopsis:       Broadcom BCM57762 Gigabit Ethernet (bge0) does not work anymore
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 08 21:15:00 +0000 2013
>Closed-Date:    Fri Oct 11 17:43:07 +0000 2019
>Last-Modified:  Fri Oct 11 17:43:07 +0000 2019
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.17
>Organization:

>Environment:


System: NetBSD tellurium.elements.tetera.org 6.99.17 NetBSD 6.99.17 (NODKWEDGE2) #0: Sat Mar 9 05:47:39 JST 2013 root@tellurium.elements.tetera.org:/usr/obj/sys/arch/amd64/compile/NODKWEDGE2 amd64
Architecture: x86_64
Machine: amd64
>Description:
With today's kernel, bge0 (Broadcom BCM57762 Gigabit Ethernet) does not
work anymore.
With 2013-02-27's kernel, bge0 (Broadcom BCM57762 Gigabit Ethernet) works fine.

Error message is here.

bge0: watchdog timeout -- resetting
bge0: block failed to stop: reg 0xc00, bit 0x00000002


And dmesg of bge part is following.

ppb7 at pci7 dev 0 function 0WARNING: module error: vfs load failed 45 for `pciv
erbose'
WARNING: module error: vfs load failed 45 for `pciverbose'
: vendor 0x8086 product 0x1549 (rev. 0x00)
ppb7: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 5.0Gb/s
ppb7: link is x1 @ 2.5Gb/s
pci8 at ppb7 bus 8
pci8: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci8 dev 0 function 0: Broadcom BCM57762 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 19
bge0: ASIC unknown BCM57766 (0x57766000), Ethernet address 40:6c:8f:58:6c:c5
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM57765 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

>How-To-Repeat:

# dhcpcd bge0
bge0: watchdog timeout -- resetting
bge0: block failed to stop: reg 0xc00, bit 0x00000002

>Fix:

I have no idea.

>Release-Note:

>Audit-Trail:
From: Masanobu SAITOH <msaitoh@execsw.org>
To: gnats-bugs@NetBSD.org
Cc: ryoon@NetBSD.org, kern-bug-people@netbsd.org, gnats-admin@netbsd.org, 
 netbsd-bugs@netbsd.org, msaitoh@execsw.org
Subject: Re: kern/47634: Broadcom BCM57762 Gigabit Ethernet (bge0) does not
 work anymore
Date: Sat, 09 Mar 2013 11:21:54 +0900

 (2013/03/09 6:15), ryoon@NetBSD.org wrote:
 >> Number:         47634
 >> Category:       kern
 >> Synopsis:       Broadcom BCM57762 Gigabit Ethernet (bge0) does not work anymore
 >> Confidential:   no
 >> Severity:       serious
 >> Priority:       medium
 >> Responsible:    kern-bug-people
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Fri Mar 08 21:15:00 +0000 2013
 >> Originator:     Ryo ONODERA
 >> Release:        NetBSD 6.99.17
 >> Organization:
 > 	
 >> Environment:
 > 	
 > 	
 > System: NetBSD tellurium.elements.tetera.org 6.99.17 NetBSD 6.99.17 (NODKWEDGE2) #0: Sat Mar 9 05:47:39 JST 2013 root@tellurium.elements.tetera.org:/usr/obj/sys/arch/amd64/compile/NODKWEDGE2 amd64
 > Architecture: x86_64
 > Machine: amd64
 >> Description:
 > With today's kernel, bge0 (Broadcom BCM57762 Gigabit Ethernet) does not
 > work anymore.
 > With 2013-02-27's kernel, bge0 (Broadcom BCM57762 Gigabit Ethernet) works fine.
 > 
 > Error message is here.
 > 
 > bge0: watchdog timeout -- resetting
 > bge0: block failed to stop: reg 0xc00, bit 0x00000002
 > 
 > 
 > And dmesg of bge part is following.
 > 
 > ppb7 at pci7 dev 0 function 0WARNING: module error: vfs load failed 45 for `pciv
 > erbose'
 > WARNING: module error: vfs load failed 45 for `pciverbose'
 > : vendor 0x8086 product 0x1549 (rev. 0x00)
 > ppb7: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 5.0Gb/s
 > ppb7: link is x1 @ 2.5Gb/s
 > pci8 at ppb7 bus 8
 > pci8: i/o space, memory space enabled, rd/line, wr/inv ok
 > bge0 at pci8 dev 0 function 0: Broadcom BCM57762 Gigabit Ethernet
 > bge0: interrupting at ioapic0 pin 19
 > bge0: ASIC unknown BCM57766 (0x57766000), Ethernet address 40:6c:8f:58:6c:c5
 > bge0: setting short Tx thresholds
 > brgphy0 at bge0 phy 1: BCM57765 1000BASE-T media interface, rev. 0
 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 > 	
 >> How-To-Repeat:
 > 
 > # dhcpcd bge0
 > bge0: watchdog timeout -- resetting
 > bge0: block failed to stop: reg 0xc00, bit 0x00000002
 > 	
 >> Fix:
 > 	
 > I have no idea.
 > 
 >> Unformatted:

  I have no BCM57765. Could you test with if_bge.c rev. 1.210 and rev. 1.209?
 Perhaps either rev. 1.210 or rev. 1.211 made break for BCM57765.

  I'll checf if we have to add some more workaroud for BCM57765.




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

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/47634: Broadcom BCM57762 Gigabit Ethernet (bge0) does not
 work anymore
Date: Sat, 09 Mar 2013 20:55:19 +0900 (JST)

 Hi,

 >  I have no BCM57765. Could you test with if_bge.c rev. 1.210 and rev. 1.209?
 > Perhaps either rev. 1.210 or rev. 1.211 made break for BCM57765.
 > 
 >  I'll checf if we have to add some more workaroud for BCM57765.

 It seems that if_bge.c is not related to my problem.
 Reverting sys/kern/kern_runq.c to 1.36 solves my problem.
 Today's tree with rev. 1.36 of sys/kern/kern_runq.c works fine.

 But I do not know the relation between kern_runq.c and BCM57765.

 === === === === === === === === === === === === === === === ===
 Module Name:	src
 Committed By:	yamt
 Date:		Wed Mar  6 11:25:01 UTC 2013

 Modified Files:
 	src/sys/kern: kern_runq.c

 Log Message:
 - use scaled calculations for avgcount
 - sched_balance: account lwp which is currently running
 - sched_balance: skip cpus w/o migratable lwps


 To generate a diff of this commit:
 cvs rdiff -u -r1.36 -r1.37 src/sys/kern/kern_runq.c
 === === === === === === === === === === === === === === === ===

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/47634: Broadcom BCM57762 Gigabit Ethernet (bge0) does not
 work anymore
Date: Wed, 13 Mar 2013 02:04:15 +0900 (JST)

 Hi,

 My previous e-mail's English is bad.

 Could someone revert kern_runq.c to 1.36?
 According to my git bisect like investigation, 1.37 of kern_runq.c breaks
 the support for my BCM57765.

 Thank you.

 From: Ryo ONODERA <ryo_on@yk.rim.or.jp>, Date: Sat, 09 Mar 2013 20:55:19 +0900 (JST)

 > Hi,
 > 
 >>  I have no BCM57765. Could you test with if_bge.c rev. 1.210 and rev. 1.209?
 >> Perhaps either rev. 1.210 or rev. 1.211 made break for BCM57765.
 >> 
 >>  I'll checf if we have to add some more workaroud for BCM57765.
 > 
 > It seems that if_bge.c is not related to my problem.
 > Reverting sys/kern/kern_runq.c to 1.36 solves my problem.
 > Today's tree with rev. 1.36 of sys/kern/kern_runq.c works fine.
 > 
 > But I do not know the relation between kern_runq.c and BCM57765.
 > 
 > === === === === === === === === === === === === === === === ===
 > Module Name:	src
 > Committed By:	yamt
 > Date:		Wed Mar  6 11:25:01 UTC 2013
 > 
 > Modified Files:
 > 	src/sys/kern: kern_runq.c
 > 
 > Log Message:
 > - use scaled calculations for avgcount
 > - sched_balance: account lwp which is currently running
 > - sched_balance: skip cpus w/o migratable lwps
 > 
 > 
 > To generate a diff of this commit:
 > cvs rdiff -u -r1.36 -r1.37 src/sys/kern/kern_runq.c
 > === === === === === === === === === === === === === === === ===
 > 
 > --
 > Ryo ONODERA // ryo_on@yk.rim.or.jp
 > PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/47634: Broadcom BCM57762 Gigabit Ethernet (bge0) does not
 work anymore
Date: Tue, 12 Mar 2013 23:11:14 +0000 (UTC)

 hi,

 > Error message is here.
 > 
 > bge0: watchdog timeout -- resetting
 > bge0: block failed to stop: reg 0xc00, bit 0x00000002

 do you mean that this message is caused by kern_runq.c 1.37?

 > And dmesg of bge part is following.

 can you provide the full dmesg?

 YAMAMOTO Takashi

From: "YAMAMOTO Takashi" <yamt@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47634 CVS commit: src/sys/kern
Date: Tue, 12 Mar 2013 23:16:31 +0000

 Module Name:	src
 Committed By:	yamt
 Date:		Tue Mar 12 23:16:31 UTC 2013

 Modified Files:
 	src/sys/kern: kern_runq.c

 Log Message:
 revert rev.1.37 for now.

 PR/47634 from Ryo ONODERA.
 while i have no idea how this change can break bge,
 i don't have hardware and/or time to investigate right now.


 To generate a diff of this commit:
 cvs rdiff -u -r1.37 -r1.38 src/sys/kern/kern_runq.c

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

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: yamt@mwd.biglobe.ne.jp
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/47634: Broadcom BCM57762 Gigabit Ethernet (bge0) does not
 work anymore
Date: Wed, 13 Mar 2013 12:08:54 +0900 (JST)

 Hi,

 From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi), Date: Tue, 12 Mar 2013 23:11:14 +0000 (UTC)

 > hi,
 > 
 >> Error message is here.
 >> 
 >> bge0: watchdog timeout -- resetting
 >> bge0: block failed to stop: reg 0xc00, bit 0x00000002
 > 
 > do you mean that this message is caused by kern_runq.c 1.37?

 Yes.
 But I cannot understand why the changes in kern_runq.c break
 bge interface.

 >> And dmesg of bge part is following.
 > 
 > can you provide the full 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.17 (NODKWEDGE2) #22: Wed Mar 13 11:56:03 JST 2013
 	root@tellurium.elements.tetera.org:/usr/obj/sys/arch/amd64/compile/NODKWEDGE2
 total memory = 4002 MB
 avail memory = 3870 MB
 timecounter: Timecounters tick every 10.000 msec
 RTC BIOS diagnostic error 0xff<clock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 Apple Inc. MacBookAir5,1 (1.0)
 mainbus0 (root)
 cpu0 at mainbus0 apid 0: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
 cpu1 at mainbus0 apid 2: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
 cpu2 at mainbus0 apid 1: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
 cpu3 at mainbus0 apid 3: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz, id 0x306a9
 ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
 acpi0 at mainbus0: Intel ACPICA 20110623
 acpi0: X/RSDT: OemId <APPLE , Apple00,00000000>, AslId <    ,01000013>
 acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
 ioapic0 reenabling
 acpi0: SCI interrupting at int 9
 timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
 hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
 acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
 acpivga0 at acpi0 (IGPU): ACPI Display Adapter
 acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
 acpiout1 at acpivga0 (DD02, 0x0400): ACPI Display Output Device
 acpiout1: brightness levels: 0 7 13 20 27 33 40 47 53 60 67 73 80 87 93 100
 acpiout2 at acpivga0 (DD03, 0x0200): ACPI Display Output Device
 acpiout3 at acpivga0 (DD04, 0x0004): ACPI Display Output Device
 acpiout4 at acpivga0 (DD05, 0x0005): ACPI Display Output Device
 acpiout5 at acpivga0 (DD06, 0x0006): ACPI Display Output Device
 acpiout6 at acpivga0 (DD07, 0x0007): ACPI Display Output Device
 acpiout7 at acpivga0 (DD08, 0x0008): ACPI Display Output Device
 acpivga0: unknown output device acpiout0
 acpivga0: unknown output device acpiout2
 acpivga0: unknown output device acpiout3
 acpivga0: unknown output device acpiout4
 acpivga0: unknown output device acpiout5
 acpivga0: unknown output device acpiout6
 acpivga0: unknown output device acpiout7
 acpivga0: connected output devices:
 acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
 FWHD (INT0800) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 LDRC (PNP0C02) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53
 SMC (APP0001) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 ALS0 (ACPI0008) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 SBS0 (ACPI0002) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 PDRC (PNP0C02) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
 acpiacad0 at acpi0 (ADP1, ACPI0003): ACPI AC Adapter
 acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
 acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 PNLF (APP0002) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
 MEM2 (PNP0C01) WARNING: module error: vfs load failed for `acpiverbose', error 45
 at acpi0 not configured
 WARNING: module error: vfs load failed for `acpiverbose', error 45
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x0154 (rev. 0x09)
 vga0 at pci0 dev 2 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x0166 (rev. 0x09)
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 drm at vga0 not configured
 WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 vendor 0x8086 product 0x1e31 (USB serial bus, interface 0x30, revision 0x04) at pci0 dev 20 function 0 not configured
 WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 vendor 0x8086 product 0x1e3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
 ehci0 at pci0 dev 26 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e2d (rev. 0x04)
 ehci0: interrupting at ioapic0 pin 23
 WARNING: module error: vfs load failed for `pciverbose', error 45
 ehci0: EHCI version 1.0
 usb0 at ehci0: USB revision 2.0
 hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 hdaudio0: interrupting at ioapic0 pin 22
 hdafg0 at hdaudio0: vendor 1013 product 4206
 hdafg0: ADC00 2ch: Mic In [Built-In]
 hdafg0: DAC01 2ch: Speaker [Built-In]
 hdafg0: DAC02 2ch: HP Out [Jack]
 hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 PCM32 AC3
 audio0 at hdafg0: full duplex, playback, capture, independent
 hdafg1 at hdaudio0: Intel product 2806
 hdafg1: duplicate pin in association
 hdafg1: duplicate pin in association
 hdafg1: 0ch/0ch 48000Hz PCM16*
 ppb0 at pci0 dev 28 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e10 (rev. 0xc4)
 ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb1 at pci0 dev 28 function 1WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e12 (rev. 0xc4)
 ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
 ppb1: link is x1 @ 2.5Gb/s
 pci2 at ppb1 bus 2
 pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 vendor 0x14e4 product 0x4353 (miscellaneous network, revision 0x01) at pci2 dev 0 function 0 not configured
 ppb2 at pci0 dev 28 function 4WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e18 (rev. 0xc4)
 ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex> x4 @ 5.0Gb/s
 pci3 at ppb2 bus 3
 pci3: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb3 at pci3 dev 0 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1547 (rev. 0x03)
 ppb3: PCI Express 2.0 <Upstream Port of PCI-E Switch>
 pci4 at ppb3 bus 4
 pci4: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb4 at pci4 dev 0 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1547 (rev. 0x03)
 ppb4: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
 pci5 at ppb4 bus 5
 pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 vendor 0x8086 product 0x1547 (miscellaneous system, revision 0x03) at pci5 dev 0 function 0 not configured
 ppb5 at pci4 dev 3 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1547 (rev. 0x03)
 ppb5: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
 pci6 at ppb5 bus 6
 pci6: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb6 at pci6 dev 0 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1549 (rev. 0x00)
 ppb6: PCI Express 2.0 <Upstream Port of PCI-E Switch>
 pci7 at ppb6 bus 7
 pci7: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb7 at pci7 dev 0 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1549 (rev. 0x00)
 ppb7: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 5.0Gb/s
 ppb7: link is x1 @ 2.5Gb/s
 pci8 at ppb7 bus 8
 pci8: i/o space, memory space enabled, rd/line, wr/inv ok
 bge0 at pci8 dev 0 function 0: Broadcom BCM57762 Gigabit Ethernet
 bge0: interrupting at ioapic0 pin 19
 bge0: ASIC unknown BCM57766 (0x57766000), Ethernet address 40:6c:8f:58:6c:c5
 bge0: setting short Tx thresholds
 brgphy0 at bge0 phy 1: BCM57765 1000BASE-T media interface, rev. 0
 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 ppb8 at pci4 dev 4 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1547 (rev. 0x03)
 ppb8: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
 pci9 at ppb8 bus 55
 pci9: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb9 at pci4 dev 5 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1547 (rev. 0x03)
 ppb9: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
 pci10 at ppb9 bus 104
 pci10: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb10 at pci4 dev 6 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1547 (rev. 0x03)
 ppb10: PCI Express 2.0 <Downstream Port of PCI-E Switch> x4 @ 2.5Gb/s
 pci11 at ppb10 bus 105
 pci11: i/o space, memory space enabled, rd/line, wr/inv ok
 ehci1 at pci0 dev 29 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e26 (rev. 0x04)
 ehci1: interrupting at ioapic0 pin 22
 WARNING: module error: vfs load failed for `pciverbose', error 45
 ehci1: EHCI version 1.0
 usb1 at ehci1: USB revision 2.0
 ichlpcib0 at pci0 dev 31 function 0WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e56 (rev. 0x04)
 timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
 ichlpcib0: 24-bit timer
 ichlpcib0: TCO timer reboot disabled by hardware; hope SMBIOS properly handles it.
 ichlpcib0: TCO (watchdog) timer configured.
 ahcisata0 at pci0 dev 31 function 2WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e03 (rev. 0x04)
 ahcisata0: interrupting at ioapic0 pin 19
 ahcisata0: 64-bit DMA
 ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xc730ff45<EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SALP,SNCQ,S64A>
 atabus0 at ahcisata0 channel 0
 ichsmb0 at pci0 dev 31 function 3WARNING: module error: vfs load failed for `pciverbose', error 45
 WARNING: module error: vfs load failed for `pciverbose', error 45
 : vendor 0x8086 product 0x1e22 (rev. 0x04)
 ichsmb0: interrupting at ioapic0 pin 18
 iic0 at ichsmb0: I2C bus
 isa0 at ichlpcib0
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 sysbeep0 at pcppi0
 attimer1: attached to pcppi0
 acpicpu0 at cpu0: ACPI CPU
 acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
 acpicpu0: C2: FFH, lat 148 us, pow   500 mW
 acpicpu0: C3: FFH, lat 198 us, pow   200 mW
 acpicpu0: P0: FFH, lat  10 us, pow 17000 mW, 1701 MHz, turbo boost
 acpicpu0: P1: FFH, lat  10 us, pow 17000 mW, 1700 MHz
 acpicpu0: P2: FFH, lat  10 us, pow 15798 mW, 1600 MHz
 acpicpu0: P3: FFH, lat  10 us, pow 14620 mW, 1500 MHz
 acpicpu0: P4: FFH, lat  10 us, pow 13467 mW, 1400 MHz
 acpicpu0: P5: FFH, lat  10 us, pow 12337 mW, 1300 MHz
 acpicpu0: P6: FFH, lat  10 us, pow 11231 mW, 1200 MHz
 acpicpu0: P7: FFH, lat  10 us, pow 10150 mW, 1100 MHz
 acpicpu0: P8: FFH, lat  10 us, pow  9090 mW, 1000 MHz
 acpicpu0: P9: FFH, lat  10 us, pow  8053 mW,  900 MHz
 acpicpu0: P10: FFH, lat  10 us, pow  7192 mW,  800 MHz
 acpicpu0: T0: FFH, lat   1 us, pow  7192 mW, 100 %
 acpicpu0: T1: FFH, lat   1 us, pow  6712 mW,  94 %
 acpicpu0: T2: FFH, lat   1 us, pow  6233 mW,  88 %
 acpicpu0: T3: FFH, lat   1 us, pow  5753 mW,  82 %
 acpicpu0: T4: FFH, lat   1 us, pow  5274 mW,  75 %
 acpicpu0: T5: FFH, lat   1 us, pow  4794 mW,  69 %
 acpicpu0: T6: FFH, lat   1 us, pow  4315 mW,  63 %
 acpicpu0: T7: FFH, lat   1 us, pow  3835 mW,  57 %
 acpicpu0: T8: FFH, lat   1 us, pow  3356 mW,  50 %
 acpicpu0: T9: FFH, lat   1 us, pow  2876 mW,  44 %
 acpicpu0: T10: FFH, lat   1 us, pow  2397 mW,  38 %
 acpicpu0: T11: FFH, lat   1 us, pow  1917 mW,  32 %
 acpicpu0: T12: FFH, lat   1 us, pow  1438 mW,  25 %
 acpicpu0: T13: FFH, lat   1 us, pow   958 mW,  19 %
 acpicpu0: T14: FFH, lat   1 us, pow   479 mW,  13 %
 coretemp0 at cpu0: thermal sensor, 1 C resolution
 acpicpu1 at cpu1: ACPI CPU
 coretemp1 at cpu1: thermal sensor, 1 C resolution
 acpicpu2 at cpu2: ACPI CPU
 acpicpu3 at cpu3: ACPI CPU
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "TSC" frequency 1696232920 Hz quality 3000
 acpiacad0: AC adapter online.
 uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 ahcisata0 port 0: device present, speed: 6.0Gb/s
 wd0 at atabus0 drive 0
 wd0: <APPLE SSD TS128E>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 113 GB, 235097 cyl, 16 head, 63 sec, 512 bytes/sect x 236978176 sectors
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
 WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 uhub2 at uhub0 port 1WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 : vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
 uhub2: single transaction translator
 WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 uhub3 at uhub1 port 1WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 : vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
 uhub3: single transaction translator
 uhub2: 6 ports with 5 removable, self powered
 uhub3: 8 ports with 7 removable, self powered
 uplcom0 at uhub3 port 1
 uplcom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 3
 ucom0 at uplcom0
 uvideo0 at uhub2 port 1 configuration 1 interface 0: Apple Inc. FaceTime HD Camera (Built-in), rev 2.00/80.25, addr 3
 video0 at uvideo0: Apple Inc. FaceTime HD Camera (Built-in), rev 2.00/80.25, addr 3
 run0 at uhub3 port 2
 run0: Ralink 802.11 n WLAN, rev 2.00/1.01, addr 4
 run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address 10:6f:3f:a9:f6:14
 run0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 run0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 uhub4 at uhub3 port 8WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 : vendor 0x0424 product 0x2512, class 9/0, rev 2.00/b.b3, addr 5
 uhub4: multiple transaction translators
 uhub4: 2 ports with 0 removable, self powered
 uhub5 at uhub4 port 1: Apple Inc. BRCM20702 Hub, class 9/0, rev 2.00/1.00, addr 6
 uhub5: 3 ports with 0 removable, self powered
 WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 uhidev0 at uhub5 port 1 configuration 1 interface 0
 WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 uhidev0: vendor 0x05ac product 0x820a, rev 2.00/1.00, addr 7, iclass 3/1
 uhidev0: 1 report ids
 ukbd0 at uhidev0 reportid 1: 8 modifier keys, 6 key codes
 wskbd0 at ukbd0: console keyboard, using wsdisplay0
 WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 uhidev1 at uhub5 port 2 configuration 1 interface 0
 WARNING: module error: vfs load failed for `usbverbose', error 45
 WARNING: module error: vfs load failed for `usbverbose', error 45
 uhidev1: vendor 0x05ac product 0x820b, rev 2.00/1.00, addr 8, iclass 3/1
 uhidev1: 2 report ids
 ums0 at uhidev1 reportid 2: 3 buttons
 wsmouse0 at ums0 mux 0
 ubt0 at uhub5 port 3
 ubt0: Apple Inc. Bluetooth USB Host Controller, rev 2.00/1.00, addr 9
 uhidev2 at uhub4 port 2 configuration 1 interface 0
 uhidev2: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 10, iclass 3/1
 uhidev2: 9 report ids
 ukbd1 at uhidev2 reportid 1: 8 modifier keys, 6 key codes, apple fn key
 wskbd1 at ukbd1 mux 1
 wskbd1: connecting to wsdisplay0
 uhid0 at uhidev2 reportid 9: input=0, output=0, feature=3
 uhidev3 at uhub4 port 2 configuration 1 interface 1
 uhidev3: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 10, iclass 3/0
 uhidev3: 68 report ids
 uhid1 at uhidev3 reportid 68: input=511, output=0, feature=0
 uhidev4 at uhub4 port 2 configuration 1 interface 2
 uhidev4: Apple Inc. Apple Internal Keyboard / Trackpad, rev 2.00/2.19, addr 10, iclass 3/1
 uhidev4: 2 report ids
 ums1 at uhidev4 reportid 2: 3 buttons
 wsmouse1 at ums1 mux 0
 Kernelized RAIDframe activated
 pad0: outputs: 44100Hz, 16-bit, stereo
 audio1 at pad0: half duplex, playback, capture
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 clock: unknown CMOS layout
 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)
 bge0: watchdog timeout -- resetting
 bge0: block failed to stop: reg 0xc00, bit 0x00000002

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

State-Changed-From-To: open->feedback
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Mon, 26 Nov 2018 14:51:20 +0000
State-Changed-Why:
This is quite old and doesn't look bge-specific. Do you know if there are still 
problems with this specific chip ?


From: Ryo ONODERA <ryo@tetera.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/47634: Broadcom BCM57762 Gigabit Ethernet (bge0) does not work anymore
Date: Fri, 11 Oct 2019 22:29:08 +0900

 The bge(4) device works fine for my MacBook mid-2012
 with NetBSD/amd64 9.99.15 (UEFI boot).

 Please close this PR.

 Thank you very much.

 -- 
 Ryo ONODERA // ryo@tetera.org
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

State-Changed-From-To: feedback->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Fri, 11 Oct 2019 17:43:07 +0000
State-Changed-Why:
Submitter says problem is fixed.
Thanks !


>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.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.