I have a 2.6.28 kernel. I installed tp_smapi with USE="hdaps". however, in the init file /etc/init.d/hdapsd, there were the following lines if [[ ! -e /sys/block/${DISK}/queue/protect ]] ; then eerror "No protect entry for ${DISK}!" eerror "Make sure your kernel is patched with the blk_freeze patch" return 1 fi Obviously, Kernel 2.6.28 doesn't neet that check. In fact, it produces errors and does not allow, hdapsd to start. hdapsd works on my system, if I start it with hdapsd -d sda -s 12 -a. It is just that check in /etc/init.d/hdapsd which does not work. So, I commented the above lines out. Disk-shock protection now works on my system. Reproducible: Always
Hi, I've a similar problem. Banjamin, I need some information, which exactly version of app-laptop/tp_smapi and app-laptop/hdapsd are you using, and wich kernel and version (gentoo-sources 2.6.28-r2?) Michael
ok, there is a new interface bewteen queue protect kernel part and the user land daemon hdaps. app-laptop/hdapsd-20060409-r3 does not work with with gentoo-sources 2.6.28-r2 (2.6.27 too, i think) you need http://www.zen24593.zen.co.uk/hdaps/hdapsd-20081004.c from http://www.zen24593.zen.co.uk/hdaps/ ans maybe app-laptop/tp_smapi-0.39 This is the works for me status here (ThinkPad R61). I'll modify an ebuild this or next night. Michael
I'm using tp_smapi version 0.40 (the 0.39 ebuild can be simply renamed to 0.40 and a new digest created). The hdapsd driver I use is the latest one from bug 166166 : http://bugs.gentoo.org/show_bug.cgi?id=166166 the kernel is 2.6.28-gentoo-r2-i686
another ebuild for tp_smapi 0.40 is here: http://bugs.gentoo.org/show_bug.cgi?id=254043
(In reply to comment #3) > and a new digest created). The hdapsd driver I use is the latest one from this line should read: the hdapsd daemon I use, is the latest one from... The driver is of course from tp_smapi-0.40
i believe this is fixed in hdapsd-20090401, which was just comitted to the tree. can you confirm this?
I can confirm that the current ebuild which is now in the three works for me.
Hi, (In reply to comment #7) > I can confirm that the current ebuild which is now in the three works for me. > I can confirm this on amd64, gentoo-sources 2.6.31-r2/r3 and tp_smapi-0.40.