Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195985 - ACPI fails to manage fan and thermal zones
Summary: ACPI fails to manage fan and thermal zones
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-15 21:30 UTC by Greg Toombs
Modified: 2007-11-12 15:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel-provided /proc/config.gz (config.gz,9.77 KB, application/x-Gzip)
2007-10-17 14:33 UTC, Greg Toombs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Toombs 2007-10-15 21:30:47 UTC
I have a Toshiba A100 with kernel

Linux shuffles 2.6.22-gentoo-r8 #11 PREEMPT Mon Oct 15 04:05:41 EDT 2007 i686 Intel(R) Celeron(R) M CPU 420 @ 1.60GHz GenuineIntel GNU/Linux

When I start the system, dmesg gives me:

[...]
ACPI: Thermal Zone [TZ00] (39 C)
ACPI: Invalid passive threshold
ACPI: Transitioning device [FAN0] to D0
ACPI: Transitioning device [FAN0] to D0
ACPI: Unable to turn cooling device [f7e033d8] 'on'


I've written a couple of laptop-mode-tools scripts to cat values to /proc/acpi files, but:

/proc/acpi/thermal_zone/TZ00
cooling_mode: <setting not supported>
polling_frequency: <polling disabled>
state: ok
temperature: 55 C (this seems to work, at least)
trip_points:
    critical (S5): 106 C

/proc/acpi/thermal_zone/TZ00
cooling_mode: <setting not supported>
polling_frequency: <polling disabled>
state: ok
temperature: 55 C (this seems to work, at least)
trip_points:
    critical (S5): 106 C

/proc/acpi/thermal_zone/TZ01
cooling_mode: 0 - Active; 1 - Passive
polling_frequency: <polling disabled>
state: active [0]
temperature: 52 C (this seems to work too)
trip_points:
    critical (S5): 106 C
    active[0]:     0 C: devices=FAN0

Whenever I write any values to TZ01/trip_points, the active[0] temperature does not change, and I get more dmesg ACPI complaints about the fan.

I can hear the fan varying every once in a while in heavy CPU load, but it seems to do this on its own (perhaps from the BIOS or an on-board controller), but - it never spins down below a certain point, whereas it does in windows.

Any advice would be appreciated.

Reproducible: Always

Steps to Reproduce:
Comment 1 Mike Pagano gentoo-dev 2007-10-16 12:59:18 UTC
Please provide:
The last kernel where this was working
Your .config file
emerge --info
Have you tested against the latest stable gentoo-sources (2.6.23 as of this writing)?
Comment 2 Greg Toombs 2007-10-17 14:29:16 UTC
(In reply to comment #1)
> Please provide:
> The last kernel where this was working

Unfortunately, I just installed gentoo for the first time on this laptop, so I have no regression information.

> Your .config file
Coming.

> emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Celeron(R) M CPU 420 @ 1.60GHz
Timestamp of tree: Wed, 17 Oct 2007 02:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrors.tera-byte.com/ "
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
LINGUAS="en en_CA en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa apm bash-completion battery berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread encode fam fbcon ffmpeg firefox fortran ftp gdbm gif glut gnutls gpm graphviz gstreamer gtk hal iconv icq ieee1394 imap ipv6 jack java javascript jpeg mad midi mikmod mime mmx mp3 mpeg msn mudflap ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcmcia pcre pdf perl png posix python quicktime readline reflection samba sdl session sockets spell spl sse sse2 ssl startup-notification svg svga syslog tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis wifi win32codecs x86 xcomposite xml xorg xpm xscreensaver xv xvid yahoo zlib" ALSA_CARDS="atiixp atiixp-modem hda-intel virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_CA en_GB" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l vesa vga radeon fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

> Have you tested against the latest stable gentoo-sources (2.6.23 as of this
> writing)?
*  sys-kernel/gentoo-sources
      Latest version available: 2.6.22-r8
      Latest version installed: 2.6.22-r8
      Size of files: 44,197 kB
      Homepage:      http://dev.gentoo.org/~dsd/genpatches
      Description:   Full sources including the Gentoo patchset for the 2.6 kernel tree
      License:       GPL-2
Comment 3 Greg Toombs 2007-10-17 14:33:04 UTC
Created attachment 133671 [details]
kernel-provided /proc/config.gz
Comment 4 Mike Pagano gentoo-dev 2007-10-17 15:48:17 UTC
Sorry, I meant have you tested with the latest vanilla kernel:
vanilla-sources-2.6.23
Comment 5 Mike Pagano gentoo-dev 2007-11-12 15:09:52 UTC
Please reopen when you've had a chance to test with the latest stable kernel (vanilla-sources-2.6.23.1, at this time).