NetBSD-Bugs archive

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

Re: kern/56982: mutex error (locking against myself) in wdc(4) NOIRQ case?



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

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: tsutsui%ceres.dti.ne.jp@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/56982: mutex error (locking against myself) in wdc(4) NOIRQ case?
Date: Sat, 27 Aug 2022 22:00:28 +0000

 > [  26.1879870] mutex_spin_enter(a97148,4e92b8,a99f30,0,3ea16) + 6e
 > [  26.1879870] wddone(a32688,a99f30,98a0a0,a99f30) + 256
 
 Can you get a line number for wddone+0x256?
 
 $ gdb ./netbsd.gdb
 (gdb) info line *(wddone+0x256)
 
 Can you also show the full lockdebug info?  It looks like it got
 garbled in the console output.
 
 db> show lock 0x0000000000a97148
 
 This should display two lines of particular interest (with different
 addresses, obviously):
 
 initialized  : 0x0000000000abcdef
 ...
 last locked* : 0x0000000000123456 unlocked : 0x0000000abcd0123
 
 Can you show line numbers for the `initialized' and `last locked'
 addresses?
 
 (gdb) info line *(0x0000000000abcdef)
 (gdb) info line *(0x0000000000123456)
 


Home | Main Index | Thread Index | Old Index