Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265730 - sys-kernel/tuxonice-sources-2.6.29 triggers unexpected acpi events (critical temperature)
Summary: sys-kernel/tuxonice-sources-2.6.29 triggers unexpected acpi events (critical ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 05:46 UTC by Jacopo
Modified: 2011-01-21 07:31 UTC (History)
4 users (show)

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


Attachments
Kernel config for x86 (2.6.30.3.config,75.53 KB, text/plain)
2009-07-30 15:49 UTC, Michal Pytasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacopo 2009-04-11 05:46:08 UTC
After one day of using 2.6.29-tuxonice my laptop initiated shutdown by itself. 
According to var/log/messages

Apr 11 00:47:21 twospoons acpid: received event "processor CPU0 00000080 00000004"
Apr 11 00:47:21 twospoons acpid: notifying client 6855[102:1006]
Apr 11 00:47:21 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:21 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:21 twospoons acpid: executing action "/etc/acpi/default.sh processor CPU0 00000080 00000004"
Apr 11 00:47:21 twospoons pi: listening on acpid socket /var/run/acpid.socket: [6855]: 00:47:21.316 [D] addon-acpi.c:189: event is 'proce
ssor CPU0 00000080 00000004 '
Apr 11 00:47:21 twospoons logger: ACPI event unhandled: processor CPU0 00000080 00000004
Apr 11 00:47:21 twospoons acpid: action exited with status 0
Apr 11 00:47:21 twospoons acpid: completed event "processor CPU0 00000080 00000004"
Apr 11 00:47:21 twospoons acpid: received event "processor CPU1 00000080 00000004"
Apr 11 00:47:21 twospoons acpid: notifying client 6855[102:1006]
Apr 11 00:47:21 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:21 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:21 twospoons acpid: executing action "/etc/acpi/default.sh processor CPU1 00000080 00000004"
Apr 11 00:47:21 twospoons pi: listening on acpid socket /var/run/acpid.socket: [6855]: 00:47:21.333 [D] addon-acpi.c:189: event is 'processor CPU1 00000080 00000004 '
Apr 11 00:47:21 twospoons logger: ACPI event unhandled: processor CPU1 00000080 00000004
Apr 11 00:47:21 twospoons acpid: action exited with status 0
Apr 11 00:47:21 twospoons acpid: completed event "processor CPU1 00000080 00000004"
Apr 11 00:47:22 twospoons ACPI: Critical trip point
Apr 11 00:47:22 twospoons Critical temperature reached (98 C), shutting down.
Apr 11 00:47:22 twospoons acpid: received event "thermal_zone TZS0 000000f0 00000001"
Apr 11 00:47:22 twospoons acpid: notifying client 6855[102:1006]
Apr 11 00:47:22 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:22 twospoons pi: listening on acpid socket /var/run/acpid.socket: [6855]: 00:47:22.284 [D] addon-acpi.c:189: event is 'thermal_zone TZS0 000000f0 00000001 '
Apr 11 00:47:22 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:22 twospoons acpid: executing action "/etc/acpi/default.sh thermal_zone TZS0 000000f0 00000001"
Apr 11 00:47:22 twospoons logger: ACPI event unhandled: thermal_zone TZS0 000000f0 00000001
Apr 11 00:47:22 twospoons acpid: action exited with status 0
Apr 11 00:47:22 twospoons acpid: completed event "thermal_zone TZS0 000000f0 00000001"
Apr 11 00:47:22 twospoons acpid: received event "processor CPU0 00000080 00000000"
Apr 11 00:47:22 twospoons acpid: notifying client 6855[102:1006]
Apr 11 00:47:22 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:22 twospoons acpid: notifying client 7179[0:0]
Apr 11 00:47:22 twospoons acpid: executing action "/etc/acpi/default.sh processor CPU0 00000080 00000000"
Apr 11 00:47:22 twospoons pi: listening on acpid socket /var/run/acpid.socket: [6855]: 00:47:22.320 [D] addon-acpi.c:189: event is 'processor CPU0 00000080 00000000 '
Apr 11 00:47:22 twospoons shutdown[15234]: shutting down for system halt
Apr 11 00:47:22 twospoons logger: ACPI event unhandled: processor CPU0 00000080 00000000
Apr 11 00:47:22 twospoons acpid: action exited with status 0
Apr 11 00:47:22 twospoons acpid: completed event "processor CPU0 00000080 00000000"

The critical temperature event is bogus, The machine was idle and the temperature did not exceed 50C (which in fact was reported on the text console before halting). 
Also, the "processor" events are something new. acpi never reported them before. 
As I rebooted the same circumstance happened again in ~10 minutes. 

In 2.6.25 everything is fine. 
I should probably file upstream, but I first wanted to check out with you.


Reproducible: Sometimes




emerge --info with my current stable kernel (everything else is the same); 
the problematic kernel is tuxonice-sources-2.6.29


Portage 2.2_rc13 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Turion-tm-_64_X2_TL-62-with-glibc2.2.5
Timestamp of tree: Fri, 10 Apr 2009 22:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.3.9
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/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="-mtune=k8 -O2 -pipe -msse3 "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde-testing /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa amd64 apm bash-completion berkdb bluetooth bzip2 cairo cli cracklib crypt cups dbus debug dri emacs fam fortran gdbm gif gpm hal iconv ipv6 isdnlog jpeg midi mmx mudflap multilib ncurses nls nptl nptlonly openal openexr opengl opengl-video openmppam pcre pdf perl png pppd preview-latex python qt3 qt3support qt4 readline reflection sdl sdl-image sdl-sound session smp spl sse sse2 ssl sysfs syslog tcpd tetex tiff tls unicode xcomposite xorg xosd xrandr xrender xscreensaver xv zeroconf 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 mulawmulti null plug rate route share shm softvol" 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 synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Pagano gentoo-dev 2009-04-11 18:32:34 UTC
Is this repeatable? 

Can you test with vanilla-sources-2.6.29.1?
Comment 2 Jacopo 2009-04-11 19:00:55 UTC
I faced the issue after ~24 hrs of uptime right after I first upgraded. 
Right now I'm running 2.6.29-tuxonice with tzp.critical=-1, hoping to be able to reproduce and gather more information about the issue without triggering a halt.

I wonder what the "processor" events account for, they have _never_  been reported before.
Comment 3 Mike Pagano gentoo-dev 2009-05-01 16:36:35 UTC
Feel free to reopen when you've had a chance to test vanilla-sources-2.6.29.2 and the problem still occurs.
Comment 4 Michal Pytasz 2009-07-30 15:37:09 UTC
I can confirm this bug with (up to) vanilla-2.6.30.3, on HP Pavilion tx2010eo (Amd Turion64 TL-68)

Jul 30 17:22:02 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000000
Jul 30 17:22:02 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000000
Jul 30 17:22:41 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000004
Jul 30 17:22:41 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000004
Jul 30 17:22:44 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000000
Jul 30 17:22:44 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000000
Jul 30 17:22:47 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000004
Jul 30 17:22:47 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000004
Jul 30 17:22:50 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000000
Jul 30 17:22:50 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000000
Jul 30 17:22:54 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000004
Jul 30 17:22:55 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000004
Jul 30 17:22:58 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000000
Jul 30 17:22:58 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000000
Jul 30 17:23:07 wheeelerc_c logger: ACPI event unhandled: processor CPU0 00000080 00000004
Jul 30 17:23:07 wheeelerc_c logger: ACPI event unhandled: processor CPU1 00000080 00000004

and so on. 

Often before this series or in the middle appears something like this:

Clocksource tsc unstable (delta = -124176811 ns)
irq 7: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Tainted: P           2.6.30.3-x32 #1
Call Trace:
 [<c0255b8b>] ? __report_bad_irq+0x24/0x69
 [<c0255b92>] ? __report_bad_irq+0x2b/0x69
 [<c0255cb7>] ? note_interrupt+0xe7/0x13c
 [<c0256244>] ? handle_level_irq+0x81/0xb1
 [<c020471f>] ? handle_irq+0x17/0x1b
 [<c020418e>] ? do_IRQ+0x3d/0x7a
 [<c0202f29>] ? common_interrupt+0x29/0x30
 [<c02082b8>] ? default_idle+0x7f/0xd6
 [<c0238731>] ? raw_notifier_call_chain+0x9/0xc
 [<c023da2b>] ? clockevents_notify+0x1e/0x5c
 [<c02086b9>] ? c1e_idle+0xaf/0xc7
 [<c0201bde>] ? cpu_idle+0x37/0x61
handlers:
[<c0478bc3>] (usb_hcd_irq+0x0/0x59)
Disabling IRQ #7

# cat /proc/interrupts
           CPU0       CPU1
  0:     409598      65562    XT-PIC-XT        timer
  1:        599        128    XT-PIC-XT        i8042
  2:          0          0    XT-PIC-XT        cascade
  5:      59483      15898    XT-PIC-XT        sata_nv
  7:      88619     488232    XT-PIC-XT        ehci_hcd:usb1
  8:         52          0    XT-PIC-XT        rtc0
  9:      16759       6652    XT-PIC-XT        acpi, ath
 10:        163         13    XT-PIC-XT        HDA Intel
 11:        131         30    XT-PIC-XT        ohci_hcd:usb2, eth0
 12:        111         12    XT-PIC-XT        i8042
 14:       1744       1085    XT-PIC-XT        pata_amd
 15:          0          0    XT-PIC-XT        pata_amd
NMI:          0          0   Non-maskable interrupts
LOC:     265142     430837   Local timer interrupts
SPU:          0          0   Spurious interrupts
RES:      49991      35386   Rescheduling interrupts
CAL:        158        350   Function call interrupts
TLB:       3849       4172   TLB shootdowns
TRM:          0          0   Thermal event interrupts
ERR:      78176
MIS:          0
Comment 5 Michal Pytasz 2009-07-30 15:47:42 UTC
# emerge --info                               
Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30.3-x32 i686)
=================================================================                         
System uname: Linux-2.6.30.3-x32-i686-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-68-with-gentoo-2.0.1
Timestamp of tree: Thu, 30 Jul 2009 09:30:01 +0000                                                  
app-shells/bash:     3.2_p39                                                                        
dev-java/java-config: 2.1.8-r1                                                                      
dev-lang/python:     2.6.2-r1                                                                       
dev-python/pycrypto: 2.0.1-r8                                                                       
dev-util/cmake:      2.6.4-r2                                                                       
sys-apps/baselayout: 2.0.1                                                                          
sys-apps/openrc:     0.4.3-r3                                                                       
sys-apps/sandbox:    2.0                                                                            
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.6a                                                                         
virtual/os-headers:  2.6.27-r2                                                                      
ACCEPT_KEYWORDS="x86"                                                                               
CBUILD="i686-pc-linux-gnu"                                                                          
CFLAGS="-O2 -pipe -march=k8 -mtune=k8"                                                              
CHOST="i686-pc-linux-gnu"                                                                           
CONFIG_PROTECT="/etc /usr/share/config"                                                             
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d"                                                          
CXXFLAGS="-O2 -pipe -march=k8 -mtune=k8"                                                                              
DISTDIR="/usr/portage/distfiles"                                                                                      
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://src.gentoo.pl/ http://gentoo.intergenia.de/ http://gentoo.po.opole.pl/ "
LANG="pl"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en en_GB"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/qting-edge /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa berkdb bluetooth bzip2 cairo cdr clamav cli consolekit cracklib crypt cups dbus dell dia divx dri drm dv dvd dvdr encode extraicons extramodules extras ffmpeg fftw flac foomaticdb fortran fuse gadu gdbm gif glibc-compat20 glut gphoto2 gpm gstreamer hal iconv imap ipv6 ipw3945 irc isdnlog jack java java5 java6 javacomm jce joystick jpeg jpeg2k kde kdeenablefinal kpathsea laptop latex lm_sensors logrotate mad maildir midi mikmod mmx mng mp3 mpeg mudflap musepack mysql ncurses netmeeting nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp openntpd oss pam pcmcia pcre pdf perl png postgres postscript ppds pppd python qt3support qt4 quicktime readline realmedia reflection samba scanner sensord session slp smartcard smp sms spl sse sse2 ssl svg symlink sysfs tcl tcltk tcpd tetex theora tiff tk truetype tta udev unicode usb userlocales v4l v4l2 vorbis wacom wifi win32codecs wma wmp wxwindows x86 xcb xcomposite xine xinerama xml xorg xpm xvid xvmc zlib" ALSA_CARDS="hda-intel usb-audio" 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 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" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Michal Pytasz 2009-07-30 15:49:42 UTC
Created attachment 199653 [details]
Kernel config for x86
Comment 7 Michal Pytasz 2009-07-30 15:50:19 UTC
Problem exists both for x86 as well as x86_64
Comment 8 Toei Rei 2011-01-18 07:32:43 UTC
Same problem with 2.6.37 vanilla after a greater uptime (>12h) just without a BUG() or WARN() message.
Comment 9 George Kadianakis (RETIRED) gentoo-dev 2011-01-20 14:44:53 UTC
This could be caused by outdated BIOS, I'd like you to try upgrading your BIOSes if they are newer ones available [1].

If that doesn't solve the problems, it would be nice if you could report this upstream and send us back the bug report URL.

Thank you!

[1]: for example:
http://en.gentoo-wiki.com/wiki/Dell_Latitude_E6x00#ACPI_processor_events
Comment 10 Michal Pytasz 2011-01-21 07:31:06 UTC
Well, 
In my case - I can't test it, the laptop "died" due to faulty (overheating) NVidia chipset, and did it after warranty. Since devices with faulty chipsets were not recalled - when choosing the next I skipped all HPs and anything that contained NVidia chipsets.

However, that laptop had the most up-to-date bios (HP issued lots of updates for it until mid 2008 - 8 bios releases, that they seem to have stopped supporting it).

Michal