NetBSD Problem Report #54283

From kiers@diorella.boppelans.net  Fri Jun  7 13:06:12 2019
Return-Path: <kiers@diorella.boppelans.net>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7730E7A173
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  7 Jun 2019 13:06:12 +0000 (UTC)
Message-Id: <20190607114737.GA21824@diorella.boppelans.net>
Date: Fri, 7 Jun 2019 13:47:37 +0200
From: Bert Kiers <kiers@original.xs4all.nl>
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: panic on moderate network I/O thru mue0 on rpi3

>Number:         54283
>Category:       port-evbarm
>Synopsis:       panic on moderate network I/O thru mue0 on rpi3
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-evbarm-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 13:10:00 +0000 2019
>Closed-Date:    Sun Nov 22 08:29:35 +0000 2020
>Last-Modified:  Sun Nov 22 08:29:35 +0000 2020
>Originator:     Bert Kiers <kiers@original.xs4all.nl>
>Release:        NetBSD 8.99.41
>Organization:

>Environment:
	Raspberry Pi 3B+ with SD-card image from Ebijun
 System:		NetBSD rpi 8.99.41 NetBSD 8.99.41 (RPI2) #0: Tue May 21 22:34:13 UTC 2019 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/RPI2 evbarm
 Architecture:	earmv6hf
 Machine:	evbarm

>Description:
 Synopsis:	panic with heavy net i/o
 Category:	kern
 Description:
 Anytime there is a bit more than little network traffic,
 the system panics.  Ping can run for hours.

 [ 317.1016658] panic: kernel diagnostic assertion "xfer->ux_state == XFER_BUSY" failed: file "/usr/src/sys/dev/usb/usbdi.c", line 10
 39 xfer 0xbb035720 state is 9e
 [ 317.1116673] cpu1: Begin traceback...
 [ 317.1216672] 0xb77499dc: netbsd:db_panic+0x14
 [ 317.1216672] 0xb77499f4: netbsd:vpanic+0x194
 [ 317.1316691] 0xb7749a0c: netbsd:__aeabi_uldivmod
 [ 317.1316691] 0xb7749a44: netbsd:usb_insert_transfer+0xf8
 [ 317.1416681] 0xb7749a64: netbsd:dwc2_device_bulk_transfer+0x30
 [ 317.1416681] 0xb7749a94: netbsd:usbd_transfer+0xb0
 [ 317.1516690] 0xb7749aec: netbsd:mue_start+0x268
 [ 317.1516690] 0xb7749b14: netbsd:if_transmit+0x110
 [ 317.1616737] 0xb7749b5c: netbsd:ether_output+0x26c
 [ 317.1616737] 0xb7749b84: netbsd:ip_if_output+0x94
 [ 317.1616737] 0xb7749c84: netbsd:ip_output+0x12dc
 [ 317.1716701] 0xb7749d6c: netbsd:tcp_output+0x19dc
 [ 317.1716701] 0xb7749da4: netbsd:tcp_send_wrapper+0x9c
 [ 317.1816702] 0xb7749e3c: netbsd:sosend+0x6fc
 [ 317.1816702] 0xb7749e64: netbsd:soo_write+0x3c
 [ 317.1916710] 0xb7749ebc: netbsd:dofilewrite+0x7c
 [ 317.1916710] 0xb7749eec: netbsd:sys_write+0x5c
 [ 317.2016710] 0xb7749fac: netbsd:syscall+0x12c
 [ 317.2016710] cpu1: End traceback...

 [ 317.2016710] dump to dev 92,1 not possible
 [ 322.4219307] rebootin[   1.0000000] NetBSD/evbarm (fdt) booting ..

 Works fine with other USB ethernet dongle.

>How-To-Repeat:
        Above happened with "find /" in ssh session; 
        "cvs get src" also triggers it. 
>Fix:


-- 
B*E*R*T

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->port-evbarm-maintainer
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Mon, 10 Jun 2019 05:06:37 +0000
Responsible-Changed-Why:
Fix up mangled PR
(someone had already changed the category but not any of the rest)


From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-evbarm/54283 (panic on moderate network I/O thru mue0 on rpi3)
Date: Mon, 10 Jun 2019 09:46:23 -0000 (UTC)

 This bug should be fixed in if_mue.c 1.46.
 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 13 Jun 2019 16:17:27 +0000
State-Changed-Why:
Fixed as described?


State-Changed-From-To: feedback->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Sun, 22 Nov 2020 08:29:35 +0000
State-Changed-Why:
timeout on feedback. assume fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.