Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260821 - app-laptop/khdapsmonitor does not support kernel >=2.6.28 shock protection
Summary: app-laptop/khdapsmonitor does not support kernel >=2.6.28 shock protection
Status: RESOLVED DUPLICATE of bug 254322
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://roy.marples.name/projects/khda...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 05:59 UTC by Anton Bolshakov
Modified: 2009-06-02 00:27 UTC (History)
1 user (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 Anton Bolshakov 2009-03-02 05:59:21 UTC
khdapsmonitor is a nice GUI monitor for disk shock protection.
Kernel 2.6.28 and above started to support "unload head" method officially, but the path of sys file has changed:

before kernel 2.6.28:
/sys/block/${DISK}/queue/protect
after:
/sys/block/${DISK}/device/unload_heads

I suggest to check for unload_heads on startup first, and use it if it's available.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-05 21:52:15 UTC
The URL you supplied leads me to an error-message, not to some webpage.

Reassigning to mobile herd.
Comment 2 Anton Bolshakov 2009-03-06 05:47:53 UTC
Hi Roy,

I realized you've migrated to tack, but hope you don't mind about opening related bug report here anyway.

Thank you.
Comment 3 Anton Bolshakov 2009-06-02 00:27:04 UTC
Dup. Gr... not sure how I missed it. 

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