From owner-freebsd-amd64@FreeBSD.ORG Thu Nov 8 19:32:34 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4603C21 for ; Thu, 8 Nov 2012 19:32:34 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF7F8FC0A for ; Thu, 8 Nov 2012 19:32:33 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id x43so1776815wey.13 for ; Thu, 08 Nov 2012 11:32:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=QV9wPgkTrQkWJVCtM57ePUR0ZY2O/CqxMO0n3SRNjgk=; b=Eb5SF3A97CS4hhdqNUtqtsQ+ugTasA5bcrUYUFYC1c/KLhP/YdcpErJ7F2u5WRSOKb oXZCuE5EHv0F+YMsNdtJJU5croJFu5qRnCWtPV5pBIpMS7w97+ZXKerZjGL0d5Mo/BbB tEs+bheMfnQ1Gm/0p8OM9hah016HqFL2F0rKU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=QV9wPgkTrQkWJVCtM57ePUR0ZY2O/CqxMO0n3SRNjgk=; b=QeMs2LNMVGRvSz/Iugl4wXTYFqEnW52aEdexyHsME4FWrnDg5CTwH6FpLJJrhvNpFY heVoNXuCf1WykUlXIheyGlZJZcHFJTwyerw1eej3fC3AqMMqK92Vphtnkq0QMosFk3sY alz9MCfdgwiu50pCGue/XojX75qYCBZ/4R2Ue6VLRqnhgDkLvb4HQA4mFqRiNoQKTWA7 9ZN6qiJbFbCNxDHUudvtF+AVKJ82j9b8fsB4zok1GR5Ke5ZjkWXJXdD3k6+Bx2Wq2I8N Nysx4zPKd2QGIM5o4oEHiPOISBy57ccjxyxIQP9aD4+/XJym/+Cqzp2vWiElqoMXqqpo cRuA== MIME-Version: 1.0 Received: by 10.216.214.91 with SMTP id b69mr3667589wep.70.1352403152238; Thu, 08 Nov 2012 11:32:32 -0800 (PST) Received: by 10.194.62.130 with HTTP; Thu, 8 Nov 2012 11:32:32 -0800 (PST) In-Reply-To: <509BF9ED.90205@FreeBSD.org> References: <201210311250.q9VCo1Wx025049@freefall.freebsd.org> <509BF9ED.90205@FreeBSD.org> Date: Thu, 8 Nov 2012 11:32:32 -0800 Message-ID: Subject: Re: amd64/173235: Have received two crashes within 1 day after installing new packages: Fatal trap 12: page fault in kernel mode From: Peter Wemm To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkPcKcw4GazjS76U8ZZ6aiZNlOcm4q5C7XAUQoPGQfTT9lCfkmfdFNjYgJnZ1+6OJl5jmr3 Cc: =?ISO-8859-1?Q?Tommy_Sonne_Alstr=F8m?= , freebsd-amd64@freebsd.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 19:32:34 -0000 On Thu, Nov 8, 2012 at 10:29 AM, John Baldwin wrote: > On 10/31/12 8:50 AM, Tommy Sonne Alstr=F8m wrote: >> The following reply was made to PR amd64/173235; it has been noted by GN= ATS. >> >> From: =3D?ISO-8859-1?Q?Tommy_Sonne_Alstr=3DF8m?=3D >> To: Andriy Gapon >> Cc: bug-followup@FreeBSD.org >> Subject: Re: amd64/173235: Have received two crashes within 1 day after = installing >> new packages: Fatal trap 12: page fault in kernel mode >> Date: Wed, 31 Oct 2012 13:44:01 +0100 >> >> I'm very sorry, I just realized that I copied the 1st readout twice. Th= e >> 2nd readout was like this >> >> Fatal trap 12: page fault while in kernel mode >> cpuid =3D 0; apic id =3D 00 >> fault virtual address =3D 0x6 >> fault code =3D supervisor read data, page not present >> instruction pointer =3D 0x20:0xffffffff809da0cc >> stack pointer =3D 0x28:0xffffff8451f549b0 >> frame pointer =3D 0x28:0xffffff8451f54a40 >> code segment =3D base 0x0, limit 0xfffff, type 0x1b >> =3D DPL 0, pres 1, long 1, def32 0, gran 1 >> processor eflags =3D interrupt enabled, resume, IOPL =3D 0 >> current process =3D 1068 (named) >> trap number =3D 12 >> panic: page fault >> cpuid =3D 0 >> KDB: stack backtrace: >> #0 0xffffffff808680fe at kdb_backtrace+0x5e >> #1 0xffffffff80832cb7 at panic+0x187 >> #2 0xffffffff80b185a0 at trap_fatal+0x290 >> #3 0xffffffff80b188e9 at trap_pfault+0x1f9 >> #4 0xffffffff80b18daf at trap+0x3df >> #5 0xffffffff80b0324f at calltrap+0x8 >> #6 0xffffffff809f75a7 at udp6_bind+0xa7 >> #7 0xffffffff808a152e at kern_bind+0xde >> #8 0xffffffff808a15a1 at sys_bind+0x41 >> #9 0xffffffff80b17e90 at amd64_syscall+0x4e0 >> #10 0xffffffff80b03537 at Xfast_syscall+0xf7 >> Uptime: 9h41m13s >> Dumping 3411 out of 16088 >> MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% > > Both of your panics involve faults where the bad pointer only has a > single bit set. They are also in very different places. I suspect > you are having a hardware failure (e.g. single-bit memory errors). Which ones are you looking at? A fault va of 0x20 and 0x6 is what I'd normally suspect of being a null pointer + structure member offset dereference. Given: >> instruction pointer =3D 0x20:0xffffffff809da0cc I'd be curious to see the kgdb output of (kgdb) l *0xffffffff809da0cc (and same for the first crash if that kernel is still available) --=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell