From owner-freebsd-stable@FreeBSD.ORG Sun Apr 4 16:28:07 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58D7A1065679 for ; Sun, 4 Apr 2010 16:28:07 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f209.google.com (mail-fx0-f209.google.com [209.85.220.209]) by mx1.freebsd.org (Postfix) with ESMTP id DAF9A8FC17 for ; Sun, 4 Apr 2010 16:28:06 +0000 (UTC) Received: by fxm1 with SMTP id 1so2309473fxm.13 for ; Sun, 04 Apr 2010 09:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:cc:content-type; bh=RYxi0dB9wqwnkHOKbWK9tOSFFe50L1+7bG5WeIQQ8Ak=; b=cD2EH1/39R1hGLMadm8JuZqmb0r3F8JZ27PpM5u8N32xr8HGuW/qJlWGz6nF+170zG /sZBrsJZ0eiURyui8hA/xnV+COmWIGKFC2i6VCqoRPcAfI4Nt6nkwOpiGDIG8SflQ/Rb iPKsn4GUyJTPWuoBytSHr0DGeddRF8mmKzQ38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=kQhVvrBoy07CQSNfjH7u0o1z8mp2BKjgYkB1QCGz9WuFXcz1lc7vx8vrib+A7Oygzq WMsqncqbx6FViACB/F0PCDQ7DGXBBRbUDdhOyg0yXuBhnXEihbL1oAI+u+4hrwhljy+5 8Vlx7B5GUskzYDPsKB5I5+5IimuO/q4LYlIww= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.239.137.131 with HTTP; Sun, 4 Apr 2010 09:28:05 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Apr 2010 18:28:05 +0200 X-Google-Sender-Auth: cf215cc5d175bf9b Received: by 10.239.188.139 with SMTP id p11mr382474hbh.102.1270398485635; Sun, 04 Apr 2010 09:28:05 -0700 (PDT) Message-ID: From: Attilio Rao To: Akephalos Akephalos Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: CPU problems after 8.0-STABLE update X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 16:28:07 -0000 2010/4/4 Akephalos Akephalos : > 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