Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 10:52:48 -0700
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        Anders Nordby <anders@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: bge problems in RELENG_9, bge0: watchdog timeout -- resetting
Message-ID:  <20120824175248.GB3183@michelle.cdnetworks.com>
In-Reply-To: <20120823161505.GA64558@fupp.net>
References:  <20120703185704.GA81296@fupp.net> <20120705010136.GA3218@michelle.cdnetworks.com> <20120823161505.GA64558@fupp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 23, 2012 at 06:15:05PM +0200, Anders Nordby wrote:
> Hi,
> 
> On ons, jul 04, 2012 at 06:01:36pm -0700, YongHyeon PYUN wrote:
> > There is a WIP version at the following URL.
> > http://people.freebsd.org/~yongari/bge/if_bge.c
> > http://people.freebsd.org/~yongari/bge/if_bgereg.h
> > http://people.freebsd.org/~yongari/bge/brgphy.c
> > 
> > I have a couple of positive feedbacks but it seems it still has
> > some issues. Let me know whether it makes any difference on your
> > box.
> 
> I tried these bge source files in 9.1-PRERELEASE this week, and it does
> not help. If I try to log in with SSH I get:
> 
> Aug 23 17:30:32  login: ROOT LOGIN (root) ON ttyu0
> bge0: watchdog timeout -- resetting
> Aug 23 17:31:31  kernel: bge0: watchdog timeout -- resetting
> Aug 23 17:31:31  kernel: bge0: link state changed to DOWN
> Aug 23 17:31:35  kernel: bge0: link state changed to UP
> bge0: watchdog timeout -- resetting
> Aug 23 17:33:24  kernel: bge0: watchdog timeout -- resetting
> Aug 23 17:33:24  kernel: bge0: link state changed to DOWN
> Aug 23 17:33:28  kernel: bge0: link state changed to UP
> 
> I tried setting hw.bge.allow_asf to 0, but it did not help.

The loader tunable has no effect for controllers with
APE(Application Processor Engine).

> 
> During boot I get:
> 
> pcib3: <ACPI PCI-PCI bridge> at device 2.0 on pci0
> pci3: <ACPI PCI bus> on pcib3
> pci0:3:0:0: failed to read VPD data.
> bge0: <Broadcom unknown BCM5719, ASIC rev. 0x5719001> mem
> 0xf6bf0000-0xf6bfffff0xf6be0000-0xf6beffff,0xf6bd0000-0xf6bdffff irq 32
> at device 0.0 on pci3
> bge0: APE FW version: NCSI v1.0.80.0
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It seems your APE runs slightly newer NC-SI firmware. I was able to
reproduce watchdog timeouts on Dell R820 but I'm not sure you're
also seeing the same issue here. Due to unknown reason, it seems
programming RX MTU register has no effect with BCM5720 on R820.
Receiving frames larger than 175(?) bytes seem to hang the
controller on R820. Current workaround for the issue is to set
the MTU of sender(i.e. link partner or switch) to some low value,
128 for example. That would show poor performance but shall make
your controller work. I asked help to Broadcom and waiting for
answers/hint from Broadcom.

> bge0: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E
> miibus0: <MII bus> on bge0
> brgphy0: <BCM5719C 1000BASE-T media interface> PHY 1 on miibus0
> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-aster, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
> bge0: Ethernet address: 2c:76:8a:54:08:14
> pci0:3:0:1: failed to read VPD data.
> bge1: <Broadcom unknown BCM5719, ASIC rev. 0x5719001> mem
> 0xf6bc0000-0xf6bcffff0xf6bb0000-0xf6bbffff,0xf6ba0000-0xf6baffff irq 36
> at device 0.1 on pci3
> bge1: APE FW version: NCSI v1.0.80.0
> bge1: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E
> miibus1: <MII bus> on bge1
> brgphy1: <BCM5719C 1000BASE-T media interface> PHY 2 on miibus1
> brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-aster, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
> bge1: Ethernet address: 2c:76:8a:54:08:15
> pci0:3:0:2: failed to read VPD data.
> bge2: <Broadcom unknown BCM5719, ASIC rev. 0x5719001> mem
> 0xf6b90000-0xf6b9ffff0xf6b80000-0xf6b8ffff,0xf6b70000-0xf6b7ffff irq 32
> at device 0.2 on pci3
> bge2: APE FW version: NCSI v1.0.80.0
> bge2: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E
> miibus2: <MII bus> on bge2
> brgphy2: <BCM5719C 1000BASE-T media interface> PHY 3 on miibus2
> brgphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-aster, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
> bge2: Ethernet address: 2c:76:8a:54:08:16
> pci0:3:0:3: failed to read VPD data.
> bge3: <Broadcom unknown BCM5719, ASIC rev. 0x5719001> mem
> 0xf6b60000-0xf6b6ffff0xf6b50000-0xf6b5ffff,0xf6b40000-0xf6b4ffff irq 36
> at device 0.3 on pci3
> bge3: APE FW version: NCSI v1.0.80.0
> bge3: CHIP ID 0x05719001; ASIC REV 0x5719; CHIP REV 0x57190; PCI-E
> miibus3: <MII bus> on bge3
> brgphy3: <BCM5719C 1000BASE-T media interface> PHY 4 on miibus3
> brgphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-aster, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
> bge3: Ethernet address: 2c:76:8a:54:08:17
> 
> Regards,
> 
> -- 
> Anders.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120824175248.GB3183>