From owner-freebsd-current@FreeBSD.ORG Mon Dec 2 01:25:31 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24671A02 for ; Mon, 2 Dec 2013 01:25:31 +0000 (UTC) Received: from gw.catspoiler.org (gw.catspoiler.org [75.1.14.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DCC0A13AB for ; Mon, 2 Dec 2013 01:25:30 +0000 (UTC) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.3/8.13.3) with ESMTP id rB21PN06055866; Sun, 1 Dec 2013 17:25:27 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201312020125.rB21PN06055866@gw.catspoiler.org> Date: Sun, 1 Dec 2013 17:24:02 -0800 (PST) From: Don Lewis Subject: Re: panic: double fault with 11.0-CURRENT r258504 To: kostikbel@gmail.com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 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: Mon, 02 Dec 2013 01:25:31 -0000 On 30 Nov, To: kostikbel@gmail.com wrote: > On 30 Nov, Konstantin Belousov wrote: >> On Sat, Nov 30, 2013 at 01:02:16PM +0100, Peter Holm wrote: >>> On Thu, Nov 28, 2013 at 09:56:10AM +0200, Konstantin Belousov wrote: >>> > Peter, could you, please, try to reproduce the issue ? It does not look >>> > like a random hardware failure, since in all cases, it is curthread access >>> > which is faulting. The issue is only reported by Don, and so far only >>> > for i386 SMP. >>> >>> I'm not seeing this issue on my AMD Phenom(tm) 9150e Quad-Core >>> Processor with i386/r258703. >> >> Thank you. >> >> 9150 is family 0x10, which my indeed point out to some errata >> for family 0xf. Lets wait for Don. > > It's really looking like a hardware problem at this point. I've seen no > problems so far in about 2 1/2 passes through portupgrade -fr > lang/perl5.16 on my other machine with the same motherboard model but a > slightly different CPU. > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (2200.05-MHz 686-class CPU > ) > Origin = "AuthenticAMD" Id = 0x40fb2 Family = 0xf Model = 0x4b Stepping > = 2 > Features=0x178bfbff ,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x2001 > AMD Features=0xea500800 > AMD Features2=0x1f > > It's also a family 0xF CPU, but strangely different. It only seems to > have half as many on-die temperature sensors. > > dev.amdtemp.0.sensor_offset: 0 > dev.amdtemp.0.core0.sensor0: 35.0C > dev.amdtemp.0.core0.sensor1: -49.0C > dev.amdtemp.0.core1.sensor0: 34.0C > dev.amdtemp.0.core1.sensor1: -49.0C > > I've never noticed this before because this is the first time FreeBSD > has been run on this hardware. > > I may have to dig out the fine manual to see if amdtemp can be tweaked > to recognize this variation. The fine manual says this CPU is rev BH-F2, which should have two sensors per core, so it looks like this particular CPU might just be slightly broken. > After the current test run, which should finish late tonight, I'll go > back to the original machine and try the patch. If I still see > failures, then I'll start swapping parts to find the bad one. Back on the original machine, with your patch applied, it croaked with another double fault after about five hours of port building. Stack trace: Time to start swapping parts ...