1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/trunk/smartmontools/CHANGELOG @ 3109

Revision 3109, 145.5 KB (checked in by chrfranke, 3 years ago)

Use getopt_long() from getopt/getopt* if necessary.
Add missing cast to os_qnxnto.cpp.
This fixes build on QNX (ticket #1).

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