Bug 58007

Summary: Error performing initial housekeeping
Product: udisks Reporter: MM <44146ca1>
Component: generalAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: anthony, bombo
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: fstab
mountinfo
udevadm-info--export-db
udisksctl_dump
udisksctl_monitor
udevadm-monitor--udev--property

Description MM 2012-12-08 05:00:22 UTC
I'm running Slackware 14.0 x86 with only OpenBox 3.5.0 as my desktop and I use udisk for the purpose of my file manager SpaceFM 0.8.3

Slackware 14.0 comes with udisks-1.0.4 & udisks2-1.98.0, and libatasmart-0.19

I do not have gvfs installed...

I noticed when I'm using a USB hard drive with the file manager SpaceFM I see these messages in /var/log/syslog;


Dec  7 18:05:35 slackbox udisksd[3823]: Error performing initial housekeeping for drive /org/freedesktop/UDisks2/drives/FUJITSU_MHW2160BH_PL_K10NT792UPYH: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)
Dec  7 18:11:36 slackbox udisksd[3823]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/FUJITSU_MHW2160BH_PL_K10NT792UPYH: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)
Dec  7 18:21:36 slackbox udisksd[3823]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/FUJITSU_MHW2160BH_PL_K10NT792UPYH: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)
Dec  7 18:31:36 slackbox udisksd[3823]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/FUJITSU_MHW2160BH_PL_K10NT792UPYH: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)
Dec  7 18:41:36 slackbox udisksd[3823]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/FUJITSU_MHW2160BH_PL_K10NT792UPYH: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)
Dec  7 18:51:36 slackbox udisksd[3823]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/FUJITSU_MHW2160BH_PL_K10NT792UPYH: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)

Is this Operation suppose to be supported or is this a bug?

Please see the attached files...


THANKS
Comment 1 MM 2012-12-08 05:01:21 UTC
Created attachment 71178 [details]
fstab
Comment 2 MM 2012-12-08 05:01:43 UTC
Created attachment 71179 [details]
mountinfo
Comment 3 MM 2012-12-08 05:02:12 UTC
Created attachment 71180 [details]
udevadm-info--export-db
Comment 4 MM 2012-12-08 05:02:31 UTC
Created attachment 71181 [details]
udisksctl_dump
Comment 5 MM 2012-12-08 05:06:17 UTC
Created attachment 71182 [details]
udisksctl_monitor
Comment 6 MM 2012-12-08 05:09:52 UTC
Created attachment 71183 [details]
udevadm-monitor--udev--property
Comment 7 Jeff B. 2013-04-01 21:37:47 UTC
FYI I get the same error.  I am also using Slackware 14.0 but in my case I do have gvfs installed.  The message is slightly different because the drive is different.  Messages come every 10 minutes to /var/log/syslog until the drive is removed, eg:

Apr  1 17:23:47 atomik udisksd[4876]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/WDC_WD5000BEVT_35ZAT0_WD_WX91A20V6533: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)

Apr  1 17:33:47 atomik udisksd[4876]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/WDC_WD5000BEVT_35ZAT0_WD_WX91A20V6533: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)
Comment 8 Robert Omb 2015-11-11 16:37:24 UTC
I got the same problem 'sk_disk_check_sleep_mode: Operation not supported'
every 10 minutes...

Probably because i'm using a buggy JMicron ATA Bridge with my WD30 that doesn't support SMART well (smartctl does work though)

I added udev.rules to set these ENVs:

$ udevadm info --query=all --path=/sys/block/sdb|grep -e SMART -e UDISKS
E: ID_ATA_FEATURE_SET_SMART=0
E: ID_ATA_FEATURE_SET_SMART_ENABLED=0
E: UDISKS_IGNORE=1

... but that didn't change a thing, i still get that error every 10 minute.

Using Debian/Jessie
udisks2 2.1.3-5

I wonder where the 10 minutes interval is defined. Can we change it somehow?
How can we disable that 'housekeeping' for specified devices?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.