Panic with debug kernel
Opened this issue · 9 comments
For reasons beyond the scope of this driver, I compiled a 12.2/amd64 kernel with the following:
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options WITNESS_SKIPSPIN
options DEBUG_LOCKS
options DIAGNOSTIC
Booting with it makes this driver panic with:
_mtx_lock_sleep: recursed on non-recursive mutex re0 0 if_re.c:7085
There is no useful information in your report. Provide all the data that was printed by kernel, on panic.
Load the module after the machine in multiuser.
If screen shots are readable, try posting that.
On 6/9/21 2:05 PM, Konstantin Belousov wrote: Load the module after the machine in multiuser.
Curiously, if I boot single user, then load this module, it does not panic. In multi user mode, it does, but still saves no core (and this machine normally does).
If screen shots are readable, try posting that.
Here it is. HTH.
Where are the screenshots?
Also, I found this in the logs:
a> lamar kernel: bus_dma_tag_create with the following non-sleepable locks held: Jun 12 08:39:58 alamar kernel: exclusive sleep mutex re0 (network driver) r = 0 (0xfffffe0004f29150) locked @ if_re.c:5118
This might be related, but probably not. I will fix these warnings meantime.
This has now been committed to the ports tree: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256757
Thanks again!