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

root/trunk/sm5/CHANGELOG @ 2833

Revision 2833, 125.4 KB (checked in by chrfranke, 4 years ago)

Makefile.am: Modify generation of cvsversion.h for SVN.

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