From owner-freebsd-i386@FreeBSD.ORG Fri Nov 17 09:20:12 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5D2B16A416 for ; Fri, 17 Nov 2006 09:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBEC143D5F for ; Fri, 17 Nov 2006 09:20:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAH9KBI1061376 for ; Fri, 17 Nov 2006 09:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAH9KB8S061375; Fri, 17 Nov 2006 09:20:11 GMT (envelope-from gnats) Date: Fri, 17 Nov 2006 09:20:11 GMT Message-Id: <200611170920.kAH9KB8S061375@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Ariff Abdullah Cc: Subject: Re: i386/104678: SMP not working on Turion XP Laptop X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ariff Abdullah List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2006 09:20:12 -0000 The following reply was made to PR i386/104678; it has been noted by GNATS. From: Ariff Abdullah To: bug-followup@FreeBSD.org, danolson@visi.com, rainer.alves@gmail.com, infofarmer@FreeBSD.org, bde@zeta.org.au Cc: jhb@FreeBSD.org Subject: Re: i386/104678: SMP not working on Turion XP Laptop Date: Fri, 17 Nov 2006 17:15:01 +0800 It seems the workaround is rather simple: machdep.cpu_idle_hlt=0 Unfortunately, the only place where you can set that is after the system comes alive. This patch deals with that so that you can set it as early as possible during boot procedure through loader.conf. http://people.freebsd.org/~ariff/misc/turionX2.diff Summary: Basically the cpu enter deep sleep mode whenever it receives HLT call within idle loop, and that only if APIC + Local APIC timer is enabled. I can't tell whether it is because of APIC misseting, CPU bug or else, but one thing for sure, FreeBSD 5.x/SMP boots happily on this (well, that's because it doesn't use local APIC timer). With idle HLT disabled, there will be a slight power savings penalty especially if the cpu just sit idle doing nothing else. CPU Errata: http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/33610.pdf Perhaps jhb@ might have an interest in this issue. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........