From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 31 22:54:45 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 1D5B316A4D0 for ; Mon, 31 Jan 2005 22:54:45 +0000 (GMT) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC20143D2D for ; Mon, 31 Jan 2005 22:54:44 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 8180 invoked from network); 31 Jan 2005 22:54:44 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 31 Jan 2005 22:54:44 -0000 Received: from [10.50.40.202] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j0VMsX3v033005; Mon, 31 Jan 2005 17:54:38 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-amd64@FreeBSD.org Date: Mon, 31 Jan 2005 17:38:04 -0500 User-Agent: KMail/1.6.2 References: <200501261149.11530.jkim@niksun.com> In-Reply-To: <200501261149.11530.jkim@niksun.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200501311738.04377.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.8 required=4.2 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Subject: Re: nForce3 (Compaq R3000) timer fix 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: Mon, 31 Jan 2005 22:54:45 -0000 On Wednesday 26 January 2005 11:49 am, Jung-uk Kim wrote: > This is (hopefully) the last patch of the series, which fixes infamous > '8254 timer not connected to IO-APIC' problem for nForce2+. Linux > people had a hack here: > > http://lkml.org/lkml/2003/12/21/7 > > (Note: 2.6.10 has more refined version.) > > The attached patch requires the previous 'skip_timer_override' hack > posted here: > > http://docs.freebsd.org/cgi/mid.cgi?200501192214.27401.jkim > > After the patch, you need to set 'hw.apic.skip_set_extint=1' from > loader or loader.conf. Be careful with spelling; this is 'apic', not > 'acpi' this time. ;-) > > With verbose boot logging, we should see: > > ioapic0: intpin 0 -> ISA IRQ 0 (edge, high) > > instead of: > > ioapic0: Routing external 8259A's -> intpin 0 > ioapic0: intpin 0 -> ExtINT (edge, high) > > I was able to run this laptop overnight without 'device atpic'. ;-) I > think somebody (jhb and peter, I guess) should double check if this > is okay. I tried many combinations including 'options SMP' and all > seemed to be fine so far. > > Finally I can run this laptop at full speed (2 GHz) under heavy load > with 'acpi_ppc' driver! > > http://www.spa.is.uec.ac.jp/~nfukuda/software/ Ok,. this answers my earlier question, pin 0 is really ISA IRQ 0 and not ExtINT. Unfortunately, there's no good way to know this from MADT or MPTable except using some sort of BIOS blacklist. I want to tinker with this slightly so we can require just one hint in the MADT code to handle this though. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org