From owner-freebsd-current@FreeBSD.ORG Fri Nov 13 13:48:08 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C96671065670 for ; Fri, 13 Nov 2009 13:48:08 +0000 (UTC) (envelope-from gallasch@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) by mx1.freebsd.org (Postfix) with ESMTP id 294C98FC0C for ; Fri, 13 Nov 2009 13:48:07 +0000 (UTC) Received: (qmail 98945 invoked from network); 13 Nov 2009 14:48:06 +0100 Received: from smtp.free.de (HELO orwell.free.de) (gallasch@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 13 Nov 2009 14:48:06 +0100 Date: Fri, 13 Nov 2009 14:48:04 +0100 From: Kai Gallasch To: Andriy Gapon , John Baldwin , "S.N.Grigoriev" , freebsd-current@freebsd.org Message-ID: <20091113144804.2c0fb90f@orwell.free.de> In-Reply-To: <4AFD140D.7010407@icyb.net.ua> References: <1031257439203@webmail57.yandex.ru> <941257966918@webmail42.yandex.ru> <200911111504.14906.jhb@freebsd.org> <20091112195932.5875387e@orwell.free.de> <4AFD140D.7010407@icyb.net.ua> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.18.2; powerpc-apple-darwin9.7.0) X-Face: 7"x0zA5=*cXGZw-xjU<">'+!3(KXTUXZVLD42KVN{'go[UQr"Mc.e(XW92N8plZ(9x.{x; I<|95e+b&GH-36\15F~L$YD*Y +u}o&KV?6.%"mJIkaY3G>BKNt`1|Y+%K1P4t; 47D65&(Y7h5Ll-[ltkhamx.-; ,jggK'}oMpUgEHFG YQ"9oXKAl>!d,J}T{)@uxvfu?YFWC*\~h+,^f Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: 8.0RC2 amd64 - kernel panic running make buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 13:48:08 -0000 Am Fri, 13 Nov 2009 10:08:45 +0200 schrieb Andriy Gapon : > on 12/11/2009 20:59 Kai Gallasch said the following: > > sonnenkraft:~ # MCA: CPU 4 UNCOR PCC OVER DTLB L1 error > Kai, > I have a hunch, could you please try the following _sledgehammer_ > patch (only kernel build/install is needed): > diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c > index 44b71f3..a456609 100644 > --- a/sys/amd64/amd64/pmap.c > +++ b/sys/amd64/amd64/pmap.c > @@ -2981,6 +2981,7 @@ setpte: > * Map the superpage. > */ > pde_store(pde, PG_PS | newpde); > + pmap_invalidate_all(pmap); > > pmap_pde_promotions++; > CTR2(KTR_PMAP, "pmap_promote_pde: success for va %#lx" > > This will slow down an act of promotion to a superpage, but should > not have any visible impact on overall performance. Andriy, I tried the patch with vm.pmap.pg_ps_enabled="1" , hw.mca.enabled="1" , rebuilt the kernel (although normally I never build kernels on Friday 13th :-) and ran buildworld -j8 for five times in a row. No sign of a machine check exception, no reboot. --Kai. -- The final screw holding up a rackmount server is always possessed by demons.