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



(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?

> 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@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index