Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 17:20:52 +1000
From:      "Tim Dettloff" <acpi.dettloff@gmail.com>
To:        "Nate Lawson" <nate@root.org>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Powerd makes computer hang
Message-ID:  <f67067e80608210020r7a3119feqfdd0dec2008d0c77@mail.gmail.com>
In-Reply-To: <44E9498F.8030208@root.org>
References:  <f67067e80608192300g7474bc76nc1c87b523bd807ea@mail.gmail.com> <44E9498F.8030208@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21/08/06, Nate Lawson <nate@root.org> wrote:
> dmesg would be a good start.  Is there some cpufreq driver running
> besides acpi_throttle?  Add hint.acpi_throttle.0.disabled="1" in
> loader.conf, reboot, and then retry your test.
>
> My guess is acpi_throttle is just a wrapper around p4-tcc on your system.

dmesg with and without cpufreq.ko loaded:
http://www.studentergaarden.dk/~tim/FreeBSD/dmesg_cpufreq.txt
http://www.studentergaarden.dk/~tim/FreeBSD/dmesg.txt

If I set hint.acpi_throttle.0.disabled=1 i need to have cpufreq.ko
loaded to be able to change the frequency, but in this case I have not
been able to get it to hang. With acpi_throttle enabled it hangs both
with and without cpufreq.ko loaded.

Another interesting thing is that different configurations lists
different freq_leves.

acpi_throttle:
dev.cpu.0.freq_levels: 1799/-1 1574/-1 1349/-1 1124/-1 899/-1 674/-1 449/-1 224/
-1

acpi_throttle and cpufreq:
dev.cpu.0.freq_levels: 1800/25000 1600/20700 1400/18112 1200/15525
1000/12937 800/8600 700/7525 600/6450 500/5375 400/4300 300/3225
200/2150 100/1075

cpufreq:
dev.cpu.0.freq_levels: 1791/25000 1592/20700 796/8600
(I think these are the values used in Windows, where it doesn't hang)

One last thing. If I load cpufreq after having changed the cpufreq via
acpi_throttle the values gets weird:
dev.cpu.0.freq_levels: 7362/25000 6544/20700 5726/18112 4908/15525
4090/12937 3272/8600 2863/7525 2454/6450 2045/5375 1636/4300 1227/3225
818/2150 409/1075

Cheers,
Tim



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