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.
Is this still a problem on 0.31 please?
(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.
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
(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.
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.
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
*** This bug has been marked as a duplicate of bug 166166 ***