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