NetBSD-Bugs archive

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

Re: kern/52126 (mvsata Marvell 88SX6081 panics on boot)



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

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/52126 (mvsata Marvell 88SX6081 panics on boot)
Date: Wed, 23 Oct 2019 11:33:49 +0100

 Just tried again with this morning's source and see the locking panic
 
 Kernel lock error: _kernel_lock,220: spinout
 
 lock address : 0xffffffff8169e800 type     :               spin
 initialized  : 0xffffffff80e3a8a9
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  3
 current cpu  :                  3 last held:                  1
 current lwp  : 0xffffd36185f81600 last held: 0xffffd3618633eac0
 last locked* : 0xffffffff809c58db unlocked : 0xffffffff8098aee2
 curcpu holds :                  0 wanted by: 0xffffd36185f81600
 
 panic: LOCKDEBUG: Kernel lock error: _kernel_lock,220: spinout
 cpu3: Begin traceback...
 vpanic() at netbsd:vpanic+0x178
 snprintf() at netbsd:snprintf
 lockdebug_more() at netbsd:lockdebug_more
 _kernel_lock() at netbsd:_kernel_lock+0x14a
 sleepq_block() at netbsd:sleepq_block+0x1f8
 cv_timedwait() at netbsd:cv_timedwait+0x130
 ipmi_thread() at netbsd:ipmi_thread+0x881
 cpu3: End traceback...
 fatal breakpoint trap in supervisor mode
 trap type 1 code 0 rip 0xffffffff8021ddcd cs 0x8 rflags 0x202 cr2 0 ilevel 0 rsp 0xffffab013d2ccd20
 curlwp 0xffffd36185f81600 pid 0.39 lowest kstack 0xffffab013d2c92c0
 	Stopped in pid 0.39 (system) at netbsd:breakpoint+0x5: how locks
 [Locks tracked through LWPs]
 Locks held by an LWP (npfgc-0):
 Lock 0 (initialized at npf_config_init)
 lock address : 0xffffd36186396cf8 type     :     sleep/adaptive
 initialized  : 0xffffffff8079aa4b
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  0
 current cpu  :                  3 last held:                  2
 current lwp  : 0xffffd36185f81600 last held: 0xffffd361868d29a0
 last locked* : 0xffffffff8079aae7 unlocked : 0xffffffff807aa8db
 owner field  : 0xffffd361868d29a0 wait/spin:                0/0
 
 Turnstile chain at 0xffffffff816a0070.
 => No active turnstile for this lock.
 
 Locks held by an LWP (nd6_timer):
 Lock 0 (initialized at soinit)
 lock address : 0xffffd364c8274080 type     :     sleep/adaptive
 initialized  : 0xffffffff80a31cad
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  1
 current cpu  :                  3 last held:                  2
 current lwp  : 0xffffd36185f81600 last held: 0xffffd36186725940
 last locked* : 0xffffffff80760675 unlocked : 0xffffffff80733115
 owner field  : 0xffffd36186725940 wait/spin:                1/0
 
 Turnstile chain at 0xffffffff8169ff80.
 => Turnstile at 0xffffd364c79e6b98 (wrq=0xffffd364c79e6bb8, rdq=0xffffd364c79e6b
 c8).
 => 0 waiting readers:
 => 1 waiting writers: 0xffffd36185ef95a0
 
 Locks held by an LWP (swapper):
 Lock 0 (initialized at disk_init)
 lock address : 0xffffd361866ff5b0 type     :     sleep/adaptive
 initialized  : 0xffffffff809e3de9
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  0
 current cpu  :                  3 last held:                  0
 current lwp  : 0xffffd36185f81600 last held: 0xffffffff8165cbe0
 last locked* : 0xffffffff80a7f7b6 unlocked : 0xffffffff80a7e49c
 owner field  : 0xffffffff8165cbe0 wait/spin:                0/0
 
 Turnstile chain at 0xffffffff816a01e0.
 => No active turnstile for this lock.
            
 
 [Locks tracked through CPUs]
 Locks held on CPU 1:
 Lock 0 (initialized at main)
 lock address : 0xffffffff8169e800 type     :               spin
 initialized  : 0xffffffff80e3a8a9
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  3
 current cpu  :                  3 last held:                  1
 current lwp  : 0xffffd36185f81600 last held: 0xffffd3618633eac0
 last locked* : 0xffffffff809c58db unlocked : 0xffffffff8098aee2
 curcpu holds :                  0 wanted by: 0xffffd36185f81600
 
 Lock 1 (initialized at ata_channel_init)
 lock address : 0xffffd361862ef020 type     :               spin
 initialized  : 0xffffffff8028428c
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  0
 current cpu  :                  3 last held:                  1
 current lwp  : 0xffffd36185f81600 last held: 0xffffd3618633eac0
 last locked* : 0xffffffff802829f1 unlocked : 0xffffffff80645f69
 owner field  : 0x0000000000010600 wait/spin:                0/1
            
 
 
 so presumably a race, and I was lucky last time.
 


Home | Main Index | Thread Index | Old Index