Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212905 - sys-kernel/gentoo-sources - Adding blk_freeze patch for parking HDD head + freezing cache
Summary: sys-kernel/gentoo-sources - Adding blk_freeze patch for parking HDD head + fr...
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://www.thinkwiki.org/wiki/How_to_...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-10 07:41 UTC by Daniel Böhmer
Modified: 2008-03-11 17:14 UTC (History)
0 users

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 Daniel Böhmer 2008-03-10 07:41:23 UTC
There is a patch called blk_freeze which useful for owners of IBM/Lenovo ThinkPads and particular MacBooks. It can freeze a harddisks cache and send its head to the parking lot. This is useful if ones notebook provides a sensor for motions and a shock is estimated within the next second. This can save the data on the drive.

The mentioned patch is needed for parking the head *without writing the data stored in the cache*.

I would like to see the patch included in the official gentoo-sources. Are you willing to do so or do you have reasonable arguments for regretting to do so?

Reproducible: Always




A detailed How-To for APS on ThinkPads:
    http://www.thinkwiki.org/wiki/How_to_protect_the_harddisk_through_APS

Where you find the actual patch:
    http://www.zen24593.zen.co.uk/hdaps/
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-10 08:09:12 UTC
See http://dev.gentoo.org/~dsd/genpatches/faq.htm
Comment 2 Mike Pagano gentoo-dev 2008-03-11 01:33:47 UTC
Some people are reporting a hang and the author states: 

"Don't use it, is the best suggestion for the time being."

The author states he's working on it and to give him some time. And yes, it has not made the mainline kernel development tree.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2008-03-11 17:14:31 UTC
Thanks for the suggestion, but we don't take non-upstream patches and Mike's findings indicate why :)
Feel free to reopen if this makes it upstream in which case we can consider backporting it.