After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681311 - can not found SMART, but its available
can not found SMART, but its available
Status: RESOLVED NOTGNOME
Product: gnome-disk-utility
Classification: Core
Component: general
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-06 15:52 UTC by Hanmac
Modified: 2012-08-06 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
output of 'hdparm -I /dev/sda' (2.83 KB, text/plain)
2012-08-06 17:52 UTC, Hanmac
Details
output of 'smartctl --all /dev/sda' (4.44 KB, text/plain)
2012-08-06 17:55 UTC, Hanmac
Details
output of 'skdump /dev/sda' (2.81 KB, text/plain)
2012-08-06 18:59 UTC, Hanmac
Details
output of 'udisksctl dump' (50.06 KB, text/plain)
2012-08-06 19:03 UTC, Hanmac
Details

Description Hanmac 2012-08-06 15:52:57 UTC
gnome-disks says:  "SMART is not enabled"
but smartctl says: "SMART support is: Available - device has SMART capability."

so maybe the smart detection from gnome-disks is broken?
Comment 1 David Zeuthen (not reading bugmail) 2012-08-06 16:33:19 UTC
Please attach the output of "hdparm -I /dev/sda" running as root and replace /dev/sda with whatever device it is.

I don't think smart detection is broken at all. Instead, as gnome-disks says, SMART is just not enabled on your device (SMART can be available but not enabled). hdparm(8)'s output will tell.
Comment 2 Hanmac 2012-08-06 17:52:44 UTC
Created attachment 220481 [details]
output of 'hdparm -I /dev/sda'
Comment 3 Hanmac 2012-08-06 17:55:14 UTC
Created attachment 220482 [details]
output of 'smartctl --all /dev/sda'

smartctl says:

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

and hdparm says:
   *	SMART feature set


so i think it should work right?
Comment 4 David Zeuthen (not reading bugmail) 2012-08-06 18:39:21 UTC
Please attach the output of

 'skdump /dev/sda'
 'udisksctl dump'
Comment 5 Hanmac 2012-08-06 18:59:54 UTC
Created attachment 220487 [details]
output of 'skdump /dev/sda'

skdump was not installed but installing does not change anything to gnome-disks
Comment 6 Hanmac 2012-08-06 19:03:45 UTC
Created attachment 220488 [details]
output of 'udisksctl dump'
Comment 7 David Zeuthen (not reading bugmail) 2012-08-06 19:13:19 UTC
Try doing 'echo change > /sys/block/sda/uevent'. Does that make it work?

If not, attach output of 'udevadm info -q all -n /dev/sda'.

What distro is this?
Comment 8 Hanmac 2012-08-06 19:19:38 UTC
yeah "echo change" make it working.

my system:
Version 12.10 (quantal) (64-Bit)
Kernel Linux 3.5.0-8-lowlatency
GNOME 3.5.4 (logged in with gnome-classic)

i hope it helps you
Comment 9 David Zeuthen (not reading bugmail) 2012-08-06 19:24:41 UTC
Your OS is apparently not initializing udev correctly - udisks relies on a bunch of udev properties (in this case ID_ATA_FEATURE_SET_SMART and ID_ATA_FEATURE_SET_SMART_ENABLED).

Closing as NOTGNOME as this is not a gnome-disk-utility or udisks problem.

Suggest to follow up with your OS vendor about this.