From owner-freebsd-current@FreeBSD.ORG Fri Feb 20 17:58:31 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 A1DD61065676 for ; Fri, 20 Feb 2009 17:58:31 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE5D8FC19 for ; Fri, 20 Feb 2009 17:58:30 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LaZdt-0003JW-TB for freebsd-current@freebsd.org; Fri, 20 Feb 2009 17:58:29 +0000 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Feb 2009 17:58:29 +0000 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Feb 2009 17:58:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Followup-To: gmane.os.freebsd.current Date: Fri, 20 Feb 2009 09:58:21 -0800 Lines: 73 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.99.01 Sender: news Subject: Re: memory alignment problems with -current on amd64? [Found Cause] 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, 20 Feb 2009 17:58:31 -0000 Alan Cox wrote: > On Tue, Feb 10, 2009 at 2:20 PM, Mark Atkinson wrote: > [snip] >> >> >> >> Well, taking the information I knew -- OCT 15th == good, Mid DEC == BAD, >> I trolled every commit logged between. Eventually I found this one: >> >> http://svn.freebsd.org/viewvc/base?view=revision&revision=185715 >> >> http://docs.freebsd.org/cgi/mid.cgi?200812061937.mB6JbqAI003273 >> >> I set vm.pmap.pg_ps_enabled="0" in /boot/loader.conf, and >> was able to complete buildworld and -j16 buildworld and -j8 buildkernel >> no problem. >> >> It appears superpage mapping causes alignment problems on this box. > > > Can you please provide more detailed information about this machine, in > particular, the processor including the revision? It would also be > helpful to see what gdb says about a couple of these crashes, > specifically, the machine registers at the time of the exception. Looking at the core a little further, you probably want the registers at the frame before the signal handler is called. [...] #61 0x178d2d478b6062af in ?? () #62 0x000000000000000a in ?? () #63 0x0000000000504620 in ?? () #64 0x0000000000000001 in ?? () #65 #66 0x0000000000444d68 in ?? () #67 0x0000000000000000 in ?? () #68 0x0000000000000001 in ?? () #69 0x0000000800ce0f30 in ?? () [...] (gdb) frame 66 #66 0x0000000000444d68 in ?? () (gdb) info registers rax 0x0 0 rbx 0x1 1 rcx 0x8019ff030 34386997296 rdx 0x1 1 rsi 0x8019ff060 34386997344 rdi 0x8019fe0a0 34386993312 rbp 0x801a00000 0x801a00000 rsp 0x7fffffffe180 0x7fffffffe180 r8 0x2 2 r9 0x0 0 r10 0x1 1 r11 0x801a00000 34387001344 r12 0x801a00000 34387001344 r13 0x800ce0f30 34373242672 r14 0x8019fe060 34386993248 r15 0x0 0 rip 0x444d68 0x444d68 eflags 0x297 663 cs 0x2b 43 ss 0x23 35 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired);