NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/45713: KASSERT with LOCKDEBUG/DIAGNOSTIC kernel



>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@localhost:/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



Home | Main Index | Thread Index | Old Index