with the deprecated ACPI /proc files turned off, cpufreqd doesn't see the AC status and sets the the cpu frequency to lowest when started (at boot) Reproducible: Always Steps to Reproduce: 1. compile kernel with CONFIG_ACPI_PROC* turned off 2. boot the kernel (cpufreqd starts at boot) with laptop connected to the wall plug (I'm using 2.6.31-r7) 3. Actual Results: my laptop starts with the cpu freq set at 1.0Ghz (instead of 1.8Ghz) while being connected to the wall plug Expected Results: since I'm not running on battery, I would have expected cpu to run full speed Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r7.t60 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r7.t60-i686-Intel-R-_Core-TM-_Duo_CPU_T2400_@_1.83GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 11 Dec 2009 08:00:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" 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" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="ro en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi alsa bluetooth cdr consolekit cups dbus dri hal iconv kdehiddenvisibility mime mmap mmx mmx2 nas ncurses nls nptl opengl pam pcmcia plasma policykit pulseaudio qt3 qt3support sse sse2 ssl threads unicode usb x86 xattr xcb xinerama xml zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="plug ioplug dmix adpcm alaw asym copy dshare dsnoop empty extplug file hooks iec958 ladspa lfloat linear meter mulaw multi null rate route share shm softvol mmap_emul" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en" QEMU_SOFTMMU_TARGETS="i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This also affects my desktop setup with phenom iv cpu. cpufreqd uses wrongly battery profile but there's no battery. $ acpid -D plugins_post_conf : Unable to configure plugin sensors_plugin, removing acpi_battery_update : Re-scanning available batteries cpufreqd_set_profile : Profile "performance" set for CPU0 cpufreqd_set_profile : Profile "performance" set for CPU1 cpufreqd_set_profile : Profile "performance" set for CPU2 cpufreqd_set_profile : Profile "performance" set for CPU3 $ acpi -b no output part kernel conf: CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y CONFIG_ACPI_PROCFS=y CONFIG_ACPI_PROCFS_POWER=y CONFIG_ACPI_SYSFS_POWER=y CONFIG_ACPI_PROC_EVENT=y
BTW, do you have different acpid? # acpid -D acpid: invalid option -- 'D' Usage: acpid [OPTIONS] -c, --confdir Set the configuration directory. -C, --clientmax Set the limit on non-root socket connections. -d, --debug Increase debugging level (implies -f). -e, --eventfile Use the specified file for events. -f, --foreground Run in the foreground. -l, --logevents Log all event activity. -g, --socketgroup Set the group on the socket file. -m, --socketmode Set the permissions on the socket file. -s, --socketfile Use the specified socket file. -S, --nosocket Do not listen on a UNIX socket (overrides -s). -p, --pidfile Use the specified PID file. -L, --lockfile Use the specified lockfile to stop processing. -n, --netlink Force netlink/input layer mode. (overrides -e) -v, --version Print version information. -h, --help Print this message. # acpid -v acpid-2.0.3 # hash hits command 5 /usr/bin/emerge 2 /usr/bin/ssh 1 /usr/bin/layman 2 /usr/sbin/acpid 1 /usr/bin/less 1 /bin/ls # equery belongs acpid * Searching for acpid ... sys-power/acpid-2.0.3 (/usr/sbin/acpid) sys-power/acpid-2.0.3 (/etc/conf.d/acpid) sys-power/acpid-2.0.3 (/etc/init.d/acpid) am on ~x86 host
this bug report can be closed now; 2.4.2 went stable and it now works for me with deprecated ACPI /proc files turned off in the kernel config. thanks, dragos