Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163867 - app-laptop/hdapsd kernel patch leads to laptop freeze
Summary: app-laptop/hdapsd kernel patch leads to laptop freeze
Status: RESOLVED DUPLICATE of bug 166166
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Weller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-26 08:00 UTC by George Metaxas
Modified: 2008-03-22 01:05 UTC (History)
3 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 George Metaxas 2007-01-26 08:00:36 UTC
On a Thinkpad T60, with kernel version: gentoo-sources-2.6.18-r6, the patch included in the ebuild of app-laptop/hdapsd against kernel 2.6.18, does not work properly. After the patch is applied, and the hdaps module loaded, the slightest shake of the laptop leads to complete system freeze. It doesn't seem to produce a kernel panic. Alt+SysRq does not work, and I must power off the laptop. 

Reproducible: Always

Steps to Reproduce:
1. Load the hdaps module
2. Shake the laptop!
3. Freeze!

Actual Results:  
I also have the tp_smapi 0.30 package installed (with the hdaps flag set).


The patch found in: http://www.zen24593.zen.co.uk/hdaps/hdaps_protect-2.6.18.3-2.patch
appears to eliminate this problem, and should replace the patch included in the ebuild.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2007-04-21 19:49:05 UTC
Is this still a problem on 0.31 please?
Comment 2 George Metaxas 2007-04-25 09:19:46 UTC
(In reply to comment #1)
> Is this still a problem on 0.31 please?
> 

I don't know, I haven't installed tp_smapi 0.31 yet. I'll investigate further.
Comment 3 George Metaxas 2007-04-25 11:37:31 UTC
The ebuild for hdapsd does not include the blk_freeze patch for a 2.6.20 kernel. Since I posted this bug report I have upgraded to kernel version: 2.6.20-gentoo-r6. I will try what happens for kernel 2.6.18-gentoo-r6
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2007-04-25 12:19:45 UTC
(In reply to comment #3)
> The ebuild for hdapsd does not include the blk_freeze patch for a 2.6.20
> kernel.

Indeed, it does not. If you have a version of the patch that actually applies to the final 2.6.20 instead of only to release candidate 6 and older, you are in the wrong bug.
Attach that to bug #166166.
Comment 5 George Metaxas 2007-04-25 13:17:08 UTC
Ok, just tried it with kernel 2.6.18-gentoo-r7 patched with emerge --config hdapsd , and tp_smapi 0.31, and I got the same problem. with the slightest shake, the laptop freezes completely.
Comment 6 Anton Bolshakov 2007-08-03 23:09:46 UTC
I had the same problem with some of the patches, but it has been fixed later.
Please try the latest tp_smapi, suspend2 kernel 2.6.20/2.6.21 (stable) and patch
http://article.gmane.org/gmane.linux.drivers.hdaps.devel/993
This patch not in a portage yet and it's pending for an approval
https://bugs.gentoo.org/show_bug.cgi?id=166166
you have to apply the patch it manually for now:
patch -p1 -l < hdaps.patch

Check the following link for more details:
http://www.thinkwiki.org/wiki/HDAPS

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-03-22 01:05:24 UTC

*** This bug has been marked as a duplicate of bug 166166 ***