Current-Users archive

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

Re: wm0 panic



Hi, all.

On 2020/06/29 12:53, Kengo NAKAHARA wrote:
> Hi,
> 
> On 2020/06/28 0:24, Patrick Welche wrote:
>> Trying a today's -current/amd64 with DIAGNOSTIC/DEBUG/LOCKDEBUG, I can
>> boot multiuser without a network. If I log in as root, as soon as I hit
>> enter:
>>
>> # ifconfig wm0 inet 10.0.0.62 netmask 0xffffff00
>> [ 127.5763268] Kernel lock error 127.5763268] lock address : 0xffffffff8106ab40 type     :               spin
>> [ 127.5863237] initialized  : 0xffffffff80b0bbb9
>> [ 127.5863237] shared holds :                  0 exclusive:                  1
>> [ 127.5963238] shares wanted:                  0 exclusive:                  1
>> [ 127.6063236] relevant cpu :                  1 last held:                  0
>> [ 127.6163235] relevant lwp : 0xffff8d419a07f20
>> [ 127.6163235] last locked* : 0xffffffff80a7d2f5 unlocked : 0xffffffff80a7d2e6
>> [ 127.6263235] curcpu holds :                  0 wanted by: 0xffff8d419a07f200
>> [ 127.6363234] panic: LOCKDEBock,244: spinout
>> [ 127.6363234] cpu1: Begin traceback...
>> [ 127.6463233] vpanic() at netbsd:vpanic+0x152
>> [ 127.6463233] snprintf() at netbsd:snprintf
>> [ 127.6563232] lockdebug_more() at netbsd:lockdebug_more
>> [ 127.6563232] _kernel_lock() at netbsd:_kernel_lock+0x244
>> [ 127.6663231] ip_slowtimo() at netbsd:ip_slowtimo+0x1a
>> [ 127.6763231] pfslowtimo() at netbsd:pfslowtimo+0x34
>> [ 127.6763231] callout_softclock() at netbsd:callout_softclock+0x10f
>> [ 127.6863230] softint_disph+0x108
>> [ 127.6863230] DDB lost frame for netbsd:Xsoftintr+0x4f, trying 0xffffa4825d02eff0
>> [ 127.6963230] Xsoftintr() at netbsd:Xsoftintr+0x4f
>> [ 127.7063229] --- interrupt ---
>> [ 127.706322traceback...
> It seems some other code have held KERNEL_LOCK too long time.
> Could you show the function of last locked address?
> # e.g. addr2line -e "your kernel image" -f 0xffffffff80a7d2f5
> 
> If the panic can reappear, could you show "show all locks/t" of ddb?
> 
> 
> Thanks,

It seems this problem is the same as the following mail:

	http://mail-index.netbsd.org/current-users/2020/06/03/msg038785.html


-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index