From owner-freebsd-current@FreeBSD.ORG Sun Nov 6 15:40:33 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF12916A41F; Sun, 6 Nov 2005 15:40:33 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from speedfactory.net (mail5.speedfactory.net [66.23.216.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFCBE43D46; Sun, 6 Nov 2005 15:40:32 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 1468687 for multiple; Sun, 06 Nov 2005 10:42:30 -0500 Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jA6FeDlR003644; Sun, 6 Nov 2005 10:40:20 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Vaibhave Agarwal Date: Sun, 6 Nov 2005 10:12:55 -0500 User-Agent: KMail/1.8 References: <20051027233636.GA39380@dmw.hopto.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511061012.57212.jhb@FreeBSD.org> 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 X-Server: High Performance Mail Server - http://surgemail.com r=100 Cc: freebsd-net@FreeBSD.org, current@FreeBSD.org, chris@gnome.co.uk, chmr@edvz.tu-graz.ac.at Subject: Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine 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: Sun, 06 Nov 2005 15:40:33 -0000 On Sunday 06 November 2005 07:06 am, Vaibhave Agarwal wrote: > hi, > > FreeBSD 6.0 always uses local APIC for the clock. > > But on my Pentium 3, 850 MHz machine, it doesnt detect local APIC and > falls back to using the motherboard clock for the clock interrupts. > > I figured this out by printing the value of > "using_lapic_timer" variable in the sys/i386/isa/clock.c file, > which is always 0. > > But when I use Intel's 3GHz - 64 bit Xeon processor, it detects local APIC > and all works fine. > > Can someone please tell me the reason, why local APIC doesnt work for the > Pentium 3 machines ? Or is there a way to fix this ? We don't detect the local APIC via MSR's or the APIC bit in cpu_features, b= ut=20 rely on a working MP Table or MADT table to setup both the local APIC(s) an= d=20 I/O APIC(s). Does your machine have a valid MP Table or an APIC table in i= ts=20 acpidump? Many UP machine BIOSes don't include those tables. =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org