Date: Tue, 23 Jan 2007 01:25:32 +0800 From: Ariff Abdullah <ariff@FreeBSD.org> To: Michele Heurs <michele.heurs@aei.mpg.de> Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-acpi@freebsd.org Subject: Re: ACPI problems on HP Compaq nx6325 Message-ID: <20070123012532.31d605a0.ariff@FreeBSD.org> In-Reply-To: <45B4EB0A.5070103@aei.mpg.de> References: <45AF925C.9050104@aei.mpg.de> <20070119223740.GD47713@uriah.heep.sax.de> <45B1579B.7010009@root.org> <45B4EB0A.5070103@aei.mpg.de>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, 22 Jan 2007 17:49:14 +0100 Michele Heurs <michele.heurs@aei.mpg.de> wrote: > 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. You got it all wrong. Apply the patch, set hw.apic.idle_cpu=1 (or 2). > > 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 :) Backout this one. It'll hurt you much with the increase of heat/temperature. > > Thanks, guys! > Bye, > Michèle > > P.S.: Can this be merged into 6-stable soon? > This violate every sense of proper solution and will be left there dying alone as a poor man workaround. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFtPOZlr+deMUwTNoRAgM+AJ0XGz6SqRCcGsBJSbsrUGTLkqAe/wCeIS6W ZqI5aodCBluLKci4NiGl8Ao= =i4dK -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070123012532.31d605a0.ariff>
