Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 18:28:05 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Akephalos Akephalos <akephalos.akephalos@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: CPU problems after 8.0-STABLE update
Message-ID:  <v2m3bbf2fe11004040928y3751bca5qfb2870c1fc03ad71@mail.gmail.com>
In-Reply-To: <q2v1468a0871004032332kd654e4c6s8fbb72ed16f73f0@mail.gmail.com>
References:  <q2v1468a0871004032332kd654e4c6s8fbb72ed16f73f0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/4/4 Akephalos Akephalos <akephalos.akephalos@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



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