From owner-freebsd-amd64@FreeBSD.ORG Fri May 12 09:00:58 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org 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 D38A116A5A3 for ; Fri, 12 May 2006 09:00:51 +0000 (UTC) (envelope-from adamsod@nc.rr.com) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 734C443E42 for ; Fri, 12 May 2006 08:29:06 +0000 (GMT) (envelope-from adamsod@nc.rr.com) Received: from ws03 (cpe-024-211-141-183.nc.res.rr.com [24.211.141.183]) by ms-smtp-02.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k4C8T1gp025713 for ; Fri, 12 May 2006 04:29:04 -0400 (EDT) Message-Id: <200605120829.k4C8T1gp025713@ms-smtp-02.southeast.rr.com> From: "Adam Soderlund" To: Date: Fri, 12 May 2006 04:28:59 -0400 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Thread-index: AcZ1nh4AnGMEpuQOT7mskkWnxQG7vg== X-Virus-Scanned: Symantec AntiVirus Scan Engine Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: amd64 SMP AP init corrupting the BDA? (newbie) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 09:01:16 -0000 Hi All, Hope this is the right place for questions like this. I've got something bad going on when booting 6.1release or 7-current amd64 SMP, the bios data area on my machine is getting whacked (killing usb legacy, which in turn causes a hang when kernel tries to take over the host controller(s)). I've debugged it a little bit and here is what I see. when setting up to launch the APs start_all_aps() calls into pmap_kenter() which is writing a pte to 0x000004e0 (physical). 0x04e0 in the BDA prior to pmap_kenter(va, boot_address) 0x0000002B 0x04e0 in the BDA after pmap_kenter(va, boot_address) 0x03C10900 (boot_address on the way in 0x9C000) I'm really new to FreeBSD as well as the list, so I thought I'd see if anyone had any thoughts on this. as I continue to try and figure out the vm / paging stuff. (shouldn't matter. but this is with 2 dual core Rev F opterons) Thanks, -Adam