NetBSD-Bugs archive

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

port-macppc/56289: kernel spinout on macppc when runing ATF tests with LOCKDEBUG



>Number:         56289
>Category:       port-macppc
>Synopsis:       kernel spinout on macppc when runing ATF tests with LOCKDEBUG
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 01 09:30:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.86
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD gethsemane.aprisoft.de 9.99.86 NetBSD 9.99.86 (GETHSEMANE) #101: Thu Jul 1 10:04:58 CEST 2021 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/macppc/compile/GETHSEMANE macppc
Architecture: powerpc
Machine: macppc
>Description:

Running ATF tests with a LOCKDEBUG kernel triggers this on my machine:

[ 1125.5385404] Mutex error: mutex_vector_enter,517: spin lock held

[ 1125.5385404] lock address : 0x000000005f8b7430 type     :               spin
[ 1125.5385404] initialized  : 0x00000000001245f0
[ 1125.5385404] shared holds :                  0 exclusive:                  1
[ 1125.5385404] shares wanted:                  0 exclusive:                  0
[ 1125.5385404] relevant cpu :                  0 last held:                  0
[ 1125.5385404] relevant lwp : 0x000000001b00fd00 last held: 0x000000001b00fd00
[ 1125.5385404] last locked* : 0x0000000000517d64 unlocked : 0x000000000051178c
[ 1125.5385404] owner field  : 000000000000000000 wait/spin:                0/1

[ 1125.5385404] panic: LOCKDEBUG: Mutex error: mutex_vector_enter,517: spin lock held
[ 1125.5385404] cpu0: Begin traceback...
[ 1125.5385404] 0x16cf6940: at vpanic+0x12c
[ 1125.5385404] 0x16cf6970: at panic+0x50
[ 1125.5385404] 0x16cf69b0: at lockdebug_abort1+0x128
[ 1125.5385404] 0x16cf69d0: at mutex_enter+0x264
[ 1125.5385404] 0x16cf6a20: at iic_acquire_bus+0xb0
[ 1125.5385404] 0x16cf6a40: at tas3004_write+0xa4
[ 1125.5385404] 0x16cf6a60: at snapper_set_rate+0x28c
[ 1125.5385404] 0x16cf6a90: at snapper_trigger_input+0x48
[ 1125.5385404] 0x16cf6b00: at audio_rmixer_input+0xa4
[ 1125.5385404] 0x16cf6b40: at audio_rmixer_start+0x48
[ 1125.5385404] 0x16cf6b50: at audio_open.constprop.0+0x524
[ 1125.5385404] 0x16cf6c10: at audioopen+0x2a0
[ 1125.5385404] 0x16cf6c60: at spec_open+0x224
[ 1125.5385404] 0x16cf6cc0: at VOP_OPEN+0x4c
[ 1125.5385404] 0x16cf6ce0: at vn_open+0x30c
[ 1125.5385404] 0x16cf6e00: at do_open+0xf0
[ 1125.5385404] 0x16cf6e50: at do_sys_openat+0x9c
[ 1125.5385404] 0x16cf6e90: at sys_open+0x2c
[ 1125.5385404] 0x16cf6eb0: at syscall+0x368
[ 1125.5385404] 0x16cf6f20: user SC trap #5 by 0xfdc709f8: srr1=0xd032
[ 1125.5385404]             r1=0xffffe570 cr=0x24000444 xer=0 ctr=0xfdc709f0
[ 1125.5385404] cpu0: End traceback...
[ 1125.5385404] halting CPU 1
[ 1125.5385404] dumpsys: TBD
[ 1125.5385404] rebooting



>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index