From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 31 13:39:19 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DB7D16A4DC for ; Thu, 31 Mar 2005 13:39:19 +0000 (GMT) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DBC843D2F for ; Thu, 31 Mar 2005 13:39:18 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 20196 invoked from network); 31 Mar 2005 13:39:18 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 31 Mar 2005 13:39:17 -0000 Received: from [192.168.0.15] (osx.baldwin.cx [192.168.0.15]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j2VCvRHw024457; Thu, 31 Mar 2005 07:57:27 -0500 (EST) (envelope-from jhb@FreeBSD.org) In-Reply-To: <424B8A4F.7050607@samsco.org> References: <20050330222439.GU84137@wantadilla.lemis.com> <20050330223546.GA4705@troutmask.apl.washington.edu> <20050330224445.GW84137@wantadilla.lemis.com> <200503311032.33718.doconnor@gsoft.com.au> <20050331015429.GH6252@wantadilla.lemis.com> <657eb6604d1e00368d77f047a8b5e074@FreeBSD.org> <20050331040811.GL6252@wantadilla.lemis.com> <424B7C74.4060203@samsco.org> <20050331051458.GM6252@wantadilla.lemis.com> <424B8A94.5070300@alumni.rice.edu> <424B8A4F.7050607@samsco.org> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8019fdb08e141c32fc2621d399301455@FreeBSD.org> Content-Transfer-Encoding: 7bit From: John Baldwin Date: Thu, 31 Mar 2005 07:57:27 -0500 To: Scott Long X-Mailer: Apple Mail (2.619.2) X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx cc: Greg 'groggy' Lehey cc: freebsd-stable@FreeBSD.org cc: noackjr@alumni.rice.edu cc: FreeBSD-amd64@FreeBSD.org Subject: Re: Problems with AMD64 and 8 GB RAM? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 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, 31 Mar 2005 13:39:19 -0000 On Mar 31, 2005, at 12:27 AM, Scott Long wrote: > Jon Noack wrote: >> On 03/30/05 23:14, Greg 'groggy' Lehey wrote: >>> On Wednesday, 30 March 2005 at 21:28:36 -0700, Scott Long wrote: >>> >>>> Greg 'groggy' Lehey wrote: >>>> >>>>> On Wednesday, 30 March 2005 at 23:01:03 -0500, John Baldwin wrote: >>>>> >>>>>> On Mar 30, 2005, at 8:54 PM, Greg 'groggy' Lehey wrote: >>>>>> >>>>>>>> lapic0: LINT1 trigger: edge >>>>>>>> lapic0: LINT1 polarity: high >>>>>>>> lapic1: Routing NMI -> LINT1 >>>>>>>> lapic1: LINT1 trigger: edge >>>>>>>> lapic1: LINT1 polarity: high >>>>>>>> -ioapic0 irqs 0-23 on motherboard >>>>>>>> +ioapic0 irqs 0-23 on motherboard >>>>>>>> cpu0 BSP: >>>>>>>> ID: 0x00000000 VER: 0x00040010 LDR: 0x01000000 DFR: >>>>>>>> 0x0fffffff >>>>>>>> lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: >>>>>>>> 0x000001ff >>>>>> >>>>>> >>>>>> This shows that in the - case the APIC is broken somehow (0.0 >>>>>> isn't a >>>>>> valid I/O APIC version). >>>>> >>>>> >>>>> You mean the + case, I suppose. Yes, that's what I suspected. >>>>> >>>>> >>>>>> It would seem that the system has mapped RAM over top of the I/O >>>>>> APIC perhaps? >>>>> >>>>> >>>>> That's what I suspected too, but imp doesn't think so. >>>> >>>> >>>> I'd be more inclined to believe that there is an erroneous mapping >>>> by the OS, not that things are fundamentally broken in hardware. >>> >>> >>> Agreed. This has been my favourite hypothesis all along. But isn't >>> that what jhb is saying? >>> >>>> Your SMAP table shows everything correctly. It's becoming hard to >>>> break through your pre-concieved notions here and explain how things >>>> actually work. >>> >>> >>> No, there's nothing to break through. I think you're just having >>> problems >>> >>> 1. expressing yourself, and >>> 2. understanding what I'm saying. >>> >>> I have no preconceived notions. All I can see here is an >>> antagonistic >>> attitude on your part. What's the problem? You'll recall from my >>> first message that I asked for suggestions about how to approach the >>> issue. jhb provided some; you haven't so far. From what you've >>> written, it's unclear whether you disagree with jhb or not. If you >>> do, why? If you don't, what's your point here? >>> >>>>>> It would be interesting to see the contents of your MADT to see if >>>>>> it's trying to use a 64-bit PA for your APIC. >>>>> >>>>> >>>>> Any suggestions about how to do so? >>>> >>>> >>>> man acpidump >>> >>> >>> How do you run that on a system that won't boot? >> You said the system worked with 4 GB (albeit detecting only 3.5 GB). >> My perception of this whole ACPI thing is that it is fixed in your >> BIOS (although it can be overridden by the OS). As such, the amount >> of RAM you have in the machine shouldn't change acpidump results. Is >> that not correct? >> Jon > > This is absolutely correct. It might though. Notice the change in APIC version with 4GB of RAM vs 8GB. The APIC hardware is the same, so that's already indicative of something fishy going on. I think that his APIC address is correct though as otherwise no interrupts at all would work and it wouldn't claim to have 24 IRQs on the APIC in both cases. One can always boot an i386 non-PAE kernel with 8GB in the machine and get an acpidump though. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org