tech-kern archive

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

Re: panic(9) with insufficient RAM or disk space



On 09.06.2017 13:08, Kamil Rytarowski wrote:
> On 09.06.2017 13:07, Martin Husemann wrote:
>> One of the panics sounds like PR 52110.
>>
>> Martin
>>
> 
> This looks similar, I have another kernel core dump with exactly the
> same backtrace. I observed it few times on my amd64 laptop with 3GB of RAM.
> 
> Crash version 7.99.59, image version 7.99.66.
> WARNING: versions differ, you may not be able to examine this image.
> System panicked: kernel diagnostic assertion "uvmexp.swpgonly + npages
> <= uvmexp.swpginuse" failed: file "/usr/src/sys/uvm/uvm_pager.c", line 472
> Backtrace from time of crash is available.
> crash> bt
> _KERNEL_OPT_NARCNET() at 0
> ?() at fffffe809f632740
> vpanic() at vpanic+0x149
> ch_voltag_convert_in() at ch_voltag_convert_in
> uvm_aio_aiodone_pages() at uvm_aio_aiodone_pages+0x541
> uvm_aio_aiodone() at uvm_aio_aiodone+0x97
> workqueue_worker() at workqueue_worker+0xbc
> 

I've faced the panic again.

panic: kernel diagnostic assertion "(so2->so_options &
SO_ACCEPTCWONANR)N I=N=G :0  S|P|L  sNoO2T- >LsOoW_ElRoEckD  =O= Nu
iSpYcS_ClAoLckL"  f2WaW5AiAl ReRNd
2:N I fINEiNlXGGeI:: T"   /SSuP1sPLL9r /  Ns7NrO
cOT/T  sLyLsOO/WkWWEeAERrRRnEE/NDDIu  iNOOpGNcN :_ u SSsSYrPYSrCLSeAqC
L.AcLNL"OL T,1    l12Li nO52eW65 6E 1 E1RE8XX4E II
TDT   cO0fpf Nu 4720T
:6 8RBA2eP0g i nE7 X
trIaTcW eA6b Ra0Nc
IkN.GW.A:.R
SNIPWLN AGN:RO NTSIP NLLG O:NW OESTRP EL LDN OOOWT NEL ROSWEEYDR SEODC
NAO LNT LR TRA1AP P  2EE5XXI6IT vT E Xp66a I 0nT
i0 c
(1)  7aW
tA RNING: SPnLe tNbOsTd :LOvpWWAWaEnARRRiENNcIIDN+N G0GO::x N1S 4 SPS0LYP
 NLSOC TA NLLOLOT W 1ELR EO2DW 5EO6RN E EDTX RIOATNP   fSEfYX9SI6CTaA
eL60L 0 00
 70
 EWXAIcTRh N_fIvfNo9Gl1:ta acSgdP_0Lc  o8NWnA
OvReNT rINWLtGAO_:RWi NnESI(PRL)NE G ND:a Ot TO  SLNPO LWS EYNRSOECTnDA
Le LOtLON Wb 1ETs1RdRA6E:P D c4 hE_X OIvENT oX 6lIS t0TYa
 gSf_CfcA9oL6nLav ee00r 00t  _E6iX
nI
T ffW9A1RaN1I3N0G :8
SPL NWOATR NWLIOANWGRE:RNE IDNSu OGnPNL:p  _ TNRcOSAPoTP En XLnLI OeNTW
cOE6tRT (0E
)DLO  WaOEtNR  ESDY SOCNA LnSLYe St5Cb1As5LWd AL:1RN u2IN0n G: pE X0S_I
PTLc E 2XoN0nIOTn3T   Le6fOc
WtfE+R9E01DWx63 6AO0bRN8 N0
TI NR8A
GP: E XWSIPTA LR6 N NI0ON
TG :L OSWPELR ENDO TO NLd OoSW_YEsSRyCEsAD_L cLOo Nn3 n0WSAe YRcN2StI
CN(EGX)A:I LT LS aP Lt11 N  Oe2T  57L6
O WEnEXIeREWTtDA b 1RsO NdN7I:N d
GTo:RW_ SAAsRPPyLNs I _NEcNXGoO:In TnTS e LPc6Ot LW+ 00EN
OxRT8E eDL
 OOWNE RSEYDS COANL LS Y2S CA2L56L  3E9X I6T  E0Xs Iy7Ts
 _6c2odn4ne50cW0Wt(A0A) RR N6NaI
ItNN GG::W  ASSPRPnLLN eI NNtNbGOOs:TdT  :S sLLPyLOO WsWNE_EORcRTEoE
DnDLn  OOeOcNWN tE +TRT0REARxDP4A  9OPEN
 XE XISITYT S 6C6 A 0L0
L
 1WW0AA2RNR4I NNG4I: N SEGP:XL  INSOTTP  LfLO fWN4sEyO0REs6TD  c8LO2NaO0
WSl EYlR7S
(EC)ADL  La OWt 1ANR  2NSYI5S6NC AGELX:IL nT  Se01P t 7Lb
2s 5d6N:O TsE yXLsIOcTWa ElfRlfE+9D06 xaO1eNd0 80S
 Y7S-
C-A-L WLs Ay1Rs Nc2Ia5Nl6Gl : E (XSnIPuTL m 1bN eO7rT
  9WLWA8ORWA)EN RRI-NENG-DI:-  NS
OGP:LN  N SOSPTY LSL CONAWOLETL7R E 31DLe 3OdONW18 dE Te4RR3A eEPE DX1E
7IXOITNaT  : Sf
Y6f S90c
C6ApauLe2L0: 0 3 E87n
d6  tEWrXAaIRcTNe Ib6Na2Gcd:k4 .5S.0P.W0LA
0 R NN6ION
TG :L SOPWL ENROETD  LOOWENR EDS OYNS CATLRLA P1  25E6 E
XIXdTIum Tpi6 n 0 g07

to dev 0,1 (offset=8, size=7864191):
dump failed: insufficient space (4097249 < 8067552)


It looks like KASSERT(9) in sys/kern/uipc_usrreq.c:unp_connect() here:

   1174 	solock(so);
   1175 	unp_resetlock(so);
   1176 	mutex_exit(vp->v_interlock);
   1177 	if ((so->so_proto->pr_flags & PR_CONNREQUIRED) != 0) {
   1178 		/*
   1179 		 * This may seem somewhat fragile but is OK: if we can
   1180 		 * see SO_ACCEPTCONN set on the endpoint, then it must
   1181 		 * be locked by the domain-wide uipc_lock.
   1182 		 */
   1183 		KASSERT((so2->so_options & SO_ACCEPTCONN) == 0 ||
   1184 		    so2->so_lock == uipc_lock);
   1185 		if ((so2->so_options & SO_ACCEPTCONN) == 0 ||
   1186 		    (so3 = sonewconn(so2, false)) == NULL) {
   1187 			error = ECONNREFUSED;
   1188 			sounlock(so);
   1189 			goto bad;
   1190 		}
   1191 		unp2 = sotounpcb(so2);
   1192 		unp3 = sotounpcb(so3);
   1193 		if (unp2->unp_addr) {
   1194 			unp3->unp_addr = malloc(unp2->unp_addrlen,
   1195 			    M_SONAME, M_WAITOK);
   1196 			memcpy(unp3->unp_addr, unp2->unp_addr,
   1197 			    unp2->unp_addrlen);
   1198 			unp3->unp_addrlen = unp2->unp_addrlen;
   1199 		}
   1200 		unp3->unp_flags = unp2->unp_flags;
   1201 		so2 = so3;
   1202 	}

https://nxr.netbsd.org/xref/src/sys/kern/uipc_usrreq.c#1183

kernel:
NetBSD netbuilder 7.99.70 NetBSD 7.99.70 (GENERIC) #0: Thu Apr 27
17:32:26 UTC 2017
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index