Subject: Re: fftw_test failing on Core 2 Duo/GENERIC.MP
To: Brad du Plessis <bradd@cat.co.za>
From: Andrew Doran <ad@netbsd.org>
List: port-i386
Date: 12/02/2007 16:10:11
On Fri, Nov 30, 2007 at 09:22:39AM +0200, Brad du Plessis wrote:

> On this system a few of days ago (Intel DG33FB, Intel 2180, 4.0_RC3 
> GENERIC.MP) I encountered random segmentation faults when trying to 
> build pkgsrc packages.
..
> You'll note that what is a bit concerning is that no system running with 
> both cores enabled passed this test. Has anyone else by any chance tried 
> this on a Core 2 Duo system and seen similar results?
> 
> Is this something to worry about, or is this a bogus test?

As Matthias mentioned it is likely to be a TLB management bug in the CPU,
possibly not one that can be patched by the BIOS.

Do your tests fork a lot? Can you try adding a "tlbflushg();" to the end
of pmap_destroy() in src/sys/arch/x86/x86/pmap.c and see if that helps?

Andrew