Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 17:49:14 +0100
From:      Michele Heurs <michele.heurs@aei.mpg.de>
To:        Nate Lawson <nate@root.org>
Cc:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, freebsd-acpi@freebsd.org
Subject:   Re: ACPI problems on HP Compaq nx6325
Message-ID:  <45B4EB0A.5070103@aei.mpg.de>
In-Reply-To: <45B1579B.7010009@root.org>
References:  <45AF925C.9050104@aei.mpg.de> <20070119223740.GD47713@uriah.heep.sax.de> <45B1579B.7010009@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
**********************************************




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B4EB0A.5070103>