[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

Raf 4283534 at noduck.org
Wed Feb 24 16:18:10 UTC 2010


I found a possibly easier work around: after I disabled SMART support on
the device, I can safely run devkit-disks-probe-ata-smart (or udisks-
probe-ata-smart in lucid):

sudo smartctl --smart off /dev/sda

You can check if smart is disabled, with 'sudo smartctl -i /dev/sda',
the output should include (note the last line):

SMART support is: Available - device has SMART capability.
SMART support is: Disabled

Note the following comment in the smartctl manual: "In principle the
SMART feature settings are preserved over power-cycling, but it doesn´t
hurt to be sure." I have not yet rebooted.

Looking at the strace of devkit-disks/udisks-probe-ata-smart, I see that
the second (dangerous) ioctl is not executed when smart is disabled.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.




More information about the kernel-bugs mailing list