NetBSD-Bugs archive

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

Re: kern/51133: KASSERT on shutdown



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

From: Martin Husemann <martin%duskware.de@localhost>
To: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Subject: Re: kern/51133: KASSERT on shutdown
Date: Sat, 14 May 2016 23:25:34 +0200

 The initiator is subr_pserialize.c:pserialize_perform, not suprisingly,
 as it is the only caller of nullop via XC_HIGHPRI that I could find.
 
 And this is called from if_detach:
 
 brgphy3: detached
 brgphy2: detached
 scsibus1: detached
 atabus1: detached
 atabus0: detached
 brgphy1: detached
 brgphy0: detached
 Skipping crash dump on recursive panic
 panic: kernel diagnostic assertion "(boothowto & RB_HALT) == 0" failed: file "../../../../kern/subr_pserialize.c", line 174 
 db{1}> mach stack
 Window 0 frame64 0x1b1b373b0 locals, ins:
 103b5f598 1b1b37418 fffffffffffffff8 1805088 0 ffffffffffffffff a 2
 1805050 1b1b375a8 1ce5400 1ce6a00 1ce6800 4 1b1b36c61=sp 1611094=pc:netbsd:kern_
 assert+0x34
 Window 1 frame64 0x1b1b37460 locals, ins:
 103b09f70 103b09e70 0 1805088 0 0 0 1
 1805050 1805088 1887de8 1887db0 ae 1c8b400 1b1b36d21=sp 1527704=pc:netbsd:pseria
 lize_perform+0x184
 Window 2 frame64 0x1b1b37520 locals, ins:
 1805050 1805088 1887de8 1c8ab08 1ce0c00 4 10476d2d4 1
 103b28510 1887db0 1887c00 1cdd828 14fcc80 1c9a140 1b1b36dd1=sp 15ac700=pc:netbsd
 :if_detach+0xc0
 Window 3 frame64 0x1b1b375d0 locals, ins:
 441d000605 0 ffffffffffffffff 0 e0048000 1 1 0
 1046ba008 0 ffffffffffffffff 0 1046ba390 1c9a800 1b1b370d1=sp 10ddf68=pc:netbsd:
 bge_detach+0x68
 Window 4 frame64 0x1b1b378d0 locals, ins:
 1ce5400 1805050 182b450 182b478 e0048000 ffffffffffffffff a 0
 0 4 ff070000000001 1046ba498 1046ba008 1046ba000 1b1b37181=sp 150e5a4=pc:netbsd:
 config_detach+0xe4
 
 All looks fine, guess I need to bisect what made icnt depths go off.
 
 Martin
 


Home | Main Index | Thread Index | Old Index