NetBSD Problem Report #48459
From www@NetBSD.org Thu Dec 19 13:39:48 2013
Return-Path: <www@NetBSD.org>
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 7A719A5678
for <gnats-bugs@gnats.NetBSD.org>; Thu, 19 Dec 2013 13:39:48 +0000 (UTC)
Message-Id: <20131219133947.2EFDDA6463@mollari.NetBSD.org>
Date: Thu, 19 Dec 2013 13:39:47 +0000 (UTC)
From: cherry@zyx.in
Reply-To: cherry@zyx.in
To: gnats-bugs@NetBSD.org
Subject: Using btsco(4) causes kernel panic
X-Send-Pr-Version: www-1.0
>Number: 48459
>Category: kern
>Synopsis: Using btsco(4) causes kernel panic
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 19 13:40:00 +0000 2013
>Closed-Date: Sun May 01 05:56:33 +0000 2016
>Last-Modified: Sun May 01 05:56:33 +0000 2016
>Originator: Cherry G. Mathew
>Release:
>Organization:
>Environment:
nemo$ uname -a
NetBSD nemo 6.99.23 NetBSD 6.99.23 (GENERIC) #1: Mon Jul 29 00:13:06 IST 2013 cherry@nemo:/home/cherry/unbackedup/source/src/sys/arch/amd64/compile/obj/GENERIC amd64
nemo$
>Description:
While trying to play audio via audioplay, I get the following:
panic: kernel diagnostic assertion "kpreempt_disabled()" failed: file "/home/cherry/unbackedup/source/src/sys/kern/kern_softint.c", line 461
cpu6: Begin traceback...
vpanic() at netbsd:vpanic+0x136
kern_assert() at netbsd:kern_assert+0x48
softint_schedule() at netbsd:softint_schedule+0xf6
btsco_start_output() at netbsd:btsco_start_output+0x39
audiostartp() at netbsd:audiostartp+0xef
audio_drain() at netbsd:audio_drain+0x171
audio_ioctl() at netbsd:audio_ioctl+0x1b4
audioioctl() at netbsd:audioioctl+0xb9
VOP_IOCTL() at netbsd:VOP_IOCTL+0x3b
vn_ioctl() at netbsd:vn_ioctl+0x76
sys_ioctl() at netbsd:sys_ioctl+0x13c
syscall() at netbsd:syscall+0x9a
--- syscall (number 54) ---
7f7ff70cdfaa:
cpu6: End traceback...
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: "Nathanial Sloss" <nat@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48459 CVS commit: src/sys/dev/bluetooth
Date: Fri, 10 Jul 2015 22:03:12 +0000
Module Name: src
Committed By: nat
Date: Fri Jul 10 22:03:12 UTC 2015
Modified Files:
src/sys/dev/bluetooth: btsco.c
Log Message:
Wrap up calls to softint_schedule in kpeempt_[dis/en]able.
Addresses PR kern/48459.
This commit was approved by christos@
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/bluetooth/btsco.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: nat@NetBSD.org
State-Changed-When: Fri, 10 Jul 2015 22:07:35 +0000
State-Changed-Why:
btsco.c has been patched. Does it work for you?
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 01 May 2016 05:56:33 +0000
State-Changed-Why:
feedback timeout
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.