From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 8 14:06:17 2007 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2097E16A421 for ; Wed, 8 Aug 2007 14:06:17 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from a5.virtuaal.com (a5.virtuaal.com [195.222.15.75]) by mx1.freebsd.org (Postfix) with ESMTP id 9EC2713C4D3 for ; Wed, 8 Aug 2007 14:06:16 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from pc180.host1.ida.starman.ee ([62.65.240.180] helo=[192.168.2.100]) by a5.virtuaal.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IIlnc-0003UZ-50 for freebsd-bugs@freebsd.org; Wed, 08 Aug 2007 16:42:08 +0300 From: Andrei Kolu To: freebsd-bugs@freebsd.org Date: Wed, 8 Aug 2007 16:42:06 +0300 User-Agent: KMail/1.9.7 References: <5156535A-F522-44E4-B100-0DD0E08443DB@emeraldcityeg.com> <46B785FC.4000306@acm.poly.edu> In-Reply-To: <46B785FC.4000306@acm.poly.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708081642.06827.antik@bsd.ee> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a5.virtuaal.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bsd.ee Subject: Re: powerd won't start on 6.2 with core2duo CPU X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 14:06:17 -0000 Monday 06 August 2007 23:35:08 kirjutas Boris Kochergin: > ECEG / Daniel Duerr wrote: > > Hi Boris, > > > > This did the trick... I recompiled my kernel with device cpufreq and > > it works now. I guess this CPU appears as a non-ACPI CPU type? > > > > Cheers, > > Daniel > > > > On Aug 5, 2007, at 5:17 PM, Boris Kochergin wrote: > >> ECEG / Daniel Duerr wrote: > >>> Hi, > >>> > >>> I'm running a server on the latest FreeBSD 6.2 from the RELENG_6_2 > >>> sources. My SMP kernel sees my CPU (in dmesg) as: > >>> > >>> CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (1870.39-MHz > >>> 686-class CPU) > >>> > >>> I am unable to start powerd, however, as I get the following error: > >>> > >>> Starting powerd. > >>> powerd: lookup freq: No such file or directory > >>> > >>> On closer examination of the sysctl -a output, there are no > >>> dev.cpu.X.freq values set. Any ideas what is going on here? > >>> No need to compile cpufreq into kernel. /boot/loader.conf: cpufreq_load="YES" /etc/rc.conf: # powerd: adaptive speed while on AC power, adaptive while on battery power powerd_enable="YES" powerd_flags="-a adaptive -b adaptive" # set CPU frequency %sysctl dev.cpu dev.cpu.0.freq: 250 dev.cpu.0.freq_levels: 1667/31000 1458/27125 1333/22000 1166/19250 1000/13000 875/11375 750/9750 625/8125 500/6500 375/4875 250/3250 125/1625 %dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #52: Mon Jul 23 13:26:03 PDT 2007 root@pcbsd:/usr/obj/usr/src/sys/PCBSD-SMP Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (1662.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe39d,CX16,,> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 1063858176 (1014 MB) avail memory = 1027620864 (980 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 2000 acpi0: reservation of fed00000, 400 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1