On Mon, 30 Mar 2015 22:25:17 -0300 =?ISO-8859-1?Q?V=EDctor_Cana_Ben=EDtez?= <vic...@openmailbox.org> wrote: > Dear maintainers, > > I have installed the hdparm package version 9.43-1ubuntu3 from ubuntu "vivid" > repository and it works fine. The package is the following: > http://packages.ubuntu.com/vivid/hdparm > > Regards. > >
Victor: Do you have a "SATA DEVSLP" / "DevSleep" disk? The list of changes between the Debian version and the Ubuntu version is fairly short. I have attached the diff (minus d/changelog) here and we are down to: """ debian/95hdparm-apm | 5 +++-- debian/control | 5 +++-- debian/hdparm.init | 5 ----- debian/hdparm.udev | 4 ++-- debian/rules | 3 +-- hdparm.c | 42 ++++++++++++++++++++++++++++++++++++++++++ identify.c | 8 ++++---- sgio.h | 1 + 8 files changed, 56 insertions(+), 17 deletions(-) """ Given you suggest that compiling the new upstream also works for you, I am suspecting it could be this change: """ + * hdparm.c, identify.c, sgio.h: import patch from + http://sourceforge.net/p/hdparm/patches/35/ to add support to 'hdparm -I' + for reporting DevSleep information. LP: #1031173. """ Which brings us to the DevSleep disk. Sadly, I am not sure I see how the actual change matters (unless hdparm handles "unknown" disks differently from "known" disks) - or the code does something beyond what I can trivially guess from the changes. Failing that, Ubuntu also removed the "hdparm-resync.lock". Assuming what we exactly see is a deadlock and "timeout" killing hdparm to workaround said deadlock. But at this point, I am guessing! Thanks, ~Niels https://bugs.launchpad.net/intel/+bug/1031173
hdparm-ubuntu.diff
Description: application/mbox