NetBSD Problem Report #53230
From mlelstv@hoppa.1st.de Sun Apr 29 09:33:41 2018
Return-Path: <mlelstv@hoppa.1st.de>
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 B3CA47A18B
for <gnats-bugs@gnats.NetBSD.org>; Sun, 29 Apr 2018 09:33:41 +0000 (UTC)
Message-Id: <20180429093320.E5559BC@hoppa.1st.de>
Date: Sun, 29 Apr 2018 11:33:20 +0200 (CEST)
From: mlelstv@serpens.de
Reply-To: mlelstv@serpens.de
To: gnats-bugs@NetBSD.org
Subject: dwc2 crashes from uaudio
X-Send-Pr-Version: 3.95
>Number: 53230
>Category: kern
>Synopsis: dwc2 crashes from uaudio
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 29 09:35:00 +0000 2018
>Last-Modified: Tue May 01 01:21:49 +0000 2018
>Originator: Michael van Elst
>Release: NetBSD 8.99.12
>Organization:
--
Michael van Elst
Internet: mlelstv@serpens.de
"A potential Snark may lurk in every tree."
>Environment:
System: NetBSD hoppa 8.99.12 NetBSD 8.99.12 (HOPPA) #0: Sun Mar 11 03:42:47 CET 2018 mlelstv@gossam:/home/netbsd-current/obj.evbarm/home/netbsd-current/src/sys/arch/evbarm/compile/HOPPA evbarm
Architecture: earmv6hf
Machine: evbarm
>Description:
Running audiorecord from a uaudio device panics the system with:
lock error: mutex_vector_enter,524: assertion failed: !cpu_intr_p()
db_panic+0x14
vpanic+0x1a4
snprintf
lockdebug_abort+0x70
mutex_abort+0x30
mutex_enter+0x4d8
usb_allocmem_flags+0x54
usb_allocmem+0x1c
dwc2_assign_and_init_hc+0x4cc
dwc2_hcd_select_transactions+0x4b
dwc2_release_channel+0x164
dwc2_hc_xfercomp_intr+0x2b0
dwc2_handle_hcd_intr+0x5a0
dwc2_intr+0xec
pic_dispatch+0x98
pic_do_pending_ints+0x2f0
irq_entry+0x68
idle_loop+0x170
Apparently the dwc2 code tries to allocate an alignment buffer from within
an interrupt handler.
>How-To-Repeat:
Use dwc2 with recording from uaudio.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.