# Selected extraction of enabled features from /usr/src/linux/.config for ACPI and CPU_FREQ options # e.g. egrep "ACPI|CPU_FREQ" /usr/src/linux/.config Configure Linux: # ACPI options are largely those one wants for a desktop not a laptop. # CPU_FREQ options are those one wants to switch between cpufreq-ondemand and acpi-cpufreq modules CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y CONFIG_ACPI_PROCFS_POWER=y CONFIG_ACPI_SYSFS_POWER=y CONFIG_ACPI_AC=y CONFIG_ACPI_BUTTON=y CONFIG_ACPI_VIDEO=y CONFIG_ACPI_FAN=y CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_PROCESSOR_AGGREGATOR=m CONFIG_ACPI_THERMAL=y # CONFIG_ACPI_CUSTOM_DSDT is not set <-- Interesting!!! CONFIG_ACPI_BLACKLIST_YEAR=0 CONFIG_ACPI_DEBUG=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=m CONFIG_CPU_FREQ_DEBUG=y CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_USERSPACE=m CONFIG_CPU_FREQ_GOV_ONDEMAND=m CONFIG_X86_ACPI_CPUFREQ=m CONFIG_PNPACPI=y CONFIG_ATA_ACPI=y ------------------------------------------------------------------------------- Rebuild kernel and reboot. Test loading acpi-cpufreq (potentially after rmmod cpufreq-ondemand): export CPUFREQDEBUG=/sys/module/cpufreq/parameters/debug echo 7 > $CPUFREQDEBUG modprobe acpi-cpufreq ------------------------------------------------------------------------------- Errors seen in /var/log/... files: Jun 15 06:24:34 frodo kernel: acpi-cpufreq: acpi_cpufreq_init Jun 15 06:24:34 frodo kernel: acpi-cpufreq: acpi_cpufreq_early_init Jun 15 06:24:34 frodo kernel: cpufreq-core: trying to register driver acpi-cpufreq Jun 15 06:24:34 frodo kernel: cpufreq-core: adding CPU 0 Jun 15 06:24:34 frodo kernel: acpi-cpufreq: acpi_cpufreq_cpu_init Jun 15 06:24:34 frodo kernel: processor_perflib-0405 [00] processor_get_performa: ACPI-based processor performance control unavailable Jun 15 06:24:34 frodo kernel: cpufreq-core: initialization failed Jun 15 06:24:34 frodo kernel: cpufreq-core: no CPU initialized for driver acpi-cpufreq Jun 15 06:24:34 frodo kernel: cpufreq-core: unregistering CPU 0 The "ACPI-based processor performance control unavailable" is the KEY thing. That is the indicator that the machine ACPI BIOS (DSDT) lacks a _PCT entry and the CPU probably doesn't support Enhanced SpeedStep(R). ------------------------------------------------------------------------------- Output of "emerge --info" Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo i686) ================================================================= System uname: Linux-2.6.34-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 15 Jun 2010 04:00:21 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.5, 4.4.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA googleearth" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans" GENTOO_MIRRORS=" ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://lug.mtu.edu/gentoo/ftp://mirror.netcologne.de/gentoo/ http://de-mirror.org/distro/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--contimeout=300 --timeout=300" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/media/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/src/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnome gpm gtk hal iconv ipv6 java java6 jpeg lcms ldap libnotify mad mikmod mng modules mono mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection ruby sdl session spell spl ssl startup-notification svg sysfs tcltk tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev lirc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="devinput hauppauge" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev i810 intel radeon radeonhd v4l vesa vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ------------------------------------------------------------------------------- Machine (esp. motherboard) is a Hewlitt Packard Pavilion a630n. Output of /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 3 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz stepping : 4 cpu MHz : 2800.938 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : 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 ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr bogomips : 5604.28 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 32 bits virtual power management: