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