NetBSD Problem Report #53328
From www@NetBSD.org Tue May 29 15:37:40 2018
Return-Path: <www@NetBSD.org>
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 00CC27A183
for <gnats-bugs@gnats.NetBSD.org>; Tue, 29 May 2018 15:37:40 +0000 (UTC)
Message-Id: <20180529153738.C597C7A232@mollari.NetBSD.org>
Date: Tue, 29 May 2018 15:37:38 +0000 (UTC)
From: prlw1@cam.ac.uk
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: xhci panic on netboot
X-Send-Pr-Version: www-1.0
>Number: 53328
>Category: kern
>Synopsis: xhci panic on netboot
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 29 15:40:00 +0000 2018
>Last-Modified: Fri Nov 01 12:00:01 +0000 2019
>Originator: Patrick Welche
>Release: NetBSD-8.99.19/amd64
>Organization:
>Environment:
>Description:
Just tried to netboot a GENERIC kernel on a new computer over nfs. I'm not sure now whether I actually hit return/enter or not at the root on wm0 prompt. On screen, I see:
ums0: detached
uhidev2: detached
uhidev2: at uhub1 port 2 (addr 2) disconnected
panic: kernel diagnostic assertion "mutex_owned(&sc->sc_lock)" failed: file "/usr/src/sys/dev/usb/xhci.c", line 2049
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x16f
ch_voltag_convert_in() at netbsd:ch_voltag_convert_in
xhci_softintr() at nebsd:xhci_softintr+0x5d7
xhci_poll() at netbsd:xhci_poll+0x37
ukbd_cngetc() at netbsd:ukbd_cngetc+0x113
wskbd_cngetc() at netbsd:wskbd_cngetc+0xc8
wsdisplay_getc() at netbsd:wsdisplay_getc+0x2f
cngetc() at netbsd:cngetc+0x4d
cngetsn() at netbsd:cngetsn+0x71
setroot() at netbsd:setroot+0x133
main() at netbsd:main+0x6af
cpu0: End traceback...
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip 0xffffffff8021eb75 cs 0x8 rflags 0x202 cr2 0 ilevel 0x8 rsp 0xffffffff87fda70
curlwp 0xffffffff81481f60 pid 0.1 lowest kstack 0xffffffff817f92c0
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/53328: xhci panic on netboot
Date: Fri, 1 Nov 2019 11:58:02 +0000
Encountered basically the same thing with yesterday's 9.99.17/amd64
It may be the same computer. Backtrace looks slightly different now:
panic: LOCKDEBUG: Mutex error: mutex_vector_enter,530: spin lock helod
lockdebug_more
mutex_enter
uhub_intr
usb_transfer_complete
xhci_softintr
xhci_poll
ukbd_cngetc
wskbd_cngetc
wsdisplay_getc
cngetc.part.0
cngetsn
setroot <- one issue is because of dhcp timeout, nfs root (wm0) couldn't be
mounted
main
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 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.