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