From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 22 16:49:43 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C53C16A5C9 for ; Mon, 22 Jan 2007 16:49:43 +0000 (UTC) (envelope-from michele.heurs@aei.mpg.de) Received: from mailserv.aei.mpg.de (mailserv.aei.mpg.de [194.94.224.6]) by mx1.freebsd.org (Postfix) with ESMTP id ECBC913C4BC for ; Mon, 22 Jan 2007 16:49:42 +0000 (UTC) (envelope-from michele.heurs@aei.mpg.de) Received: by mailserv.aei.mpg.de (Postfix, from userid 65534) id D2CEAA30FB3; Mon, 22 Jan 2007 17:49:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserv.aei.mpg.de (Postfix) with ESMTP id 3F244A305EC; Mon, 22 Jan 2007 17:49:40 +0100 (CET) Received: from [130.75.117.7] (unknown [130.75.117.7]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by mailserv.aei.mpg.de (Postfix) with ESMTP id 77E5BA288F3; Mon, 22 Jan 2007 17:49:19 +0100 (CET) Message-ID: <45B4EB0A.5070103@aei.mpg.de> Date: Mon, 22 Jan 2007 17:49:14 +0100 From: Michele Heurs User-Agent: Thunderbird 1.5.0.9 (X11/20070109) MIME-Version: 1.0 To: Nate Lawson References: <45AF925C.9050104@aei.mpg.de> <20070119223740.GD47713@uriah.heep.sax.de> <45B1579B.7010009@root.org> In-Reply-To: <45B1579B.7010009@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on mailserv.aei.mpg.de X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=no version=2.64 Cc: Joerg Wunsch , freebsd-acpi@freebsd.org Subject: Re: ACPI problems on HP Compaq nx6325 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 16:49:43 -0000 Nate Lawson wrote: > Also, *which* patch are you using from the PR? THere are a few > different ones. I first tried this patch: http://people.freebsd.org/~ariff/misc/idlecpu_apic_5.diff which alone didn't fix the problem. Then I changed machdep.c as described by Ariff: ## BEGIN ## void cpu_idle(void) { #ifdef SMP if (mp_grab_cpu_hlt()) return; #endif if (cpu_idle_hlt) { disable_intr(); if (sched_runnable()) enable_intr(); else if (PCPU_GET(cpuid) == 0) <<<<< enable_intr(); <<<<< else (*cpu_idle_hook)(); } } ## END ## and inserted this in loader.conf: machdep.cpu_idle_hlt=0 Now it seems to work :) Thanks, guys! Bye, Michèle P.S.: Can this be merged into 6-stable soon? -- ********************************************** Dr. Michèle Heurs Max-Planck-Institut für Gravitationsphysik (Albert-Einstein-Institut) Callinstr. 38 30167 Hannover Germany Tel.: +49 (0)511 - 762 - 5845 Fax: +49 (0)511 - 762 - 2784 Web: http://www.aei.mpg.de **********************************************