NetBSD Problem Report #48463

From mlelstv@twitty.1st.de  Fri Dec 20 10:40:29 2013
Return-Path: <mlelstv@twitty.1st.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 71E1EA63C4
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 20 Dec 2013 10:40:29 +0000 (UTC)
Message-Id: <20131220104013.9D75B45@twitty.1st.de>
Date: Fri, 20 Dec 2013 11:40:13 +0100 (CET)
From: mlelstv@serpens.de
Reply-To: mlelstv@serpens.de
To: gnats-bugs@NetBSD.org
Subject: umass allocates memory from interrupt
X-Send-Pr-Version: 3.95

>Number:         48463
>Category:       kern
>Synopsis:       umass alloctes memory from interrupt
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 20 10:45:00 +0000 2013
>Originator:     Michael van Elst
>Release:        NetBSD 6.99.28
>Organization:

>Environment:


System: NetBSD twitty 6.99.28 NetBSD 6.99.28 (TWITTY) #3: Fri Dec 20 00:34:36 CET 2013 mlelstv@pussyfoot:/home/netbsd-current/obj.evbarm/home/netbsd-current/src/sys/arch/evbarm/compile/TWITTY evbarm
Architecture: earmhf
Machine: evbarm
>Description:

panic: kernel diagnostic assertion "(!cpu_intr_p() && !cpu_softintr_p())" failed: file "/home/netbsd-current/src/sys/kern/subr_kmem.c", line 366 kmem(9) sho
uld not be used from the interrupt context
cpu0: Begin traceback...
0xc9b0ad14: netbsd:db_panic+0xc
0xc9b0ad44: netbsd:vpanic+0x138
0xc9b0ad5c: netbsd:kern_assert+0x40
0xc9b0ad8c: netbsd:kmem_zalloc+0x40
0xc9b0adc4: netbsd:usb_block_allocmem+0x138
0xc9b0adfc: netbsd:usb_allocmem_flags+0x188
0xc9b0ae14: netbsd:usb_allocmem+0x1c
0xc9b0ae34: netbsd:dwc2_allocm+0x3c
0xc9b0ae6c: netbsd:usbd_transfer+0x8c
0xc9b0aea4: netbsd:umass_setup_transfer+0x74
0xc9b0aedc: netbsd:umass_bbb_state+0x2a8
0xc9b0af1c: netbsd:usb_transfer_complete+0x31c
0xc9b0af44: netbsd:dwc2_softintr+0x84
0xc9b0af5c: netbsd:usb_soft_intr+0x28
0xc9b0afac: netbsd:softint_dispatch+0xfc
0xcacc1b64: netbsd:softint_switch+0x50
cpu0: End traceback...

>How-To-Repeat:
The crash appears to occur randomly.

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.