Date: Fri, 13 Nov 2009 14:48:04 +0100 From: Kai Gallasch <gallasch@free.de> To: Andriy Gapon <avg@icyb.net.ua>, John Baldwin <jhb@freebsd.org>, "S.N.Grigoriev" <serguey-grigoriev@yandex.ru>, freebsd-current@freebsd.org Subject: Re: 8.0RC2 amd64 - kernel panic running make buildworld Message-ID: <20091113144804.2c0fb90f@orwell.free.de> In-Reply-To: <4AFD140D.7010407@icyb.net.ua> References: <1031257439203@webmail57.yandex.ru> <hdc73v$4rt$1@ger.gmane.org> <941257966918@webmail42.yandex.ru> <200911111504.14906.jhb@freebsd.org> <20091112195932.5875387e@orwell.free.de> <4AFD140D.7010407@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Fri, 13 Nov 2009 10:08:45 +0200 schrieb Andriy Gapon <avg@icyb.net.ua>: > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091113144804.2c0fb90f>