![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2016-08-14 at 00:54 +0200, Dominique Leuenberger wrote:
==== hdparm ====
- remove 56-idedma.rules and idedma.sh as none of these scripts have any function whatsoever. They rely on the obsolete IDE drivers [bsc#991898] - remove /etc/sysconfig/ide file [bsc#922659]
I'm not sure about that. The ide file accepts this syntax: DEVICES_FORCE_IDE_DMA="/dev/sda:-S220 /dev/sdb:-S220 /dev/sdc:-S220 /dev/sdd:-S220 /dev/sde:-S220 /dev/sdf:-S220" And I tested by calling the script, which runs correctly - the errors are not from the script, but from improper options to hdparm: Telcontar:~ # /usr/lib/udev/idedma.sh /dev/sdb /dev/sdb: setting up IDE DMA mode -S220 - -d 1 -X -S220 /dev/sdb /dev/sdb: setting using_dma to 1 (on) HDIO_SET_DMA failed: Inappropriate ioctl for device setting xfermode to 0 (default PIO mode) SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 setting standby to 220 (18 minutes + 20 seconds) HDIO_GET_DMA failed: Inappropriate ioctl for device Telcontar:~ # The file /usr/lib/udev/rules.d/56-idedma.rules has to be modified from: # start idedma script for each added IDE device ACTION=="add", SUBSYSTEM=="block", KERNEL=="hd*[!0-9]", RUN+="/lib/udev/idedma.sh $env{DEVNAME}" to something like # start idedma script for each added IDE device ACTION=="add", SUBSYSTEM=="block", KERNEL=="sd*[!0-9]", RUN+="/lib/udev/idedma.sh $env{DEVNAME}" - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlghREEACgkQtTMYHG2NR9Wg9wCfSOnWB/Pj76RKIZK9r7XLDsTj d/AAn1EtvJwBTqRFkccjOvBdMmIELje1 =NPtU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org