Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176615 - [2.6.21 regression] Stackoverflow in kacpid while processing thermal event
Summary: [2.6.21 regression] Stackoverflow in kacpid while processing thermal event
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard: linux-2.6.21-regression
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-04-30 18:46 UTC by Bruno
Modified: 2007-11-27 15:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2007-04-30 18:46:52 UTC
The kernel thread kacpid crashes the system du to stack-overflow.

This is caused by "recursive" event triggering when temperature treshold is reached (Affects my Acer TM660, according to upstream bug report also other Acer Latops and at least one HP laptop)

Reproducible: Always

Steps to Reproduce:
1. Make the CPU get hot (no cpufreq or compiling)
Actual Results:  
System crash with trace mentionning trace_dump(), Oops #1, process kacpid.
In most cases with no trace of the original cause because of corrupt stack.
Eventually stacktrace with repeated sequence (including event notifier)

Expected Results:  
System continues running

Upstream has patches that solve the problem.
Not loding thermal module prevents the issue as well.
Comment 1 James 2007-04-30 22:33:57 UTC
Bruno,

The Kernel devs have whipped up a patch for this kernel bug, but haven't merged it into the tree yet.  When it does get merged, it'll make its way to the Gentoo kernel.

Here are the two patches:
http://bugzilla.kernel.org/attachment.cgi?id=11331&action=view
http://bugzilla.kernel.org/attachment.cgi?id=11332&action=view

.james
Comment 2 Bruno 2007-04-30 22:48:16 UTC
Thanks James,

I'm already using them since sunday, either the first or both do fix my crashes.
Matter of time when they get applied or similar patch gets applied upstream I assume. Guess they should also go into some -stable release for 2.6.21 (issue is twice in the regression list on kernelnewbies)
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-05-07 23:28:02 UTC
Looks like it's not that simple, let's wait for the real fix upstream
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-11-03 12:25:53 UTC
upstream patch is applied upstream for 2.6.24
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-11-07 13:17:02 UTC
fixed in gentoo-sources-2.6.22-r10, will leave open until 2.6.23 is fixed too
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-11-27 15:04:16 UTC
this was fixed in gentoo-sources-2.6.23-r2