NetBSD-Bugs archive

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

Re: kern/57154: CPU N3150 panics with DRMkms related function



The following reply was made to PR kern/57154; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: mef%netbsd.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/57154: CPU N3150 panics with DRMkms related function
Date: Wed, 6 Sep 2023 11:50:34 +0000

 >  rbx         fffffffffffffff0
 > [...]
 >  netbsd:mutex_oncpu+0x1e:        movq    0(%rbx),%rax
 
 This is weird -- it looks like the mutex has been destroyed:
 0xffff...fff0 is -16, which is MUTEX_THREAD, which is what
 mutex_destroy sets mtx->mtx_owner too.
 
 Can you add #include <ddb/ddb.h> to intel_rps.c and call
 db_stacktrace() in intel_rps_fini?  I think that's the only place the
 mutex is destroyed.
 


Home | Main Index | Thread Index | Old Index