From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 09:21:08 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 38518106564A for ; Thu, 12 Feb 2009 09:21:08 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id E3E8A8FC12 for ; Thu, 12 Feb 2009 09:21:07 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so375351ywt.13 for ; Thu, 12 Feb 2009 01:21:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Mc28+VbwhuE9UHd+jG2PfmNHSRP1VlqkMrblBvgPD9g=; b=Un8wWZEWMVlj53wHf1APoZA2j8DzMueS9j5rAKJghlfAQMTHAs2THmSRU2xZnQRDCb JKQIHIyMB6/OvYlSyQxUqpG5rbksXa8VhSDYhRJKqCHi9s8cLkn7SvMqFEqrIuqcNoHn uo8Q/YsxZcIiPdHoUWoDTuHF0AhXQyFqYhmBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=AoxcyH3PGmqL9NfbalUaK2qtOFGvdMYwDr2G1XK33r4yrdpkPk9Gke3GfEb+ucoT1z 3NEWD5EL0/bj/qXAXDlXfYwfIBkiLN4YYSEDJgCbarn7GOvSiwcyPghU0vdpTchmi33a 5SSJl1tCaPbKpclqhikaRHLQtfiJLdcwfC19Q= MIME-Version: 1.0 Received: by 10.151.147.10 with SMTP id z10mr291718ybn.192.1234430467259; Thu, 12 Feb 2009 01:21:07 -0800 (PST) In-Reply-To: References: Date: Thu, 12 Feb 2009 03:21:07 -0600 Message-ID: From: Alan Cox To: Mark Atkinson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, alc@cs.rice.edu 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: Thu, 12 Feb 2009 09:21:08 -0000 Do you know why NX is disabled on this processor? If possible, could you re-enable it and vm.pmap.pg_ps_enabled, and see if you still have the same problem. On Wed, Feb 11, 2009 at 5:26 PM, Mark Atkinson wrote: > 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. > > Is there something specifically preventing cores during buildworld? I > can't > find one after a bus error. I'll try to find something to dump the > revision for me. Here's the verbose boot for the processor. > > CPU: Quad-Core AMD Opteron(tm) Processor 2352 (2100.09-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x100f23 Stepping = 3 > > > Features=0x178bfbff > Features2=0x802009 > AMD Features=0xee400800 +,3DNow!> > AMD > Features2=0x7ff > TSC: P-state invariant > Cores per package: 4 > L1 2MB data TLB: 48 entries, fully associative > L1 2MB instruction TLB: 16 entries, fully associative > L1 4KB data TLB: 48 entries, fully associative > L1 4KB instruction TLB: 32 entries, fully associative > L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative > L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way > associative > L2 2MB data TLB: 128 entries, 2-way associative > L2 2MB instruction TLB: 0 entries, 2-way associative > L2 4KB data TLB: 512 entries, 4-way associative > L2 4KB instruction TLB: 512 entries, 4-way associative > L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 16-way > associative > usable memory = 10720198656 (10223 MB) > Physical memory chunk(s): > 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) > 0x0000000000f55000 - 0x00000000cfe4dfff, 3471806464 bytes (847609 pages) > 0x00000000cfe56000 - 0x00000000cfe56fff, 4096 bytes (1 pages) > 0x0000000100000000 - 0x000000029d212fff, 6931165184 bytes (1692179 pages) > > > -- > Mark Atkinson > atkin901@yahoo.com > (!wired)?(coffee++):(wired); > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >