NetBSD Problem Report #45713

From martin@aprisoft.de  Thu Dec 15 09:10:15 2011
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 1964563D8D9
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 15 Dec 2011 09:10:15 +0000 (UTC)
Message-Id: <20111215091008.A16DEAF580F@emmas.aprisoft.de>
Date: Thu, 15 Dec 2011 10:10:08 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: KASSERT with LOCKDEBUG/DIAGNOSTIC kernel
X-Send-Pr-Version: 3.95

>Number:         45713
>Category:       kern
>Synopsis:       KASSERT with LOCKDEBUG/DIAGNOSTIC kernel
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 15 09:15:00 +0000 2011
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.58
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD after-hours.aprisoft.de 5.99.58 NetBSD 5.99.58 (MODULAR) #83: Wed Dec 14 18:05:08 CET 2011 martin@after-hours.aprisoft.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Running a full atf test on a -current sparc64 machine with a LOCKDEBUG
kernel results in:

panic: kernel diagnostic assertion "curcpu()->ci_mtx_count == 0" failed: file "../../../../kern/kern_softint.c", line 547 softint_execute: ci_mtx_count (-1) != 0, sh_func 0x12bd9a0
db{0}> bt                                                          
kern_assert(1774770, 1739768, 17747d0, 1774570, 223, 16f2138) at netbsd:kern_ass
ert+0x34                                                                       
softint_dispatch(1774748, 1, 1774720, 1739730, 1739768, 1774570) at netbsd:softi
nt_dispatch+0x318                                                              
softint_fastintr(39d5000, 1, 2bdc3ad77c0, 8000000000000000, 2bdc3ad77c0, 0) at n
etbsd:softint_fastintr+0x8c                                                    
tickintr(f0059840, 19bd1e0, 1124c8, 114400, 114000, 111ba8) at netbsd:tickintr+0
x20                                                                            

The other cpu was idle in this case.

>How-To-Repeat:
s.a.

>Fix:
n/a

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.