Date: Wed, 8 Aug 2007 16:42:06 +0300 From: Andrei Kolu <antik@bsd.ee> To: freebsd-bugs@freebsd.org Subject: Re: powerd won't start on 6.2 with core2duo CPU Message-ID: <200708081642.06827.antik@bsd.ee> In-Reply-To: <46B785FC.4000306@acm.poly.edu> References: <A15E9AB4-D676-4120-AD7F-C3B57CA95D6D@emeraldcityeg.com> <5156535A-F522-44E4-B100-0DD0E08443DB@emeraldcityeg.com> <46B785FC.4000306@acm.poly.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0xe39d<SSE3,RSVD2,MON,DS_CPL,EST,TM2,<b9>,CX16,<b14>,<b15>> AMD Features=0x20100000<NX,LM> AMD Features2=0x1<LAHF> Cores per package: 2 real memory = 1063858176 (1014 MB) avail memory = 1027620864 (980 MB) ACPI APIC Table: <DELL M07 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: <DELL M07 > on motherboard acpi_hpet0: <High Precision Event Timer> 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: <ACPI CPU> on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 p4tcc1: <CPU Frequency Thermal Control> on cpu1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708081642.06827.antik>