NetBSD Problem Report #50442

From www@NetBSD.org  Tue Nov 17 20:19:27 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5E22FA654B
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Nov 2015 20:19:27 +0000 (UTC)
Message-Id: <20151117201926.5C092A65B7@mollari.NetBSD.org>
Date: Tue, 17 Nov 2015 20:19:26 +0000 (UTC)
From: sd4dfg2@hotmail.com
Reply-To: sd4dfg2@hotmail.com
To: gnats-bugs@NetBSD.org
Subject: bge0 locks up with tso4
X-Send-Pr-Version: www-1.0

>Number:         50442
>Category:       kern
>Synopsis:       bge0 locks up with tso4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bouyer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 17 20:20:00 +0000 2015
>Closed-Date:    Tue Dec 03 08:39:30 +0000 2019
>Last-Modified:  Tue Dec 03 08:39:30 +0000 2019
>Originator:     Rob
>Release:        7.0_STABLE
>Organization:
>Environment:
>Description:
If I enable tso4 on my gigabit bge0 interface it hangs when I send a moderate amount of traffic.

bge0 at pci6 dev 0 function 0: Broadcom BCM5720 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 16
bge0: APE firmware NCSI 1.2.33.0
bge0: HW config 002b1594, 00006014, 0000aa08, 00000000 00000000
bge0: ASIC BCM5720 A0 (0x5720000), Ethernet address f8:bc:12:51:1b:86
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5720C 1000BASE-T media interface, rev. 0

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

Sometimes other sessions aren't hung and I can run "ifconfig -tso4" (or login to the console and run it) to clear the hung sessions.
>How-To-Repeat:
I've only done very limited testing.  If you feel it's a hardware issue and not software, go ahead and close the ticket.

ifconfig bge0 tso4
find /

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->bouyer
Responsible-Changed-By: bouyer@NetBSD.org
Responsible-Changed-When: Mon, 26 Nov 2018 15:00:07 +0000
Responsible-Changed-Why:
.


State-Changed-From-To: open->pending-pullups
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Mon, 26 Nov 2018 15:00:07 +0000
State-Changed-Why:
pullup-8 #1107


State-Changed-From-To: pending-pullups->feedback
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Mon, 26 Nov 2018 18:58:35 +0000
State-Changed-Why:
Fix pulled up to netbsd-8; would you be able to test a patch for netbsd-7 ?


From: Rob Q <sd4dfg2@hotmail.com>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc: 
Subject: RE: kern/50442
Date: Tue, 4 Jun 2019 15:47:37 +0000

 Sorry I don't have a way to test right now.=

State-Changed-From-To: feedback->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Tue, 03 Dec 2019 08:39:30 +0000
State-Changed-Why:
I think this ticket can be closed.
Thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.45 2018/12/21 14:23:33 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.