Bug 16135 - [BUG] kacpi_notify goes into an infinite loop (luckly it calls cond_resched)
Summary: [BUG] kacpi_notify goes into an infinite loop (luckly it calls cond_resched)
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Thermal (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_power-thermal
Depends on:
Blocks: 15310
  Show dependency tree
Reported: 2010-06-06 05:41 UTC by Maciej Rutecki
Modified: 2010-06-30 09:53 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.34
Regression: Yes
Bisected commit-id:


Description Maciej Rutecki 2010-06-06 05:41:33 UTC
Subject    : [BUG] kacpi_notify goes into an infinite loop (luckly it calls cond_resched)
Submitter  : Steven Rostedt <rostedt@goodmis.org>
Date       : 2010-05-29 1:01
Message-ID : 1275094882.22648.607.camel@gandalf.stny.rr.com
References : http://marc.info/?l=linux-kernel&m=127509490405845&w=2

This entry is being used for tracking a regression from 2.6.33.  Please don't
close it until the problem is fixed in the mainline.

Caused by:

commit fa80945269f312bc609e8384302f58b03c916e12
Author: Thomas Renninger <trenn@suse.de>
Date:   Sat Feb 20 11:44:27 2010 +0100

    ACPI thermal: Don't invalidate thermal zone if critical trip point is bad

First-Bad-Commit : fa80945269f312bc609e8384302f58b03c916e12
Comment 1 Thomas Renninger 2010-06-06 21:14:49 UTC
Please attach acpidump and dmidecode output.
You may already want to double check whether ACPI_DEBUG is compiled into your kernel (zcat /proc/config.gz |grep CONFIG_ACPI_DEBUG).
If it is it might make sense to remove some ACPI drivers:
rmmod battery;rmmod ac    (ar some polling candidates)
and increase debug level/layer shortly while this happens:
echo 0xFFFFFFFF >/sys/module/acpi/parameters/debug_layer
echo 0xF >/sys/module/acpi/parameters/debug_level
(or even: echo 0x20F >/sys/module/acpi/parameters/debug_level which may show quite some output).
Hmm, best you start this tiny script when this happens (untested may have a typo):

echo 0xFFFFFFFF >/sys/module/acpi/parameters/debug_layer
echo 0x20F >/sys/module/acpi/parameters/debug_level
sleep 1
echo 0 >/sys/module/acpi/parameters/debug_layer
echo 0xF >/sys/module/acpi/parameters/debug_level
and send syslog output between START and STOP message.
Comment 2 Zhang Rui 2010-06-09 08:21:30 UTC
please verify if the patches at https://bugzilla.kernel.org/show_bug.cgi?id=15924#c45 helps.
Comment 3 Zhang Rui 2010-06-21 07:49:28 UTC
Comment 4 Zhang Rui 2010-06-30 06:07:59 UTC
close this bug as there is no response from bug reporter, neither in bugzilla nor in mail list.

Note You need to log in before you can comment on or make changes to this bug.