Package list libatasmart / b325c54
Add 0003-Add-S.M.A.R.T-attributes-for-Samsung-SSD.patch: Add more attribute names from Samsung SSD. Thanks to Tobias Wolf for the patch! (Closes: #650673, LP: #885869) Martin Pitt 9 years ago
3 changed file(s) with 59 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 libatasmart (0.18-2) UNRELEASED; urgency=low
1
2 * Add 0003-Add-S.M.A.R.T-attributes-for-Samsung-SSD.patch: Add more
3 attribute names from Samsung SSD. Thanks to Tobias Wolf for the patch!
4 (Closes: #650673, LP: #885869)
5
6 -- Martin Pitt <mpitt@debian.org> Sun, 26 Feb 2012 18:44:13 +0100
7
08 libatasmart (0.18-1) unstable; urgency=low
19
210 * New upstream release.
0 From 8dc5e62534244acea8cdfc3439bcba8fb67fd846 Mon Sep 17 00:00:00 2001
1 From: Tobias Wolf <towolf@gmail.com>
2 Date: Sun, 21 Feb 2010 12:58:42 +0100
3 Subject: [PATCH] Add S.M.A.R.T attributes for Samsung SSD
4
5 Taken from:
6 http://www.samsung.com/global/business/semiconductor/products/SSD/downloads/ds_SS805_NSSD_100_SLC_SATA_II_rev11.pdf
7
8 Description:
9 Attribute Name
10 175 Program Fail Count (Chip)
11 176 Erase Fail Count (Chip)
12 177 Wear Leveling Count
13 178 Used Reserved Block Count (Chip)
14 179 Used Reserved Block Count (Total)
15 180 Unused Reserved Block Count (Total)
16 181 Program Fail Count (Total)
17 182 Erase Fail Count (Total)
18 183 Runtime bad block (Total)
19
20 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=43470
21 Bug-Debian: http://bugs.debian.org/650673
22 Bug-Ubuntu: https://launchpad.net/bugs/885869
23
24 ---
25 atasmart.c | 9 +++++++++
26 1 files changed, 9 insertions(+), 0 deletions(-)
27
28 diff --git a/atasmart.c b/atasmart.c
29 --- a/atasmart.c
30 +++ b/atasmart.c
31 @@ -1317,6 +1317,15 @@
32 [170] = { "available-reserved-space", SK_SMART_ATTRIBUTE_UNIT_PERCENT, NULL },
33 [171] = { "program-fail-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
34 [172] = { "erase-fail-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
35 + [175] = { "program-fail-count-chip", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
36 + [176] = { "erase-fail-count-chip", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
37 + [177] = { "wear-leveling-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
38 + [178] = { "used-reserved-blocks-chip", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
39 + [179] = { "used-reserved-blocks-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
40 + [180] = { "unused-reserved-blocks", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
41 + [181] = { "program-fail-count-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
42 + [182] = { "erase-fail-count-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
43 + [183] = { "runtime-bad-blk-total", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
44 [184] = { "end-to-end-error", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
45 [187] = { "reported-uncorrect", SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
46 [188] = { "command-timeout", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
47 --
48 1.7.0
49
00 # Debian patches for libatasmart
11 0002-Drop-our-own-many-bad-sectors-heuristic.patch
2 0003-Add-S.M.A.R.T-attributes-for-Samsung-SSD.patch