ACPI problems on HP Compaq nx6325
Michele Heurs
michele.heurs at aei.mpg.de
Mon Jan 22 16:49:43 UTC 2007
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
**********************************************
More information about the freebsd-acpi
mailing list