Package list libatasmart / b776099
Update patches Michael Biebl 9 years ago
4 changed file(s) with 8 addition(s) and 56 deletion(s). Raw diff Collapse all Expand all
11
22 * New upstream release.
33 * Track .xz tarballs.
4 * Refresh 0002-Drop-our-own-many-bad-sectors-heuristic.patch.
5 * Remove 0003-Add-S.M.A.R.T-attributes-for-Samsung-SSD.patch, merged
6 upstream.
47
58 -- Michael Biebl <biebl@debian.org> Wed, 23 May 2012 08:34:26 +0200
69
1414
1515 Index: libatasmart/atasmart.c
1616 ===================================================================
17 --- libatasmart.orig/atasmart.c 2011-10-12 00:52:15.000000000 +0200
18 +++ libatasmart/atasmart.c 2011-10-12 00:56:23.726017536 +0200
17 --- libatasmart.orig/atasmart.c 2012-05-23 08:34:14.007836753 +0200
18 +++ libatasmart/atasmart.c 2012-05-23 08:34:43.903835695 +0200
1919 @@ -130,6 +130,8 @@
2020 SkBool current_pending_sector_found:1;
2121 uint64_t reallocated_sector_count;
2525
2626 void *blob;
2727 };
28 @@ -2181,16 +2183,23 @@
28 @@ -2190,16 +2192,23 @@
2929 if (a->pretty_unit != SK_SMART_ATTRIBUTE_UNIT_SECTORS)
3030 return;
3131
4949 }
5050 }
5151
52 @@ -2246,24 +2255,9 @@
52 @@ -2255,24 +2264,9 @@
5353 return _P(map[overall]);
5454 }
5555
7575
7676 assert(d);
7777 assert(overall);
78 @@ -2284,13 +2278,7 @@
78 @@ -2293,13 +2287,7 @@
7979 return -1;
8080 sectors = 0;
8181 } else {
+0
-50
debian/patches/0003-Add-S.M.A.R.T-attributes-for-Samsung-SSD.patch less more
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