[Pkg-utopia-maintainers] Bug#827538: libatasmart4: reports drives as asleep when they are not

Scott Talbert swt at techie.net
Fri Jun 17 14:43:11 UTC 2016


Package: libatasmart4
Version: 0.19-1
Severity: normal

Dear Maintainer,

New power modes were added in later versions of the ATA spec.  Unfortunately
libatasmart4 doesn't recognize these and as a result, it believes that certain
drives are asleep when they are not.  For example, a power mode of 0x81 is
considered to be a submode of IDLE (0x80), but libatasmart considers this to be
'asleep'.

smartmontools has added support for these new modes here:
https://www.smartmontools.org/browser/trunk/smartmontools/ataprint.cpp#L2527

Ideally, sk_disk_check_sleep_mode() should be updated to handle these new power
modes.

-- System Information:
Debian Release: 7.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libatasmart4 depends on:
ii  libc6              2.13-38+deb7u8
ii  libudev0           175-7.2
ii  multiarch-support  2.13-38+deb7u8

libatasmart4 recommends no packages.

libatasmart4 suggests no packages.

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list