NetBSD Problem Report #58538

From wiz@exadelic.gatalith.at  Fri Aug  2 10:17:42 2024
Return-Path: <wiz@exadelic.gatalith.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 427641A923C
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  2 Aug 2024 10:17:42 +0000 (UTC)
Message-Id: <20240802101736.67E7E2EBBAD7@exadelic.gatalith.at>
Date: Fri,  2 Aug 2024 12:17:36 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: cdce watchdog timeout
X-Send-Pr-Version: 3.95

>Number:         58538
>Category:       kern
>Synopsis:       cdce watchdog timeout
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 02 10:20:00 +0000 2024
>Originator:     Thomas Klausner
>Release:        NetBSD 10.99.11
>Organization:

>Environment:


Architecture: x86_64
Machine: amd64
>Description:
After some uptime, under no particular heavy network conditions AFAICT,
cdce sometimes stops working with the following kernel output:

[ 2766727.403265] cdce0: usb error on tx: IOERROR
[ 2766732.393202] cdce0: watchdog timeout
[ 2766737.393139] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766737.393139] xhci2: endpoint 0x2 failed to stop
[ 2766737.393139] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766737.393139] cdce0: usb error on tx: IOERROR
[ 2766742.393076] cdce0: watchdog timeout
[ 2766747.393013] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766747.393013] xhci2: endpoint 0x2 failed to stop
[ 2766747.393013] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766747.393013] cdce0: usb error on tx: IOERROR
[ 2766752.392951] cdce0: watchdog timeout
[ 2766757.382888] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766757.382888] xhci2: endpoint 0x2 failed to stop
[ 2766757.382888] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766757.392888] cdce0: usb error on tx: IOERROR
[ 2766762.382826] cdce0: watchdog timeout
[ 2766767.382763] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766767.382763] xhci2: endpoint 0x2 failed to stop
[ 2766767.382763] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766767.382763] cdce0: usb error on tx: IOERROR
[ 2766772.382701] cdce0: watchdog timeout
[ 2766777.382638] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766777.382638] xhci2: endpoint 0x2 failed to stop
[ 2766777.382638] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766777.382638] cdce0: usb error on tx: IOERROR
[ 2766782.382575] cdce0: watchdog timeout
[ 2766787.382513] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766787.382513] xhci2: endpoint 0x2 failed to stop
[ 2766787.382513] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766787.382513] cdce0: usb error on tx: IOERROR
[ 2766795.382413] cdce0: watchdog timeout
[ 2766800.382351] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766800.382351] xhci2: endpoint 0x2 failed to stop
[ 2766800.382351] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766800.382351] cdce0: usb error on tx: IOERROR
[ 2766805.382289] cdce0: watchdog timeout
[ 2766810.382228] xhci2: xhci_reset_endpoint: endpoint 0x2: timed out
[ 2766810.382228] xhci2: endpoint 0x2 failed to stop
[ 2766810.382228] xhci2: xhci_set_dequeue: endpoint 0x2: timed out
[ 2766810.392227] cdce0: usb error on tx: IOERROR
[ 2766818.272131] xhci2: endpoint 0x81 failed to stop
[ 2766818.272131] xhci2: xhci_set_dequeue: endpoint 0x81: timed out
[ 2766828.272009] cdce0: detached
[ 2766828.272009] cdce0: at uhub4 port 2 (addr 1) disconnected
[ 2766839.361870] uhub4: device problem, disabling port 1

cdce0 at uhub4 port 2 configuration 3 interface 0
cdce0: Realtek (0x0bda) USB 10/100/1G/2.5G LAN (0x8156), rev 3.20/31.04, addr 1
cdce0: Ethernet address a0:ce:c8:a8:c0:6b

uhub4 at usb4: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
uhub4: 2 ports with 2 removable, self powered

usb4 at xhci2: USB revision 3.1

xhci2 at pci11 dev 0 function 4: AMD 19h/6xh USB 3.1 xHCI (rev. 0x00)
xhci2: 64-bit DMA
xhci2: interrupting at msix6 vec 0
xhci2: xHCI version 1.20

pci11 at ppb10 bus 11
pci11: i/o space, memory space enabled, rd/line, wr/inv ok


>How-To-Repeat:
Run NetBSD, use cdce(4) interface, wait.
>Fix:
Please.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.