forked from mirror/smartmontools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
2672 lines (1864 loc) · 89 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
$Id$
2017-05-03 Christian Franke <[email protected]>
smartctl.8.in, smartd.8.in, smartd.conf.5.in,
update-smart-drivedb.8.in:
Rework vertical space and '.nf...fi' (no-fill) sections
for better formatting with various tools (groff, mandoc,
man2html) and output formats (text, pdf, html).
Use default vertical space instead of an empty line
between paragraphs.
Use '.br' instead of '.nf...fi' where applicable.
Use CW font in remaining no-fill sections.
smartctl.8.in: Replace UTF-8 quotes.
2017-05-02 Christian Franke <[email protected]>
smartctl.8.in, smartd.8.in, smartd.conf.5.in,
update-smart-drivedb.8.in:
Various man/groff syntax fixes (ticket #656):
Split long lines.
Insert two spaces or newline between sentences.
Use ' for apostrophes.
Use groff extension \(aq (apostrophe quote, ASCII 0x27)
or ' for quotes.
Use \- (minus sign) for options and examples.
Use \(en (en-dash) for numeric ranges.
Protect . with \& if not at end of sentence.
2017-04-24 Alex Samorukov <[email protected]>
os_freebsd.cpp: remove duplicated code which checks ATA SMART
status (#746)
2017-04-23 Alex Samorukov <[email protected]>
os_os2.cpp:
- code cleanup
- add os2ahci driver initial support
- fix selftest command
- add device scan support
2017-04-19 Alex Samorukov <[email protected]>
OS/2 - many fixes:
- autodetect and build os_os2.o on OS/2
- fix os_os2.cpp/os_os2.h compilation (thanks to franke@)
- get rid from the os_os/hdreg.h - use constants from the atacmd.h
- remove most of the dead code and unused functions
2017-04-17 Christian Franke <[email protected]>
os_win32.cpp: Decode Windows 10 1703 build number.
atacmds.h, ataprint.cpp: Use STANDBY instead of IDLE command if
'-s standby,[N|off]' and '-s standby,now' are both specified.
smartctl.8.in: Document new behaviour of '-s standby,*'.
2017-04-01 Christian Franke <[email protected]>
atacmds.cpp, atacmds.h, ataprint.cpp: Print minimum supported ERC
Time Limit from SCT Status.
ataidentify.cpp, ataprint.cpp: Add ACS-4 and SATA 3.3 major
versions, log pages, device statistic values and feature bits.
2017-03-27 Christian Franke <[email protected]>
scsiprint.cpp: Suppress "SAS address" if '-q noserial' is
specified (ticket #822).
scsicmds.cpp: Remove useless variable
(cppcheck 1.77: knownConditionTrueFalse).
smartd.cpp: Always suppress "failed to read Temperature" message
if SCSI device does not support temperature (ticket #817).
Fix initial check for SCSI temperature support.
Log SCSI temperature regardless of its origin.
2017-03-11 Christian Franke <[email protected]>
smartctl.8.in, smartd.8.in, smartd.conf.5.in,
update-smart-drivedb.8.in: Update EXPERIMENTAL notes.
Update links. Update or remove various outdated info.
smartctl.8.in: Fix documentation of the '-g all' option.
smartctl.cpp: Add '-g dsn' to '-x' output.
2017-03-11 Jonghwan Choi <[email protected]>
ataprint.cpp: Fix false positive DSN support detection.
2017-03-09 Jean Delvare <...>
smartctl.8.in: Fix documentation of the '-q' option.
2017-03-09 Christian Franke <[email protected]>
AUTHORS: Add Jonghwan Choi.
2017-03-09 Jonghwan Choi <[email protected]>
Add options to get/set ATA DSN (Device Statistics Notification)
feature (ticket #815):
atacmds.h: Add DSN feature subcommand code.
ataprint.cpp, ataprint.h, smartctl.cpp: Add '-g/s dsn' options.
smartd.cpp: Add '-e dsn' directive.
smartctl.8.in, smartd.conf.5.in: Document the new options.
2017-03-04 Christian Franke <[email protected]>
smartctl.cpp, smartd.cpp: Fix help text for '-B' option.
smartd.cpp: Unify indent style, replace tabs.
Move ATA/SCSI/NVMe device open to new common function.
Suppress warning emails and repeated log messages on open error if
'-d removable' is specified (Debian Bug 770872, Ubuntu Bug 1451572).
smartd.conf.5.in: Document new behaviour of '-d removable'.
2017-03-02 Christian Franke <[email protected]>
smartd.cpp: Move single device registration to new function.
Exit smartd on device open error unless '-q never' or '-d removable'
is specified (regression from r2602).
Prevent retry if registration failed and '-q never' is specified.
Add enum for '-q, --quit' option.
2017-02-27 Christian Franke <[email protected]>
drivedb.h:
- Crucial/Micron RealSSD C300/P300: Rename, add P300, remove M500
- Crucial/Micron RealSSD m4/C400/P400: P400e micro SATA
- Crucial/Micron MX1/2/300, M5/600, 1100 Client SSDs: Rename,
add MX300 (tickets #763, #791), M550 M.2 (ticket #810),
1100 (ticket #783)
2017-02-22 Christian Franke <[email protected]>
configure.ac: Set various default LDFLAGS for MinGW builds:
Link statically, indicate DEP and TS compatibility, enable ASLR.
Add '--with-mingw-aslr' option.
2017-02-20 Christian Franke <[email protected]>
os_win32.cpp: Decode Windows Server 2016 build number.
os_win32.cpp: Rework CSMI port mapping. This fixes access to
ports != 0 behind IRST driver 15.2 (ticket #804).
2017-01-30 Alex Samorukov <[email protected]>
os_freebsd.cpp: unblock 48bit ATACAM commands for the legacy controllers
if FreeBSD version is >= 9.2-RELEASE, tested on FreeBSD 10.3
2017-01-28 Christian Franke <[email protected]>
ataidentify.cpp: Don't shift negative values
(g++ 6.3: -Wshift-negative-value, cppcheck 1.77: shiftNegativeLHS).
os_win32.cpp, scsiata.cpp, scsicmds.cpp, scsiprint.cpp: Fix 'if'
and 'else' clause indentations (g++ 6.3: -Wmisleading-indentation).
Add indent style configuration for EditorConfig
(http://editorconfig.org/):
.editorconfig: New file.
Makefile.am: Add new file to source tarball.
2017-01-21 Christian Franke <[email protected]>
drivedb.h:
- Marvell based SanDisk SSDs: X300 OEM (ticket #747),
X400 (ticket #715), Ultra II (ticket #744)
- USB: Renesas uPD720231A (0x045b:0x0229)
- USB: Maxtor D3 Station 5TB (0x0bc2:0x6126)
- USB: Seagate Backup Plus 8TB (0x0bc2:0xab38) (ticket #786)
- USB: WD Elements / My Passport (0x1058:0x107d) (ticket #772)
- USB: WD Elements / My Passport (0x1058:0x25a1) (ticket #773)
- USB: WD My Book 4TB (0x1058:0x25a3) (ticket #784)
- USB: WD Elements / My Passport: Merge entries
- USB: WD My Book: Merge entries
2017-01-14 Christian Franke <[email protected]>
scsiata.cpp: Remove redundant assignment
(cppcheck: redundantAssignment).
ataprint.cpp, ataprint.h, smartctl.cpp, smartctl.8.in:
Add STATUS parameter to '-n POWERMODE' option (ticket #697).
2017-01-13 Christian Franke <[email protected]>
configure.ac: Rework CXXFLAGS settings, use shell intrinsics.
os_win32.cpp: Fix harmless buffer overflow bug
(found by VC14 code analyser).
2017-01-12 Christian Franke <[email protected]>
drivedb.h:
- Innodisk 1ME3/3ME/3SE SSDs: Rename, add 1ME3 (ticket #713), 3SE
- Innodisk 3IE2/3ME2/3MG2/3SE2 SSDs: Rename, add 3ME2
- Samsung based SSDs: 750 EVO, PM810(470), 840, PM830, PM851,
CM871 (ticket #754), CM871a, PM871a (tickets #745, #775),
SM951 (ticket #704)
2017-01-11 Christian Franke <[email protected]>
smartctl.8.in: Make '-d intelliprop' visible on all platforms.
Add warning.
smartd.conf.5.in: Document '-d intelliprop'.
os_win32/vc14/smart*.vcxproj*: Add new files.
AUTHORS: Add Casey Biemiller
2017-01-11 Casey Biemiller <[email protected]>
Add '-d intelliprop' device type for drives behind IntelliProp
RAID controllers (ticket #730):
atacmds.cpp, atacmds.h: Add function ataWriteLogExt().
dev_intelliprop.cpp, dev_intelliprop.h: New files.
dev_interface.cpp: Add '-d intelliprop,N[+TYPE]' option.
Makefile.am: Add new files.
smartctl.8.in, smartd.conf.5.in: Document it.
2017-01-09 Alex Samorukov <[email protected]>
os_freebsd.cpp: fix panic on INVARIANTS enabled kernel, patch
provided (#780) by Oliver Pinter <[email protected]>
2017-01-01 Christian Franke <[email protected]>
Happy New Year! Update copyright year in version info.
2016-11-12 Christian Franke <[email protected]>
atacmds.h, freebsd_nvme_ioctl.h: Apply patch-atacmds.h 1.1
and patch-freebsd_nvme_ioctl.h 1.1 (2016-11-04) from
pkgsrc.se/sysutils/smartmontools:
Build fix for FreeBSD-11 and newer. Don't redefine now
existing things, ATA_SET_FEATURES and nvme_command.
2016-11-10 Christian Franke <[email protected]>
os_linux.cpp: Don't detect devices behind hpsa driver as regular
SCSI devices. Suggest to use '-d cciss,N' instead.
Based on patch provided by Stanislav Brabec.
2016-11-05 Christian Franke <[email protected]>
update-smart-drivedb.in: Fix 'mv' error on first update with new
script.
configure.ac, update-smart-drivedb.in: Add '--with-gnupg' option.
configure.ac: Add '--with-update-smart-drivedb=X.Y' option to
backport drive database update script and man page to older
version X.Y.
configure.ac: Remove checks for no longer supported options
--disable-drivedb, --enable-savestates and --enable-attributelog.
2016-11-04 Christian Franke <[email protected]>
Add authentication to update-smart-drivedb (ticket #751):
Create missing branches RELEASE_6_5_DRIVEDB and RELEASE_6_6_DRIVEDB.
Add signature files drivedb.h.raw.asc to each maintained branch.
update-smart-drivedb.in: Include new public key block ID DFD22559.
Download also drivedb.h.raw.asc.
Do no longer download from trunk if branch does not exist.
Create drivedb.h.raw. Verify signature.
Add options '--trunk', '--no-verify' and '--export-key'.
update-smart-drivedb.8.in: Document new behaviour and options.
2016-10-23 Christian Franke <[email protected]>
smartd.8.in: Document Windows PARAMCHANGE service control command.
smartctl.8.in, smartd.8.in, smartd.conf.5.in: Enable NVMe sections
for NetBSD.
configure.ac, os_netbsd.cpp: Add --with-nvme-devicescan for NetBSD.
drivedb.h:
- Toshiba 3.5" MG04ACA... Enterprise HDD (ticket #732)
- Toshiba X300 (ticket #716)
- Seagate Laptop HDD: Rename, add 3/4TB (ticket #738)
- Seagate Constellation ES: HP OEM
- Western Digital RE4: *ABYZ variant
- Western Digital Re: Add attribute 16 (ticket #742)
- Western Digital Black: Remove *BEK[TX] variants
- Western Digital Black Mobile: 1TB, *BEKT, *LPLX variants
- Western Digital Elements / My Passport (USB, AF): 4TB
- USB: Neodio Technologies (0x0aec:0x3050)
- USB: Dura Micro (0x0c0b:0xb136)
- USB: My Passport Ultra 4TB (0x1058:0x2599)
2016-10-17 Christian Franke <[email protected]>
configure.ac: Add --with-scriptpath option.
smartd_warning.sh.in, update-smart-drivedb.in: Set PATH variable.
2016-10-03 Christian Franke <[email protected]>
os_win32/vc14/*.vcxproj: Add platform x64.
os_win32.cpp: Use new enhanced version of IOCTL_STORAGE_QUERY_PROPERTY
to access NVMe info. This works with Windows 10 NVMe driver
(stornvme.sys) (ticket #691).
smartctl.8.in, smartd.8.in: Document device names.
2016-09-28 Christian Franke <[email protected]>
drivedb.h:
- USB: Buffalo MiniStation HD-PZU3 (0x0411:0x01f9) (ticket #739)
- USB: Iomega Prestige (0x059b:0x0571)
- USB: LaCie P9223 (0x059f:0x1070)
- USB: Seagate Expansion Desktop (0x0bc2:0x331a) (ticket #725)
- USB: Seagate Backup Plus (0x0bc2:0xab28) (ticket #738)
- USB: WD My Passport Ultra (0x1058:0x259d) (ticket #736)
- USB: ASMedia ASM1351 (0x174c:0x1351)
2016-09-25 Christian Franke <[email protected]>
AUTHORS: Add Kimihiro Nonaka.
2016-09-25 Kimihiro Nonaka <...>
os_netbsd.cpp: Migrate to new dev_interface (ticket #101).
Add NVMe support (ticket #728).
Implement netbsd_ata_device::ata_pass_through().
netbsd_nvme_ioctl.h: New file based on "sys/dev/ic/nvmeio.h" from
NetBSD kernel sources.
Makefile.am: Add new file.
2016-09-07 Christian Franke <[email protected]>
Makefile.am: clean-vc14 targets.
os_win32.cpp: Decode Windows 10 build number.
os_win32/smartd_warning.cmd: Use delayed variable expansion.
os_win32/smartd_mailer.ps1: Use domainname for default sender address.
os_win32/smartd_mailer.conf.sample.ps1: Update related comment.
os_win32/smartd_warning.cmd: Remove trailing '\r' from USERDNSDOMAIN.
2016-08-28 Christian Franke <[email protected]>
os_win32/installer.nsi: Fix quoting of EDITOR shortcuts.
Send warning mails via PowerShell script on Windows (ticket #731):
Makefile.am, os_win32/installer.nsi: Add new files.
os_win32/smartd_mailer.ps1: New PowerShell script using Send-MailMessage
cmdlet to send mail.
os_win32/smartd_mailer.conf.sample.ps1: New sample config file.
os_win32/smartd_warning.cmd: Call new script if configured.
Improve error handling. Add setlocal.
smartd.conf.5.in: Document it.
2016-08-17 Christian Franke <[email protected]>
AUTHORS: Add Song Liu.
smartctl.cpp: Reduce scope of 'persistent' flag
(cppcheck: variableScope).
2016-08-17 Song Liu <[email protected]>
ataprint.cpp, ataprint.h, smartctl.cpp, smartctl.8.in:
Add persistent option ',p' to '-s wcreorder,on|off' (ticket #726).
atacmds.cpp, atacmds.h, ataprint.cpp, ataprint.h, smartctl.cpp,
smartctl.8.in: Add ability to control ATA drive write cache through
SCT Feature control. The new smartctl options are
'-s wcache-sct,ata|on|off[,p]' and '-g wcache-sct' (ticket #723).
2016-08-06 Christian Franke <[email protected]>
os_win32.cpp: Add Windows 10 build number to get_os_version_str().
Update MSVC10 (VS2010) for VC14 (VS2015):
os_win32/vc14/*: Move from os_win32/vc10/*.
os_win32/vc14/*.vcxproj: Update for VC14.
Remove '__func__' workaround (revert r4225).
Makefile.am: Rename and update config-vc14 target.
utility.cpp: Add workaround for missing 'tzname'.
drivedb.h:
- OCZ/Toshiba Trion SSDs: Rename, add TOSHIBA-TR150 (ticket #722)
- HGST Ultrastar 7K6000 (ticket #708)
- HGST Ultrastar He10
- Seagate Desktop HDD.15: 6TB, 8TB
- Seagate Enterprise Capacity 3.5 HDD: 8TB, 10TB (ticket #717),
attribute 240
- Seagate SV35: 4TB
- Western Digital Gold (ticket #711)
- USB: LaCie (0x059f:0x1075) (ticket #718)
- USB: Seagate Expansion External (0x0bc2:0x3322) (ticket #706)
- USB: Seagate FreeAgent GoFlex (0x0bc2:0x5030) (ticket #720)
- USB: Seagate Backup Plus Desktop (0x0bc2:0xab34) (ticket #700)
2016-05-31 Christian Franke <[email protected]>
drivedb.h:
- Intel 311/313 Series SSDs: mSATA, *H (HP) variant
- Intel 520 Series SSDs: *L (Lenovo) variant
- HGST Ultrastar He6/He8: attribute 22 "Helium_Level"
- Western Digital Red: 8TB, attribute 22 "Helium_Level"
- USB: WD My Passport Ultra (0x1058:0x0837) (ticket #696)
- USB: WD My Passport (0x1058:0x083a)
- USB: WD My Book (0x1058:0x111d)
2016-05-10 Christian Franke <[email protected]>
os_openbsd.cpp: Compile fix (regression from r4156).
os_netbsd.cpp: Apply patch-os__netbsd.cpp 1.3 (2016-05-08) from
pkgsrc.se/sysutils/smartmontools:
- Compile fix (regression from r4156).
- Use a raw disk device file on NetBSD.
2016-05-07 Christian Franke <[email protected]>
smartmontools 6.5
2016-05-06 Christian Franke <[email protected]>
drivedb.h:
- Samsung SpinPoint P80 SD: *J/P variant
- Seagate Samsung SpinPoint M7E
- Hitachi/HGST Travelstar Z5K500: *E680 variant
- Hitachi Travelstar 7K500: HITACHI variant
- Hitachi Ultrastar 7K3000: *A641 variant
- HGST Ultrastar He8
- Toshiba 2.5" HDD MQ01ABD...: *V variant
- Seagate Desktop HDD.15: 5TB
- Seagate SV35.3
- Seagate SV35: *0001 variant
- Seagate DB35: SATA variant
- Western Digital Blue: 2-6TB, *Z variant
- Western Digital RE4-GP: *2003* variant
- Western Digital Re: Rename, 2-6TB
- Western Digital Caviar Green: SATA 6Gb/s variant
- Western Digital Caviar Black: *7501AAES*
- Western Digital Blue Mobile: 2TB
- Western Digital Elements / My Passport (USB, AF): *7500B*, 3TB
2016-05-01 Christian Franke <[email protected]>
drivedb.h:
- Samsung based SSDs: 840 EVO 750GB (ticket #692), 850 EVO M.2,
SM843T *HCFV* variant
- USB: WD My Passport (0x1058:0x07ae) (ticket #686)
- USB: JMicron JMS561 (0x152d:0x9561)
nvmecmds.cpp: Enhance debug hex dump to sizeof Identify structs.
Do not dump trailing zero bytes.
2016-04-27 Christian Franke <[email protected]>
nvmeprint.cpp, nvmeprint.h, smartctl.cpp, smartctl.8.in:
Add NVMe support for 'smartctl -c'. Print various drive and
namespace capabilites. Remove related info from '-i' output.
2016-04-24 Christian Franke <[email protected]>
nvmeprint.cpp: Fix formatting of error log with unset LBA fields.
utility.cpp, utility.h: Skip leading blanks in format_char_array().
Some NVMe devices return right aligned text fields.
configure.ac, smartd.cpp: Remove include of netdb.h.
No longer needed since r3712.
smartd.cpp, smartd.conf.5.in: Remove support for '-m [sys]msgbox'.
2016-04-23 Christian Franke <[email protected]>
drivedb.h:
- Innodisk 3ME SSDs
- Innodisk 3IE2/3MG2/3SE2-P SSDs: Rename, add 3SE2-P
- Innodisk 3IE3/3ME3 SSDs: Rename, add 3IE3
- USB: Buffalo MiniStation HD-PNFU3 (0x0411:0x0251) (ticket #683)
- USB: Renesas uPD720231A (0x045b:0x022a)
- USB: Toshiba Canvio (0x0480:0x0210, 0x0480:0xa20c)
- USB: Samsung G2 Portable (0x04e8:0x6032): 2nd entry with -d sat
- USB: Iomega LDHD-UPS (0x059b:0x0278)
- USB: Iomega LPHD-UP (0x059b:0x0470)
- USB: LaCie Desktop Hard Drive (0x059f:0x1016)
- USB: SanDisk SDCZ80 Flash Drive (0x0781:0x5588)
- USB: Seagate Backup Plus USB 3.0 (0x0bc2:0xab2[05])
- USB: WD My Passport Ultra (0x1058:0x0822)
- USB: WD Elements (0x1058:0x25a2)
- USB: JMicron JMS561 (0x152d:0x1561)
- USB: VIA VL711 (0x2109:0x0711): change to -d sat (ticket #594)
- USB: Sharkoon QuickPort XT USB 3.0 (0x357d:0x7788)
2016-04-16 Christian Franke <[email protected]>
smartctl.cpp: Allow NVMe debug messages during --scan.
Suppress "Device open changed type ..." message unless debug
mode is enabled.
atacmds.cpp: Remove duplicate POWER MODE error message.
smartd.cpp: Remove dead increment (cppcheck: unreadVariable).
Do not write localized decimal point to syslog().
configure.ac, Makefile.am: Add '--with-update-smart-drivedb=no'
option to disable drive database update script. Useful if
maintainers do not want the script due to security concerns
and/or want to provide database updates as a separate package
(Debian bug 804299, FreeBSD Bugzilla 208398).
smartctl.8.in, smartd.8.in: Hide references to script if disabled.
nvmeprint.cpp: Add Power State and Namespace info to '-i' output.
Do not print unset or duplicate info unless debug mode is enabled.
nvmecmds.cpp, nvmecmds.h: Add Identify Namespace support.
2016-04-15 Christian Franke <[email protected]>
os_linux.cpp: Fix harmless bug in errno check of HPTIO_CTL ioctl()
calls. Bug was introduced 10 years ago in r2237.
2016-04-15 Yuriy M. Kaminskiy <[email protected]>
os_linux.cpp: Fix harmless bug in errno check of HDIO_DRIVE_TASK*
ioctl() calls. Bug was introduced 12 years ago in r1609, the fix
in r4003 was incomplete.
2016-04-14 Christian Franke <[email protected]>
nvmeprint.cpp: Fix size factor of Data Units Read/Written counters.
os_win32.cpp: Fix device count in win_nvme_device::open().
Thanks to Oliver Bruchmann for bug reports and testing.
2016-04-12 Douglas Gilbert <[email protected]>
scsiprint.cpp: improve handling when no tape cartridge is
in the tape drive.
2016-04-12 Alex Samorukov <[email protected]>
scsiprint.cpp, smartd.cpp: workaround for the buggy ST8000NM0075/E001,
request log page list with a fixed length (ticket #678).
2016-04-11 Alex Samorukov <[email protected]>
drivedb.h: add Samsung SM863 series, ticket #681
2016-04-10 Christian Franke <[email protected]>
os_win32.cpp: Include also unknown and unsupported USB devices
in device scan result. Move USB device handling to new function.
Add Windows Server 2016 to get_os_version_str().
AUTHORS: Add Thomas Gatterweh.
smartd.cpp: Check is_powered_down() also with '-n sleep'.
2016-04-10 Thomas Gatterweh <[email protected]>
Prevent drive spin up by '-n standby' check on Windows (ticket #677):
dev_interface.cpp, dev_interface.h:
Add smart_device::is_powered_down().
os_win32.cpp: Add win_ata_device::is_powered_down(). Open device
without READ or WRITE access to prevent spin up.
smartctl.cpp, smartd.cpp: Add check for is_powered_down().
2016-04-09 Christian Franke <[email protected]>
configure.ac, os_win32.cpp, smartd.8.in: Add NVMe DEVICESCAN
support for Windows.
smartctl.8.in, smartd.8.in, smartd.conf.5.in: Document NVMe
support for Windows.
nvmecmds.cpp, os_win32.cpp: Use NSID=0 for Identify Controller
command. This fixes NVMe access via Samsung driver on Windows.
2016-04-08 Christian Franke <[email protected]>
os_win.cpp: Add initial NVMe support for Windows.
Successfully tested with Intel driver.
Does not work with Samsung driver.
Thanks to Minkyu Kim for testing.
2016-04-02 Christian Franke <[email protected]>
Fix memory leak if get_sat_device() is called with unknown 'type':
scsiata.cpp: get_sat_device(): Delete 'scsidev' on error.
dev_interface.h: Update documentation of get_sat_device().
dev_interface.cpp: Fix use of get_sat_device().
(All other uses of get_sat_device() are already sane).
dev_interface.cpp, dev_interface.h: Add counter for objects derived
from 'smart_device'.
smartctl.cpp, smartd.cpp: Print error message if any objects remain
on exit.
os_linux.cpp: linux_megaraid_device: Remove unused member variable
'm_busnum' (clang++: -Wunused-private-field) and the related ctor
parameter.
os_linux.cpp: Fixes suggested by clang analyser:
Add or remove inconsistent nullptr checks.
Remove dead increments.
2016-04-01 Douglas Gilbert <[email protected]>
scsiprint.cpp: add missing commas in peripheral_dt_arr and
add number of elements (2**5) so that won't happen again.
2016-03-31 Alex Samorukov <[email protected]>
drivedb.h:
- add samsung SAMSUNG-MZ7PC series (ticket #679)
- add KINGSTON SKC400S37128G (SSDNow KC400) (ticket #673, patch provided
by the reporter)
- add SanDisk SSD Plus series (ticket #674)
- add XceedIOPS SSD series (ticket #672)
- add Crucial BX200 SSD (ticket #643)
2016-03-30 Christian Franke <[email protected]>
Add support for multiple '-d TYPE' options for device scanning:
dev_interface.cpp, dev_interface.cpp: Add new version of
scan_smart_devices() which accepts list of types.
smartctl.cpp, smartd.cpp: Allow multiple '-d TYPE' options.
Use new scan_smart_devices().
smartctl.8.in, smartd.conf.5.in: Document it.
Makefile.am: Add man page support for --with-nvme-devicescan.
smartd.8.in: Document NVMe DEVICESCAN for Linux.
configure.ac: Use `...` instead of $(...) due to possible parsing
problems since r4260. Remove workaround for related bash bug.
2016-03-28 Christian Franke <[email protected]>
Add NVMe DEVICESCAN support for Linux:
configure.ac: Add --with-nvme-devicescan option.
os_linux.cpp: Scan for '/dev/nvme[0-99]' if '-d nvme' is specified
or --with-nvme-devicescan is set.
smartctl.cpp: Add "NVMe" to --scan info.
smartctl.8.in, smartd.8.in, smartd.conf.5.in: Enable NVMe
sections also for FreeBSD.
configure.ac: Write configuration summary also to config.log.
2016-03-28 Alex Samorukov <[email protected]>
os_freebsd.cpp: Add initial FreeBSD NVMe support (ticket #657)
2016-03-27 Christian Franke <[email protected]>
ataprint.cpp: Support POWER MODE values introduced in ATA ACS-2
(ticket #184, smartctl only).
2016-03-27 Thomas Gatterweh <[email protected]>
atacmds.cpp, smartd.cpp: Support POWER MODE values introduced
in ATA ACS-2 (ticket #184, smartd only).
2016-03-26 Christian Franke <[email protected]>
os_win32.cpp: Rearrange code such that no forward declarations
are needed.
os_freebsd.cpp, os_netbsd.cpp, os_openbsd.cpp, os_solaris.cpp,
utility.cpp: Remove variable 'bytes'. Only used for a memory
leak check which was removed in r2629 (2008-08-29).
os_solaris.cpp, utility.cpp, utility.h:
Remove CustomStrDup(), use strdup() instead.
dev_legacy.cpp, utility.cpp, utility.h:
Remove FreeNonZero(), use free() instead.
smartctl.cpp, smartd.cpp, utility.cpp, utility.h:
Remove split_report_arg(), use sscanf() instead.
Add basic NVMe support for smartd (-H -l error -W):
Makefile.am, os_win32/vc10/smartd.vcxproj: Add nvmecmds.cpp to smartd.
smartd.cpp: Add NVMeDeviceScan() and NVMeCheckDevice().
smartd.8.in, smartd.conf.5.in: Document NVMe support.
nvmeprint.cpp: Remove ary_to_str().
utility.cpp, utility.h: Add format_char_array().
2016-03-24 Christian Franke <[email protected]>
dev_interface.cpp: Add missing 'usbprolific' to help text.
nvmecmds.cpp, nvmeprint.cpp: Add support for '-q noserial'.
smartd.cpp: Remove outdated declaration of getdomainname().
utility.cpp: Add C++ language version to output of -V option.
2016-03-20 Christian Franke <[email protected]>
nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp, nvmeprint.h, smartctl.cpp:
Add options '-l error[,NUM]' and '-l nvmelog,PAGE,SIZE' for NVMe
devices.
scsicmds.cpp: dStrHex(): Don't print trailing spaces.
smartctl.8.in: Document '-l error[,NUM]', '-l nvmelog,PAGE,SIZE'
and '-r nvmeioctl'.
2016-03-18 Christian Franke <[email protected]>
Add basic NVMe support for smartctl (-i -H -A) on Linux:
Makefile.am: Add new files.
dev_interface.cpp, dev_interface.h: Add class nvme_device.
linux_nvme_ioctl.h: New file imported from Linux kernel sources
(include/uapi/linux/nvme_ioctl.h 9d99a8d 2015-10-09).
nvmecmds.cpp, nvmecmds.h: New module with NVMe command wrapper
functions for smartctl and smartd.
nvmeprint.cpp, nvmeprint.h: New module with nvmePrintMain().
smartctl.cpp: Add nvmePrintMain() support.
os_linux.cpp: Add class linux_nvme_device.
os_win32/vc10/smart*.vcxproj*: Add new files.
smartctl.8.in: Document NVMe support.
2016-03-14 Douglas Gilbert <[email protected]>
scsiprint.cpp: work on LB provisioning corner cases; LBPRZ now
3 bits wide (in response to ticket #664)
2016-03-14 Alex Samorukov <[email protected]>
drivedb.h:
- extend Apple SSD regexp (ticket #668)
- Add OCZ VeloDrive R (ticket #667)
2016-03-12 Alex Samorukov <[email protected]>
drivedb.h: Add Phison Driven SSDs:
- Kingston UV300 SSD series (ticket #663)
- Kingston SSDNow KC310/V310
- HyperX Savage
2016-03-11 Alex Samorukov <[email protected]>
drivedb.h: Add Kingston UV300 SSD series
2016-03-06 Christian Franke <[email protected]>
drivedb.h: Samsung based SSDs: Fix PM863 regexp, attribute IDs and
name length (regression from r4227).
2016-03-03 Alex Samorukov <[email protected]>
drivedb.h: Adata HD710 1TB USB3 (ticket #662)
2016-02-29 Alex Samorukov <[email protected]>
drivedb.h: PM863 Series (ticket #661)
2016-02-28 Alex Samorukov <[email protected]>
drivedb.h: OWC Aura Pro 480 GB (ticket #660)
2016-02-26 Christian Franke <[email protected]>
update-smart-drivedb.in: Use HTTPS for '-u sf' (ticket #659).
Improve file modification check.
update-smart-drivedb.8.in: Document changed URL.
os_win32/vc10/smartctl.vcxproj: Workaround for missing support of
'__func__' (included in C99 and C++11, but not in C++03).
2016-02-15 Alex Samorukov <[email protected]>
drivedb.h: APPLE SSD TS064E (ticket #655)
2016-02-02 Douglas Gilbert <[email protected]>
scsiprint.cpp: output unavailable rather than 255C for Drive
Trip temperature; skip background scan lpage for tape drives
2016-02-02 Christian Franke <[email protected]>
drivedb.h:
- Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs: 250GB MX200
(ticket #644), M500 mSATA and M.2
- OCZ Trion SSDs: Rename, add Trion 150
- Innodisk 3ME3 SSDs: SATADOM-SL 3IE3
2016-01-25 Alex Samorukov <[email protected]>
os_darwin: add launchctl script for the smartd and remove depricated one.
"On current systems there is only one recommend way: launchd"
2016-01-24 Alex Samorukov <[email protected]>
os_freebsd.cpp: fix possible reallocf with 0 bytes arg (ticket #640)
drivedb.h: add Corsair Extreme SSD (ticket #642)
os_darwin.cpp: fix error reporting if open fails
2016-01-23 Alex Samorukov <[email protected]>
os_darwin.cpp: do not print bogus memory allocation error message if
there are no devices found
2016-01-22 Christian Franke <[email protected]>
Various fixes suggested by clang analyser (ticket #640):
dev_areca.cpp: Fix check of ARCMSR_READ_RQBUFFER result.
knowndrives.cpp: Add missing member initialization.
smartd.cpp: Fix crash on missing argument to '-s' directive.
Add missing variable initialization. Remove redundant assignment.
2016-01-21 Alex Samorukov <[email protected]>
drivedb.h: Added ADATA SP550 SSD (ticket #638)
os_freebsd.cpp: Reduce variable scope where possible (cppcheck: variableScope)
os_openbsd/os_netbsd - removed never used warning code defines (cppcheck)
2016-01-21 Christian Franke <[email protected]>
ataprint.cpp, smartd.cpp: Don't issue SCT commands if ATA Security
is locked (ticket #637).
2016-01-19 Alex Samorukov <[email protected]>
drivedb.h:
- Samsung PM871 SSD family (ticket #636)
- Fixed detection for Samsung SSD 850 EVO mSATA 120GB (ticket #635)
- Fixed Western Digital Caviar Black regexp, extended WD Black (ticket #631)
2016-01-06 Christian Franke <[email protected]>
drivedb.h:
- SandForce Driven SSDs: Extra warning entry for buggy Corsair Force LS
(ticket #628)
- Innodisk 3MG2-P SSDs: 1.8" variant
- Innodisk 3ME3 SSDs
- USB: Seagate Expansion Portable (0x0bc2:0x2322) (ticket #627)
- USB: Jess-Link (0x0dbf:0x9001)
2016-01-01 Christian Franke <[email protected]>
Happy New Year! Update copyright year in version info.
2015-12-19 Christian Franke <[email protected]>
Makefile.am: Fix path of 'smart-pkg-uninstall' (Regression from r4190).
update-smart-drivedb.8.in: Fix platform specific formatting.
2015-12-18 Alex Samorukov <[email protected]>
os_netbsd.cpp, os_openbsd.cpp: fix ioctl returtn value check
os_darwin.cpp: fix error handling
os_darwin: use /usr/local/ prefix to install on 10.11 (El Capitan)
2015-12-16 Douglas Gilbert <[email protected]>
scsiprint.cpp: stop tape drive looking for Solid State media
log page (ticket #314).
2015-12-14 Douglas Gilbert <[email protected]>
scsiprint.cpp: fix compiler warning for is_tape. Clean code around
handling of tape drives.
2015-12-14 Christian Franke <[email protected]>
drivedb.h:
- Intel 320 Series SSDs: 1.8" microSATA
- Intel 53x and Pro 2500 Series SSDs: Rename, add 535 (ticket #625),
add Pro 2500
- Intel 730 and DC S35x0/3610/3700 Series SSDs: Rename,
add S3510/3610, 1.2TB, 1.6TB
- USB: LaCie (0x059f:0x106f) (ticket #624)
- USB: WD My Passport (0x1058:0x071a, 0x1058:0x0816)
- USB: Initio (0x13fd:0x1650)
- USB: Unknown (0xabcd:0x6103)
update-smart-drivedb.in: Add '-s SMARTCTL' option.
update-smart-drivedb.8.in: Document it.
2015-12-07 Christian Franke <[email protected]>
configure.ac: Append 'svn' to list of download tools.
update-smart-drivedb.in: Use HTTPS download by default.
Add options '-t TOOL', '-u LOCATION', '--cacert FILE',
'--capath DIR', '--insecure' and '--dryrun'.
Add 'svn' as new download tool.
Ignore differences in SVN Id string (re-added).
Remove usage of 'which' command.
update-smart-drivedb.8.in: Document the new options.
2015-11-23 Christian Franke <[email protected]>
atacmds.cpp: parse_attribute_def(): Init buffers before sscanf() call
(cppcheck-1.71: uninitvar).
scsiprint.cpp: Fix GLTSD bit set/cleared info messages (ticket #621).
2015-11-22 Christian Franke <[email protected]>
Makefile.am: Add NEWS file to svnversion.h target.
os_win32/installer.nsi: Select 64-bit version on 64-bit Windows.
Fix installation of runcmda.exe. Update links.
2015-11-15 Christian Franke <[email protected]>
configure.ac: Check whether MinGW adds an application manifest.
Makefile.am: Add default manifest for MinGW builds.
os_win32/default.manifest: New default application manifest.
Remove external application manifests.
os_win32/installer.nsi: Use macros from 'LogicLib.nsh' where possible.
Add missing MessageBox /SD options.
Remove external application manifests.
2015-11-07 Christian Franke <[email protected]>
drivedb.h:
- Micron M500DC/M510DC Enterprise SSDs: Rename, add M510DC
- SandForce Driven SSDs: Mushkin Chronos 7mm/MX/G2, Enhanced ECO2
- Innodisk 3MG2-P SSDs
- SiliconMotion based SSDs: Crucial BX100 (ticket #597)
2015-10-31 Christian Franke <[email protected]>
atacmds.cpp, atacmds.h, knowndrives.cpp, knowndrives.h:
Read default SMART attribute settings from drivedb.h (ticket #465).
Remove hard-coded attribute names and format settings.
drivedb.h: Uncomment default settings to create the "DEFAULT" entry.
Add ",HDD" or ",SSD" to HDD/SSD specific settings.
smartctl.cpp, smartd.cpp: Use new database initialization function.
Create branch RELEASE_6_4_DRIVEDB with last drivedb.h file
compatible with smartmontools 6.4.
2015-10-22 Paul Grabinar <[email protected]>
drivedb.h:
- SandForce Driven SSDs: OCZ RevoDrive 350, Z-Drive 4500
- Indilinx Barefoot 3 based SSDs: Add attributes,
OCZ ARC 100, Saber 1000, Vector 180, Vertex 460A
- OCZ Intrepid 3000 SSDs: Intrepid 3700
- OCZ Trion
2015-10-20 Christian Franke <[email protected]>
Reduce variable scope where possible (cppcheck: variableScope).
Makefile.am: Remove *.s from files used to generate svnversion.h.
2015-10-18 Alex Samorukov <[email protected]>
fixes suggested by cppcheck:
Check realloc result to avoid memory leak (memleakOnRealloc)
Fix printf() signednsess (invalidPrintfArgType_sint)
2015-10-17 Christian Franke <[email protected]>
Various fixes suggested by cppcheck:
Close FILE pointer before reopening it (cppcheck: publicAllocationError).
Add missing member initializations to ctors (cppcheck: uninitMemberVar).
Remove redundant nullptr check (cppcheck: nullPointerRedundantCheck).
Remove redundant assignments (cppcheck: redundantAssignment).
Clarify calculation precedence (cppcheck: clarifyCalculation).
Use C++-style casts for pointer types (cppcheck: cstyleCast).
Remove duplicate on both sides of '||' (cppcheck: duplicateExpression).
Declare ctors with one argument as 'explicit'
(cppcheck: noExplicitConstructor).
Remove unread variables and assignments (cppcheck: unreadVariable).
Fix signedness of sscanf() formats strings
(cppcheck: invalidScanfArgType_int).
2015-10-14 Christian Franke <[email protected]>
configure.ac: Disable os_solaris_ata.o by default.
Add --with-solaris-sparc-ata option to enable.
Makefile.am: Exclude os_solaris_ata.s from source tarball
(Debian bug 729842).
os_solaris.cpp: Check for WITH_SOLARIS_SPARC_ATA instead of __sparc.
2015-10-13 Christian Franke <[email protected]>
Makefile.am: Fix error handling in various shell scripts.