NetBSD Problem Report #55254
From www@netbsd.org Mon May 11 16:46:26 2020
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 78EA51A9213
for <gnats-bugs@gnats.NetBSD.org>; Mon, 11 May 2020 16:46:26 +0000 (UTC)
Message-Id: <20200511164625.6D3581A9218@mollari.NetBSD.org>
Date: Mon, 11 May 2020 16:46:25 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: iwm panics under LCOKDEBUG after some time
X-Send-Pr-Version: www-1.0
>Number: 55254
>Category: kern
>Synopsis: iwm panics under LCOKDEBUG after some time
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: thorpej
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 11 16:50:00 +0000 2020
>Closed-Date: Mon Oct 05 11:51:16 +0000 2020
>Last-Modified: Mon Oct 05 11:51:16 +0000 2020
>Originator: coypu
>Release: NetBSD 9.99.59
>Organization:
>Environment:
"pretending it's netbsd-10"
NetBSD planets 10.99.59 NetBSD 10.99.59 (GENERIC) #0: Mon May 4 23:02:45 IDT 2020 fly@planets:/home/fly/obj2/sys/arch/amd64/compile/GENERIC amd64
>Description:
[ 4302.729814] panic: LOCKDEBUG: Mutex error: mi_switch,709: spin lock held
[ 4302.729814] cpu10: Begin traceback...
[ 4302.729814] vpanic() at netbsd:vpanic+0x178
[ 4302.729814] snprintf() at netbsd:snprintf
[ 4302.729814] lockdebug_more() at netbsd:lockdebug_more
[ 4302.729814] mi_switch() at netbsd:mi_switch+0x179
[ 4302.729814] sleepq_block() at netbsd:sleepq_block+0x17b
[ 4302.729814] iwm_firmware_load_sect() at netbsd:iwm_firmware_load_sect+0x1c9
[ 4302.729814] iwm_load_cpu_sections_7000() at netbsd:iwm_load_cpu_sections_7000+0x68
[ 4302.729814] iwm_load_ucode_wait_alive() at netbsd:iwm_load_ucode_wait_alive+0x648
[ 4302.729814] iwm_init_hw() at netbsd:iwm_init_hw+0xb3
[ 4302.729814] iwm_init() at netbsd:iwm_init+0x3e
[ 4302.729814] ifmedia_change() at netbsd:ifmedia_change+0x48
[ 4302.729814] ifmedia_ioctl() at netbsd:ifmedia_ioctl+0x12c
[ 4302.729814] ieee80211_ioctl() at netbsd:ieee80211_ioctl+0x398
[ 4302.729814] iwm_ioctl() at netbsd:iwm_ioctl+0x169
[ 4302.729814] doifioctl() at netbsd:doifioctl+0x990
[ 4302.729814] sys_ioctl() at netbsd:sys_ioctl+0x59c
[ 4302.729814] syscall() at netbsd:syscall+0x2ae
[ 4302.729814] --- syscall (number 54) ---
[ 4302.729814] 725912f8187a:
[ 4302.729814] cpu10: End traceback...
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->thorpej
Responsible-Changed-By: thorpej@NetBSD.org
Responsible-Changed-When: Mon, 11 May 2020 18:49:24 +0000
Responsible-Changed-Why:
ifmeida locking changes did this.
State-Changed-From-To: open->feedback
State-Changed-By: thorpej@NetBSD.org
State-Changed-When: Fri, 22 May 2020 20:28:50 +0000
State-Changed-Why:
Should be fixed by:
/cvsroot/src/sys/dev/pci/if_iwm.c,v <-- if_iwm.c
new revision: 1.85; previous revision: 1.84
/cvsroot/src/sys/dev/pci/if_iwmvar.h,v <-- if_iwmvar.h
new revision: 1.20; previous revision: 1.19
State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 05 Oct 2020 11:51:16 +0000
State-Changed-Why:
I believe this is fixed. thanks!
>Unformatted:
(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.