root/trunk/smartmontools/CHANGELOG @ 3160

Revision 3160, 150.0 KB (checked in by chrfranke, 4 years ago)

drivedb.h updates:
- IBM Deskstar 60GXP, 40GV & 75GXP: Update link (ticket #99)
- Seagate Barracuda 7200.12: Add ST31000523AS and others
- WD Caviar Black: Add 2TB
- WD VelociRaptor?: Add 6 Gb/s models

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1CHANGELOG for smartmontools
2
3$Id$
4
5The most recent version of this file is:
6http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/CHANGELOG?view=markup
7
8Maintainers / Developers Key (alphabetic order):
9[AS]  Alex Samorukov
10[BA]  Bruce Allen
11[OB]  Oliver Bock
12[EB]  Erik Inge Bols�]  Stanislav Brabec
13[PC]  Peter Cassidy
14[MC]  Matthieu Castet
15[YD]  Yuri Dario
16[CD]  Casper Dik
17[CF]  Christian Franke
18[GF]  Guilhem Fr�u
19[DG]  Douglas Gilbert
20[GG]  Guido Guenther
21[JPH] Jordan Powell Hargrave
22[JH]  Joerg Hering
23[GK]  Geoff Keating
24[DK]  Dr. David Kirkby
25[DL]  Dan Lukes
26[KM]  Kai M�sara
27[EM]  Eduard Martinescu
28[FM]  Fr�ric L. W. Meunier
29[GP]  Gabriele Pohl
30[AR]  Adam Radford
31[KS]  Keiji Sawada
32[MS]  Manfred Schwarb
33[TS]  Tomas Smetana
34[DS]  David Snyder
35[SS]  Sergey Svishchev
36[PW]  Phil Williams
37[LW]  Leon Woestenberg
38[SZ]  Shengfeng Zhou
39[RZ]  Richard Zybert
40
41NOTES FOR FUTURE RELEASES: see TODO file.
42
43<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
44
45  [CF] drivedb.h updates:
46       - IBM Deskstar 60GXP, 40GV & 75GXP: Update link (ticket #99)
47       - Seagate Barracuda 7200.12: Add ST31000523AS and others
48       - WD Caviar Black: Add 2TB
49       - WD VelociRaptor: Add 6 Gb/s models
50
51  [CF] Windows installer: Fix smartctl-run.bat for drive menu (ticket #31).
52
53  [CF] Windows: Create md5/sha1/sha256 checksums of the binaries.
54       Add checksums.txt file to binary distribution.
55
56  [CF] Windows: Include drivedb.h into binary distribution.
57
58  [CF] drivedb.h updates:
59       - Intel X18-M/X25-M/X25-V G2: Add X25-V 40GB
60       - Transcend CompactFlash Cards
61
62  [CF] drivedb.h updates:
63       - Seagate Momentus 7200 FDE.2: Add ST9160414ASG
64       - Seagate Pipeline HD 5900.1 and 5900.2
65       Based on patch provided by Marcin Falkiewicz.
66
67  [CF] Remove unused variable 'reportbug'.
68
69  [CF] Make function PrintOut() local to smartd.cpp, remove it from
70       smartctl.cpp.
71
72  [CF] Windows: Improve compatibility with MinGW variants.
73       Add configure check for DDK include files.
74       Drop support for '-mno-cygwin' from old Cygwin gcc.
75
76  [AS] smartctl.8.in minor update: adding FreeBSD ahci/scsi device hints
77
78  [CF] Fix build if SVN Id keywords are not expanded (ticket #94).
79
80  [CF] Windows: Remove "." from DLL search path to prevent DLL
81       preloading attacks.
82
83  [CF] drivedb.h USB update:
84       - JMicron 0x152d:0x0551 (ticket #95)
85       Add note about port multipliers to smartctl man page.
86
87  [CF] drivedb.h updates:
88       - SandForce Driven SSDs: Add Unigen drives
89       - Indilinx Barefoot based SSDs: Add ASAX Leopard Hunt II
90
91  [CF] drivedb.h update:
92       - Intel X18-M/X25-M G2: Add names of timed workload attributes.
93       Document attribute clear command '-t vendor,0x40' on smartctl
94       man page.
95
96       Thanks to Artem Danielov from Intel for providing the
97       required information and drives for testing.
98
99  [CF] drivedb.h update:
100       - SandForce Driven SSDs: Add OCZ drives with form factor info.
101
102  [CF] drivedb.h update:
103       - Intel X25-E, X18-M/X25-M (add X18-M, update attributes)
104
105  [CF] configure.in: '--enable-drivedb' is now the default.
106
107  [CF] drivedb.h update:
108       - Indilinx Barefoot based SSDs
109         (combine and update 5 SSD entries using this controller)
110
111  [CF] drivedb.h update:
112       - SandForce Driven SSDs (Demo Drive, OCZ-Agility2/Vertex2/Vertex-LE)
113
114       Thanks to Jeremy Werner (jwerner@sandforce.com) from SandForce for
115       providing the required information and a demo drive for testing.
116
117  [CF] drivedb.h update:
118       - Add 1.5TB drive to SAMSUNG SpinPoint F3 EG series
119
120  [CF] Add print formats '-v ID,msec24hour32' and '-v ID,raw24/raw32'.
121       Used by SSDs with SandForce controller.
122
123  [CF] Allow SMART threshold entries at positions different from
124       attribute table. This fixes attribute output for recent
125       SSDs with SandForce controller.
126
127  [CF] smartctl: Add option '-t vendor,N' to issue ATA
128       command SMART EXECUTE OFF-LINE IMMEDIATE with
129       a vendor specific subcommand.
130
131  [CF] drivedb.h update:
132       - SAMSUNG SpinPoint V80 series (ticket #85)
133
134  [CF] Linux: Support SATA drives on LSI 3ware 9750 controllers.
135       Patch provided by Victor Payno (ticket #86).
136       Modified to avoid duplicate code.
137
138  [CF] drivedb.h update:
139       - SAMSUNG SpinPoint M7 series
140
141  [CF] drivedb.h USB update:
142       - Buffalo JustStore Portable HD-PVU2
143
144  [CF] drivedb.h USB updates:
145       - Iomega LDHD-UP (ticket #83)
146       - WD Elements Desktop 2TB
147       - Maxtor OneTouch (0x0d49:0x7300)
148
149  [MS] drivedb.h updates:
150       - Intel X25-M SSD first Generation
151       - ExcelStor J8160
152       - OCZ Agility2
153
154  [CF] drivedb.h updates:
155       - Transcend Solid State Drives (ticket #80)
156
157  [CF] drivedb.h USB update:
158       - LaCie Rugged Hard Drive
159
160  [CF] smartctl: Add options '--scan, --scan-open'.
161
162  [CF] Windows: Use also VendorId from IOCTL_STORAGE_QUERY_PROPERTY.
163
164  [CF] smartd: Change defaults of '-C' and '-U' directives to 0 (disabled)
165       if attribute name is changed by '-v 19[78],...' directive.
166
167  [CF] configure.in: Fix include path for MinGW.
168
169  [CF] Move 'posix/reg*' to 'regex/reg*'.
170       Add configure check for regex.
171
172  [MS] cciss.cpp: avoid redefining be32toh
173       megaraid.h: replace use of undefined preprocessor macro BITS_PER_LONG
174                   by union construct (thanks to [DL]).
175                   Add assert for sizeof(ptr_t) == 8 (thanks to [CF]).
176
177  [CF] Makefile.am: Add os_qnxnto.* to EXTRA_smart*_SOURCES.
178
179  [MS] drivedb.h update:
180       - WD My Passport Essential SE 1TB variant (USB interface)
181
182  [CF] Use getopt_long() from getopt/getopt* if necessary.
183       Add missing cast to os_qnxnto.cpp.
184       This fixes build on QNX (ticket #1).
185       Thanks to Stefan (stevestereo) for testing.
186
187  [CF] drivedb.h update:
188       - WD Caviar Green (Adv. Format) family
189
190  [CF] drivedb.h USB update:
191       - Verbatim External Hard Drive 47519
192
193  [DL] Fix regression in smartctl option '-t select,M-N' which prevents
194       that more than one test span can be specified (ticket #75).
195
196  [CF] drivedb.h updates:
197       - Add raw64 attributes 1, 210-213 to all SSD drives with
198         64-bit attribute format.
199
200  [CF] Support smartd '-l xerror' also for disks which use reserved
201       byte as log index.
202
203  [CF] Fix initialization of values missing in smartd '.state' files.
204
205  [CF] Add smartd directive '-l xerror' to check error count from
206       the Extended Comprehensive SMART Error Log (ticket #34).
207
208  [CF] Fix max number of cciss devices, 128 devices are supported
209       again (ticket #49). Regression was introduced during migration
210       to new interface.
211
212  [CF] Update man pages (include Debian patch
213       60_remove-redhatism.diff and Debian Bug 570892).
214
215  [CF] Add SVN revision number to man pages.
216
217  [CF] Windows: Read default drivedb.h and smartd.conf from exe
218       directory instead of current directory.
219
220  [CF] drivedb.h update:
221       - SAMSUNG SpinPoint M series
222
223  [CF] Replace runtime check of byte ordering by compile time check.
224
225  [CF] drivedb.h USB updates:
226       - ALi M5621 (unsupported)
227       - LaCie with JMicron (ticket #69)
228       - JMicron (0x2352)
229       - Enable 48-bit commands for Hitachi drive
230
231  [CF] Read USB ID info from drivedb.h (ticket #44).
232
233  [CF] Create branch RELEASE_5_39_DRIVEDB with last drivedb.h file
234       compatible with smartmontools 5.39[.1].
235
236  [MS] drivedb.h updates:
237       - WD Raptor 80GB variant
238       - correct Regex for some WD AV-GP variants
239       - Hitachi Ultrastar A7K2000
240       - Hitachi Travelstar 5K500.B
241       - Hitachi Deskstar 7K1000.C
242       - adjust naming of Hitachi Travelstar and Deskstar drives
243
244  [CF] Move 'posix/getopt*' to 'getopt/getopt*'.  Can be used for
245       platforms with regex() but without getopt_long() (QNX, ticket #1).
246
247  [CF] smartd '-l selftest' directive: Print info if error count
248       decreased.  Avoid misleading warning if error count decreased
249       to zero (ticket #67).
250
251  [CF] smartctl: Rework ataPrintMain().  Issue ATA SMART commands only if
252       necessary.  Improve handling of SMART STATUS command failure when
253       ATA output registers are missing (ticket #27).
254
255  [CF] USB ID updates:
256       - A-DATA SH93
257       - Hitachi/SimpleTech 1TB
258
259  [CF] configure.in: Print configuration summary.
260
261  [CF] smartctl -l xselftest,selftest: Print old log if extended self-test
262       log index is out of range.  Workaround for bad log data from Intel
263       X25-M G2 (ticket #66).
264
265  [CF] USB ID updates:
266       - LaCie Desktop Hard Drive
267       - Prolific PL2507 (unsupported)
268       - Seagate FreeAgent Go FW
269       - WD My Book Essential
270
271  [CF] Linux: Add '/dev/sd[a-c][a-z]' to smartd DEVICESCAN.
272
273  [CF] smartd: Other config entries may precede DEVICESCAN.
274       Very first step towards a more flexible device scanning.
275
276  [CF] Windows: Use '.win64' in names of 64-bit binary packages.
277       Use correct 'strip' program when cross-compiling.
278
279  [CF] Add update script to make targets 'dist' and 'clean',
280       set +x permission, update svn:ignore.
281
282  [CF] Add 'update-smart-drivedb' script (ticket #59).
283       The script updates the drive database from SVN.
284       It is installed if '--enable-drivedb' is configured.
285
286  [MS] drivedb.h updates:
287       - Seagate Medalist 1720
288       - SuperTalent UltraDrive GX SSD
289       - Intel X25-M SSD
290
291  [CF] Makefile.am: Fix unix2dos and makensis parameters to allow
292       to build the Windows installer on Linux also.
293
294  [CF] Makefile.am: Use a separate build rule for each man page to
295       avoid compatibility problems with BSD make.
296
297  [AS] drivedb.h updates:
298       - Fujitsu MHZ2 BK series
299
300  [MS] drivedb.h updates:
301       - SAMSUNG SpinPoint F3 series
302       - SAMSUNG SpinPoint F3 EG series
303       - SAMSUNG SpinPoint M5 series
304       - Western Digital Caviar Green 6400AADS
305       - more Western Digital VelociRaptor variants
306
307  [AS] FreeBSD: disable 48-bit commands in the ata_pass_through interface,
308       there is no 48-bit support in the IOCATAREQUEST ioctl.
309
310  [CF] smartctl: Add option '-l scterc[,READTIME,WRITETIME]' to get/set
311       the SCT Error Recovery Control time limit (ticket #50).
312
313       Patch was provided by Richard Gregory:
314       http://www.csc.liv.ac.uk/~greg/projects/erc/
315       Modified for new ata_pass_through() interface.
316       Linux HPT fixes ommitted for now.
317
318  [CF] Fix SCT temperature table commands on big endian CPUs.
319
320  [MS] drivedb.h updates:
321       - more Seagate Momentus 5400.6 drives
322       - HP 500GB drive MM0500EANCR
323
324  [CF] Windows: Cleanup I/O-control declarations, rely on include
325       files if possible.
326
327  [CF] Windows: Compile fixes for 64-bit exe (EXPERIMENTAL).
328       Update build info in INSTALL file.
329
330  [CF] drivedb.h update:
331       - Patriot Torqx SSD (patch provided by Gianpaolo Cugola)
332
333  [CF] Makefile.am: Avoid duplication of man page filter script.
334
335  [CF] smartd: Add option '-C, --capabilities' if libcap-ng is available
336       (ticket #45).
337       Support is added if libcap-ng is found during build. This can
338       be overridden by configure option '--with-libcap-ng=[auto|yes|no]'.
339
340       Based on Debian patch:
341       http://patch-tracker.debian.org/patch/series/view/smartmontools/5.39-3/62_lowcap.patch
342       Modified to fix regression (ticket #41, Debian bug 564876).
343
344  [CF] Bugfix release 5.39.1.
345
346  [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used
347       (ticket #37).  For some reason, this happens if the SCSI/SAT
348       device is opened with O_RDWR instead of O_RDONLY.
349
350  [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release
351       (ticket #43).
352
353  [CF] Add USB IDs of Seagate FreeAgent Go, Seagate Expansion Portable
354       and WD My Passport (IDE).
355
356  [CF] autogen.sh: Fix version regexp, allow automake 1.11.1.
357
358  [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13).
359       Detects (S)ATA devices behind a standard SAT layer
360       (Vendor ID: "ATA     "), but not USB bridges with SAT support.
361       Only added for backward compatibility with 5.38.
362       No longer needed as 'DEVICESCAN' without '-d' includes these devices.
363
364  [CF] Add USB ID of Seagate FreeAgent Desktop.
365
366  [CF] smartd: Fix directive '-l selftest' (ticket #36)
367       Regression was introduced with r2773.
368
369  [CF] smartd: Don't disable attribute tracking if read thresholds fails.
370       Windows: Don't return dummy thresholds if IOCTL_STORAGE_QUERY_PROPERTY
371       or 3ware CLI is used to read SMART data.
372
373  [CF] Windows: Print warning if admin rights are missing.
374
375  [CF] Replace some 'EXIT(status)' calls by 'return status'.
376       Remove unnecessary casts from 'nonempty()' calls.
377
378  [CF] Windows: Set ata_device::ata_identify_is_cached() return value
379       according to I/O-control actually used.
380
381  [CF] Print ATA output registers if SMART status command returns bogus
382       register values.
383
384  [CF] Windows: Don't return false ATA version info if IDENTIFY data
385       is build from IOCTL_STORAGE_QUERY_PROPERTY result or from 3ware CLI
386       output.
387       smartctl: Handle missing info about ATA version in '-i' output.
388
389  [CF] smartctl: Don't print log directory if '-q errorsonly' is specified.
390
391  [CF] smartctl: Fix option '-q, --quietmode' (ticket #11).
392       Regression was introduced with r2807.
393
394  [CF] drivedb.h update:
395       - SAMSUNG SpinPoint F2 EG series
396
397  [CF] Add USB ID of Samsung Story Station.
398
399  [MS] drivedb.h update:
400       - Hitachi Travelstar 5K320: some EA models miss last 2 "0"
401         in model string
402       - Seagate Barracuda LP series
403
404  [CF] drivedb.h update:
405       - Crucial M225 SSD
406
407  [CF] drivedb.h updates:
408       - WDC Scorpio Blue Serial ATA (640GB, 750GB, 1TB)
409       - WDC My Passport Essential SE
410
411  [CF] Add USB ID of Toshiba PX1270E-1G16.
412
413  [CF] Happy New Year! Update copyright year in version info.
414
415  [CF] drivedb.h update:
416       - SAMSUNG SpinPoint M40/60/80 series
417
418  [CF] Add direct access to 48-bit LBA register in 'ata_in/out_regs_48bit'.
419
420  [DL] drivedb.h updates:
421       - WDC My Passport Essential/USB (capacity 250GB, 400GB & 500GB)
422
423  [DL] -r ataioctl,2: print text representation of data also (ticket #32)
424
425  [DL] FreeBSD: freebsd_ata_device::ata_pass_through implemented (part of ticket #18)
426
427  [CF] drivedb.h updates:
428       - Hitachi Travelstar 7K320 (ticket #28)
429       - Hitachi Travelstar 7K500
430
431  [DL] -l gpllog,...: print text representation of data also (ticket #30)
432
433  [DL] FreeBSD: check reallocf() result for failures
434
435  [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger
436
437  [CF] Makefile.am: 'make check' now tests the syntax of drivedb.h.
438
439  [CF] Cygwin: Open drive database files in text mode.
440
441  [CF] Cygwin: Check for 'syslogd' and 'syslog-ng' in initd script.
442
443  [CF] Windows: Disable Win9x/ME specific code if no longer supported
444       by compiler.
445
446  [CF] Add '-v ID,FORMAT:BYTEORDER[,NAME]' to specify byte order
447       of attribute raw value.
448
449  [CF] configure.in: Change --with-docdir default from
450       'PREFIX/share/doc/smartmontools-VERSION' to
451       'DATADIR/doc/smartmontools' to make it consistent with
452       --docdir option added in autoconf 2.6x (ticket #24).
453       Autoconf 2.5x is still supported.
454
455  [CF] Move drive database entries from 'knowndrives.cpp' to new file
456       'drivedb.h'.  This allows to update the drive database from SVN
457       if installation was configured with '--enable-drivedb'.
458       Remove the Makefile target to create 'drivedb.h'.
459
460  [CF] do_release: Add support to release from a dir below 'branches'.
461       Accept partial checkouts.
462
463smartmontools 5.39.1 2010-01-28
464
465  [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used
466       (ticket #37).  For some reason, this happens if the SCSI/SAT
467       device is opened with O_RDWR instead of O_RDONLY.
468
469  [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release
470       (ticket #43).
471
472  [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13).
473       Detects (S)ATA devices behind a standard SAT layer
474       (Vendor ID: "ATA     "), but not USB bridges with SAT support.
475       Only added for backward compatibility with 5.38.
476       No longer needed as 'DEVICESCAN' without '-d' includes these devices.
477
478  [CF] smartd: Fix directive '-l selftest' (ticket #36)
479       Regression was introduced with r2773.
480
481  [CF] smartctl: Don't print log directory if '-q errorsonly' is specified.
482
483  [CF] smartctl: Fix option '-q, --quietmode' (ticket #11).
484       Regression was introduced with r2807.
485
486  [CF] Happy New Year! Update copyright year in version info.
487
488  [DL] FreeBSD: check reallocf() result for failures
489
490  [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger
491
492  [CF] do_release: Add support to release from a dir below 'branches'.
493       Accept partial checkouts.
494
495smartmontools 5.39 2009-12-09
496
497  [CF] do_release: Commit CHANGELOG and NEWS also. Allow to review changes.
498
499  [CF] Linux: Add workaround for Adaptec series 2, 5 and 5Z controllers
500       with firmware >= 17380.  Patch was provided by Phil Wilson, see:
501       http://linux.adaptec.com/2009/07/24/using-smartmontools-538-with-series-255z-controllers-with-firmware-17380-onwards
502
503  [CF] configure.in: Add '-fno-strict-aliasing' to CXXFLAGS if supported.
504       This suppresses gcc 4.4.1 warnings on Linux and avoids possible
505       unsafe optimizations (ticket #23).
506       Patch was provided by Manfred Schwarb.
507
508  [CF] Avoid truncation of configure arguments in '-V' output.
509
510  [AS] Added USB IDs of WD Passport USB Portable
511
512  [CF] Linux: Fix segfault in 3ware interface (ticket #22).
513
514  [MS] knowndrives.cpp updates:
515       - Hitachi Deskstar 7K2000
516       - Seagate Momentus 7200 FDE.2 series
517
518  [CF] Add USB ID of WD My Passport 070A.
519       knowndrives.cpp update:
520       - WD My Passport hard drive (USB interface)
521
522  [CF] smartd: Write 'worst' attribute value to '.state' file also.
523       This allows to use state persistence with 'raw64' attributes.
524
525  [CF] Rework ATA SMART attribute check in smartctl and smartd.
526       smartd: Ignore normalized attribute value and threshold
527       if 'raw64' or 'hex64' format is selected.
528
529  [CF] Add USB IDs of Iomega LPHD080-0, 2 Genesys Logic bridges and
530       Initio 316000.
531
532  [MS] knowndrives.cpp update: Hitachi Travelstar 5K320 series
533
534  [CF] smartctl: Ignore normalized attribute value and threshold
535       if 'raw64' or 'hex64' format is selected.
536
537  [CF] knowndrives.cpp updates:
538       - add OCZ-Vertex raw64 attributes
539       - add OCZ-Agility
540       Thanks to Marcin Marszalek for the patch.
541
542  [CF] Add '-v ID,hex*' print formats. Fix '-v N,FORMAT,NAME' parsing.
543
544  [CF] Add '-v ID,raw64[,...]' print format based on a patch provided
545       by Marcin Marszalek.
546
547  [CF] Add '-v ID,RAW_FORMAT[,ATTR_NAME]' option. This allows to add new
548       attributes without the need to enhance the '-v' option.
549       Rework attribute name and raw value formatting.
550
551  [CF] Fix auto_ptr initialization in linux_scsi_device::autodetect_open().
552
553  [CF] Remove duplicate function smart_device_list::add().
554       Replace calls with push_back().
555
556  [MS] attribute update:
557       trim attribute names to 23 chars
558
559  [CF] Add smart pointer class template to manage device object pointers.
560       Remove related 'delete' calls and 'try/catch' blocks.
561
562  [CF] do_release: Replace generation of '*.asc' by '*.md5' and '*.sha1'.
563
564  [MS] attribute updates:
565       - change attributes 202,204,205 to the meanings as found in wdidle3.exe
566         retain old entries as comments (possible Fujitsu use)
567       - add attribute 240 as found in Fujitsu MHY2xxxBH
568
569  [MS] attributes updates:
570       - attributes 225, 232 and 233 for Intel X25-E SSD
571       - non-conflicting attributes extracted from wdidle3.exe
572         (thanks to Franc Zabkar and Dan Lukes)
573
574  [CF] Update Windows and ./configure info in INSTALL file.
575
576  [CF] Update 'do_release' script for SVN.
577
578  [MS] knowndrives.cpp updates:
579       - Western Digital MyPassport Essential hard drive (USB interface)
580       - Seagate Momentus 7200.4 series
581       - Western Digital Raptor X
582       - Intel X25-E SSD
583
584  [CF] knowndrives.cpp updates:
585       - New Seagate 7200.11 firmware version
586       - Update IBM link
587
588  [CF] smartctl: Use printf() instead of pout() for exception error
589       messages to avoid access to bogus 'con->dont_print'.
590
591  [CF] smartd: Add missing help texts for '-A', '-B' and '-s'.
592
593  [CF] Add missing check for log page 0x11 support to smartctl
594       '-l sataphy' option.
595
596  [CF] Add USB ID of Freecom Hard Drive XS.
597
598  [AS] Linux: Autodetect DELL PERC and MegaRAID controllers.
599       Hiding debug messages coming from megaraid code.
600
601  [AS] Linux: Fixed SATA drives support on megaraid device (see ticket #15).
602
603  [AS] FreeBSD: Removed all old detection code, moving everything to
604       the objects. Now we are using CAM/ATA enumerators to guess device
605       type.
606
607  [AS] FreeBSD: Added autodetection for the ada disks (untested).
608       Code for USB device detection refactored.
609
610  [AS] FreeBSD: cam_get_umassno rewritten using XPT_PATH_INQ
611
612  [AS] FreeBSD: do not open/close cam device on every request for SCSI
613       disks. Use com->camdev both for SCSI and ATAPICAM.
614
615  [AS] FreeBSD: added support for the ada disks, based on agapon patch
616
617  [CF] Add names for attributes 184 and 188, see ticket #17.
618
619  [CF] configure.in: Change configure date syntax.
620       Add message to '-mno-cygwin' option check.
621
622  [GK] Add names for some attributes used in MLC flash drives:
623       175, 176, 177, 181, 182
624
625  [CF] Windows: Check support of gcc '-mno-cygwin' option in configure.
626       This option has been removed in Cygwin gcc 4.x.  Update INSTALL
627       instructions accordingly.
628
629  [CF] Increase SCSI_TIMEOUT_DEFAULT from 6 to 20 seconds to avoid
630       timeouts when a disk spins up from standby mode.
631
632  [CF] Add USB ID of AcomData 504 (OnSpec USB bridge).
633
634  [AS] Correcting manual pages (FreeBSD related)
635
636  [AS] FreeBSD: fix FTBFS on GNU/kFreeBSD (reported by derevko).
637
638  [AS] FreeBSD: Add USB autodetection to smartd DEVICESCAN directive.
639
640  [CF] Add USB ID of Myson Century CS8818, add some comments.
641
642  [CF] Return info strings from 'smart_interface::get_*()' functions as
643       'std::string' instead of 'const char *'. Static buffers are no
644       longer needed.
645
646  [SZ] FreeBSD: Fix highpoint type detection and ioctl failed for parameter
647       error.
648
649  [CF] Linux: Add USB autodetection to smartd DEVICESCAN directive.
650
651  [CF] Add USB IDs of Maxtor Basics Desktop and ISD-300A1.
652
653  [AS] Use malloc() to ensure that the read buffer lands on a single
654       page.  This avoids some bugs seen on LSI controlers under
655       FreeBSD.
656
657  [CF] Add missing help text for '-d usb*' options.
658
659  [CF] Linux: Dereference '/dev/disk/by-*/*' symlink before device type
660       autodetection.
661
662  [AS] FreeBSD: Support SATA disks attached to a SAS controller (based on
663       patch from freebsd ports tree).
664
665  [AS] FreeBSD: Added FreeBSD 8 libusb2 device autodetecion, new
666       configure check for -lusb.
667
668  [AS] FreeBSD: Added USB device autodetection and fixed -d switch behavior.
669
670  [AS] FreeBSD: Migrate os_freebsd.cpp to new interface.
671
672  [CF] Fix max number of 3ware devices, 128 devices are supported again.
673       Regression was introduced during migration to new interface.
674       Thanks to Michael Holweg for the problem report.
675
676  [CF] Windows installer: Add 'DisplayVersion' to uninstall registry key.
677
678  [MS] knowndrives.cpp updates:
679       - Marvell SSD SD88SA024BA0
680       - Fujitsu MHZ2 BH series
681       - Fujitsu MHZ2 BJ series
682       - Seagate Maxtor DiamondMax 23
683       - WD Caviar Green: Add some 32MB cache variants
684       - relax OCZ-Vertex pattern
685
686  [CF] Add USB ID of Verbatim FW/USB160.
687
688  [CF] Fix data type bug in checksum test for multi sector logs.
689
690  [CF] Add USB ID of Seagate FreeAgent Go.
691
692  [MS] Add experimental feature to log attribute values at each check
693       cycle (ATA only), activated with the smartd option
694       "-A PREFIX" / "--attributelog=PREFIX".
695       Introduce configure options "--enable-attributelog" and
696       "--with-attributelog=PREFIX" to enable feature by default.
697
698  [DG] [SAT] Heads up about a non backwardly compatible change
699       introduced in draft SAT-2 (sat2r8b.pdf) that will break our
700       existing SAT processing code. Action needed if change stands.
701
702  [MS] smartd.cpp: Adjust umask
703
704  [CF] Makefile.am: Remove 'uninstall-docsDATA' target to fix
705       'make distcheck' with automake 1.11. The 'make uninstall'
706       of examplescripts fails if docdir does no longer exist.
707
708  [CF] Remove 'scsiata.h'. The 'scsiata.cpp' module now implements
709       parts of 'dev_interface.h'.
710
711  [CF] smartctl: Don't report an attribute as failed if threshold is 0.
712
713  [CF] Print only one warning on checksum errors in multi sector log.
714       Remove casts from calls of checksum().
715
716  [DG] minor changes to SCSI background scan strings
717
718  [MS] knowndrives.cpp updates:
719       - Fujitsu MHW2 BJ series
720       - WD Caviar Black family
721
722  [MS] Makefile.am: Make creation of svnversion.h independent of
723       locale settings
724
725  [CF] Require to specify PORT parameter of '-d usbjmicron' if two disks
726       are connected.
727
728  [CF] smartctl: Limit default number of printed entries for
729       '-l xerror' to 8, for '-l xselftest' to 25.
730
731  [CF] smartctl: Fix number of entries in '-l xselftest' output.
732
733  [CF] Add USB IDs of a SunplusIT bridge, three WD drives, and an
734       unsupported Iomega drive.
735
736  [CF] Makefile.am: Use 'svnversion' instead of 'svn info' to get
737       the revision number. This also checks for mixed and modified
738       working copies.
739
740  [CF] Remove CVS Id strings from '-V, --version' output.
741
742  [CF] Update CONTRIBUTORS section on man pages.
743
744  [CF] Makefile.am: 'make maintainer-clean' now removes also files
745       generated by './autogen.sh'.
746
747  [CF] Invalidate 'do_release' script, it needs some rework for SVN.
748
749  [CF] Update documentation files for SVN.
750
751  [CF] Rename trunk/sm5 to trunk/smartmontools.
752
753  [CF] Print SVN revision number instead of time in version info line.
754       Get SVN revision number from svn (if available) or guess from
755       Id strings. Rename generated file to svnversion.h.
756
757  [CF] Makefile.am: Modify generation of cvsversion.h for SVN.
758
759  [GP] Convert CVS repository to SVN.
760
761  [CF] smartd: Fix size of monitor flag array from previous commit.
762
763  [CF] Makefile.am: Add missing 'megaraid.h'.
764
765  [CF] smartd: Add '!' flag to '-r' and '-R' directives. If specified,
766       message is logged as LOG_CRIT and warning mail is sent if
767       attribute normalized or raw value changes.
768
769  [CF] Replace global 'con->...' variables used for selective self-tests
770       by local variables.
771
772  [GK] Add names for some attributes used in Samsung MLC drives:
773       178-180 & 183
774
775  [CF] smartctl: Add option '-x, --xall' to print all info including
776       extended SMART logs and non-SMART info.
777
778  [CF] smartctl: Add '-l xerror,error' and '-l xselftest,selftest' to print
779       the old logs if the extended logs are not supported.
780
781  [MS] knowndrives.cpp updates:
782       - Western Digital AV-GP series
783       - Transcend Solid-State Drive and Transcend Solid-State Drive V series
784       - Seagate Momentus 5400.5 series
785
786  [CF] Disable 48-bit ATA commands for JMicron USB bridges by default
787       because these commands do not work with all devices.
788       Add '-d usbjmicron,x' to enable 48-bit commands.
789       Thanks to Alexander Shaduri for the problem report.
790
791  [CF] smartd: Don't ignore the '-n' directive when a self-test is
792       scheduled. Start the self-test later when the disk is active
793       again.
794
795  [DG] SCSI (SAS): implement '-l sasphy,reset' (reset part was stub
796       prior to this)
797
798  [DG] add 'ATA, SCSI command sets and SAT' section to smartctl.8 .
799       [SCSI] add 'number of background medium scans' field
800
801  [DG] SCSI (SAS): add '-l sasphy' and '-l sasphy,reset' into smartctl
802       to output SAS device phy information (from the Protocol specific
803       log page)
804
805  [CF] autogen.sh: Remove 'CYGWIN=check_case:strict', this does no
806       longer work on Cygwin 1.7.  Print warning if Automake version
807       cannot handle case insensitive filesystems.
808
809  [CF] Remove '#define TRUE/FALSE', use 'bool' and 'true/false'.
810
811  [CF] Add 'options' parameter to SCSI printing routine. Move global
812       'con->...' smartctl variables to 'options' parameters of
813       printing routines.
814
815  [CF] Windows: Remove outdated entry about undocumented system calls
816       from WARNINGS file.
817
818  [CF] Print General Purpose Logs even if GPL feature bit is missing.
819       Needed for some older disks which implement READ LOG EXT but
820       do not report the GPL feature set.
821       Change order of the extended log outputs ('-l xerror',
822       '-l xselftest', '-l sataphy'). Extended logs are now printed
823       before their old versions.
824
825  [CF] autogen.sh: automake 1.10.2 and 1.11 are OK.
826
827  [CF] Fix syntax error in prototype of 'safe_snprintf()'.
828       Thanks to Alexander Shaduri for bug report and patch.
829
830  [DG] SCSI: Fetch load-unload cycle counts.
831
832  [CF] Windows: Add Win-7 and Win2008 to get_os_version_str().
833
834  [CF] smartd: Fix '-M test' directive in conjunction with '-s' option.
835       Thanks to Matthias Becher for the problem report.
836
837  [MS] knowndrives.cpp updates:
838       - Add Seagate Barracuda 7200.12 series
839       - Add Seagate Momentus 5400.4 series
840       - Add Hitachi Deskstar 7K1000.B series
841       - Add Transcend SSD TS32GSSD25-M
842       - Add OCZ Vertex 1199
843
844  [CF] knowndrives.cpp updates:
845       Add Samsung S250 series.
846       Add '-v 198,increasing' to Samsung P80.
847       Replace '#if/#endif' by comment to fix configure option
848       '--enable-drivedb'.
849
850  [CF] knowndrives.cpp update:
851       Add Seagate 7200.11 with 'CC' firmware which is unaffected
852       by the bug. Thanks to Bas Mevissen for the patch.
853
854  [CF] Replace global 'con->...' variables used for drive presets
855       by local variables.
856
857  [CF] Simplify '-v' vendor attribute option parsing.
858       Add '-v 197,increasing' and '-v 198,increasing' options
859       to specifiy that an uncorrectable count is never reset.
860       This modifies the printed attribute names and smartd's
861       default setting of '-C' and '-U' directives.
862       Both '-v' options can also be preset in the drive database.
863
864  [CF] Add '+' modifier to smartd '-C' and '-U' directives.
865       If specified, a warning is only printed if the raw value
866       increases.
867
868  [CF] Add smartctl option '-l xselftest[,NUM]' to print
869       ATA SMART Extended Self-test Log (GP Log 0x07).
870
871  [CF] Add experimental option '-d usbsunplus' for drives behind
872       SunplusIT USB bridges. Tested on WinXP with SPIF215(?) in
873       TrekStor DataStation maxi m.u.. Many thanks to SunplusIT
874       tech support for providing the required information.
875
876  [CF] Windows: Provide a non-console version of smartctl.exe
877       as smartctl-nc.exe. This prevents that a new console is
878       opened when smartctl is run from a GUI program with
879       stdio redirected.
880       Used by GSmartControl (http://gsmartcontrol.berlios.de/).
881
882  [CF] Remove support for platforms without getopt_long() in
883       smartctl.cpp and smartd.cpp. If getopt_long() is missing,
884       ./configure aborts with an explanatory message.
885       For now, short option help texts are only removed from
886       os_linux.cpp and os_win32.cpp. HAVE_GETOPT_LONG is still
887       defined in config.h.
888
889  [CF] Add smartctl '-d test' option to print the result of the
890       device type detection.
891
892  [CF] Enhance USB device type autodetection, use bcdDevice if known.
893       Add Cypress CY7C68300B/C (AT2LP) to the table.
894
895  [CF] Linux: Add experimental USB device type autodetection.
896       Uses USB ID info found through symlink "/sys/block/sdX/device".
897
898  [CF] Windows: Add experimental USB device type autodetection.
899       Uses WMI command line tool 'wmic' to query USB ID.
900
901  [CF] Add function smart_interface::get_usb_dev_type_by_id() to map
902       USB vendor:product IDs to '-d type' names. Can be used by
903       platform dependent layer to autodetect USB devices if ID of
904       USB bridge is known.
905
906  [CF] smartd: Log changes of self-test execution status if
907       '-l selftest'is specified.
908
909  [CF] knowndrives.cpp update:
910       Samsung SpinPoint F1 RE series
911
912  [MS] knowndrives.cpp update:
913       Seagate Momentus 5400.6 series
914
915  [CF] Add forgotten SCSI sense checks to class usbjmicron_device.
916
917  [CF] Add new SMART STATUS check command for JMicron USB bridges.
918       Should support also older chip versions and prevents a race
919       condition.
920
921  [CF] Windows: Fix win_scsi_device::scsi_pass_through() for single byte
922       data transfers. Required for JMicron SMART STATUS check.
923
924  [MS] knowndrives.cpp update:
925       Add Hitachi Travelstar C4K60 family (1.8" slim drives)
926
927  [MS] Workaround for huge raw values of attribute 9, needed
928       for Hitachi Travelstar C4K60. For the Power_On_Minutes case,
929       clip the display to 4 bytes and show the remaining part,
930       if existent, in parens.
931
932  [CF] Add experimental option '-d usbjmicron[,PORT]' for drives
933       behind JMicron USB bridges. Tested on WinXP with JM20336 in
934       AixCase AIX-ESU35CD. Many thanks to JMicron tech support
935       for providing the required information.
936
937  [MS] knowndrives.cpp update:
938       Add WD Caviar Green 8MB and 32MB cache variants, stretch to 2TB.
939 
940  [CF] knowndrives.cpp updates: Add more entries for Samsung P80 disks
941       with old and unknown firmware. Remove old entries which would
942       match any new Samsung model reusing old firmware version number.
943
944  [CF] Windows: Add a workaround for missing multi-sector support
945       for ATA READ LOG EXT command.
946
947  [CF] Fix Extended Comprehensive Error Log index base.
948       Add workaround for Samsung disks using reserved byte as index.
949
950  [CF] knowndrives.cpp updates: Update bug warnings for
951       Seagate 7200.11, ES.2 and DiamondMax 22. Add new entries
952       for fixed firmware versions.
953
954  [CF] Add smartctl option '-l xerror[,NUM]' to print
955       ATA SMART Extended Comprehensive Error Log (GP Log 0x03).
956
957  [MS] knowndrives.cpp update:
958       Added remaining WD Scorpio Blue SATA II drives
959
960  [CF] Minor fix to remove ID 0 from 'smartctl -l sataphy ...' output.
961
962  [CF] knowndrives.cpp updates: Add warnings about possible firmware
963       bugs to Seagate 7200.11, ES.2 and DiamondMax 22 entries.
964
965  [CF] knowndrives.cpp updates: Add Samsung SpinPoint F1 series.
966
967  [CF] Windows: Fix return value of scsi_pass_through(). Regression
968       was introduced during migration to new interface. SAT over USB
969       now works on XP (both '-d sat,12' and '-d sat,16').
970
971  [MS] knowndrives.cpp updates:
972       - Added Western Digital RE2-GP family
973       - Added Hitachi Travelstar E5K160 family
974       - Allow uppercase variants of Hitachi 5K160 drives
975
976  [CF] Fix smartctl crash on '-l directory,[gs]'. Allow to override
977       missing GPL feature bit or missing log dir entry with
978       '-T permissive' option.
979
980  [SZ] os_freebsd.cpp, os_freebsd.h updates:
981       Support HighPoint RocketRAID controller under FreeBSD
982
983  [MS] knowndrives.cpp updates:
984       - Added Western Digital RE3 32MB cache variants
985       - Added WD Caviar Green 32MB cache variant (WD10EADS)
986       - Added WD Scorpio Black family
987
988  [DG] Accept half healthy (and half unhealthy) indication from the
989       SMART RETURN STATUS. This makes allowance for SAT implementations
990       (e.g. via USB) that truncate the SCSI sense buffer to 18 bytes.
991       This truncation causes the SMART RETURN STATUS indication to be
992       half health or unhealthy. If the half indication is used, then
993       warn if '-r ioctl' is given.
994
995  [MS] knowndrives.cpp updates:
996       - Added Apple SSD
997       - Added Seagate U8 family
998
999  [DL] os_freebsd.cpp:
1000       Added support for CHECK_POWER_MODE and WRITE_LOG commands
1001
1002  [MS] knowndrives.cpp update:
1003       There seem to exist WD Raptors with SATA II interface, add them.
1004
1005  [MS] knowndrives.cpp updates:
1006       - Added remaining Seagate Barracuda 7200.11 drives
1007       - Added HP 1TB SATA disk
1008
1009  [MS] knowndrives.cpp updates:
1010       - Added Maxtor 92040U6 (DiamondMax Plus 6800)
1011       - Added Seagate Maxtor DiamondMax 21 500GB version
1012       - Added QUANTUM FIREBALLlct15 22
1013       - Added QUANTUM FIREBALL CR6.4A
1014       - Added QUANTUM FIREBALLP LM20.4
1015       - Added SUN branded Toshiba MK4019GAX
1016       - Added TOSHIBA MK1016GAP and relatives: MK1[05]1[67]GAP
1017       - Added Western Digital WD800AB and WD2500AB
1018       - Some Hitachi 7K160 drives have garbage at end of name: permit it
1019
1020  [CF] Add smartd '-n powermode,N' directive parameter to limit the
1021       number of skipped checks. Thanks to Michal Hlavinka for the patch.
1022
1023  [MS] knowndrives.cpp updates:
1024       - Added Hitachi Endurastar J4K30/N4K30
1025       - Added Hitachi Travelstar 4K120 series
1026       - Some Hitachi 7K80 drives have garbage at end of name: permit it
1027       - IBM Travelstar 6GN series
1028
1029  [MS] knowndrives.cpp updates:
1030       - Added Quantum Fireball ST4300A
1031       - Added Asus-Phison SSD (solid state disk)
1032       - Added Seagate DB35.3 Series
1033       - Added remaining disks of the Seagate SV35.2 Series
1034
1035  [MS] Fix trivial compile error with "-pedantic"
1036
1037  [MS] Workaround for huge raw values of Reallocated_Sector_Ct and
1038       Reallocated_Event_Ct for newer Fujitsu disks (only the lower
1039       16 bits seem to be meaningful). Clip the display to 16 bits
1040       and show the remaining part, if existent, in parens. Patch by [CF].
1041
1042  [CF] smartd DEVICESCAN: Fix autodetection of SAT devices.
1043       Thanks to Stanislav Brabec for bug report and testing.
1044
1045  [MS] knowndrives.cpp update:
1046       Convert file to full string regex: remove "^$" from pattern
1047
1048  [MS] knowndrives.cpp updates:
1049       - Added Seagate Momentus 5400 PSD series (hybrid drives)
1050       - Added Seagate Momentus 7200.3 series
1051       - Added Hitachi Deskstar 7K250 (SUN branded)
1052       - There are Hitachi Travelstar 5K250 drives with capital "HITACHI"
1053       - Correct regex for Maxtor VL 30 drives
1054
1055  [CF] Add configure options '--enable-savestates' and
1056       '--with-savestates=PREFIX' to enable smartd persistence
1057       ('-s' option) by default.
1058
1059  [CF] smartd: Add '-s ([cnr]/../.././..)' directive to run scheduled
1060       selective self-tests. Useful to perform full tests of large disks
1061       not running 24x7.
1062
1063  [CF] Allow to read local drive database entries from optional file
1064       '${sysconfdir}/smart_drivedb.h'.
1065       Add configure options '--enable-drivedb' and '--with-drivedbdir=DIR'.
1066       If specified, drive database is read from '${drivedbdir}/drivedb.h'.
1067       (default '${prefix}/share/smartmontools/drivedb.h'). This file
1068       is build from knowndrives.cpp.
1069
1070  [MS] knowndrives.cpp updates:
1071       - Added 640GB variants of Western Digital AAKS and AACS drives
1072       - Added Western Digital AV ATA family
1073       - Added 160GB variant of Hitachi P7K500
1074       - Added 500GB variant of Hitachi 7K1000
1075       - Some cleanup for Quantum disks
1076       - Added Seagate Maxtor DiamondMax 22 family
1077
1078  [CF] Use full string match for regexp in drive database.
1079
1080  [CF] Add option '-d sat+TYPE' to use SAT with controllers which
1081       require option '-d TYPE'. Should work with '-d sat+megaraid,N'.
1082       As a side effect, '-d usbcypress+TYPE' is also supported.
1083
1084  [CF] Add parser to read drive database from a file. Add '-B' option
1085       to smartctl and smartd to specify database file name. File syntax
1086       is identical to the C/C++ syntax used to inialize the internal
1087       database array.
1088
1089  [CF] New syntax for drive database: Specify presets by strings
1090       with '-v' and '-F' options. Use empty strings instead of NULL.
1091
1092  [JPH] Added Linux support for viewing disks behind MegaRAID
1093        controllers
1094
1095  [CF] smartd: Improve min/max temperature recording in conjunction
1096       with '-s' option.
1097
1098  [CF] Add a wrapper class for FILE *.
1099
1100  [CF] smartd: Add experimental support for state persistence (ATA only).
1101       Add option '-s' to specify path prefix for state files.
1102       Rework scheduled self-test detection to support persistence.
1103       If any test schedules are within downtime, the highest priority
1104       test is run after next startup.
1105
1106  [CF] Remove casts from 'format_ata_string()' calls.
1107
1108  [CF] Minor changes to fix errors and warnings from Cygwin gcc 4.3.0.
1109
1110  [CF] smartd: Remove SCSITIMEOUT code. According to smartd.h 1.54 CVS log
1111       from 2003-10-27, it did never work.
1112
1113  [CF] Remove dependencies ataprint.cpp and scsiprint.cpp from smartd.
1114       Move common ATA functions from ataprint.cpp to atacmds.cpp.
1115       Module scsiprint.cpp was apparently never used in smartd.
1116
1117  [CF] Move smartd local declarations from smartd.h and utility.h to
1118       smartd.cpp. Remove smartd.h.
1119
1120  [CF] Fixed extra '\n' in "Offline data collection status" output.
1121       Thanks to Alexander Shaduri for the patch.
1122
1123  [CF] smartd: Separate device configuration data from device state data.
1124       Use references instead of pointers for configuration and state data.
1125
1126  [CF] Add const-correctness and static to ATA support functions.
1127
1128  [CF] Add a wrapper class for regex.
1129
1130  [CF] Simplify 'create_vendor_attribute_arg_list()'.
1131
1132  [CF] smartd: Rework of main data structures. Remove explicit memory
1133       allocations, use STL containers and structs with value semantics
1134       instead. Remove old malloc/free based memory management helper
1135       functions unless old interface is still in use.
1136
1137  [CF] Linux: Cleanup device scan, remove name list, create objects directly.
1138
1139  [CF] Linux: Cleanup smart_device::open(), type strings are no longer used.
1140
1141  [CF] Remove CONTROLLER_* defines and variables unless old interface
1142       is still in use.
1143
1144  [CF] Linux: Migrate 3ware interface to 'ata_pass_through()'.
1145       Multi-sector support is not complete yet. 48-bit commands
1146       possibly work.
1147       WARNING: Not tested, please review code before first test!
1148
1149  [CF] Linux: Migrate os_linux.cpp to new interface.
1150
1151  [CF] Add direct access to 16-bit registers in 'ata_in/out_regs_48bit'.
1152
1153  [CF] Add 'ata_cmd_is_ok()' parameter check,
1154       remove 'ata_pass_through_28/48bit()' functions.
1155
1156  [CF] Add CVS date/time from cvsversion.h to man pages also.
1157
1158  [CF] Add configure option '--with-os-deps='os_module.o ...' to specify
1159       alternate OS interface modules. Useful for testing during migration.
1160
1161  [CF] Remove declarations of 'optarg', 'optind', ..., include <unistd.h>
1162       instead. This fixes 'auto-importing' linker warnings on Cygwin.
1163
1164  [CF] Add '-l sataphy[,reset]' to print SATA Phy Event Counters.
1165
1166  [CF] Add '-l gplog,ADDR[,FIRST[-LAST|+SIZE]]' and '-l smartlog,...'
1167       to dump any log page accessible via GP or SMART read log commands.
1168
1169  [CF] Enhance '-l directory' to print both GP and SMART Log directories.
1170       Add '-l directory[,gs]' modifiers to select GP or SMART log.
1171       Enhance 'ata_cmd_in' parameter struct for 48-bit commands.
1172
1173  [CF] Windows: Add full ATA pass through support including 48-bit commands.
1174
1175  [CF] Windows: Migrate os_win32.cpp to new interface.
1176
1177  [CF] SAT: Add full ATA pass through support including 48-bit commands.
1178
1179  [MS] knowndrives.cpp update
1180       - Added FUJITSU MHZ2250BS G2 and family
1181
1182  [MS] knowndrives.cpp updates
1183       - Added Maxtor DiamondMax 60 94098H6
1184       - Added Maxtor DiamondMax 1280 84000A6 and family
1185       - Added Maxtor DiamondMax VL 30 31536H2 (ATA100) and family
1186       - Some Seagate Barracuda 7200.9 have garbage at end of name: permit it
1187       - Added Seagate Barracuda ATA ST320430A and family
1188       - Regression from previous checkin: add WD RE2 WD...0ABYS again
1189       - Added WD RE3 WD5002ABYS and family
1190       - Added Quantum Fireball CR13.0A
1191       - Added Hitachi Travelstar 5K250 HTS542525K9SA00 and family
1192       - Added WD AC420400D and add whole range of AC.... which
1193           have 5400rpm or higher (i.e. PIO-only drives omitted)
1194
1195  [MS] knowndrives.cpp updates
1196       - WD: Separated entries for EIDE and SATA
1197       - WD: Separated entries for Caviar SE, SE16, RE, RE2
1198       - WD Named: WD Caviar AC series
1199       - WD Renamed: WD Caviar RE/RE2 -> WD RE/RE2
1200       - WD Renamed: WD Caviar SE/SE16 WD....AA[A-Z][A-Z] -> WD Caviar Blue
1201       - WD Renamed: WD Scorpio WD....BEV[A-Z] -> WD Scorpio Blue
1202       - Added WD Scorpio Blue WD3200BEVT
1203       - Added WD RE2 WD5001ABYS and family
1204       - Added WD Caviar Green WD5000AACS and family
1205       - Added WD VelociRaptor WD3000GLFS and family
1206       - Added Seagate Barracuda ES.2 ST31000340NS and family
1207       - Added Samsung SP80A4H
1208       - Added Maxtor DiamondMax 21 STM3160215AS and STM3320620AS
1209       - Added Seagate Barracuda 7200.7 ST380819AS
1210       - Added Maxtor DiamondMax 10 6B100P0
1211       - Added Seagate SV35.2 Series
1212       - Added Fujitsu MHY2120BH and family
1213       - Added Fujitsu MHW2080BH PL (PL variant)
1214       - Added Toshiba MK3252GSX and family
1215
1216  [BA] Fix smartctl bug: when running in silent mode '-q errorsonly'
1217       do not print the Selective Self-test log.  Any errors will
1218       ALREADY appear in the SMART Self-test log.
1219
1220  [CF] Add missing 'const' and other minor fixes to prevent gcc warnings.
1221
1222  [OB] Added information message about supported Areca firmware versions.
1223       It's displayed in case the ATA device identification fails.
1224
1225  [CF] Add configuration file for Doxygen.
1226
1227  [CF] Add new object oriented interface to access ATA and SCSI devices.
1228       smartctl and smartd are modified to use the new classes in
1229       'dev_interface.{h,cpp}'. The template class in 'dev_tunnelled.h'
1230       is used in 'scsiata.cpp'. The code in 'dev_ata_cmd_set.{h,cpp}'
1231       supports migration from old function 'ata_command_interface()'.
1232       All existing 'os_*.cpp' modules should still work without any changes.
1233       The required adapter classes from 'dev_legacy.cpp' are automatically
1234       added by configure if necessary.
1235
1236  [BA] Updated smartd and smartctl and smartd.conf man-page documentation
1237       to reflect support for Areca SATA RAID controller cards.
1238
1239  [OB] Added support for Areca controllers to smartd. Extensive tests
1240       as well as documentation are still pending however.
1241
1242  [OB] Implemented device locking for Areca controllers in smartctl
1243
1244  [BA] Fixed selective self-test code.  Data structure revision number
1245       may be != 1 if no selective self-test has ever been run.  Host
1246       MUST set this value (at least at the first selective self-test
1247       instance).  Thanks to Curtis Stevens of WDC for clarification.
1248
1249  [MC] usbcypress autodetection
1250
1251  [BA] Starting to commit Areca code.  For now just smartctl.
1252       More changes and documentation coming soon.
1253       Need Areca firmware version 1.45 dated 10 June 2008 or later.
1254       May need changes in opening /dev/sg and file locking.
1255       Many thanks to Hank Wu!
1256
1257  [CF] smartd: Fix too small name buffer for 3ware with >100 devices.
1258
1259  [JH] now C++ Support for QNX Target
1260       already tested for QNX 6.3.2 on x86 and armle target
1261   
1262  [CF] Allow to set BUILD_INFO from make command line.
1263
1264  [CF] Windows: Add MSVC8 support, remove MSVC6 project files.
1265
1266  [MC] Add usbcypress device support for smartd.
1267
1268  [CF] Add output of latest CVS date/time stamp to version info.
1269       New file cvsversion.h is generated by Makefile.
1270       Move formatting of version info to utility.cpp.
1271
1272  [AR] Fix bug in 3ware node creation where nodes would be created
1273       then deleted, then recreated.
1274
1275  [BA] Add missing CCISS cvs version tags to '-V' printouts.
1276
1277  [TS] Linux: Ensure the 3ware device nodes are created with a correct
1278       SELinux security context.
1279
1280  [AR] Add support for up to 128 devices on 3ware controllers.
1281
1282  [CF] C++: Added new main() with exception handlers, replaced
1283       exit(x) with throw(x), removed global variable 'exitstatus'.
1284       Necessary for future changes, because exit() does not call
1285       any destructors.
1286
1287  [SS] FreeBSD: plug file descriptor leak in smartd (only happens with
1288       CISS devices).  Reported by Vadim Ostranitsyn.
1289
1290  [SS] FreeBSD: allow smartctl to interact with SCSI /dev/pass devices,
1291       thus enabling it to work with RAID controllers that expose disks
1292       via these devices.  From scottl@ via FreeBSD ports.
1293
1294  [MC] Add usbcypress device support for smartctl.
1295
1296  [KS] INSTALL on Solaris: updated description to use C++ compiler.
1297
1298  [KS] configure.in on Solaris: added options for Sun's compiler to
1299       suppress trivial warnings.
1300
1301  [KS] configure.in on Solaris: added direction to search suitable
1302       libraries for getaddrinfo().
1303
1304  [TS] smartd on Linux: remove forgotten return from deviceopen();
1305       SCSI device descriptors had the FD_CLOEXEC flag unset.
1306
1307  [CF] Added 'const' to avoid warning on depreciated string constant
1308       to 'char *' conversion.
1309
1310  [CF] autogen.sh: automake 1.10.1 is OK. Updated message texts.
1311
1312  [BA] removed smartmontools.spec file (now in CVS Attic).  This
1313       was not being used by RH or FC anyhow, and was out of
1314       date and not maintained.
1315
1316  [BA] smartd on Linux: sets FD_CLOEXEC on the opened device file
1317       descriptor.  The descriptor is otherwise leaked to other
1318       applications (mail sender) which may be considered a security
1319       risk and may result in AVC messages on SELinux-enabled systems.
1320       Thanks to: Tom�metana" <tsmetana@redhat.com>.
1321
1322  [BA] smartd: when sending email, to gather information about the
1323       host for the body of the email, eliminate gethostbyname()
1324       in favor of the IPv6-friendly function getaddrinfo() if the
1325       latter is available.  Info may be found here
1326       http://udrepper.livejournal.com/16116.html
1327       and here
1328       http://people.redhat.com/drepper/userapi-ipv6.html
1329       Thanks to: Tom�metana" <tsmetana@redhat.com>.
1330
1331       Smartmontools developers: please check that smartd still LINKS
1332       properly on your systems.
1333
1334  [BA] Fix ugly syntax bug in os_freebsd.cpp.  How did this go
1335       undetected for so long??
1336
1337SMARTMONTOOLS STABLE RELEASE 5.38 2008/03/10
1338
1339  [KS] Solaris/x86: modified configure.in for Sun's compiler.
1340
1341  [BA] smartd.initd.in addition from Erwan Velu <erwan@seanodes.com>
1342
1343  [BA] smartd fixes:
1344
1345       - On Linux, DEVICESCAN now automatically recognizes SATA devices
1346         behind libata, and SATA devices behind the Marvell driver, and
1347         treats them correctly.
1348
1349       - On Linux, a '-d sat' or '-d marvell' is automatically added
1350         if libata or the marvell driver are recognized behind a SCSI
1351         device type
1352
1353  [SS] (Maybe) fix attribute autosave in FreeBSD.
1354
1355  [SS] Major NetBSD-specific bugfixes:
1356       - handle actual SCSI and ATA errors and not only ioctl() errors;
1357       - set up I/O request properly for AUTO_OFFLINE and AUTOSAVE commands (inspired by
1358         similar change in os_freebsd.cpp);
1359       - handle AUTO_OFFLINE and AUTOSAVE like STATUS_CHECK (like os_linux.cpp does).
1360
1361  [GG] add kfreebsd gnu support to configure.in
1362
1363  [BA] Fix auto-offline support in FreeBSD.  Thanks to
1364       Cyrus Rahman <crahman@gmail.com> for the patch, and
1365       Eduard Martinescu for blessing it.
1366
1367  [DG] smartd re-opens "SCSI" devices as ATA devices if a SAT layer is
1368       detected (smartd bug IMO). In Linux this upsets scsi generic
1369       device nodes (e.g. /dev/sg0). Detect the re-open in os_linux.cpp
1370       and set the O_RDWR flag (ATA uses the O_RDONLY flag).
1371
1372  [CF] Drive database: Added Fujitsu MHW2 BH, Maxtor DiamondMax 17, 20, 21,
1373       Hitachi Travelstar 4K40, 5K120, 7K200, Deskstar 7K160, T7K500,
1374       T7K1000, Toshiba 1.8", Seagate Momentus 5400.3, 5400.3 ED, 7200.2,
1375       Barracuda 7200.11 and ES.
1376       Updated Toshiba 2.5", Seagate Barracuda 7200.9 and 7200.10.
1377       Added missing "(Hitachi )?" to Travelstar entries.
1378
1379  [CF] Drive database: Added several Western Digital Caviar and Scorpio
1380       drives, added Caviar RE EIDE family.
1381
1382  [CF] Drive database: Added Samsung P80 series with *-25 firmware.
1383
1384  [CF] Replaced 'head [-n] -1' by 'sed 1...' in autogen.sh to avoid
1385       portability issues.
1386
1387  [BA] Fixed autogen.sh script so that it uses 'grep -n 1' if 'grep -1'
1388       fails.  Needed for Mac OS X 10.4. Uck.
1389 
1390  [CF] Windows: Added IOCTL_STORAGE_PREDICT_FAILURE. This allows access
1391       to ATA SMART status and data if other calls do not work.
1392       Thanks to Jaroslaw Kowalski for pointing this out.
1393       Added support to use this function without admin rights.
1394
1395  [CF] Added ATA-8 revision 4c message text.
1396
1397  [CF] Added compiler.h to cciss_ioctl.h header check to prevent
1398       configure warning.
1399
1400  [SS] DragonFly support added (using os_freebsd code; untested).
1401
1402  [CF] smartctl: Fixed ATA identify byte swapping issue on big-endian
1403       platforms. This regression was introduced by the change for
1404       '-F swapid'. Thanks to Matthew Butch for bug report and testing.
1405
1406  [DG] SAT/SCSI: Improve SAT error processing code. Aborted commands from
1407       ATA devices (typically because SMART was disabled) were not being
1408       properly detected.
1409
1410  [GG] smartd: wait for the pid file to show up, return an error if it doesn't
1411
1412  [JH] fix bad return code (get STATUS) for QNX Part
1413
1414  [JH] initial porting to QNX Neutrino 6.3.2
1415       need at this time a prerelease devb-eide driver and libcam.so.2
1416       only tested for X86 Target, but devb-eide and lobcam.so.2 available for X86/ARM
1417       the officional driver coming soon with the next QNX release
1418       create two new source files os_qnxnto.[c..h]
1419
1420  [CF] smartd: Added option '-n, --no-fork' so that smartd works
1421       better with modern init methods. Thanks to Enrico Scholz
1422       for the patch from 2005-12-24.
1423
1424  [CF] Windows: Improved ATA/SCSI device type detection and
1425       DEVICESCAN. This also fixes a regression in 3ware DEVICESCAN.
1426
1427  [CF] smartd: Don't start self tests in first pass to avoid
1428       performance problems during boot.
1429       https://bugzilla.novell.com/show_bug.cgi?id=192591
1430
1431  [CF] Fixed regression in SMART STATUS command on Win9x/ME.
1432
1433  [BA] Fixed 3ware issue with new controllers.  Documentation said
1434       that one could address up to 24 disks on a single controller,
1435       but in fact one was limited to 16 disks.  This is now fixed:
1436       up to 32 disks can be addressed.  Thanks to Adam Radford.
1437
1438       NOTE1: I have patched the Linux and FreeBSD code but not
1439       modified the Win32 code (it already supports up to 32 disks).
1440
1441       NOTE2: NOT TESTED ON LINUX.  Do not use this on a production box!
1442       I will remove this NOTE2 as soon as some positive test
1443       reports are recieved.
1444
1445       NOTE3: NOT TESTED ON FREEBSD. Do not use this on a production box!
1446       I will remove this NOTE3 as soon as some positive test
1447       reports are recieved.
1448
1449  [CF] Windows installer: Added explorer drive menu, CMD window,
1450       UBCD4Win plugin, smartd service update and other minor
1451       improvements.
1452
1453  [CF] Windows: Modified drive letter handling for explorer drive
1454       context menu: try SCSI if type is unknown, allow 'X:\.' syntax.
1455
1456  [CF] Windows: Added automatic ATA/SCSI device type detection and
1457       SCSI device scanning. The device names '/dev/sdX' and
1458       '/dev/pd<n>' now work for both ATA and SCSI disks.
1459
1460  [CF] smartctl: Added ability to parse '-r ataioctl,2' output from
1461       stdin ('-') and simulate the ATA commands for testing purposes.
1462
1463  [BA] SMART Attributes: added 187, 189, more accurate name for 190.
1464
1465  [CF] Windows: Added drive letters 'X:' as alternate disk device names.
1466
1467  [CF] smartctl: Added '-F swapid' to fix ATA identify string byte
1468       ordering. Added '-q noserial' to suppress serial number output.
1469
1470  [CF] Windows: Added '/dev/n?st<n>' as alternate device names for SCSI
1471       tapes. These names are also used by Cygwin's /dev emulation layer.
1472       Thanks to Corinna Vinschen (Cygwin project lead) for pointing this
1473       out.
1474
1475  [CF] Windows: Added IOCTL_SCSI_MINIPORT_*SMART* for commands not handled
1476       properly by SMART_IOCTL in disk class driver. This allows to use
1477       READ_LOG, WRITE_LOG and ABORT_SELFTEST even if the driver does not
1478       support ATA_PASS_THROUGH.
1479
1480  [CF] Added ATA-8 revision 4, fixed WRITE LOG '-r ioctl' output.
1481
1482  [BA] Updated smartctl and smartd so that they can be used with the latest
1483       3ware controllers which have 24 ports.  Also updated docs.
1484       Thanks to Tim Bell at CERN.
1485
1486  [GG] bit 4 in smartctl's return code might be set even when the dist check
1487       didn't return "DISK OK"
1488
1489  [CF] Drive database: added '-F samsung3' for Samsung P80 firmware
1490       BH100-35.
1491
1492  [SS] Applied patch from Dean Bennett to fix scheduled tests on
1493       Highpoint RAID controllers.
1494
1495  [BA] Added patch from Tejun Heo http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
1496       to fix broken auto-offline and auto-save via libata.  Very clean fix: does it
1497       "the right way".  Thanks Tejun!
1498
1499  [CF] Added message text for ATA-7 self-test execution status 8
1500       ("... handling damage").
1501
1502  [GG] cciss: support more than 16 disks (patch taken from
1503       http://cciss.sourceforge.net/smartmontools_cciss_more_than_16_drives.patch
1504       and adjusted for smartd)
1505
1506  [DG] Solaris: [SCSI] add USCSI_RQENABLE flag to uscsi pass-through so
1507       sense buffer is made available. Expand reporting at this level.
1508
1509  [GK] Darwin: Improve handling of powered-down drives.
1510
1511  [SS] CCISS physical drive enumeration method changed (incompatibly).
1512
1513  [CF] Fixed smartd crash on missing '-s' directive argument.
1514
1515  [SS] Support CCISS on FreeBSD (kernel source is required until FreeBSD PR 109813
1516       is fixed).
1517
1518  [DG] SCSI/TAPE: some IBM tape drives don't react properly to a LOG
1519       SENSE with an allocation length of 4; work around for that case.
1520
1521  [CF] Applied Guido's patch to fix CCISS LUN array bounds check
1522       (openSUSE bug #239956) and remove trailing spaces in
1523       os_linux.cpp.
1524
1525  [CF] Fixed 64-bit compilation issue in SCT status struct.
1526
1527  [DG] SAT/SCSI: make real SCSI disks visible to DEVICESCAN in
1528       smartd again.
1529
1530  [CF] Fixed check of SCT temperature table size.
1531
1532  [CF] Added ATA-8 draft revisions, added SCT status format 3.
1533
1534  [CF] Drive database: added Samsung T166 series.
1535
1536  [CF] ATA: Added ',p' option for '-t scttempint,N' to make
1537       setting persistent.
1538
1539  [CF] ATA: Added '-t scttempint,N' option to set SCT temperature
1540       logging interval.
1541
1542  [CF] ATA: Added '-l scttemp[sts,hist]' options to print disk
1543       temperature information and history table provided by
1544       SMART Command Transport (SCT) Feature Set.
1545
1546  [CF] ATA: Added '-t selective,{redo,next,cont}' commands to
1547       perform tests based on the last ranges still stored on
1548       disk. Added 'N+SIZE' and 'N-max' format for LBA range
1549       specification.
1550
1551  [CF] Added Min/Max Temperature format used in attribute 190 of
1552       recent Maxtor disks (DiamondMax 20).
1553
1554  [CF] Linux: Added check for <linux/cciss_ioctl.h> to allow build
1555       (without CCISS support) also when this file is missing.
1556
1557  [CF] Added -F samsung3 option to correct firmware bug reporting
1558       completed self-tests as still in progress. Thanks to Manfred
1559       Schwarb for the patch.
1560
1561  [CF] Added missing const specifiers (undetected by gcc 3.4 and 4.X)
1562       to fix compilation with gcc 2.X.
1563
1564  [CF] Linux: compile fix for SuSE, config.h must be included first.
1565
1566smartmontools 5.37 Experimental Release
1567
1568  [CF] Windows: Added alternate method for (limited) monitoring of
1569       3ware controllers by parsing the output of CLI or 3DM.
1570       Either "tw_cli" can be run internally ("/dev/tw_cli/cx/py"),
1571       or data can be read from standard input ("/dev/tw_cli/stdin")
1572       or clipboard ("/dev/tw_cli/clip").
1573
1574  [DG] Remove linux specific libata detect code; rely on general SAT
1575       code. smartd should now generate a sensible log message for
1576       ATA devices behind a SAT layer on all architectures.
1577
1578  [BA] Increased max line length MAXLINELEN for /etc/smartd.conf from
1579       128 to 256 characters to handle long strings in
1580       /dev/disk/by-id.  Thanks to Martin Krafft.
1581
1582  [PW] Drive database: added missing drives from Seagate Momentus 5400.2
1583       family
1584
1585  [BA] Finished Christian's fix (next item below) by removing
1586       LINUX_86_64 hack from configure.in.
1587
1588  [CF] Fixed inclusion of PRI?64 macros from inttypes.h.
1589
1590  [CF] Windows: Added WRITE LOG to support selective self tests.
1591
1592  [CF] Fix selective self test log revision number if '-T permissive'
1593       is specified (Tested with Samsung HD401LJ).
1594
1595  [CF] Windows: Fixed int64 printf format for MinGW runtime.
1596
1597  [PW] Drive database: added Seagate Barracuda 7200.10 family, Seagate
1598       Momentus 42 family, Maxtor DiamondMax 60 ATA 66 family, Maxtor
1599       DiamondMax 60 ATA 100 family, and Western Digital Caviar Serial
1600       ATA family
1601
1602  [PW] Drive database: added missing drives from Seagate Barracuda
1603       7200.9 family, Seagate Barracuda 7200.7 family, Seagate Momentus
1604       7200.1 family, Toshiba 2.5" HDD family (80 GB and above), Western
1605       Digital Caviar RE Serial ATA family, Hitachi Deskstar 7K80 family,
1606       and Maxtor DiamondMax 4320 Ultra ATA family
1607
1608  [BA] Linux: compile fix for SuSE.  Check for existence
1609       of linux/compiler.h and include in os_linux.h if
1610       present.  Thanks to SB.
1611
1612  [BA] smartd: DEVICESCAN will now pick up SATA/SAT devices
1613       attached to a SCSI device tree via SAT translation.
1614       Note: this is a bit of a hack.  I will document it once
1615       I know if this needs to be Linux only or can have more
1616       general application.
1617
1618  [BA] Added a couple SATA commands to the tables -- thanks DG!
1619       Phil -- how about going through and systematically adding
1620       these new commands to atacmdnames.cpp?
1621
1622  [BA] Linux s86_64: get rid of some compiler warnings on
1623       x86_64 Linux systems.
1624
1625  [CF] Windows: Added missing support for READ_LOG, ABORT_SELFTEST
1626       and CHECK_POWER_STATE for 3ware 9000 controllers. Thanks to
1627       Greg de Valois for implementing this new ioctl in the driver.
1628
1629  [PW] Drive database: added Seagate NL35 SATA family.  Thanks to Kai
1630       Harrekilde-Petersen for providing a patch.
1631
1632  [DG] [SCSI, Windows] add SPT interface for NT and later. New device
1633       names are "pd<n>", "sd<l>" and "tape<n>".
1634
1635  [PW] Drive database: added Western Digital Scorpio family, Fujitsu MHV
1636       family, Maxtor MaXLine Pro 500 family, and Maxtor DiamondMax 11
1637       family
1638
1639  [PW] Drive database: added missing drives from Toshiba 2.5" HDD
1640       (30-60 GB) family, Maxtor DiamondMax 10 family, Seagate Barracuda
1641       7200.8 family, Fujitsu MHT family, and Maxtor DiamondMax Plus 8
1642       family
1643
1644  [SB] Added examplescripts/Example4 using powersave-notify.
1645
1646  [SB] More temperature monitoring examples in smartd.conf with DEVICESCAN.
1647
1648  [SB] Minor improvements of SuSE part of init script.
1649
1650  [CF] Drive database: added Samsung P80 series, P120 series, SP8004H
1651       and T series.
1652
1653  [GG] Add CCISS (Compaq Smart Array Controller) support with contributions
1654       from Praveen Chidambaram, Douglas Gilbert, Guido Guenther and Fr�ric
1655       BOITEUX
1656
1657  [PW] Drive database: added Hitachi Deskstar T7K250 and Hitachi
1658       Deskstar 7K500 series.  Thanks to L. J. Wu for providing a
1659       patch
1660
1661  [PW] Drive database: added Maxtor MaXLine III family, Seagate U7
1662       family, Seagate ST34321A, FUJITSU MHM2060AT, FUJITSU MHT2040AS,
1663       Western Digital Caviar SE16 family, IBM Travelstar 4GT family,
1664       QUANTUM FIREBALLP KA9.1, QUANTUM FIREBALL SE4.3A, TOSHIBA
1665       MK1032GAX, TOSHIBA MK4026GAX
1666
1667  [PW] Drive database: added missing drives from Western Digital Caviar
1668       SE (Serial ATA) and WD Raptor families
1669
1670  [CF] Windows: Added support for 3ware 9000 controllers using extended
1671       SMART functionality in new 3ware driver. This includes DEVICESCAN
1672       support for at most 2 controllers. Thanks to Greg de Valois from
1673       AMCC/3ware for new driver features, development support and
1674       hardware for testing.
1675
1676  [SZ] smartd: Support HighPoint RocketRAID controller under GNU/linux
1677
1678  [DG] [SCSI] First cut for '-l background' to show background scan
1679       results log
1680
1681  [SZ] smartctl: Support HighPoint RocketRAID controller under GNU/linux
1682
1683  [KS] C++ compile fixes for Solaris with a few cleanups.
1684
1685  [BA] C++ compile fixes for Darwin (thanks to CF)
1686
1687  [CF] Removed old *.c files (now in CVS Attic).
1688
1689  [CF] Added changes for C++ to platform independent and Windows
1690       related files.
1691
1692  [BA] Tagged last .c Version with PRE_MOVE_TO_CPP. Copied *.c,v
1693       to *.cpp,v in CVS repository to preserve history of source
1694       files. Removed sm5_Darwin repository.
1695
1696  [CF] smartctl: Added -n option to skip checks when disk is in
1697       low-power mode.
1698
1699  [CF] Windows: Added alternate system call for power state check
1700       because the PASS THROUGH calls may spin up the disk.
1701
1702  [CF] smartd: Modified power state logging to report state changes
1703       instead of standby condition.
1704
1705  [CF] smartd: Ignore -n directive on scheduled self tests.
1706
1707  [DG] [SCSI] Make start stop cycle counter log page decoding
1708       more robust
1709
1710  [DG] Modify smartctl (but not smartd) to detect probable ATA
1711       devices behind a SAT layer. In the absence of an explicit
1712       device type, change to device type 'sat'.
1713
1714  [DG] Add indication that controller (device) type has been
1715       explicitly set. Preparation for automatic detection of
1716       'sat' device type unless user specifies a device type.
1717
1718  [SS] NetBSD: Deliver strings from ata_identify_device properly
1719       on little- and big-endian platforms.
1720
1721  [BA] Added published ANSI ATA-7 spec to list of recognized ATA
1722       versions.
1723
1724  [BA] Code janitor: added missing header strings for '-V' option.
1725
1726  [DG] [SATA] Extend 'sat' device type to allow either 12 or 16 byte
1727       variant of the SAT ATA PASS THROUGH SCSI command. Syntax is
1728       '-d sat,<n>' where <n> can be 0, 12 or 16 . The ',<n>' part
1729       is optional. Currently defaults to 16 byte variant but that
1730       could be made platform or even device dependent.
1731
1732  [DG] [SATA] Add new 'sat' device type for SATA disks behind a
1733       SCSI to ATA Translation (SAT) Layer (SATL). Uses the ATA
1734       PASS THROUGH (16) SCSI command thence the generic SCSI
1735       passthrough for each platform.
1736
1737  [CF] Windows: Added script and make targets to create installer
1738       with NSIS (http://nsis.sourceforge.net/)
1739
1740  [CF] Updated hostname and links for new SourceForge CVS service.
1741
1742  [CF] smartd: Added '-W' directive to track temperature changes
1743       and warn if temperature limits are reached.
1744
1745  [CF] Windows: Added IOCTL_ATA_PASS_THROUGH (Win2003, XP SP2)
1746       for commands unsupported by SMART_IOCTL. Added device
1747       specific options to select subset and ordering of the ATA
1748       IOCTLs actually used. These options are specified as
1749       modifiers of the device name (/dev/hd[a-j]:[saic]+)
1750
1751  [CF] Windows: Added support for drives 4-7 (/dev/hd[e-h]) via
1752       SMARTVSE.VXD on Win9x/ME. Thanks to Dariusz Rzonca for
1753       patch and testing.
1754
1755  [DG] [SCSI/SATA linux] from lk 2.6.17 SATA disk identification in
1756       libata will change. Expand LibAta detection to see old
1757       identifier and new variant (VPD page 0x83).
1758
1759  [BA] Identified Attribute 190 for Western Digital disks.  This
1760       stores temperature in Celsius, just like Attribute 194.
1761       But it has a failure threshold set to correspond to the
1762       maximum design operating temperature of the disk, which
1763       is 55 Celsius on the WD800JD drives that I studied.
1764       So if this Attribute has 'failed
1765       in the past' this means that the maximum disk operating
1766       temperature has been exceeded.
1767
1768  [GK] Darwin: Add support for AHCI drivers found in Intel-based Macs.
1769
1770smartmontools 5.36 Stable Release
1771
1772  [BA] Linux: smartd/smartctl issue syntax hints to user if 3ware
1773       disk controller present with EITHER 3ware OR AMCC vendor
1774       name, and user syntax incorrect.
1775
1776  [BA] Update copyright dates to 2006.
1777
1778  [DG] [SCSI] Loosen sanity check on Seagate/Hitachi factory information
1779       log page so it is not skipped on recent Seagate SCSI disks.
1780
1781  [CF] Added command 'smartd -q showtests' to list test schedules.
1782
1783  [CF] Added command 'smartctl -P showall MODEL [FIRMWARE]' to list
1784       database entries for specific drives and firmware.
1785
1786  [PW] Automatically set -v 9,minutes and -v 194,unknown for Maxtor
1787       DiamondMax D540X-4G drives.
1788
1789  [DG] [SCSI] suppress various outputs when data fails sanity checks.
1790       Correct 'last n error events' log page indexing.
1791
1792  [DG] [SCSI] changed smartctl exit status to reflect any problems in
1793       the most recent 20 self test logs [Leandro Santi]
1794
1795  [DG] [SCSI] Fix process return value when scsiGetSmartData() fails
1796       in smartctl [Leandro Santi]
1797
1798  [BA] Updated docs and error message to reflect Linux libata
1799       support for smartmontools starting with the 2.6.15 kernel
1800       series. Also init script support for the 'tinysofa' release.
1801
1802  [DG] [SCSI] Mask dpofua bit when changing mode pages. Fix failure
1803       of 'smartctl -l error'.
1804
1805  [EM] Fixed a problem with FreeBSD and 3Ware 'twe' devices
1806
1807  [CF] Fixed a regexp in knowndrives table, added regexp syntax check
1808       via 'smartctl -P showall'.
1809
1810  [CF] Cygwin & Windows: Fixed memory leak in function calling
1811       IOCTL_IDE_PASS_THROUGH. Thanks to Fred Schmidt for the problem
1812       report.
1813
1814  [CF] Cygwin: added cygrunsrv support and commands "install", "remove"
1815       and "status" to smartd.initd.
1816
1817  [SS] Fix runtime problems on big-engian NetBSD platforms (patch provided
1818       by Martin Husemann)
1819
1820  [CF] Cygwin smartd: Open smartd.conf in textmode to allow use of
1821       Windows editors.
1822
1823  [CF] Cygwin smartd: Added option '--service' to allow smartd running
1824       as windows service via cygrunsrv. Useful in conjunction with new
1825       syslogd support added in Cygwin 1.5.15.
1826
1827  [CF] Windows: Added patch to avoid output of non-ascii timezone names.
1828
1829  [EM] Incorporate various patches to provide TWE support and support for
1830       multiple 3Ware cards, Power Check Support, and FreeBSD 6.x support.
1831       Thanks to Rudolf Cejka, Frank Behrens, and Jung-uk Kim.
1832
1833  [DG] Silence gcc 4.0.1 compile warning concerning the difference in
1834       "signedness" in pointer assignments. Changes to SCSI code
1835       and os_linux.c .
1836
1837  [PW] Additions to knowndrives table: added missing drive from Quantum
1838       Fireball Plus LM series, added QUANTUM BIGFOOT TS10.0A, added
1839       ExcelStor J680 and J880, added Western Digital Caviar RE Serial ATA
1840       series, added missing drives from Western Digital Caviar SE series,
1841       added Seagate Momentus 4200.2 series, added missing drives from
1842       Maxtor DiamondMax 10 series, added Fujitsu MHG and MHH series, and
1843       added Hitachi Travelstar 5K100 series.
1844
1845  [PW] Additions to knowndrives table: added Fujitsu MHU2100AT, added
1846       Fujitsu M1623TAU, added missing drives from Seagate Barracuda
1847       7200.8 series, added Seagate Momentus 5400.2 series, and added
1848       QUANTUM FIREBALL CR8.4A.
1849
1850  [PW] Additions to knowndrives table: added missing drive from Maxtor
1851       MaxLine II series, added Maxtor DiamondMax 2880 Ultra ATA series,
1852       added Maxtor DiamondMax 17 VL series, added Hitachi Deskstar 7K80
1853       series, and added Hitachi Deskstar 7K400 series.
1854
1855  [CF] Windows: Fixed unsupported 'smartctl -X' on Win2000/XP by using
1856       IOCTL_IDE_PASS_THROUGH instead.
1857
1858smartmontools 5.34 Stable Release [NOTE: never officially released]
1859
1860  [CF] Cygwin & Windows smartd: Increased SCSI DEVICESCAN range
1861       from ASPI adapter 0-3 to 0-9. Added diagnostic messages.
1862
1863  [CF] Windows smartd: Added ability to run .bat files via '-M exec'
1864       directive.
1865
1866  [CF] Cygwin smartd: Added FreeConsole() after fork() to avoid hang
1867       of terminated shell console window.
1868
1869  [DG] [SCSI] Add code so 'smartctl -A' outputs the number of elements
1870       in the grown defect list. When this number is increasing a
1871       disk has problems. N.B. Similar logic should be added to smartd.
1872
1873  [CF] Windows smartd: Fixed event handling to allow start of another
1874       smartd process when service is already running. Useful for testing
1875       service configuration changes in debug mode.
1876
1877  [PW] Added following drives to knowndrives table: Western Digital Raptor
1878       family, Seagate Barracuda 7200.8 family, Maxtor DiamondMax 2160
1879       Ultra ATA and DiamondMax 10 families, Hitachi Travelstar E7K60
1880       family, Seagate Medalist 17240, 13030, 10231, 8420, and 4310,
1881       TOSHIBA MK4018GAP and MK6022GAX, ExcelStor Technology J360, and
1882       Western Digital Caviar AC14300.
1883
1884  [PW] Added missing Fujitsu MHTxxxxAT and Seagate Barracuda 7200.7 drives
1885       to knowndrives table.
1886
1887  [PW] Added QUANTUM FIREBALLP LM10.2 to knowndrives table.  Thanks to
1888       Mike Fleetwood for submitting the patch.
1889
1890  [KS] Solaris/SPARC: fixed not to disable automatic offline test and
1891       automatic save attributes incorrectly.  Thanks to Roy Badami.
1892
1893  [BA] Linux: smartd init script now recognizes 'trustix' distro.
1894
1895  [DG] [SCSI] Medium and hardware errors were slipping through
1896       unreported. Fix linux SCSI sense reporting via SG_IO ioctl.
1897
1898  [DG] [SCSI] Change lba of first failure in selftest output to
1899       decimal (was hex) to conform with ATA output.
1900
1901  [GK] smartd: Detect most self-test failures even if the hour counter
1902       has wrapped.
1903
1904  [BA] smartctl: list 'marvell' as option if user give invalid
1905       -d argument
1906
1907  [CF] Windows: fixed SCSI timeout handling to allow long timeouts
1908       for selftests.
1909
1910  [CF] Fixed buffer overflow issues in printone() and safe_vsnprintf()
1911       which results in crash on -V option (at least on Windows).
1912
1913  [DG] [SCSI] Add explicit timeouts to INQUIRY and REQUEST SENSE (that
1914       were missed in an earlier patch). Could have impacted freebsd.
1915
1916  [DG] When linux detects a sata_via_libata disk suggest that user try
1917       '-d ata' (rather then '-d libata). Anticipate kernel change.
1918
1919  [YD] Added OS/2 and eComStation platform support.
1920
1921  [PW] Added Seagate U4 family, Fujitsu MHJ and MHK families, Seagate
1922       Barracuda 5400.1, QUANTUM FIREBALLP KX27.3, QUANTUM FIREBALLP KA10.1,
1923       and ExcelStor J340 to knowndrives table.
1924
1925  [DG] [SCSI] After report of Hitachi IC35L073UCDY10 disks locking up
1926       on log page 0x7 (last n error events), check log page (and some
1927       others) is supported (via log page 0x0) before probing.
1928
1929  [CF] Added safe_v?snprintf() for platforms using v?snprintf()
1930       with non standard behaviour on overflow (Windows, old Linux)
1931
1932  [CF] smartd: Added message if check power mode spins up disk.
1933
1934  [CF] Windows: Added support for READ_LOG on WinNT4 using undocumented
1935       pseudo SCSI command via IOCTL_SCSI_PASS_THROUGH.
1936
1937  [CF] smartd: Added ',q' option for '-n' directive to suppress 'skipping
1938       checks' log message. This prevents a laptop disk from spinning up
1939       due to this message. Thanks to Rob MacLachlan and Manfred Schwarb
1940       for pointing out problem & solution.
1941
1942  [CF] Windows: Added function get_os_version_str() to show OS flavor in
1943       copyright message.
1944
1945  [CF] Windows: Added function ata_identify_is_cached() to check for outdated
1946       SMART enabled bit in identify data.
1947
1948  [CF] Windows: Added fix to prevent linkage of smartd specific win32 modules
1949       to smartctl.
1950
1951  [PW] Added Fujitsu MPG3153AH, Hitachi Endurastar J4K20/N4K20 (formerly
1952       DK23FA-20J), Seagate Momentus family, and Maxtor Fireball 3 family
1953       to knowndrives table.
1954
1955  [PW] Added missing Maxtor DiamondMax 16, Seagate Barracuda ATA IV, and
1956       Western Digital Caviar WDxxxAA/WDxxxBA drives to knowndrives table.
1957
1958  [CF] Windows: Added ATA check power mode for smartd -n directive.
1959
1960  [CF] Windows: Fixed use of new service status flag which causes hang
1961       of smartd service on WinNT4.
1962
1963  [CF] Windows: Fixed error checking of IOCTL_IDE_PASS_THROUGH (used
1964       for READ_LOG on 2000/XP). Added some diagnostic messages on
1965       -r ataioctl[,2]. Thanks to Manfred Schwarb for bug report and testing.
1966
1967  [BA] Fixed code bug that made it impossible to enable SMART on
1968       disks with failing health status.  This would happen if the
1969       os_*.c author made STATUS and STATUS_CHECK work the same way.
1970       I have corrected this at a higher level; we now handle the
1971       case where STATUS and STATUS_CHECK are identical without
1972       issues.
1973
1974  [LW] Make os_linux.c/marvell_command_interface() always return 0 on STATUS.
1975       Needed for a disk having bad SMART status.
1976
1977  [CF] smartctl: Added drive family printing.
1978
1979  [CF] autogen.sh: Allow automake 1.9, added message if automake
1980       version is unknown.
1981
1982  [BA] smartctl: use locale-specific separators for printing disk
1983       capacity.  Also use AC_CHECK_HEADERS not AC_CHECK_HEADER in
1984       configure.in.
1985
1986  [BA] clean-up of #include structure so that -V options to smartd
1987       and smartctl work correctly.  Please, don't #include header
1988       files into other header files.
1989
1990smartmontools 5.33 Experimental Release
1991
1992  [BA] smartctl: ATA disks, if SMART ATTRIBUTE THRESHOLDS page has ID
1993       errors with some Attributes having NULL IDs, print Attribute
1994       info anyway (but issuing a warning to the user).
1995
1996  [DG] [SCSI] Decode Last n error events log page; decode track following
1997       and positioning errors [Hitachi]
1998
1999  [EM] FreeBSD: another tweak, __packed__ introduced in Version 5.0040
2000
2001  [EM] Cleaner tweak of fixes for FreeBSD 4.x.
2002
2003  [EM] Fix compilation errors under FreeBSD 4.x, as it is still using
2004       and old GCC
2005
2006  [EM] Remove 3ware/FreeBSD specific files and just include pieces we need
2007
2008  [DG] Add logic in smartd to detect 3ware, Marvell controllers and SATA
2009       disks behind an ATA-SCSI simulator (in Linux). If specific device
2010       types are not given and they are picked in a general SCSI device
2011       scan then warn and skip.
2012
2013  [GG] insert correct path to smartd into smartd's init script
2014
2015  [BA] Changed all default paths in documentation to reflect /usr/local as
2016       default path prefix.  This affects on-line man pages, primarily.
2017 
2018  [DS] Added support for OpenBSD
2019
2020  [BA] Added another environment variable SMART_FULLMESSAGE set by
2021       the smartd mailing feature, and modified examplescripts/Example1
2022       to illustrate it.
2023
2024  [BA] Fixed potentially misleading messages of the form:
2025       XXX failed: success
2026
2027  [DG] emit warning if SATA disk detected using libata in Linux; then exit
2028
2029  [PW] Added Seagate U10 family, Hitachi Travelstar 7K60, Fujitsu MHR2020AT,
2030       and QUANTUM FIREBALLP AS20.5 to knowndrives table.
2031
2032  [DG] Detect 3ware and Marvell controllers from SCSI INQUIRY vendor string
2033       and suggest usage of appropriate '-d' argument in smartctl.
2034
2035  [LW] Tested the RELEASE_5_33_WITH_MARVELL_SUPPORT branch on
2036       actual Marvell 88SX5041 hardware, with success.
2037       Merged into HEAD.
2038
2039  [BA] Fixed nasty DEVICESCAN bug
2040
2041  [BA] Checked in RELEASE_5_33_WITH_MARVELL_SUPPORT branch with
2042       some Marvell support.
2043
2044  [BA] Additional modifications of Ed's controller scheme.  Fixed
2045       broken 3ware support under linux, problems with scanning
2046       devices in smartd, and other small problems.
2047
2048  [CF] Added make targets to build formatted man pages (htmlman, txtman),
2049       Windows distribution (dist-win32) and MSVC6 config.h (config-vc6).
2050
2051  [EM] Minor change to FreeBSD inclusion of 'twe' include files.  Add
2052       code to check if they exising in /usr/include/sys to use those
2053       in preference to ones added here
2054
2055  [EM] Very preliminary support attempt for 3Ware controllers under
2056       FreeBSD. Also, switched 'escalade_type/escalade_port' to
2057       'controler_type/controller_port' and moved away from
2058       'tryata/tryscsi' to using new 'controller*' variables to
2059       determine which controller type (ATA/SCSI/3Ware) to use.
2060
2061  [GK] Added initscript support for Darwin.
2062
2063  [CF] Windows smartd: Added ability to run smartd as a windows service,
2064       including new commands "smartd install ..." and "smartd remove"
2065       to install and remove the service registry entry.
2066
2067  [BA] smartd: warn user if -s regexp regular expression contains
2068       characters other than 0123456789.*()|+?[-]{}:=SLCO since such
2069       characters are 'suspicous' and may indicate a poorly formed
2070       regexp.  Extended regular expression gurus: can this list be
2071       reduced somewhat?
2072
2073  [CF] Fixed bug in Windows smartd: Missing close of config file when
2074       configuration is reloaded by smartd daemon.
2075
2076  [CF] Windows smartd: Added mail warning feature using the "Blat"
2077       (http://blat.sourceforge.net/) mailer as a default.
2078
2079  [PW] Added Maxtor DiamondMax Plus 5120 Ultra ATA 33 series and TOSHIBA
2080       MK3017GAP to knowndrives table.
2081
2082  [CF] Added fixes to build smartmontools on old Linux systems
2083       (libc < 6, Kernel 2.0.x).
2084
2085  [BA] Added ATA minor version identity strings for latest ATA specification
2086       updates: ATA/ATAPI-7 T13 1532D revision 4a and ATA/ATAPI-6 published,
2087       ANSI INCITS 361-2002
2088
2089  [PW] Added Hitachi Travelstar 5K80 family and Fujitsu MHTxxxxAH family to
2090       knowndrives table.
2091
2092  [EM] Fix up compilation under FreeBSD < 5.x
2093
2094  [PW] Added QUANTUM FIREBALL EX3.2A and missing Western Digital Caviar SE
2095       drives to knowndrives table.
2096
2097  [BA] Modified Hitachi Travelstar 80GN family regexp in drive database.
2098       Thanks to [GK/CF] for problem & solution.
2099
2100  [GK] Added os_darwin.[ch]
2101
2102  [PW] Added the following drives to the knowndrives table: IBM Travelstar
2103       48GH, 30GN, and 15GN family; IBM Deskstar 37GP and 34GXP family;
2104       Western Digital WDC WD272AA; Maxtor DiamondMax D540X-4D family;
2105       TOSHIBA MK2016GAP, MK2018GAP, MK2018GAS, MK2023GAS; and
2106       QUANTUM FIREBALL ST3.2A
2107
2108  [BA] smartd/smarctl now print build HOST/OS information as part
2109       of startup slogan.  This should make it slightly easier to
2110       read bug reports from users.
2111
2112  [RZ] Fixed the DEVICESCAN to do what it was supposed to do - give
2113       error message unless scanning is in progress. 
2114
2115  [BA] Update documentation to describe 3ware character devices. Better
2116       error detection for missing/malfunctioning devices behind 3ware
2117       controllers. Now pack 3ware ioctl structures explicitly.
2118
2119  [BA] For ATA devices that support LBA mode, print capacity as part
2120       of smartctl --info
2121
2122  [RZ] Made DEVICESCAN quiet about non-existing devices unless debug
2123       is on.
2124
2125  [DG] treat "unit attention" SCSI warning as try again in some contexts
2126       (test unit ready and mode sense)
2127
2128  [BA] on drives that store max/min rather than min/max, get order
2129       correct in printing temp.
2130
2131  [BA] fixed typo in 'smartctl -h' output.  Thanks to Gabor Z. Papp.
2132
2133  [BA] linux: clean-up to 3ware/AMCC support; dynamically create
2134       or fix /dev/tw[ae][0-15] device node entries if they don't
2135       exist or are incorrect. One can now use the character devices
2136       /dev/twe[0-15] OR /dev/sd? for 3ware 6000/7000/8000 series
2137       cards.  One must use /dev/twa[0-15] for 3ware 9000 series cards.
2138       Note that selective self-tests now work via /dev/tw[ae] devices.
2139       Next step: documentation.
2140
2141  [BA] linux: experimental "support" for 3ware/AMCC 9000 series
2142       controllers that use the 3w-9xxx driver.  This will be in a
2143       state of flux for a few days.  Note that this requires the
2144       character interface /dev/twa[0-15].
2145
2146  [DG] linux: extend general SCSI OS interface to use the SG_IO ioctl. If
2147       not available, use the older SCSI_IOCTL_SEND_COMMAND ioctl.
2148
2149  [KS] Solaris/x86: fixed system identification problem in configure
2150       script.  Thanks to Stuart Swales.
2151
2152smartmontools 5.32
2153
2154  [BA] Update link to revised/updated IBM Deskstar Firmware
2155
2156  [CF] Cygwin & Windows: Added missing ASPI manager initialization
2157       with GetASPI32SupportInfo(). Thanks to Nikolai SAOUKH for pointing
2158       this out and providing a patch.
2159
2160  [BA] modified smartd init script to work on whitebox (thanks to
2161       Michael Falzon)
2162
2163  [BA] removed (reverted) additional Attribute definitions from
2164       http://smart.friko.pl/attributes.php.  All (or most?) of these
2165       appear to be return code values for the WD Digital Life Guard Utility.
2166
2167  [PW] Added Seagate Medalist 17242, 13032, 10232, 8422, and 4312 to
2168       knowndrives table.  Added missing Seagate U Series 5 drives.
2169
2170  [PW] Added the following QUANTUM models to knowndrives table:
2171       FIREBALL EX6.4A, FIREBALLP AS10.2, FIREBALLP AS40.0, FIREBALL CR4.3A,
2172       FIREBALLP LM15, FIREBALLP LM30, and FIREBALLlct20 30
2173
2174  [PW] Added missing Western Digital Protege drives to knowndrives table.
2175
2176  [PW] Added Maxtor DiamondMax 40 ATA 66 series and DiamondMax 40 VL Ultra
2177       ATA 100 series to knowndrives table.
2178
2179  [PW] Added the following Hitachi/IBM drives to knowndrives table:
2180       HITACHI_DK14FA-20B, Travelstar 40GNX series, Travelstar 4LP series,
2181       and Travelstar DK23XXB series.  Added the missing Travelstar 80GN
2182       drives.
2183
2184  [PW] Added Fujitsu MPB series and MPG series to knowndrives table.  Added
2185       the missing Fujitsu MHSxxxxAT drives.
2186
2187  [KS] Solaris: added workaround for dynamic change of time-zone.
2188
2189  [KS] Solaris: fixed problem that autogen.sh cannot detect absence of
2190       auto* tools.
2191
2192  [BA] smartd: added time-zone bug information to man page.
2193       Reverted CF code for _WIN32 case.
2194
2195  [CF] Cygwin & Windows: Added better error messages on IDE/ATA device
2196       open error.
2197
2198  [BA] added additional Attribute definitions from
2199       http://smart.friko.pl/attributes.php
2200
2201  [BA] smartd: reworked TimeZone bug workaround so it is only invoked
2202       for glibc.  Note: this might not be right -- a similar bug may
2203       exist in other platform's libcs.
2204
2205  [DG] SCSI smartmontools documentation updated [2004/5/6]. See:
2206       http://smartmontools.sourceforge.net/smartmontools_scsi.html
2207
2208  [CF] Windows: Fixed reset of TZ=GMT in glibc timezone bug workaround.
2209
2210smartmontools 5.31
2211
2212  [DG] move SCSI device temperature and start-stop log page output
2213       (smartctl) into --attributes section (was in --info section).
2214
2215  [GG] change default installation location to /usr/local
2216
2217  [CF] Cygwin smartd: Fixed crash on access of SCSI devices after fork().
2218
2219  [PW] Added TOSHIBA MK4018GAS and the following Maxtor drive families
2220       to knowndrives table: DiamondMax D540X-4G, Fireball 541DX,
2221       DiamondMax 3400 Ultra ATA, DiamondMax Plus 6800 Ultra ATA 66.
2222
2223  [PW] Added missing Maxtor DiamondMax 16, DiamondMax D540X-4K, and
2224       DiamondMax Plus 45 Ulta ATA 100 drives to knowndrives table.
2225
2226  [PW] Added ExcelStor J240, Hitachi Travelstar 80GN family, Fujitsu
2227       MHTxxxxAT family, and IBM Deskstar 25GP and 22GXP families to
2228       knowndrives table.
2229
2230  [CF] Cygwin smartd: Added workaround for missing SIGQUIT via keyboard:
2231       To exit smartd in debug mode, type CONTROL-C twice.
2232
2233  [BA] smartctl: printing of the selective self-test log is now
2234       controlled by a new option: -l selective
2235
2236  [BA] Added entries for Samsung firmware versions -25 to -39 based
2237       on latest info about firmware bug fixes.
2238
2239  [PW] Added Seagate U Series X family, Seagate U8 family, and Seagate
2240       Medalist 8641 family to knowndrives table.
2241
2242  [CF] smartd: Added exit values 5/6 for missing/unreadable config file.
2243
2244  [BA] smartd: now monitor the Current Pending Sector count (Attribute 197)
2245       and the Offline Pending Sector Count (Attribute 198).  Log a
2246       warning (and send an email, if so configured) if the raw count
2247       is nonzero.  These are controlled by new Directives: -C and -U.
2248       Currently they are enabled by default.
2249
2250  [CF] Added option -c FILE, --configfile=FILE to smartd to specify
2251       an alternate configuration FILE or '-' for standard input.
2252
2253  [KS] configure.in now searches for -lnsl and -lsocket for Solaris.
2254
2255  [CF] Win32/native smartd: Added thread to combine several syslog output
2256       lines into one single event log entry.
2257
2258  [CF] Win32 smartd: Added DEVICESCAN for SCSI/ASPI devices.
2259
2260  [GG] Use gethostbyname() the get the DNS domain since getdomainname()
2261       returns the NIS domain when sending mails from smartd.
2262
2263  [GG] smartd.init.in: pass smartd_opts to smartd on startup, read distribution
2264       specific configuration files if found
2265
2266  [SS] smartctl: added NetBSD support for Selective Self-tests.
2267
2268  [BA] smartd.conf example configuration file now has all examples
2269       commented out except for 'DEVICESCAN'.
2270
2271  [CF] Win32/native smartd: Added ability to display warning "emails"
2272       as message box by "-m msgbox" directive. With "-m sysmsgbox",
2273       a system modal (always on top) message box is shown.
2274
2275  [BA] smartctl: printing of self-test log for disks that support
2276       Selective self-testing now shows the status of the (optional)
2277       read-scan after the selective self test.  Also, changed format
2278       in printing self-test log to print failing LBA in base 10 not
2279       base 16 (more compatible with kernel error messages).  Also,
2280       in printing SMART error log, print timestamps in format
2281       days+hours+minutes+seconds.
2282
2283  [CF] Win32 smartd: Added ability to log to stdout/stderr
2284       (-l local1/2). Toggling debug console still works
2285       if stdout is redirected.
2286
2287  [BA] smartctl: selective self-test log, print current status
2288       in a  more detailed way.  Allow writing of selective self-test
2289       log provided that no other self-test is underway.
2290
2291  [BA] Linux: eliminated dependency on kernel tree hdreg.h.
2292
2293  [BA] smartctl: -l selftest option now prints Selective self-test
2294       log in addition to the normal self-test log.
2295       Added additional options (-t pending, -t afterselect) to
2296       control remaining Selective Self-test capabilities.  Tested
2297       with several Maxtor disks. Modified error message printing
2298       so that munged option messages print at the end not the
2299       start of output.
2300
2301  [CF] Added daemon support to Win32 native version of smartd.
2302       The daemon can be controlled by commands similar to initd
2303       scripts: "smartd status|stop|reload|restart|sigusr1|sigusr2".
2304
2305  [CF] Added minor support for option "-l local[0-7]" to Win32 native
2306       (not Cygwin) version of smartd. If specified, the log output
2307       is written to file "./smartd[1-7]?.log" instead of event log.
2308
2309  [BA] Added Selective Self-test to smartctl (-t selective,M-N).
2310       Currently only supported under Linux; Solaris, NetBSD, FreeBSD
2311       and Windows developers must add WRITE LOG functionality to
2312       os_*.c
2313
2314  [BA] Added workaround for an annoying glibc bug: if you change
2315       timezones, (eg, flying with a laptop from USA to Europe)
2316       localtime() does not notice this in a running
2317       executable, so time that appears in the system log (syslog!)
2318       will be incorrect.  See
2319       http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48184
2320       for additional examples of this bug.
2321
2322  [DG] Set explicit timeouts for SCSI commands (most default to 6 seconds).
2323       Previously a 0 second timeout was meant to be interpreted as a
2324       default timeout but the FreeBSD port had a problem in this area.
2325
2326  [CF] Fixed un-thread-safe exit signal handler for Win32
2327
2328  [BA] Fixed un-thread-safe exit signal handler pointed out
2329       by CF.
2330
2331  [BA] Changed configure script to eliminate warnings under
2332       Solaris from sys/int_type.h conflicts with int64.h
2333       Added header files for umask to smartd.c.
2334
2335  [BA] Man page format change from Werner LEMBERG.  " " changed to \&
2336
2337  [CF] Added os_win32/syslogevt.* event message file tool for Win32
2338       smartd (native+cygwin). May also be useful for other cygwin
2339       programs writing to syslog().
2340
2341  [CF] Added Win32 version of smartd
2342
2343  [CF] Merged RELEASE_5_26_WIN32_BRANCH
2344
2345  [BA] Made some changes to man page markup suggested by
2346       Richard Verhoeven to work around bugs in man2html.
2347       Tested not to break anything under Linux and Solaris.
2348
2349  [CF] Moved PrintOut() from utility.c to smart{ctl,d}.c to avoid
2350       syslog() output of smartctl.
2351
2352  [BA] Grew worried that some time-zone names could be very long (eg,
2353       Mitteleuropaische Zeit) and put date string lengths into a
2354       single macro in utility.c
2355
2356  [EM] Updated os_freebsd.c to handle older versions of FreeBSD in a
2357       more appropriate/obvious fashion.
2358
2359  [EM] Modified autogen.sh as FreeBSD installs automake 1.7 as
2360       'automake17' and NOT 'automake-1.7'
2361
2362smartmontools 5.30
2363
2364  [PW] Added QUANTUM FIREBALLlct15 30, QUANTUM FIREBALLlct20 40, and
2365       Maxtor 6Y060P0 (DiamondMax Plus 9 60GB) to knowndrives table.
2366
2367  [PW] Added Maxtor MaXLine II family to knowndrives table (thanks to
2368       Brett Russ for submitting the patch).
2369
2370  [BA] Added remaining read/write commands to detailed list of
2371       error log commands that have text descriptions of problem
2372       printed.  For commands that support it, print number of failed
2373       sectors at problem LBA.
2374
2375  [BA] Made SuSE section of smartd init script more SuSE 9 compatible.
2376       Thanks to Hans-Peter Jansen.
2377
2378  [CF] Windows smartd: Added IDE/ATA device scan
2379       Added windows device names to smartctl.8.in, smartd.8.in
2380   
2381  [BA] smartctl/smartd: user-provided '-F samsung' and '-F samsung2'
2382       command line options/Directives did NOT over-ride preset values
2383       unless user specified '-P ignore'.  Now they will always over-ride
2384       preset values from the database.
2385
2386  [BA] Added error decoding for a few more READ and WRITE commands.
2387
2388  [PW] Added Maxtor MaXLine Plus II, Western Digital Caviar SE (Serial ATA)
2389       series, Hitachi Deskstar 7K250 series, and Ultra ATA 66 models of
2390       the Maxtor DiamondMax Plus 40 series to knowndrives table.
2391
2392  [BA] Added Maxtor Diamondmax 250 GB drives to database.  Note that
2393       these model numbers are not listed in Maxtor documentation, but
2394       they exist.
2395
2396  [BA] Removed the 'contact developers' phrase from the Samsung disk
2397       warning messages.
2398
2399  [PW] Added TOSHIBA MK2017GAP, IBM Deskstar 14GXP and 16GP series,
2400       Fujitsu MPC series, Seagate Barracuda ATA III family, and missing
2401       Seagate Barracuda U Series drives to knowndrives table
2402
2403  [BA] smartd: wrong loglevel for message: Configuration file
2404       /etc/smartd.conf parsed.  Changed to LOG_INFO from LOG_CRIT.
2405       Thanks to  Emmanuel CHANTREAU for the report.
2406
2407  [CF] Checked in development version of windows code base.
2408
2409smartmontools 5.29 (note: there was NO 5.28 release)
2410
2411  [BA] smartd: configure script did not set correct directory to search for
2412       smartd.conf based on --prefix argument to ./configure.  Thanks to
2413       GG for identifying the problem and fix.
2414
2415  [BA] make clean now removes man pages (generated from *.in) files as well
2416       as object files.
2417
2418  [EM] Correct copying of sense data in FreeBSD SCSI implementation. Thanks
2419       to Sergey Svishchev for noticing the bug.
2420
2421  [BA] On solaris, wrong warning message if no ATA support.  Warning message
2422       concerns 3ware controller, not ATA.
2423
2424  [SS] Added SCSI support for NetBSD.
2425
2426  [BA] on big-endian linux machines, fixed interpretation of HDIO_GET_IDENTITY
2427       to correctly identify ATAPI bit (was byte swapped).  This should
2428       eliminate some SYSLOG noise if user queries a packet device (eg, CD
2429       ROM or DVD reader).
2430
2431  [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives with
2432       A5AA/A6AA firmware.  Thanks to Gerald Schnabel.
2433
2434  [PW] Added Toshiba TOS MK3019GAXB SUN30G to knowndrives table
2435
2436  [PW] Added Western Digital Caviar AC12500, AC24300, AC25100, AC36400,
2437       and AC38400 to knowndrives table
2438
2439  [BA] When printing ATA error log, print the LBA at which READ
2440       or WRITE commands failed.
2441
2442  [BA] Changed syntax of error message in smartctl
2443
2444  [BA] Added versioning info (-V options to smartd/smartctl) for
2445       Solaris ATA module.
2446
2447smartmontools 5.27
2448
2449  [KS] Added ATA/IDE support for Solaris/SPARC (ATA/IDE not yet for
2450       Solaris/x86).
2451
2452  [BA] 3ware controllers: documented that one can monitor any of the
2453       physical disks from any of the 3ware /dev/sd? logical devices.
2454       Better warnings if querying a disk that does not exist.
2455
2456  [PW] Added Hitachi Travelstar DK23DA series, Maxtor DiamondMax Plus 40
2457       series, Western Digital Caviar WDxxxAA, WDxxxBA, and WDxxxAB series
2458       to knowndrives table
2459
2460  [BA] missing 'pragma pack' on ATA IDENTIFY DEVICE structure may have
2461       caused odd or incorrect results on 64-bit machines.
2462
2463  [BA] smartctl/smartd allow inspection of self-test and error logs even
2464       if disk firmware claims that these don't exist.  This is needed
2465       for some Maxtor disks whose firmware does not indicate log support
2466       even though the disk DOES support it.
2467
2468  [BA] Improved porting instructions and documentation in os_generic.c
2469
2470  [PW] Add Western Digital Caviar WD136AA and SAMSUNG SP40A2H (RR100-07
2471       firmware) to knowndrives table.
2472
2473  [EM] FreeBSD: remove extra definition of FreeNonZero
2474
2475  [BA] smartctl: the -q silent option was printing output for some
2476       error conditions.  Fixed.  Will rename relevant variables to help
2477       avoid these errors in the future.
2478
2479  [SS] NetBSD port added.
2480
2481  [BA] more sensible error messages for devfs and devfs-like systems.
2482       Instead of saying that the DIRECTORY does not exist, say that
2483       the DEVICE does not exist.
2484
2485  [BA] smartd: added -n Directive, to prevent disk spin-up depending
2486       upon the power mode (SLEEP, STANDBY, or IDLE).
2487
2488  [PW] Added Maxtor DiamondMax 20 VL series, Fujitsu MPF series,
2489       Maxtor DiamondMax 36 series, Maxtor DiamondMax 4320 series, and
2490       Maxtor DiamondMax 536DX series to knowndrives table.
2491
2492  [BA] many warning messages now give the file name AND VERSION
2493
2494  [BA] smartd: when the user provides multiple address recipients
2495       to the '-m' Directive in a comma-delineated list, the commas
2496       are stripped out before passing the list of addresses to the
2497       mailer program. (Thanks to Calin A. Culianu for pointing this out
2498       and providing a patch.)
2499
2500  [BA] smartd: when the '-M exec path' Directive is used, any stdout OR
2501       stderr output from the executable "path" is assumed to indicate a
2502       problem, and is echoed to SYSLOG.
2503
2504  [BA] Added all missing IBM/Hitachi Deskstar 180GXP models to knowndrives
2505       table.
2506
2507  [PW] Added some missing IBM/Hitachi Deskstar 120GXP models to knowndrives
2508       table.
2509
2510  [PW] Added IBM Travelstar 14GS to knowndrives table.
2511
2512  [PW] Modified knowndrives table to match entire Hitachi Travelstar
2513       DK23BA and DK23EA series of drives (thanks to Norikatsu Shigemura
2514       for submitting the patch).
2515
2516  [PW] Added some missing Fujitsu MPE series drives to knowndrives table.
2517
2518  [PW] Added TOSHIBA MK4019GAX, TOSHIBA MK6409MAV, and QUANTUM
2519       FIREBALLlct15 20 to knowndrives table.
2520
2521  [EM] Fixup example command output for FreeBSD
2522
2523  [PW] Added Maxtor DiamondMax 80 family to knowndrives table.
2524
2525  [EM] Catch up FreeBSD code to switch PROJECTHOME to PACKAGE_HOMEPAGE
2526       macros.
2527
2528  [BA] smartd: now watches stdout/stderr when trying to run mail, mailx
2529       or mail warning script, and reports any output to SYSLOG.  This
2530       gives a clearer error message if something is wrong.
2531
2532  [BA] smartd: Solaris init script modified to accomodate grep that
2533       lacks '-q' quiet option.  Also check for running process to kill
2534       on stop.
2535
2536  [PW] Added some missing Seagate Barracuda 7200.7 and 7200.7 Plus drives
2537       to knowndrives table.
2538
2539  [PW] Added Maxtor DiamondMax Plus 60 family and Seagate U Series 5 20413
2540       to knowndrives table.
2541
2542  [BA] smartd: under Solaris, made default mailer be 'mailx' not
2543       'mail', since Solaris 'mail' does not accept a '-s' argument.
2544       A workaround for Solaris users of earlier versions is to
2545       have '-M exec /bin/mailx' in their smartd.conf config file.
2546
2547  [DG] some SCSI controllers don't like odd length transfers so make
2548       sure LOG SENSE transfers are rounded up to an even number when
2549       and odd length is reported (i.e. there is a double fetch, the
2550       first to find the length, the second gets the data)
2551
2552  [BA] smartd man pages: under Solaris, correct section numbers in the
2553       'See also' section.
2554
2555  [KS/BA] smartd man page: describe how to set Solaris syslog.conf
2556       file to catch all messages.  Give correct Solaris SYSLOG default
2557       path /var/adm/messages in man pages.
2558
2559  [BA] smartd: incorporated Debian startup script submitted by user.
2560
2561  [BA] smartctl: modified printing of self-test log entry number.  Seagate
2562       firmware can leave 'holes' in the self-test log while a test is
2563       actually running.  We now print entry numbers consistently in this
2564       case, not assuming that entries are contiguous.
2565
2566  [PW] Added QUANTUM FIREBALL CX10.2A and Western Digital Caviar AC23200L
2567       to knowndrives table.
2568
2569  [PW] Added QUANTUM FIREBALLlct20 20 to knowndrives table.
2570
2571  [PW] Added Maxtor DiamondMax Plus D740X family to knowndrives table.
2572
2573  [PW] Added IBM Travelstar 32GH, 30GT, and 20GN family to knowndrives
2574       table.
2575
2576  [BA] Slackware init script modified to search for /etc/slackware-version
2577       rather than /etc/slackware-release.
2578
2579  [PW] Added Seagate Barracuda ATA II family and TOSHIBA MK4019GAXB to
2580       knowndrives table.
2581
2582  [GG] explain howto use autoreconf in autogen.sh
2583
2584  [KS] Makefile.am/configure.in: changed manual page sections for
2585       Solaris.
2586
2587  [BA] smartd: reduced number of scheduled self-test messages if
2588       test already run in current hour.
2589
2590  [PW] Added Maxtor DiamondMax Plus 8 family to knowndrives table.
2591
2592  [BA] linux: check for linux/hdreg.h.  If it's there, use it. If
2593       not, provide the necessary definitions ourselves.
2594
2595  [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives
2596       with TXAOA5AA firmware
2597
2598  [PW] Added IBM Travelstar 25GS, 18GT, and 12GN family to knowndrives
2599       table.
2600
2601  [PW] Added IBM/Hitachi Travelstar 60GH & 40GN family to knowndrives
2602       table.
2603
2604  [BA] smartd: made '-s' Directive more efficient.  Now store
2605       compiled regex, and re-use.  If device lacks certain self-test
2606       capabilities, track it and don't try again.
2607
2608  [BA] smartd: made memory allocation for device lists completely
2609       dynamic (eliminating compile-time maximum length constants).
2610
2611  [PW] Removed warning for SAMSUNG SP0802N with TK100-23 firmware
2612
2613  [PW] Added Seagate Barracuda ATA IV family to knowndrives table.
2614
2615  [BA] smartd: reduce per-device memory footprint by making
2616       mail-warning info dynamically allocated.  Also remove
2617       potential memory leak if use has -m Directive twice and
2618       keeps reloading the config file (highly unlikely this would
2619       ever be noticed!) 
2620
2621  [DG] smartd: added SCSI scheduled self-tests (Background
2622       short or extended).
2623
2624  [BA] smartd: can now run scheduled offline immediate and
2625       self-tests.  See man page and -s Directive for details.
2626
2627  [GG] don't include manpages in make-dist-tarball.
2628
2629  [BA] smartctl: on-line examples given with -h are now correct
2630       for solaris and linux, but wrong for freebsd.  Ed?
2631
2632  [BA] smartd: man page now explains device scanning for solaris as
2633       well as linux and freebsd.
2634
2635  [BA] smartd/smartctl: man pages now report correct CVS tag release
2636       date, and executables '-V' options reports more build info.
2637
2638smartmontools 5.26
2639
2640  [BA] Improved user messages that appear from 'make install'
2641
2642  [PW] Removed warning for SAMSUNG SP1213N with firmware TL100-23
2643
2644  [BA] incorporated SuSE init script from user.
2645
2646  [DG] if SCSI device is read only, then open it read only.
2647
2648  [BA] when compiled on non-supported system (NOT linux, freebsd or solaris) then
2649       the run-time error messages now clearly say 'your system is not supported'
2650       and give clear directions.
2651
2652  [BA] ./configure script now works correctly on SuSE linux boxes
2653
2654  [BA] minor improvements to man pages
2655
2656  [BA] simplified detection of packet (ATAPI, CD) devices.
2657
2658  [BA] init script (redhat, mandrake, yellowdog) now uses correct
2659       strings for translation and is slightly more standard.
2660
2661  [DG] smartctl: output scsi Seagate vendor pages for disks (not tapes)
2662
2663smartmontools 5.25
2664
2665Note: there was no '5.24' release. From this point on, even numbered
2666releases will be 'stable' ones and odd numbered releases will be
2667unstable/testing/development ones.
2668
2669  [DG] smartd/smartctl: changed scsiClearControlGLTSD() to
2670       scsiSetControlGLTSD() with an 'enabled' argument so '-S on'
2671       and '-S off' work for SCSI devices (if changing GLTSD supported).
2672
2673  [BA] smartd/smartctl: wired in scsiClearControlGLTSD(). Could still
2674       use a corresponding Set function.  Left stubs for this purpose.
2675
2676  [DG] scsicmds: added scsiClearControlGLTSD() [still to be wired in]
2677
2678  [BA] smartctl: make SCSI -T options behave the same way as the
2679       ATA ones.
2680
2681  [DG] smartctl: output scsi transport protocol if available
2682
2683  [DG] scsi: stop device scan in smartd and smartctl if badly formed
2684       mode response [heuristic to filter out USB devices before we
2685       (potentially) lock them up].
2686
2687  [BA] smartd: deviceclose()->CloseDevice(). Got rid of SCSIDEVELOPMENT
2688       macro-enabled code.  Added -W to list of gcc specific options to
2689       always enable. Made code clean for -W warnings.
2690
2691  [PW] Added Maxtor DiamondMax VL 30 family to knowndrives table.
2692
2693  [DG] scsi: add warning (when '-l error' active) if Control mode page
2694       GLTSD bit is set (global disable of saving log counters)
2695
2696  [DG] scsi: remember mode sense cmd length. Output trip temperature
2697       from IE lpage (IBM extension) when unavailable from temp lpage.
2698
2699  [BA] smartd: for both SCSI and ATA now warns user if either
2700       the number of self-test errors OR timestamp of most
2701       recent self-test error have increased.
2702
2703  [DG] smartctl: output Seagate scsi Cache and Factory log pages (if
2704       available) when vendor attributes chosen
2705
2706  [DG] smartd: add scsiCountFailedSelfTests() function.
2707
2708  [DG] Do more sanity checking of scsi log page responses.
2709
2710  [BA] smartd: now warns user if number of self-test errors has
2711       increased for SCSI devices.
2712
2713  [BA] smartd: warn user if number of ATA self-test errors increases
2714       (as before) OR if hour time stamp of most recent self-test
2715       error changes.
2716
2717  [DG] More checks for well formed mode page responses. This has the side
2718       effect of stopping scans on bad SCSI implementations (e.g. some
2719       USB disks) prior to sending commands (typically log sense) that
2720       locks them up.
2721
2722  [PW] Added Western Digital Caviar family and Caviar SE family to
2723       knowndrives table.
2724
2725  [BA] smartd: added -l daemon (which is the default value if -l
2726       is not used).
2727
2728  [PW] Added Seagate Barracuda ATA V family to knowndrives table.
2729
2730  [BA] smartd: added additional command line argument -l FACILITY
2731       or --logfacility FACILITY.  This can be used to redirect
2732       messages from smartd to a different file than the one used
2733       by other system daemons.
2734
2735  [PW] Added Seagate Barracuda 7200.7, Western Digital Protege WD400EB,
2736       and Western Digital Caviar AC38400 to knowndrives table.
2737
2738  [BA] smartd: scanning should now also work correctly for
2739       devfs WITHOUT traditional links /dev/hd[a-t] or /dev/sd[a-z].
2740 
2741  [PW] Added Maxtor 4W040H3, Seagate Barracuda 7200.7 Plus,
2742       IBM Deskstar 120GXP (40GB), Seagate U Series 20410,
2743       Fujitsu MHM2100AT, MHL2300AT, MHM2150AT, and IBM-DARA-212000
2744       to knowndrives table.
2745
2746  [PW] Added remaining Maxtor DiamondMax Plus 9 models to knowndrives
2747       table.
2748
2749  [EM] smartd: If no matches found, then return 0, rather than an error
2750       indication, as it just means no devices of the given type exist.
2751       Adjust FreeBSD scan code to mirror Linux version.
2752
2753  [BA] smartd: made device scan code simpler and more robust. If
2754       too many devices detected, warn user but scan as many
2755       as possible.  If error in scanning, warn user but don't
2756       die right away.
2757
2758  [EM] smartd: To keep as consistent as possible, migrate FreeBSD
2759       devicescan code to also use glob(3). Also verified clean
2760       compile on a 4.7 FreeBSD system.
2761
2762  [BA] smartd: Modified device scan code to use glob(3). Previously
2763       it appeared to have trouble when scanning devices on an XFS
2764       file system, and used non-public interface to directory
2765       entries. Problems were also reported when /dev/ was on an
2766       ext2/3 file system, but there was a JFS partition on the same
2767       disk.
2768
2769  [BA] Clearer error messages when device scanning finds no suitable
2770       devices.
2771
2772  [EM] FreeBSD: Fixup code to allow for proper compilation under
2773       -STABLE branch.
2774
2775smartmontools 5.23
2776
2777  [BA] smartd: didn't close file descriptors of ATA packet devices
2778       that are scanned. Fixed.
2779
2780  [BA] Added reload/report targets to the smartmontools init script.
2781       reload: reloads config file
2782       report: send SIGUSR1 to check devices now
2783
2784smartmontools 5.22
2785
2786  [EM] Fix compile issues for FreeBSD < 5-CURRENT.
2787
2788  [PW] Added Fujitsu MHM2200AT to knowndrives table.
2789
2790  [BA] To help catch bugs, clear ATA error structures before all
2791       ioctl calls.  Disable code that attempted to time-out on SCSI
2792       devices when they hung (doesn't work).
2793 
2794  [BA] Documented STATUS/ERROR flags added by [PW] below.
2795
2796  [BA] Improved algorithm to recognize ATA packet devices. Should
2797       no longer generate SYSLOG kernel noise when user tries either
2798       smartd or smartctl on packet device (CD-ROM or DVD).  Clearer
2799       warning messages from smartd when scanning ATA packet device.
2800
2801  [PW] Added TOSHIBA MK4025GAS to knowndrives table.
2802
2803  [PW] Added a textual interpretation of the status and error registers
2804       in the SMART error log (ATA).  The interpretation is
2805       command-dependent and currently only eight commands are supported
2806       (those which produced errors in the error logs that I happen to
2807       have seen).
2808
2809  [BA] added memory allocation tracking to solaris code.
2810       Fixed solaris signal handling (reset handler to default
2811       after first call to handler) by using sigset. Added
2812       HAVE_SIGSET to configure.in
2813
2814  [CD] solaris port: added SCSI functionality to solaris
2815       stubs.
2816
2817  [BA] smartd: attempt to address bug report about smartd
2818       hanging on USB devices when scanning:
2819       https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107615
2820       Set a timeout of SCSITIMEOUT (nominally 7 seconds) before
2821       giving up.
2822
2823  [EM] smartd: DEVICESCAN will follow links in a devfs filesystem and
2824       make sure the end point is a disc.  Update documentation, added
2825       note about FreeBSD scanning
2826
2827  [BA] smartd: DEVICESCAN also looks for block devices in
2828       /dev.  Updated documentation.  Now scans for up to
2829       20 ATA devices /dev/hda-t rather than previous 12
2830       /dev/hda-l.
2831
2832  [EM] smartd: mirror the FreeBSD DEVICESCAN logic for Linux,
2833       so that smartd now scans only devices found in /dev/. Also,
2834       make utility memory functions take a line number and file so
2835       that we report errors with the correct location.
2836 
2837  [GG] add a note about Debian bug #208964 to WARNINGS.
2838
2839  [BA] smartctl: -T verypermissive option broken.  Use
2840       -T verpermissive until the next release, please.
2841
2842  [BA] Syntax mods so that code also compiles on Solaris using
2843       Sun Workshop compiler.  Need -xmemalign 1i -xCC flags
2844       for cc.
2845
2846smartmontools 5.21
2847
2848  [DK] Changed configure.in so -Wall is only included if gcc
2849       is used (this is a gcc specific flag) and -fsignedchar
2850       is not used at all (this is a gcc specific compiler
2851       flag).
2852
2853  [BA] Modifications so that code now compiles under solaris. Now
2854       all that's needed (:-) is to fill in os_solaris.[hc].  Added
2855       os_generic.[hc] as guide to future ports.  Fixed -D option
2856       of smartd (no file name).  Modified -h opt of smartd/smartctl
2857       to work properly with solaris getopt().
2858
2859  [EM] Update MAN pages with notes that 3ware drives are NOT supported
2860        under FreeBSD. Cleanup FreeBSD warning message handling.
2861
2862  [EM] FreeBSD only: Fix first user found bug....I guess I was making
2863       the wrong assumption on how to convert ATA devnames to
2864       channel/unit numbers.
2865 
2866  [EM] Allow for option --enable-sample to append '.sample' to installed
2867        smartd.conf and rc script files. Also, let rc script shell setting
2868        be determined by configure
2869
2870  [EM] Minor autoconf update to include -lcam for FreeBSD
2871
2872  [EM] Add conditional logic to allow FreeBSD to compile pre-ATAng.
2873        -- note, not tested
2874        Add some documentation to INSTALL for FreeBSD.
2875
2876  [EM] Implement SCSI CAM support for FreeBSD.  NOTE: I am not an expert
2877        in the use of CAM.  It seems to work for me, but I may be doing
2878        something horribly wrong, so please exercise caution.
2879
2880  [EM] Switch over to using 'atexit' rather than 'on_exit' routine. This also
2881        meant we needed to save the exit status elsewhere so our 'Goodbye'
2882        routine could examine it.
2883
2884  [EM] Move the DEVICESCAN code to os specific files. Also moved some of the
2885        smartd Memory functions to utility.c to make available to smartctl.
2886
2887  [EM] Code janitor work on os_freebsd.c.
2888
2889  [EM] Added os_freebsd.[hc] code.  Additional code janitor
2890       work.
2891
2892  [BA] Code janitor working, moving OS dependent code into
2893       os_linux.[hc].
2894
2895  [GG] conditionally compile os_{freebsd,linux}.o depending on
2896       host architecture
2897
2898  [PW] Print estimated completion time for tests
2899
2900  [BA] Added -F samsung2 flag to correct firmware byte swap.
2901       All samsung drives with *-23 firmware revision string.
2902
2903smartmontools 5.20
2904
2905  [GG] Fixed broken Makefile.am (zero length smartd.conf.5
2906       was being created), fix broken uninstall/distcheck targets
2907
2908  [FM] Improved Slackware init script added to /etc/smartd.initd
2909
2910smartmontools 5.19 [NOTE CHANGE OF RELEASE NUMBERING]
2911
2912  [BA] smartctl: added '-T verypermissive' option which is
2913       equivalent to giving '-T permissive' many times.
2914
2915  [BA] Try harder to identify from IDENTIFY DEVICE structure
2916       if SMART supported/enabled.  smartd now does a more
2917       thorough job of trying to assess this before sending
2918       a SMART status command to find out for sure.
2919
2920  [BA] smartctl: it's now possible to override the program's
2921       guess of the device type (ATA or SCSI) with -d option.
2922
2923  [BA] try hard to avoid sending IDENTIFY DEVICE to packet
2924       devices (CDROMS).  They can't do SMART, and this generates
2925       annoying syslog messages. At the same time, identify type
2926       of Packet device.
2927
2928  [BA] smartctl: Can now use permissive option more
2929       than once, to control how far to go before giving up.
2930
2931  [BA] smartd: if user asked to monitor either error or self-test
2932       logs (-l error or -l selftest) WITHOUT monitoring any of the
2933       Attribute values, code will SEGV.  For 5.1-18 and earlier,
2934       a good workaround is to enable Auto offline (-o on).
2935
2936  [BA] smartctl: If enable auto offline command given, update auto
2937       offline status before printing capabilities.
2938
2939  [GG] Make autotools build the default, remove autotools.diff
2940
2941  [GG] Add auto{conf,make} support, not enabled by default.
2942
2943  [BA] Eliminated #include <linux/hdreg.h> from code. This
2944       should simplify porting to solaris, FreeBSD, etc. The
2945       only linux-specific code is now isolated to three routines,
2946       one for SCSI, one for Escalade, one for ATA.
2947
2948smartmontools 5.1-18
2949
2950  [BA] smartd: fixed serious bug - Attributes not monitored unless
2951       user told smartd to ignore at least one of them!
2952
2953smartmontools 5.1-17
2954
2955  [BA] Default runlevels for smartd changed from 3 and 5 to
2956       2, 3, 4, and 5.
2957
2958  [BA] Removed as much dynamic memory allocation as possible from
2959       configuration file parsing. Reloading config file, even in
2960       presence of syntax errors etc. should not cause memory leaks.
2961
2962  [PW] It is no longer permissible for the integer part (if any) of
2963       arguments to --report and --device to be followed by non-digits.
2964       For example, the "foo" in --report=ioctl,2foo was previously
2965       ignored, but now causes an error.
2966
2967  [BA] smartd: added -q/--quit command line option to specify
2968       under what circumstances smartd should exit.  The old
2969       -c/--checkonce option is now obsoleted by this more
2970       general-purpose option.
2971
2972  [BA] smartd now responds to a HUP signal by re-reading its
2973       configuration file /etc/smartd.conf.  If there are
2974       errors in this file, then the configuration file is
2975       ignored and smartd continues to monitor the devices that
2976       it was monitoring prior to receiving the HUP signal.
2977
2978  [BA] Now correctly get SMART status from disks behind 3ware
2979       controllers, thanks to Adam Radford. Need 3w-xxxx driver
2980       version 1.02.00.037 or later. Previously the smartmontools
2981       SMART status always returned "OK" for 3ware controllers.
2982
2983  [BA] Additional work on dynamic memory allocation/deallocation.
2984       This should have no effect on smartctl, but clears that way
2985       for smartd to dynamically add and remove entries.  It should
2986       also now be easier to modify smartd to re-read its config
2987       file on HUP (which is easy) without leaking memory (which is
2988       harder). The philosophy is that memory for data structures in
2989       smartd is now allocated only on demand, the first time it
2990       is needed.
2991
2992  [BA] smartd: finished cleanup.  Now use create/rm functions for
2993       cfgentries and dynamic memory allocation almost everywhere.
2994       Philosophy: aggresively try and provoke SEGV to help find
2995       bad code.
2996
2997  [BA] Added SAMSUNG SV0412H to knowndrives table.
2998
2999  [BA] smartd: if DEVICESCAN used then knowndrives table might not set
3000       the -v attributes correctly -- may have been the same for all
3001       the drives.  Cleaned up some data structures and memory
3002       allocation to try and ensure segvs if such problems are
3003       introduced again.
3004
3005  [BA] Now allow -S on and -o on for the 3ware device type.  For these
3006       commands to be passed through, the stock 3ware 3w-xxxx driver
3007       must be patched (8 lines).  I'll post a patch on the smartmontools
3008       home page after it's been tested by a few other people and 3ware
3009       have had a chance to look it over.
3010
3011smartmontools-5.1-16
3012
3013  [BA] smartd - can now monitor ATA drives behind 3ware controllers.
3014
3015  [BA] smartd - changed some FATAL out of memory error messages from
3016       syslog level LOG_INFO to LOG_CRIT.
3017
3018  [BA] smartctl - added code to look at ATA drives behind 3ware RAID
3019       controllers using the 3w-xxxx driver.  Note that for technical
3020       reasons related to the 3w-xxxx driver, the "Enable Autosave",
3021       "Enable Automatic Offline" commands are not implemented.
3022       I will add this to smartd shortly.
3023
3024  [BA] smartd - modified sleep loop, so that smartd no longer comes
3025       on the run queue every second.  Instead, unless interrupted,
3026       it sleeps until the next polling time, when it wakes up. Now
3027       smartd also tries to wake up at exactly the right
3028       intervals (nominally 30 min) even if the user has been sending
3029       signals to it.
3030
3031  [GG] add Fujitsu MHN2300AT to vendoropts_9_seconds.
3032
3033  [EB] Fujitsu change in knowndrives ... match the whole MPD and
3034       MPE series for vendoropts_9_seconds.
3035
3036  [BA] smartd bug, might cause segv if a device can not be opened. Was
3037       due to missing comma in char* list.  Consequence is that email
3038       failure messages might have had the wrong Subject: heading for
3039       errorcount, FAILEDhealthcheck, FAILEDreadsmartdata, FAILEDreadsmarterrorlog,
3040       FAILEDreadsmartsefltestlog, FAILEDopendevice were all displaced by
3041       one.  And FAILEDopendevice might have caused a segv if -m was being
3042       used as a smartd Directive.
3043
3044smartmontools-5.1-15
3045
3046  [BA] Cleaned up smartmontools.spec so that upgrading, removing
3047       and other such operations correctly preserve running behavior
3048       and booting behavior of smartd.
3049
3050  [BA] Improved formatting of ATA Error Log printout, and added
3051       listing of names of commands that caused the error. Added
3052       obsolete ATA-4 SMART feature commands to table, along with
3053       obsolete SFF-8035i SMART feature command.
3054
3055  [PW] Added atacmdnames.[hc], which turn command register &
3056       feature register pairs into ATA command names.
3057
3058  [BA] Added conveyance self-test.  Some code added for selective
3059       self-tests, but #ifdefed out.
3060
3061  [BA] Modified smartd exit status and log levels.  If smartd is
3062       "cleanly" terminated, for example with SIGTERM, then its
3063       exit messages are now logged at LOG_INFO not LOG_CRIT
3064
3065  [BA] Added Attribute IDs  (Fujitsu) 0xCA - 0xCE.  This is decimal
3066       202-206. Added -v switches for interpretation of Attributes
3067       192, 198 and 201.
3068
3069  [BA] Made smartmontools work with any endian order machine for:
3070       - SMART selftest log
3071       - SMART ATA error log
3072       - SMART Attributes values
3073       - SMART Attributes thesholds
3074       - IDENTIFY DEVICE information
3075       - LOG DIRECTORY
3076       Smartmontools is now free of endian bias and works correctly
3077       on both little- and big-endian hardware.  This has been tested by
3078       three independent PPC users on a variety of ATA and SCSI hardware.
3079
3080  [DG] Check that certain SCSI command responses are well formed. If
3081       IEC mode page response is not well formed exit smartctl. This
3082       is to protect aacraid. smartd should ignore a aacraid device.
3083
3084smartmontools-5.1-14
3085
3086  [BA] smartctl: added column to -A output to show if Attributes are
3087       updated only during off-line testing or also during normal
3088       operation.
3089
3090smartmontools-5.1-13
3091
3092  [BA] smartd: attempt to enable/disable automatic offline testing even
3093       if the disk appears not to support it.  Now the same logic
3094       as smartctl.
3095
3096  [BA] Added definition of Attribute 201, soft read error rate.
3097
3098  [BA] Added IBM/Hitachi IC35L120AVV207-1 (GXP-180) and corresponding
3099       8MB Cache GXP-120 to drive database.
3100
3101  [BA] smartd: if DEVICESCAN Directive used in smartd.conf, and
3102       -I, -R or -r Directives used in conjunction with this, got
3103       segv errors.  Fixed by correcting memory allocation calls.
3104
3105  [BA] smartd: enable automatic offline testing was broken due
3106       to cut-and-paste error that disabled it instead of
3107       enabling it.  Thanks to Maciej W. Rozycki for pointing
3108       out the problem and solution.
3109
3110  [BA] Fixed "spelling" of some Attribute names to replace spaces
3111       in names by underscores. (Fixed field width easier for awk
3112       style parsing.)
3113
3114  [BA,GF] Added mods submitted by [GF] to support Attribute 193 being
3115       load/unload cycles. Add -v 193,loadunload option, useful for
3116       Hitachi drive DK23EA-30, and add this drive to knowndrive.c
3117       Add meaning of attribute 250 : Read error retry rate
3118
3119smartmontools-5.1-12
3120
3121  [BA] Added another entry for Samsung drives to knowndrive table.
3122
3123  [DG] Refine SCSI log sense command to do a double fetch in most cases
3124       (but not for the TapeAlert log page). Fix TapeAlert and Self Test
3125       log page response truncation.
3126
3127  [PW] Added 'removable' argument to -d Directive for smartd.  This indicates
3128       that smartd should continue (rather than exit) if the device does not
3129       appear to be present.
3130
3131  [BA] Modified smartmontools.spec [Man pages location] and
3132       smartd.initd [Extra space kills chkconfig!] for Redhat 6.x
3133       compatibility (thanks to Gerald Schnabel).
3134
3135smartmontools-5.1-11
3136
3137  [EB] Add another Fujitsu disk to knowndrives.c
3138
3139  [GG] match for scsi/ and ide/ in case of devfs to exclude false postives
3140
3141  [BA] If SCSI device listed in /etc/smartd.conf fails to open or do
3142       SMART stuff correctly, or not enough space
3143       to list all SCSI devices, fail with error unless
3144       -DSCSIDEVELOPMENT set during compile-time.
3145
3146  [BA] Added automatic recognition of /dev/i* (example: /dev/ide/...)
3147       as an ATA device.
3148
3149  [DG] Add "Device type: [disk | tape | medium changer | ...] line to
3150       smartctl -i output for SCSI devices.
3151
3152  [PW] Fixed bug in smartd where test email would be sent regularly (for
3153       example, daily if the user had specified -M daily) instead of just
3154       once on startup.
3155
3156  [KM] More TapeAlert work. Added translations for media changer
3157       alerts. TapeAlert support reported according to the log page
3158       presence. ModeSense not attempted for non-ready tapes (all
3159       drives do not support this after all). Get peripheral type from
3160       Inquiry even if drive info is not printed. Add QUIETON()
3161       QUIETOFF() to TapeAlert log check.
3162
3163  [BA] Stupid bug in atacmds.c minor_str[] affected ataVersionInfo().
3164       Two missing commas meant that minor_str[] had two few elements,
3165       leading to output like this:
3166       Device Model:     Maxtor 6Y120L0
3167       Serial Number:    Y40BF74E
3168       Firmware Version: YAR41VW0
3169       Device is:        Not in smartctl database [for details use: -P showall]
3170       ATA Version is:   7
3171       ATA Standard is:  9,minutes
3172                         ^^^^^^^^^
3173       Missing commas inserted.
3174
3175  [BA] Fixed smartd bug.  On device registration, if ATA device did
3176       not support SMART error or self-test logs but user had asked to
3177       monitor them, an attempt would be made to read them anyway,
3178       possibly generating "Drive Seek" errors.  We now check that
3179       the self-test and error logs are supported before trying to
3180       access them the first time.
3181
3182  [GG/BA] Fixed bug where if SMART ATA error log not supported,
3183       command was tried anyway. Changed some error printing to use
3184       print handlers.
3185
3186  [GG] Makefile modifications to ease packaging
3187
3188  [DG] Did work for TapeAlerts (SCSI). Now can detect /dev/nst0 as a
3189       SCSI device. Also open SCSI devices O_NONBLOCK so they don't
3190       hang on open awaiting media. The ATA side should worry about
3191       this also: during a DEVICESCAN a cd/dvd device without media
3192       will hang. Added some TapeAlert code suggested by Kai Makisara.
3193
3194smartmontools-5.1-10
3195
3196  [PW] Extended the -F option/Directive to potentially fix other firmware
3197       bugs in addition to the Samsung byte-order bug.  Long option name is
3198       now --firmwarebug and the option/Directive accepts an argument
3199       indicating the type of firmware bug to fix.
3200
3201  [BA] Fixed a bug that prevented the enable automatic off-line
3202       test feature from enabling.  It also prevented the enable Attribute
3203       autosave from working.  See CVS entry for additional details.
3204
3205  [PW] Modified the -r/--report option (smartctl and smartd) to allow the
3206       user to specify the debug level as a positive integer.
3207
3208  [BA] Added --log directory option to smartctl.  If the disk
3209       supports the general-purpose logging feature set (ATA-6/7)
3210       then this option enables the Log Directory to be printed.
3211       This Log Directory shows which device logs are available, and
3212       their lengths in sectors.
3213
3214  [PW] Added -P/--presets option to smartctl and -P Directive to smartd.
3215
3216  [GG] Introduce different exit codes indicating the type of problem
3217       encountered for smartd.
3218
3219  [DG] Add non-medium error count to '-l error' and extended self test
3220       duration to '-l selftest'. Get scsi IEs and temperature changes
3221       working in smartd. Step over various scsi disk problems rather
3222       than abort smartd startup.
3223
3224  [DG] Support -l error for SCSI disks (and tapes). Output error counter
3225       log pages.
3226
3227  [BA] Added -F/--fixbyteorder option to smartctl.  This allows us to read
3228       SMART data from some disks that have byte-reversed two- and four-
3229       byte quantities in their SMART data structures.
3230
3231  [BA] Fixed serious bug: the -v options in smartd.conf were all put
3232       together and used together, not drive-by-drive.
3233
3234  [PW] Added knowndrives.h and knowndrives.c.  The knowndrives array
3235       supersedes the drivewarnings array.
3236
3237  [GG] add {-p,--pidfile} option to smartd to write a PID file on
3238       startup. Update the manpage accordingly.
3239
3240  [DG] Fix scsi smartd problem detecting SMART support. More cleaning
3241       and fix (and rename) scsiTestUnitReady(). More scsi renaming.
3242
3243  [BA] Fixed smartd so that if a disk that is explictily listed is not
3244       found, then smartd will exit with nonzero status BEFORE forking.
3245       If a disk can't be registered, this will also be detected before
3246       forking, so that init scripts can react correctly.
3247
3248  [BA] Replaced all linux-specific ioctl() calls in atacmds.c with
3249       a generic handler smartcommandhandler().  Now the only routine
3250       that needs to be implemented for a given OS is os_specific_handler().
3251       Also implemented the --report ataioctl. This provides
3252       two levels of reporting.  Using the option once gives a summary
3253       report of device IOCTL transactions.  Using the option twice give
3254       additional info (a printout of ALL device raw 512 byte SMART
3255       data structures).  This is useful for debugging.
3256
3257  [DG] more scsi cleanup. Output scsi device serial number (VPD page
3258       0x80) if available as part of '-i'. Implement '-t offline' as
3259       default self test (only self test older disks support).
3260
3261  [BA] Changed crit to info in loglevel of smartd complaint to syslog
3262       if DEVICESCAN enabled and device not found.
3263
3264  [BA] Added -v 194,10xCelsius option/Directive. Raw Attribute number
3265       194 is ten times the disk temperature in Celsius.
3266
3267  [DG] scsicmds.[hc] + scsiprint.c: clean up indentation, remove tabs.
3268       Introduce new intermediate interface based on "struct scsi_cmnd_io"
3269       to isolate SCSI generic commands + responses from Linux details;
3270       should help port to FreeBSD of SCSI part of smartmontools.
3271       Make SCSI command builders more parametric.
3272
3273smartmontools-5.1-9
3274 
3275  [BA] smartctl: if HDIO_DRIVE_TASK ioctl() is not implemented (no
3276       kernel support, then try to assess drive health by examining
3277       Attribute values/thresholds directly.
3278
3279  [BA] smartd/smartctl: added -v 200,writeerrorcount option/Directive
3280       for Fujitsu disks.
3281
3282  [BA] smartd: Now send email if any of the SMART commands fails,
3283       or if open()ing the device fails.  This is often noted
3284       as a common disk failure mode.
3285
3286  [BA] smartd/smartctl: Added -v N,raw8 -v N,raw16 and -v N,raw48
3287       Directives/Options for printing Raw Attributes in different
3288       Formats.
3289
3290  [BA] smartd: Added -r ID and -R ID for reporting/tracking Raw
3291       values of Attributes.
3292
3293  [BA] smartd/smartctl: Changed printing of spin-up-time attribute
3294       raw value to reflect current/average as per IBM standard.
3295
3296  [BA] smartd/smartctl: Added -v 9,seconds option for disks which
3297       use Attribute 9 for power-on lifetime in seconds.
3298
3299  [BA] smartctl: Added a warning message so that users of some IBM
3300       disks are warned to update their firmware.  Note: we may want
3301       to add a command-line flag to disable the warning messages.
3302       I have done this in a general way, using regexp, so that we
3303       can add warnings about any type of disk that we wish...
3304
3305smartmontools-5.1-7
3306
3307  [BA] smartd: Created a subdirectory examplescripts/ of source
3308       directory that contains executable scripts for the -M exec PATH
3309       Directive of smartd.
3310
3311smartmontools-5.1-5
3312
3313  [BA] smartd: DEVICESCAN in /etc/smartd.conf
3314       can now be followed by all the same Directives as a regular
3315       device name like /dev/hda takes.  This allows one to use
3316       (for example):
3317       DEVICESCAN -m root@example.com
3318       in the /etc/smartd.conf file.
3319
3320  [BA] smartd: Added -c (--checkonce) command-line option. This checks
3321       all devices once, then exits.  The exit status can be
3322       used to learn if devices were detected, and if smartd is
3323       functioning correctly. This is primarily for Distribution
3324       scripters.
3325
3326  [BA] smartd: Implemented -M exec Directive for
3327       smartd.conf.  This makes it possible to run an
3328       arbitrary script or mailing program with the
3329       -m option.
3330
3331  [PW] smartd: Modified -M Directive so that it can be given
3332       multiple times.  Added -M exec Directive.
3333
3334smartmontools-5.1-4
3335
3336  [BA] Fixed bug in smartctl pointed out by Pierre Gentile.
3337       -d scsi didn't work because tryata and tryscsi were
3338       reversed -- now works on /devfs SCSI devices.
3339
3340  [BA] Fixed bug in smartctl pointed out by Gregory Goddard
3341       <ggoddard@ufl.edu>.  Manual says that bit 6 of return
3342       value turned on if errors found in smart error log.  But
3343       this wasn't implemented.
3344
3345smartmontools-5.1-3
3346
3347  [BA] Modified printing format for 9,minutes to read
3348       Xh+Ym not X h + Y m, so that fields are fixed width.
3349
3350  [BA] Added Attribute 240 "head flying hours"
3351
3352smartmontools-5.1.1
3353
3354  [BA] As requested, local time/date now printed by smartctl -i
3355
3356  [PW] Added "help" argument to -v for smartctl
3357
3358  [PW] Added -D, --showdirectives option to smartd
3359
3360  [DG] add '-l selftest' capability for SCSI devices (update smartctl.8)
3361
3362  [BA] smartd,smartctl: added additional Attribute modification option
3363       -v 220,temp and -v 9,temp.
3364
3365  [PW] Renamed smartd option -X to -d
3366
3367START OF SMARTMONTOOLS 5.1 series
3368
3369smartmontools-5.0.50
3370
3371  [PW] Changed smartd.conf Directives -- see man page
3372
3373  [BA/DG] Fixed uncommented comment in smartd.conf
3374
3375  [DG] Correct 'Recommended start stop count' for SCSI devices
3376
3377  [PW] Replaced smartd.conf directive -C with smartd option -i
3378
3379  [PW] Changed options for smartctl -- see man page.
3380
3381  [BA] Use strerror() to generate system call error messages.
3382
3383  [BA] smartd: fflush() all open streams before fork().
3384
3385  [BA] smartctl, smartd simplified internal handling of checksums
3386  for simpler porting and less code.
3387
3388smartmontools-5.0.49
3389
3390  [PW] smartd --debugmode changed to --debug
3391
3392  [BA] smartd/smartctl added attribute 230 Head Amplitude from
3393  IBM DPTA-353750.
3394
3395  [PW] Added list of proposed new options for smartctl to README.
3396
3397  [PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is
3398  defined and uses getopt() otherwise.  This is controlled by CPPFLAGS in
3399  the Makefile.
3400
3401  [BA] smartd: Fixed a couple of error messages done with perror()
3402  to redirect them as needed.
3403
3404smartmontools-5.0.48
3405
3406  [BA] smartctl: The -O option to enable an Immediate off-line test
3407  did not print out the correct time that the test would take to
3408  complete.  This is because the test timer is volatile and not
3409  fixed.  This has been fixed, and the smartctl.8 man page has been
3410  updated to explain how to track the Immediate offline test as it
3411  progresses, and to further emphasize the differences between the
3412  off-line immediate test and the self-tests.
3413
3414  [BA] smartd/smartctl: Added new attribute (200) Multi_Zone_Error_Rate
3415
3416  [BA] smartctl: modified so that arguments could have either a single -
3417  as in -ea or multiple ones as in -e -a.  Improved warning message for
3418  device not opened, and fixed error in redirection of error output of
3419  HD identity command.
3420
3421  [PW] smartd: added support for long options.  All short options are still
3422  supported; see manpage for available long options.
3423
3424  [BA] smartctl.  When raw Attribute value was 2^31 or larger, did
3425  not print correctly.
3426
3427smartmontools-5.0.46
3428
3429  [BA] smartd: added smartd.conf Directives -T and -s.  The -T Directive
3430  enables/disables Automatic Offline Testing.  The -s Directive
3431  enables/disables Attribute Autosave. Documentation and
3432  example configuration file updated to agree.
3433
3434  [BA] smartd: user can make smartd check the disks at any time
3435  (ie, interrupt sleep) by sending signal SIGUSR1 to smartd.  This
3436  can be done for example with:
3437  kill -USR1 <pid>
3438  where <pid> is the process ID number of smartd.
3439
3440  [EB] scsi: don't trust the data we receive from the drive too
3441  much. It very well might have errors (like zero response length).
3442  Seen on Megaraid logical drive, and verified in the driver source.
3443
3444  [BA] smartd: added Directive -m for sending test email and
3445  for modifying email reminder behavior.  Updated manual, and sample
3446  configuration file to illustrate & explain this.
3447
3448  [BA] smartd: increased size of a continued smartd.conf line to
3449  1023 characters.
3450
3451  [BA] Simplified Directive parsers and improved warning/error
3452  messages.
3453
3454smartmontools-5.0.45
3455
3456  [EB] Fixed bug in smartd where testunitready logic inverted
3457  prevented functioning on scsi devices.
3458  The bug in question only affects smartd users with scsi devices.
3459  To see if your version of smartd has the testunitready() bug, do
3460     smartd -V
3461  If the version of the module smartd.c in a line like:
3462     Module: smartd.c      revision: 1.66   date: 2002/11/17
3463  has a revision greater than or equal to 1.30, and less than or equal to
3464  1.64, then your version of the code has this problem.
3465  This problem affected releases starting with RELEASE_5_0_16 up to and
3466  including RELEASE_5_0_43.
3467
3468  [BA] Added testunitnotready to smartctl for symmetry with smartd.
3469
3470  [SB] added Czech descriptions to .spec file
3471  [SB]  corrected comment in smartd.conf example
3472
3473  [BA] Changed way that entries in the ATA error log are printed,
3474  to make it clearer which is the most recent error and
3475  which is the oldest one.
3476
3477  NOTE: All changes made prior to this point were done by Bruce Allen
3478  [BA] although several of them had been suggested by earlier postings
3479  by Stanislav Brabec [SB].
3480
3481smartmontools-5.0.43
3482
3483  Changed Temperature_Centigrade to Temperature_Celsius.
3484  The term "Centigrade" ceased to exist in 1948.  (c.f
3485  http://www.bartleby.com/64/C004/016.html).
3486
3487smartmontools-5.0.42
3488
3489  Modified SCSI device check to also send warning emails if
3490  requested in directives file.
3491
3492  Added a new smartd configuration file Directive: -M ADDRESS.
3493  This sends a single warning email to ADDRESS for failures or
3494  errors detected with the -c, -L, -l, or -f Directives.
3495
3496smartmontools-5.0.38
3497
3498  Modified perror() statements in atacmds.c so that printout for SMART
3499  commands errors is properly suppressed or queued depending upon users
3500  choices for error reporting modes.
3501
3502  Added Italian descriptions to smartmontools.spec file.
3503
3504  Started impementing send-mail-on-error for smartd; not yet enabled.
3505
3506  Added -P (Permissive) Directive to smartd.conf file to allow SMART
3507  monitoring of pre-ATA-3 Rev 4 disks that have SMART but do not have
3508  a SMART capability bit.
3509 
3510  Removed charset encodings from smartmontools.spec file for non-English
3511  fields.
3512
3513smartmontools-5.0.32
3514
3515  Added manual page smartd.conf.5 for configuration file.
3516
3517  smartctl: Missing ANSI prototype in failuretest(); fixed.
3518
3519  smartctl: Checksum warnings now printed on stdout, or are silent,
3520  depending upon -q and -Q settings.
3521
3522smartmontools-5.0.31
3523
3524  Changed Makefile so that the -V option does not reflect file state
3525  before commit!
3526
3527  smartctl: added new options -W, -U, and -P to control if and how the
3528  smartctl exits if an error is detected in either a SMART data
3529  structure checksum, or a SMART command returns an error.
3530
3531  modified manual page to break options into slightly more logical
3532  categories.
3533
3534  reformatted 'usage' message order to agree with man page ordering
3535
3536  modified .spec file so that locale information now contains
3537  character set definition.   Changed pt_BR to pt since we do not use any
3538  aspect other than language.  See man setlocale.
3539
3540smartmontools-5.0.30
3541  smartctl: added new options -n and -N to force device to be ATA or SCSI
3542  smartctl: no longer dies silently if device path does not start/dev/X
3543  smartctl: now handles arbitrary device paths
3544
3545smartmontools-5.0.29
3546  Modified .spec file and Makefile to make them more compliant with
3547  the "right" way of doing things.
3548
3549smartmontools-5.0.26
3550  Fixed typesetting error in man page smartd.8
3551
3552  Removed redundant variable (harmless) from smartd.c
3553
3554smartmontools-5.0.25
3555
3556  Added a new directive for the configuration file.  If the word
3557  DEVICESCAN appears before any non-commented material in the
3558  configuration file, then the confi file will be ignored and the
3559  devices wil be scanned.
3560
3561smartmontools-5.0.24
3562
3563    Note: it has now been confirmed that the code modifications between
3564    5.0.23 and 5.0.24 have eliminated the GCC 3.2 problems.  Note that
3565    there is a GCC bug howerver, see #8404 at
3566    http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&cmd=query
3567    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8404
3568
3569      Added new Directive for Configuration file:
3570      -C <N> This sets the time in between disk checks to be <N>
3571      seconds apart.  Note that  although  you  can  give
3572       this Directive multiple times on different lines of
3573       the configuration file, only the final  value  that
3574       is  given  has  an  effect,  and applies to all the
3575       disks.  The default value of <N> is 1800  sec,  and
3576       the minimum allowed value is ten seconds.
3577
3578    Problem wasn't the print format. F.L.W. Meunier <0@pervalidus.net>
3579    sent me a gcc 3.2 build and I ran it under a debugger.  The
3580    problem seems to be with passing the very large (2x512+4) byte
3581    data structures as arguments.  I never liked this anyway; it was
3582    inherited from smartsuite.  So I've changed all the heavyweight
3583    functions (ATA ones, anyone) to just passing pointers, not hideous
3584    kB size structures on the stack.  Hopefully this will now build OK
3585    under gcc 3.2 with any sensible compilation options.
3586
3587smartmontools-5.0.23
3588
3589    Because of reported problems with GCC 3.2 compile, I have gone
3590    thorough the code and explicitly changed all print format
3591    parameters to correspond EXACTLY to int unless they have to be
3592    promoted to long longs.  To quote from the glibc bible: [From
3593    GLIBC Manual: Since the prototype doesn't specify types for
3594    optional arguments, in a call to a variadic function the default
3595    argument promotions are performed on the optional argument
3596    values. This means the objects of type char or short int (whether
3597    signed or not) are promoted to either int or unsigned int, as
3598    appropriate.]
3599
3600smartmontools-5.0.22
3601
3602    smartd, smartctl now warn if they find an attribute whose ID
3603    number does not match between Data and Threshold structures.
3604
3605    Fixed nasty bug which led to wrong number of arguments for a
3606    varargs statement, with attendent stack corruption.  Sheesh!
3607    Have added script to CVS attic to help find such nasties in the
3608    future.
3609
3610smartmontools-5.0.21
3611
3612    Eliminated some global variables out of header files and other
3613    minor cleanup of smartd.
3614
3615smartmontools-5.0.20
3616
3617    Did some revision of the man page for smartd and made the usage
3618    messages for Directives 100% consistent.
3619
3620smartmontools-5.0-19
3621
3622    smartd: prints warning message when it gets SIGHUP, saying that it
3623    is NOT re-reading the config file.
3624
3625    smartctl: updated man page to say self-test commands -O,x,X,s,S,A
3626    appear to be supported in the code.  [I can't test these,  can anyone
3627    report?]
3628
3629smartmontools-5.0-18
3630
3631    smartctl: smartctl would previously print the LBA of a self-test
3632    if it completed, and the LBA was not 0 or 0xff...f However
3633    according to the specs this is not correct.  According to the
3634    specs, if the self-test completed without error then LBA is
3635    undefined.  This version fixes that.  LBA value only printed if
3636    self-test encountered an error.
3637
3638smartmontools-5.0-17
3639
3640    smartd has changed significantly. This is the first CVS checkin of
3641    code that extends the options available for smartd.  The following
3642    options can be placed into the /etc/smartd.conf file, and control the
3643    behavior of smartd.
3644    Configuration file Directives (following device name):
3645    -A     Device is an ATA device
3646    -S     Device is a SCSI device
3647    -c     Monitor SMART Health Status
3648    -l     Monitor SMART Error Log for changes
3649    -L     Monitor SMART Self-Test Log for new errors
3650    -f     Monitor for failure of any 'Usage' Attributes
3651    -p     Report changes in 'Prefailure' Attributes
3652    -u     Report changes in 'Usage' Attributes
3653    -t     Equivalent to -p and -u Directives
3654    -a     Equivalent to -c -l -L -f -t Directives
3655    -i ID  Ignore Attribute ID for -f Directive
3656    -I ID  Ignore Attribute ID for -p, -u or -t Directive
3657    #      Comment: text after a hash sign is ignored
3658    \      Line continuation character
3659
3660    cleaned up functions used for printing CVS IDs.  Now use string
3661    library, as it should be.
3662
3663    modified length of device name string in smartd internal structure
3664    to accomodate max length device name strings
3665
3666    removed un-implemented (-e = Email notification) option from
3667    command line arg list.  We'll put it back on when implemeneted.
3668
3669    smartd now logs serious (fatal) conditions in its operation at
3670    loglevel LOG_CRIT rather than LOG_INFO before exiting with error.
3671
3672    smartd used to open a file descriptor for each SMART enabled
3673    device, and then keep it open the entire time smartd was running.
3674    This meant that some commands, like IOREADBLKPART did not work,
3675    since the fd to the device was open.  smartd now opens the device
3676    when it needs to read values, then closes it.  Also, if one time
3677    around it can't open the device, it simply prints a warning
3678    message but does not give up.  Have eliminated the .fd field from
3679    data structures -- no longer gets used.
3680
3681    smartd now opens SCSI devices as well using O_RDONLY rather than
3682    O_RDWR.  If someone can no longer monitor a SCSI device that used
3683    to be readable, this may well be the reason why.
3684
3685    smartd never checked if the number of ata or scsi devices detected
3686    was greater than the max number it could monitor.  Now it does.
3687
3688smartmontools-5.0-16
3689
3690    smartd on startup now looks in the configuration file /etc/smartd.conf for
3691    a list of devices which to include in its monitoring list.  See man page
3692    (man smartd) for syntax.
3693
3694    smartd: close file descriptors of SCSI device if not SMART capable
3695    Closes ALL file descriptors after forking to daemon.
3696
3697    added new temperature attribute (231, temperature)
3698
3699    smartd: now open ATA disks using O_RDONLY
3700
3701smartmontools-5.0-11
3702
3703    smartd now prints the name of a failed or changed attribute
3704    into logfile, not just ID number
3705
3706    Changed name of -p (print version) option to -V
3707
3708    Minor change in philosophy: if a SMART command fails or the device
3709    appears incapable of a SMART command that the user has asked for,
3710    complain by printing an error message, but go ahead and try
3711    anyway.  Since unimplemented SMART commands should just return an
3712    error but not cause disk problems, this should't cause any
3713    difficulty.
3714
3715    Added two new flags: q and Q.  q is quiet mode - only print: For
3716    the -l option, errors recorded in the SMART error log; For the -L
3717    option, errors recorded in the device self-test log; For the -c
3718    SMART "disk failing" status or device attributes (pre-failure or
3719    usage) which failed either now or in the past; For the -v option
3720    device attributes (pre-failure or usage) which failed either now
3721    or in the past.  Q is Very Quiet mode: Print no ouput.  The only
3722    way to learn about what was found is to use the exit status of
3723    smartctl.
3724
3725    smartctl now returns sensible values (bitmask).  See smartctl.h
3726    for the values, and the man page for documentation.
3727
3728    The SMART status check now uses the correct ATA call.  If failure
3729    is detected we search through attributes to list the failed ones.
3730    If the SMART status check shows GOOD, we then look to see if their
3731    are any usage attributes or prefail attributes have failed at any
3732    time.  If so we print them.
3733
3734    Modified function that prints vendor attributes to say if the
3735    attribute has currently failed or has ever failed.
3736
3737    -p option now prints out license info and CVS strings for all
3738    modules in the code, nicely formatted.
3739
3740    Previous versions of this code (and Smartsuite) only generate
3741    SMART failure errors if the value of an attribute is below the
3742    threshold and the prefailure bit is set.  However the ATA Spec
3743    (ATA4 <=Rev 4) says that it is a SMART failure if the value of an
3744    attribute is LESS THAN OR EQUAL to the threshold and the
3745    prefailure bit is set.  This is now fixed in both smartctl and
3746    smartd.  Note that this is a troubled subject -- the original
3747    SFF 8035i specification defining SMART was inconsistent about
3748    this.  One section says that Attribute==Threshold is pass,
3749    and another section says it is fail.  However the ATA specs are
3750    consistent and say Attribute==Threshold is a fail.
3751
3752    smartd did not print the correct value of any failing SMART attribute.  It
3753    printed the index in the attribute table, not the attribute
3754    ID. This is fixed.
3755
3756    when starting self-tests in captive mode ioctl returns EIO because
3757    the drive has been busied out.  Detect this and don't return an eror
3758    in this case.  Check this this is correct (or how to fix it?)
3759 
3760    fixed possible error in how to determine ATA standard support
3761    for devices with no ATA minor revision number.
3762
3763    device opened only in read-only not read-write mode.  Don't need R/W
3764    access to get smart data. Check this with Andre.
3765
3766    smartctl now handles all possible choices of "multiple options"
3767    gracefully.  It goes through the following phases of operation,
3768    in order: INFORMATION, ENABLE/DISABLE, DISPLAY DATA, RUN/ABORT TESTS.
3769    Documentation has bee updated to explain the different phases of
3770    operation.  Control flow through ataPrintMain()
3771    simplified.
3772
3773    If reading device identity information fails, try seeing if the info
3774    can be accessed using a "DEVICE PACKET" command.  This way we can
3775    at least get device info.
3776
3777    Modified Makefile to automatically tag CVS archive on issuance of
3778    a release
3779
3780    Modified drive detection so minor device ID code showing ATA-3 rev
3781    0 (no SMART) is known to not be SMART capable.
3782
3783    Now verify the checksum of the device ID data structure, and of the
3784    attributes threshold structure.  Before neither of these
3785    structures had their checksums verified.
3786
3787    New behavior vis-a-vis checksums.  If they are wrong, we log
3788    warning messages to stdout, stderr, and syslog, but carry on
3789    anyway.  All functions now call a checksumwarning routine if the
3790    checksum doesn't vanish as it should.
3791
3792    Changed Read Hard Disk Identity function to get fresh info from
3793    the disk on each call rather than to use the values that were read
3794    upon boot-up into the BIOS.  This is the biggest change in this
3795    release.  The ioctl(device, HDIO_GET_IDENTITY, buf ) call should
3796    be avoided in such code.  Note that if people get garbled strings
3797    for the model, serial no and firmware versions of their drives,
3798    then blame goes here (the BIOS does the byte swapping for you,
3799    apparently!)
3800   
3801    Function ataSmartSupport now looks at correct bits in drive
3802    identity structure to verify first that these bits are valid,
3803    before using them.
3804   
3805    Function ataIsSmartEnabled() written which uses the Drive ID state
3806    information to tell if SMART is enabled or not.  We'll carry this
3807    along for the moment without using it.
3808
3809    Function ataDoesSmartWork() guaranteed to work if the device
3810    supports SMART.
3811
3812    Replace some numbers by #define MACROS
3813
3814    Wrote Function TestTime to return test time associated with each
3815    different type of test.
3816
3817    Thinking of the future, have added a new function called
3818    ataSmartStatus2().  Eventually when I understand how to use the
3819    TASKFILE API and am sure that this works correctly, it will
3820    replace ataSmartStatus().  This queries the drive directly to
3821    see if the SMART status is OK, rather than comparing thresholds to
3822    attribute values ourselves. But I need to get some drives that fail
3823    their SMART status to check it.
3824
3825
3826smartmontools-5.0-10
3827    Removed extraneous space before printing in some error messages
3828    Fixed additional typos in documentation
3829    Fixed some character buffers that were too short for their contents.
3830
3831smartmontools-5.0-9
3832
3833    Put project home path into all source files near the top
3834    Corrected typos in the documentation
3835    Modified Makefile so that Mandrake Cooker won't increment version number
3836    (unless they happen to be working on my machine, which I doubt!)
3837
3838smartmontools-5.0-8:
3839
3840    For IBM disks whose raw temp data includes three temps. print all
3841    three
3842
3843    print timestamps for error log to msec precision
3844
3845    added -m option for Hitachi disks that store power on life in
3846    minutes
3847
3848    added -L option for printing self-test error logs
3849
3850    in -l option, now print power on lifetime, so that one can see
3851    when the error took place
3852
3853    updated SMART structure definitions to ATA-5 spec
3854
3855    added -p option
3856
3857    added -f and -F options to enable/disable autosave threshold
3858    parameters
3859
3860    changed argv parsing to use getops -- elminate buffer overflow
3861    vulnerability
3862
3863    expanded and corrected documentation
3864
3865    fixed problem with smartd.  It did not actually call
3866    ataSmartEnable()!  Since the argument was left out, the test
3867    always suceeded because it evaluated to a pointer to the function.
3868
3869    smartd: closed open file descriptors if device does not support
3870    smart. Note: this still needs to be fixed for SCSI devices
3871
3872
3873smartmontools-5.0-0  STARTED with smartsuite-2.1-2
Note: See TracBrowser for help on using the browser.