NetBSD-Bugs archive

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

Re: kern/58531: NetBSD 10.0 deadlock in nd_timer



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

From: Emmanuel Dreyfus <manu%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/58531: NetBSD 10.0 deadlock in nd_timer
Date: Sun, 11 Aug 2024 13:05:09 +0000

 tt took some time, but here is another crash.
 
 [ 41423.0297902] Kernel lock error: _kernel_lock,266: spinout
 
 [ 41423.0297902] lock address : netbsd:kernel_lock
 [ 41423.0297902] type         : spin
 [ 41423.0297902] initialized  : netbsd:main+0x5c
 [ 41423.0297902] shared holds :                  0 exclusive:                  1
 [ 41423.0297902] shares wanted:                  0 exclusive:                  1
 [ 41423.0297902] relevant cpu :                  0 last held:                  1
 [ 41423.0297902] relevant lwp : 0x00000000c856f300 last held: 0x00000000c8841940
 [ 41423.0297902] last locked* : netbsd:nd_timer+0x30
 [ 41423.0297902] unlocked     : netbsd:filter_event+0x12a
 [ 41423.0297902] curcpu holds :                  0 wanted by: 0x00000000c856f300
 
 Like last time, last locked is softclk/1
 PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
 0    >  20 7   1       200           c8841940          softclk/1
 
 mutex_enter(c84519c0,2da,c8451ac0,c0ab8e91,0,c894a834,2,dfe47c70,c0ab8f16,c894a834) at netbsd:mutex_enter+0x553
 wm_start(c894a834,dfe47c70,2,2a,c894a834,3cf31000,0,dfe47cc0,c0ac776c,c894a834) at netbsd:wm_start+0x24
 if_transmit(c894a834,c8df7764,c894a834,2,c0a37af6,2,2,c8df7848,c894a834,c8df7764) at netbsd:if_transmit+0x151
 ether_output(c894a834,c8df7764,dfe47cf0,0,7,dfe47d40,6,dfe47d3c,c8df7764,c894a834) at netbsd:ether_output+0x2ec
 arprequest(c894bf63,dfe47e01,c8ed297c,0,c09dc303,2,1cb,dfe47e01,c894bf63,845236c1) at netbsd:arprequest+0x1a9
 arp_llinfo_output(c894a834,dfe47de0,dfe47de0,dfe47e01,0,dfe47dec,c09f7b28,fffffffe,0,dfe47de0) at netbsd:arp_llinfo_output+0x164
 nd_timer(c8ed28dc,c09c9dac,7,0,dfc26150,c84513c0,dfe701ec,c8841940,c846b004,10c) at netbsd:nd_timer+0x3c0
 callout_softclock(0,0,c8582ccc,0,0,0,0,c0efabdb,84,3d8bdf84) at netbsd:callout_softclock+0xc3
 softint_dispatch(c8841100,2,5b2ddee,3a411a81,c3caef3,f8229e46,address 0xdfe48000 is invalid 0,address 0xdfe48004 is invalid 0,address 0xdfe48008 is invalid 0,address 0xdfe4800c is invalid 0) at netbsd:softint_dispatch+0xe6
 
 wm_start() is short. We wait for txq->txq_lock
         mutex_enter(txq->txq_lock);
         if (!txq->txq_stopping)
                 wm_start_locked(ifp);
         mutex_exit(txq->txq_lock);
 
 I already rebooted hence I cannot tell what thread hold it. Let us wait the
 next crash.
 
 
 -- 
 Emmanuel Dreyfus
 manu%netbsd.org@localhost
 



Home | Main Index | Thread Index | Old Index