From owner-freebsd-hackers Tue Aug 27 1:38:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC00937B400 for ; Tue, 27 Aug 2002 01:38:28 -0700 (PDT) Received: from mail.syd.eastlink.ca (mail.syd.eastlink.ca [24.222.87.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45C1C43E75 for ; Tue, 27 Aug 2002 01:38:28 -0700 (PDT) (envelope-from dest@syd.eastlink.ca) Received: from process.syd.eastlink.ca (dest@u80n87.syd.eastlink.ca [24.222.80.87]) by mail.syd.eastlink.ca (8.12.2/8.12.2) with ESMTP id g7R8cQZY030201 for ; Tue, 27 Aug 2002 05:38:27 -0300 Message-Id: <5.1.0.14.0.20020827052903.00bbe268@pop.syd.eastlink.ca> X-Sender: dest@pop.syd.eastlink.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 27 Aug 2002 05:39:14 -0300 To: freebsd-hackers@freebsd.org From: Craig Hawco Subject: SMP on Intel SE7500CW2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I've been looking into PR i386/40564 as I'm the owner of an Intel SE7500CW2. I managed to track it down to start_ap in mp_machdep.c. snippet from start_ap(): while (read_apic_timer()) if (mp_ncpus > cpus) return 1; /* return SUCCESS */ After a bit of poking around I found mpboot.s as the location of where mp_ncpus gets increased (mp_begin) after the AP has been started. The startup code for the AP is also in mpboot.s. Not being a kernel hacker I'm kind of stuck at this point. Windows and Linux work with this board, so it's probably not a hardware problem. Start_ap also appears to follow the Intel MP Spec very closely, after a quick glance, so I'm at a loss. Is an interrupt being lost somewhere? Is the problem occuring before the AP even executes its startup code and thus never executing mp_begin? I'm not an assembly programmer, and only have a very loose understanding of assembly, so actually understanding anything going on in mpboot.s is not very likely. Any help would be greatly appreciated. Craig Hawco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message