I get the same error, and I've found the cause of it on my system:
- /lib/udev/rules.d/85-hdparm.rules calls /lib/udev/hdparm for every sdX and 
shX drive
- /lib/udev/hdparm loads functions from /lib/hdparm/hdparm-functions
- When the 'hdparm_options' function is called it sets a default global APM 
policy
- Because I'm on AC power, with a stock /etc/hdparm.conf file, this results in 
-B 254 getting set.

While you can change the APM value via hdparm.conf, the -B switch is
going to get set, no matter what.  And not all of my drives support
that.    I understand why this is being done, but, we need the ability
to disable it.  My suggestion is another option in hdparm.conf, say
"noapm" :)

In the meantime, because I actually wish to use hdparm.conf and easily see any 
errors on boot, I've edited:
 /lib/hdparm/hdparm-functions, mine was line 88, comment out 'hdparm_set_option 
-B254'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1470014

Title:
  systemd-udevd: Process '/lib/udev/hdparm' failed with exit code 5.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1470014/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to