CPU problems after 8.0-STABLE update

Attilio Rao attilio at freebsd.org
Sun Apr 4 16:28:07 UTC 2010


2010/4/4 Akephalos Akephalos <akephalos.akephalos at gmail.com>:
> Hey,
>
> I installed 8.0 release and used it very briefly until updating through
> cvsup to the latest stable source. I had no problems with the release (DVD)
> version, except that my wireless card wasn't detected, so updating was the
> natural thing to do. My hardware is an ASUS dual Turion laptop (K50AB), and
> my working setup was like this:
>
> - /boot/loader.conf:
> cpufreq_load="YES"
> hint.acpi_throttle.0.disabled="1"
> - /etc/rc.conf:
> powerd_enable="YES"
>
> It was working fine, the CPU frequency was scaling as expected, I checked it
> numerous times while working and idle with 'sysctl dev.cpu.0.freq'. Also,
> the load was displayed correctly in the taskmanager (I don't remember what
> was displayed in 'top', but I suppose it was ok).
>
> Now, after updating through buildworld, powerd doesn't scale the frequency
> anymore. My observations pointed out that the problem is that the CPU load
> is not detected correctly anymore:
> - I got three frequency steps: 575, 1150 and 2300 (correctly detected by
> dev.cpu.0.freq_levels while cpufreq module is loaded), but powerd scales
> down the frequency to the minimum, 575 then keeps it like that no matter of
> the load - dev.cpu.0.freq shows 575 and I got large build times because of
> it. To be able to use it fully, I have to kill powerd and set the frequency
> manually, or disable it at startup.
> - 'top -P' displays only one CPU and its load is 0% everything all the time,
> despite any load
> - I can't see anything in a taskmanager, the last time I tried with xfce and
> CURRENT (CURRENT had the same issue)
> - dev.cpu.0.cx_usage shows 100%.
> ---
>
> I'd like to find out the problem, why the CPU level is not detected
> correctly and how to fix this/report.

What architecture is it?
May you try setting machdep.lapic_allclocks to 1 in /boot/loader.conf?
May you report #dmesg | grep atrtc


Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the freebsd-stable mailing list