Michael Biebl [Tue, 27 Oct 2009 21:53:50 +0000 (22:53 +0100)]
Restrict the list of exported symbols to sk_.*
Use libtools' -export-symbols-regex to restrict the list of exported
symbols so we not accidentally export symbols like init_smart
Lennart Poettering [Tue, 27 Oct 2009 20:58:35 +0000 (21:58 +0100)]
more Apple SSD firmware versions are evil then originally thought
Lennart Poettering [Tue, 27 Oct 2009 02:28:06 +0000 (03:28 +0100)]
fix name of a blob in Makefile.am
Lennart Poettering [Tue, 27 Oct 2009 02:14:05 +0000 (03:14 +0100)]
bump version and release
David Zeuthen [Sat, 24 Oct 2009 23:16:35 +0000 (19:16 -0400)]
add blob for laptop drive with failing Old-Age attribute
4 start-stop-count 1 1 20 252391 0xe7d903000000 old-age online no no
Lennart Poettering [Fri, 23 Oct 2009 22:44:14 +0000 (00:44 +0200)]
add missing blob to tarball
Lennart Poettering [Fri, 23 Oct 2009 22:43:48 +0000 (00:43 +0200)]
add another SSD blob
Lennart Poettering [Fri, 23 Oct 2009 22:38:42 +0000 (00:38 +0200)]
Ignore attributes 5 and 190 on some Apple SSD
http://bugs.freedesktop.org/show_bug.cgi?id=24700
Lennart Poettering [Fri, 23 Oct 2009 22:26:29 +0000 (00:26 +0200)]
add link to bz
Lennart Poettering [Fri, 23 Oct 2009 21:40:53 +0000 (23:40 +0200)]
check the right boolean when calculating blob size
Lennart Poettering [Fri, 23 Oct 2009 21:38:17 +0000 (23:38 +0200)]
delay smart initialization until the first SMART call is done
Lennart Poettering [Sun, 18 Oct 2009 23:39:25 +0000 (01:39 +0200)]
add another blob
Lennart Poettering [Tue, 29 Sep 2009 21:15:54 +0000 (23:15 +0200)]
blobs: add an interesting SAMSUNG SSD blob
Contributed by Tobias Wolf.
Lennart Poettering [Tue, 29 Sep 2009 03:39:32 +0000 (05:39 +0200)]
build-sys: bump release version and soname
Lennart Poettering [Tue, 29 Sep 2009 03:36:11 +0000 (05:36 +0200)]
blacklist: disable jmicron access mode for some more jmicron bridges
This is a followup on:
https://bugzilla.redhat.com/show_bug.cgi?id=515881
Lennart Poettering [Fri, 18 Sep 2009 03:16:30 +0000 (05:16 +0200)]
bump release
Lennart Poettering [Fri, 18 Sep 2009 03:14:58 +0000 (05:14 +0200)]
vala: install .vapi file
Lennart Poettering [Fri, 18 Sep 2009 03:10:38 +0000 (05:10 +0200)]
vala: update vala API to newest C API
Lennart Poettering [Thu, 17 Sep 2009 20:54:16 +0000 (22:54 +0200)]
blacklist 152d:2329 jmicron usb bridges
Lennart Poettering [Wed, 19 Aug 2009 22:55:04 +0000 (00:55 +0200)]
include more blobs in tarball
Lennart Poettering [Wed, 19 Aug 2009 22:52:12 +0000 (00:52 +0200)]
add an interesting SSD blob
Lennart Poettering [Wed, 19 Aug 2009 22:51:49 +0000 (00:51 +0200)]
activate automake silent rules
Lennart Poettering [Wed, 19 Aug 2009 22:51:13 +0000 (00:51 +0200)]
support some ssd smart attrs
Lennart Poettering [Thu, 6 Aug 2009 19:28:49 +0000 (21:28 +0200)]
bump req'd versions
Lennart Poettering [Thu, 6 Aug 2009 19:26:24 +0000 (21:26 +0200)]
update configure.ac a bit
Lennart Poettering [Thu, 6 Aug 2009 19:23:04 +0000 (21:23 +0200)]
highlight if smart status is bad
Lennart Poettering [Thu, 6 Aug 2009 19:04:31 +0000 (21:04 +0200)]
fix parsing of power-on-minutes
Lennart Poettering [Thu, 6 Aug 2009 18:56:41 +0000 (20:56 +0200)]
replace space by underscore
Lennart Poettering [Thu, 6 Aug 2009 18:53:16 +0000 (20:53 +0200)]
replace space by underscore
Lennart Poettering [Thu, 6 Aug 2009 18:43:10 +0000 (20:43 +0200)]
another entry for our db
Lennart Poettering [Thu, 6 Aug 2009 18:40:55 +0000 (20:40 +0200)]
add another entry to our little database
Lennart Poettering [Thu, 6 Aug 2009 18:40:46 +0000 (20:40 +0200)]
add another entry to our little database
Lennart Poettering [Thu, 6 Aug 2009 18:39:56 +0000 (20:39 +0200)]
bump soname due to ABI change
Lennart Poettering [Thu, 6 Aug 2009 18:35:21 +0000 (20:35 +0200)]
rework lgoic that determines verdict of drive
Distuingish attributes that are failing now vs. failed in the past.
Add 'warn' field that is used to signal UIs to highlight certain
attributes.
Beef up the "overall status" logic a bit.
This breaks ABI. Depending on your client this might break API too.
Lennart Poettering [Thu, 6 Aug 2009 18:34:35 +0000 (20:34 +0200)]
rename failed to bad
Lennart Poettering [Wed, 5 Aug 2009 23:51:18 +0000 (01:51 +0200)]
add MHY2250B/
0085000B to quirk db
https://bugzilla.redhat.com/show_bug.cgi?id=499265
Lennart Poettering [Wed, 5 Aug 2009 23:16:53 +0000 (01:16 +0200)]
verify parsing of all attributes
Lennart Poettering [Wed, 5 Aug 2009 21:43:04 +0000 (23:43 +0200)]
use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE
Lennart Poettering [Wed, 5 Aug 2009 21:42:44 +0000 (23:42 +0200)]
fix url in configure.ac
Lennart Poettering [Wed, 5 Aug 2009 21:41:54 +0000 (23:41 +0200)]
blacklist attribute 5 of an hitachi drive
https://bugzilla.redhat.com/show_bug.cgi?id=506254
Lennart Poettering [Sun, 10 May 2009 16:07:45 +0000 (18:07 +0200)]
build-system: add missing blob to tarball
Michael Biebl [Wed, 29 Apr 2009 22:10:12 +0000 (00:10 +0200)]
Add ACLOCAL_AMFLAGS = -I m4
As we already use AC_CONFIG_MACRO_DIR(m4), make sure to actually include
the m4 macros in the dist tarball.
Lennart Poettering [Thu, 7 May 2009 00:07:35 +0000 (02:07 +0200)]
if the ID_ATA_SMART_ACCESS udev env var is set for a device read the access method from it
Lennart Poettering [Thu, 7 May 2009 00:06:30 +0000 (02:06 +0200)]
show full device string when dumping status
Lennart Poettering [Wed, 6 May 2009 22:50:51 +0000 (00:50 +0200)]
allow prefixing device strings with access methods
Lennart Poettering [Wed, 6 May 2009 22:50:23 +0000 (00:50 +0200)]
rename SK_DISK_TYPE_ATA to SK_DISK_TYPE_LINUX_IDE
Lennart Poettering [Wed, 6 May 2009 18:29:50 +0000 (20:29 +0200)]
black list a few attributes on FUJITSU MHY2120BH/
0085000B
Lennart Poettering [Wed, 6 May 2009 18:21:40 +0000 (20:21 +0200)]
add a weird furjitsu drive to our db
Lennart Poettering [Wed, 6 May 2009 18:21:12 +0000 (20:21 +0200)]
look at lower 32 bit of current-pending-sector raw data only, similar to reallocated-sector-count
Lennart Poettering [Fri, 24 Apr 2009 18:58:56 +0000 (20:58 +0200)]
add another sunplus bridge to the list of supported sunplus bridges
Lennart Poettering [Fri, 24 Apr 2009 17:31:28 +0000 (19:31 +0200)]
add missing 'else'
Lennart Poettering [Thu, 23 Apr 2009 22:52:02 +0000 (00:52 +0200)]
Get rid of qurik 9_UNKNOWN again
Apparently Seagate seems to use the MSB's of the raw data of the
power-on-time field for something else on some disks, so let's just look
at the lower 32bits of that field and we get a value that works on all
disks including those from Seagate. 32bit should be more than enough to
encode the power-on-time for almost all disks so this should not be much
of a limitation.
Lennart Poettering [Wed, 22 Apr 2009 22:43:02 +0000 (00:43 +0200)]
bump version and soname
Lennart Poettering [Wed, 22 Apr 2009 22:36:44 +0000 (00:36 +0200)]
add more smart blobs
Lennart Poettering [Wed, 22 Apr 2009 22:36:10 +0000 (00:36 +0200)]
document that we are not just interested in bad but also in weird drive's smart data
Lennart Poettering [Wed, 22 Apr 2009 22:30:19 +0000 (00:30 +0200)]
Seagate's ST9160821AS drive encodes something strange in attribute 9
Attribute 9 of ST9160821AS apparently is not the power on time in hours.
Since we have no idea what it is and how it is encoded this adds a quirk
to mark the attribute as 'unknown' for this drive.
See rhbz #497107.
Lennart Poettering [Wed, 22 Apr 2009 22:28:54 +0000 (00:28 +0200)]
don't claim we would know what reallocated-event-count actually is
We don't reliably know what this actually is on many drives and since it
is redundant to reallocated-sectors-count it's no loss to admit that we
have no clue.
See rhbz #497107.
Lennart Poettering [Wed, 22 Apr 2009 22:25:39 +0000 (00:25 +0200)]
use only uppermost 32 bits for reallocated-sectors-count attribute pretty value
This seems to fix the attribute for Fujitsu drives. And those 32 bit
should be enough to still encode bad sectors up to 2TB which should be
more than enough. Hence it is probably safe to ignore the remaing 16 bit
even on non-Fujitsu drives.
See rhbz #496087.
Lennart Poettering [Wed, 22 Apr 2009 21:48:29 +0000 (23:48 +0200)]
Support for JMicron ATA/USB bridges
Lennart Poettering [Wed, 15 Apr 2009 21:39:23 +0000 (23:39 +0200)]
update comments a bit
Lennart Poettering [Wed, 15 Apr 2009 21:36:22 +0000 (23:36 +0200)]
bump version and soname
Lennart Poettering [Wed, 15 Apr 2009 21:28:47 +0000 (23:28 +0200)]
don't look for reallocated-sector-count since some vendors seem to encode this differently than others
Lennart Poettering [Wed, 15 Apr 2009 21:27:40 +0000 (23:27 +0200)]
only use 'prefail' attributes for overall status
Lennart Poettering [Tue, 14 Apr 2009 21:10:22 +0000 (23:10 +0200)]
bump version
Lennart Poettering [Tue, 14 Apr 2009 20:50:09 +0000 (22:50 +0200)]
add new --power-cycle/--can-smart/--status switches to skdump
Lennart Poettering [Tue, 14 Apr 2009 20:23:55 +0000 (22:23 +0200)]
when dumping status print message when SMART is not supported
Lennart Poettering [Tue, 14 Apr 2009 20:23:28 +0000 (22:23 +0200)]
when dealing with unknown block device type don't confuse with sunplus device
Lennart Poettering [Tue, 14 Apr 2009 20:11:15 +0000 (22:11 +0200)]
don't depend on udev's ID_BUS variable when figuring out device type
Lennart Poettering [Tue, 14 Apr 2009 20:10:49 +0000 (22:10 +0200)]
initialize cmd data before passing it to the scsi ioctls
Lennart Poettering [Tue, 14 Apr 2009 03:14:30 +0000 (05:14 +0200)]
bump version and soname
Lennart Poettering [Tue, 14 Apr 2009 03:13:13 +0000 (05:13 +0200)]
add new API sk_disk_smart_get_power_cycle()
Lennart Poettering [Sun, 12 Apr 2009 21:45:27 +0000 (23:45 +0200)]
ship example blobs in tarball
Lennart Poettering [Sun, 12 Apr 2009 21:33:30 +0000 (23:33 +0200)]
bump version and soname
Lennart Poettering [Sun, 12 Apr 2009 21:28:13 +0000 (23:28 +0200)]
do a basic all-NUL check for the identify data before accepting it is valid
David Zeuthen [Fri, 10 Apr 2009 04:06:32 +0000 (00:06 -0400)]
update WDC WD2500JB and WDC WD5000AAKS for new blob format
Lennart Poettering [Fri, 10 Apr 2009 03:26:21 +0000 (05:26 +0200)]
bump version and soname
Lennart Poettering [Fri, 10 Apr 2009 03:24:11 +0000 (05:24 +0200)]
update SAMSUNG HD501LJ--CR100-12 for new blob format
Lennart Poettering [Fri, 10 Apr 2009 03:21:15 +0000 (05:21 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/libatasmart
Lennart Poettering [Fri, 10 Apr 2009 03:21:05 +0000 (05:21 +0200)]
update Maxtor 96147H8--BAC51KJ0 for new blob format
Lennart Poettering [Fri, 10 Apr 2009 03:18:19 +0000 (05:18 +0200)]
update ST320410A--3.39 for new blob format
Lennart Poettering [Fri, 10 Apr 2009 03:16:11 +0000 (05:16 +0200)]
revamp blob serialization and include smart status field
Lennart Poettering [Fri, 10 Apr 2009 03:15:51 +0000 (05:15 +0200)]
hide more files
Lennart Poettering [Fri, 10 Apr 2009 03:13:29 +0000 (05:13 +0200)]
document that when we extend the enums we don't consider that abi breakage
Lennart Poettering [Thu, 9 Apr 2009 19:19:51 +0000 (21:19 +0200)]
minor cleanup
Lennart Poettering [Thu, 9 Apr 2009 01:35:03 +0000 (03:35 +0200)]
deal with ATA/USB truncation
Lennart Poettering [Thu, 9 Apr 2009 00:26:07 +0000 (02:26 +0200)]
add support for sunplus usb/ata bridges
Lennart Poettering [Tue, 7 Apr 2009 19:41:33 +0000 (21:41 +0200)]
bump soname and version
Lennart Poettering [Tue, 7 Apr 2009 19:39:37 +0000 (21:39 +0200)]
use O_NONBLOCK mode when opening device
Lennart Poettering [Tue, 7 Apr 2009 19:38:40 +0000 (21:38 +0200)]
fix parsing of awake status
David Zeuthen [Tue, 7 Apr 2009 13:36:15 +0000 (09:36 -0400)]
add blobs for two failing disks
WDC WD5000AAKS-00TMA0--12.01C01 has bad sectors
5 reallocated-sector-count 192 192 140 63 sectors 0x3f0000000000 prefail online no
196 reallocated-event-count 137 137 0 63 sectors 0x3f0000000000 old-age online no
197 current-pending-sector 194 193 0 529 sectors 0x110200000000 old-age online no
WDC WD2500JB-00REA0-20.00K20 has a single bad sector and also report
problems with spin-up time
3 spin-up-time 198 1 21 5.1 s 0xe31300000000 prefail online no
197 current-pending-sector 200 200 0 1 sectors 0x010000000000 old-age online no
Lennart Poettering [Sun, 5 Apr 2009 16:55:14 +0000 (18:55 +0200)]
bump version and soname
Lennart Poettering [Sun, 5 Apr 2009 16:51:50 +0000 (18:51 +0200)]
make sure we don't choke on attribute id 255
Lennart Poettering [Sun, 5 Apr 2009 16:45:14 +0000 (18:45 +0200)]
add another bad drive smart blob
Lennart Poettering [Sun, 5 Apr 2009 16:39:33 +0000 (18:39 +0200)]
fix typo
Lennart Poettering [Sun, 5 Apr 2009 16:39:08 +0000 (18:39 +0200)]
add another bad driver SMART blob
Lennart Poettering [Sun, 5 Apr 2009 16:35:36 +0000 (18:35 +0200)]
include a few bad smart blobs for testing purposes
Lennart Poettering [Sun, 5 Apr 2009 16:33:30 +0000 (18:33 +0200)]
update --help text
Lennart Poettering [Sun, 5 Apr 2009 16:30:39 +0000 (18:30 +0200)]
define type string for 'unknown'
Lennart Poettering [Fri, 3 Apr 2009 17:42:44 +0000 (19:42 +0200)]
bump revision and soname
Lennart Poettering [Fri, 3 Apr 2009 17:23:42 +0000 (19:23 +0200)]
remove | chars that are too much from regexp