Ticket #1071: adatri-micron-2018-09-07.diff

File adatri-micron-2018-09-07.diff, 3.5 KB (added by Gabriele Pohl, 3 years ago)

drivedb patch

Line 
1*** drivedb.h.orig      2018-08-19 11:45:53.000000000 -0700
2--- drivedb.h   2018-09-07 15:37:12.000000000 -0700
3***************
4*** 303,310 ****
5      "Micron_M600_(EE|MT)FDDA[KTV](128|256|512|1T0)MBF[25Z]?|" // tested with Micron_M600_MTFDDAK1T0MBF/MU01
6      "Micron_M500DC_(EE|MT)FDDA[AK](120|240|480|800)MBB|" // tested with Micron_M500DC_EEFDDAA120MBB/129, Micron_M500DC_MTFDDAK800MBB/0129
7      "Micron_1100_MTFDDA[KV](256|512|1T0|2T0)TBN|" // Marvell 88SS1074, tested Micron_1100_MTFDDAK256TBN/M0MU020
8!     "MICRON_M510DC_(EE|MT)FDDAK(120|240|480|800|960)MBP|" // Micron_M510DC_MTFDDAK240MBP/0005
9!     "Micron_5100_(EE|MT)FDDA[KV](240|480|960|1T9|3T8|7T6)T(BY|CB|CC)", // tested with Micron_5100_MTFDDAK1T9TBY
10      "", "",
11    //"-v 1,raw48,Raw_Read_Error_Rate "
12      "-v 5,raw48,Reallocate_NAND_Blk_Cnt "
13--- 303,309 ----
14      "Micron_M600_(EE|MT)FDDA[KTV](128|256|512|1T0)MBF[25Z]?|" // tested with Micron_M600_MTFDDAK1T0MBF/MU01
15      "Micron_M500DC_(EE|MT)FDDA[AK](120|240|480|800)MBB|" // tested with Micron_M500DC_EEFDDAA120MBB/129, Micron_M500DC_MTFDDAK800MBB/0129
16      "Micron_1100_MTFDDA[KV](256|512|1T0|2T0)TBN|" // Marvell 88SS1074, tested Micron_1100_MTFDDAK256TBN/M0MU020
17!     "MICRON_M510DC_(EE|MT)FDDAK(120|240|480|800|960)MBP", // Micron_M510DC_MTFDDAK240MBP/0005
18      "", "",
19    //"-v 1,raw48,Raw_Read_Error_Rate "
20      "-v 5,raw48,Reallocate_NAND_Blk_Cnt "
21***************
22*** 332,337 ****
23--- 331,370 ----
24      "-v 247,raw48,Host_Program_Page_Count "
25      "-v 248,raw48,Bckgnd_Program_Page_Cnt"
26    },
27+ // Reference: https://www.micron.com/resource-details/feec878a-265e-49a7-8086-15137c5f9011
28+ // TN-FD-34: 5100 SSD SMART Implementation
29+   {
30+     "Micron 5100 Pro / 5200 drives",
31+     "(Micron_5100_)?(EE|MT)FDDA[KV](240|480|960|1T9|3T8|7T6)T(BY|CB|CC)|" // Matches both stock and Dell OEM
32+     "(Micron_5200_)?MTFDDAK(480|960|1T9|3T8|7T6)TD(C|D|N)",
33+     "", "",
34+ //  "-v 1,raw48,Raw_Read_Error_Rate "
35+ //  "-v 5,raw48,Reallocated_Block_Count "
36+ //  "-v 9,raw24(raw8),Power_On_Hours "  // raw24(raw8)??
37+ //  "-v 12,raw48,Power_Cycle_Count "
38+     "-v 170,raw48,Reserved_Block_Pct " // Percentage of remaining reserved blocks available
39+     "-v 171,raw48,Program_Fail_Count "
40+     "-v 172,raw48,Erase_Fail_Count "
41+     "-v 173,raw48,Avg_Block-Erase_Count "
42+     "-v 174,raw48,Unexpect_Power_Loss_Ct "
43+ //  "-v 180,raw48,Reserved_Block_Count " // absolute count of remaining reserved blocks available
44+     "-v 183,raw48,SATA_Int_Downshift_Ct " // SATA speed downshift count
45+ //  "-v 184,raw48,Error_Correction_Count "
46+ //  "-v 187,raw48,Reported_Uncorrect " // Number of UECC correction failures
47+ //  "-v 188,raw48,Command_Timeouts "
48+ //  "-v 194,tempminmax,Temperature_Celsius " // 100 - degrees C, wraps: 101 reported as 255
49+ //  "-v 195,raw48,Cumulativ_Corrected_ECC "
50+ //  "-v 196,raw48,Reallocation_Event_Ct "
51+ //  "-v 197,raw48,Current_Pending_Sector " // Use the raw value
52+ //  "-v 198,raw48,Offline_Uncorrectable "  // Use the raw value
53+ //  "-v 199,raw48,UDMA_CRC_Error_Count "   // Use the raw value
54+     "-v 202,raw48,Percent_Lifetime_Remain " // Remaining endurance, trips at 10%
55+     "-v 206,raw48,Write_Error_Rate "
56+     "-v 210,raw48,RAIN_Success_Recovered "  // Total number of NAND pages recovered by RAIN
57+     "-v 247,raw48,Host_Program_Page_Count "
58+     "-v 248,raw48,Bckgnd_Program_Page_Cnt"
59+
60+   },
61    { "Micron M500DC/M510DC Enterprise SSDs",
62      "Micron_M500DC_(EE|MT)FDDA[AK](120|240|480|800)MBB|" // tested with
63        // Micron_M500DC_EEFDDAA120MBB/129, Micron_M500DC_MTFDDAK800MBB/0129