Debian Bug report logs - #827538
libatasmart4: reports drives as asleep when they are not

version graph

Package: libatasmart4; Maintainer for libatasmart4 is Utopia Maintenance Team <[email protected]>; Source for libatasmart4 is src:libatasmart (PTS, buildd, popcon).

Reported by: Scott Talbert <[email protected]>

Date: Fri, 17 Jun 2016 14:45:02 UTC

Severity: normal

Found in version libatasmart/0.19-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Utopia Maintenance Team <[email protected]>:
Bug#827538; Package libatasmart4. (Fri, 17 Jun 2016 14:45:06 GMT) (full text, mbox, link).


Acknowledgement sent to Scott Talbert <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Utopia Maintenance Team <[email protected]>. (Fri, 17 Jun 2016 14:45:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Scott Talbert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: libatasmart4: reports drives as asleep when they are not
Date: Fri, 17 Jun 2016 10:43:11 -0400
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



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue Dec 30 01:10:22 2025; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.