ACPI problems on HP Compaq nx6325

Ariff Abdullah ariff at FreeBSD.org
Mon Jan 22 17:25:50 UTC 2007


On Mon, 22 Jan 2007 17:49:14 +0100
Michele Heurs <michele.heurs at 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 ........
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20070122/b515dd05/attachment.pgp


More information about the freebsd-acpi mailing list