1 CHANGELOG for smartmontools 5.0 to 6.0
3 $Id: ChangeLog-5.0-6.0 3645 2012-10-10 16:15:26Z chrfranke $
5 Maintainers / Developers Key (alphabetic order):
19 [JPH] Jordan Powell Hargrave
25 [EM] Eduard Martinescu
26 [FM] Frédéric L. W. Meunier
39 <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
41 smartmontools 6.0 2012-10-10
43 [CF] do_release: Fix for minor rev number 0.
45 [CF] drivedb.h updates:
46 - SandForce Driven SSDs: Corsair Force 115GB
47 - Hitachi Ultrastar 7K4000
48 - Seagate Barracuda 7200.7 and 7200.7 Plus: IBM OEM variants
49 - Western Digital Caviar Black (AF)
51 [CF] man pages: Update introduction. Update ATA standards.
52 Remove some outdated info.
54 [CF] man pages: Unify license headers.
56 [CF] smartctl: Do not abort SCT status output on unknown temperature
57 history format version.
59 [CF] smartctl: Remove duplicate note about selective self-test log
62 [CF] smartctl: Add '-l devstat' to '-x, --xall' output.
64 [CF] smartctl: Rework ATA error messages and 'not supported' messages.
65 Avoid misleading warnings on unsupported features (ticket #182).
66 Avoid duplicate error messages.
68 [CF] atacmds.h: Remove nonexistent functions.
70 [CF] Windows installer: Add support for /S(ilent) install/uninstall.
72 [CF] Windows installer: Update examples. Remove some doc shortcuts.
74 [CF] Prepare release 6.0. Change Copyright output line.
75 Change AUTHORS sections on man pages.
77 [CF] smartctl: Rework "ATA Version" output. Print major and minor
78 revision in one output line. Remove "ATA Standard" line.
80 [CF] drivedb.h updates:
81 - Add firmware warnings for various Seagate series (ticket #239):
82 DiamondMax 23, Barracuda 7200.12, 7200.14 (AF), LP, Green (AF)
83 - Seagate Barracuda 7200.14 (AF): 2.5TB
85 [CF] drivedb.h updates:
86 - SandForce Driven SSDs: SanDisk Extreme
87 - Indilinx Everest/Martini based SSDs: OCZ-VERTEX4,
89 - STEC Mach2 CompactFlash Cards
90 - Toshiba 2.5" HDD MK..55GSX: *55GSXF variants
91 - Western Digital VelociRaptor (AF)
93 [CF] Windows: Remove EXPERIMENTAL notes for 64-bit version.
95 [CF] autogen.sh: automake 1.11.6 and 1.12.3 are OK.
97 [CF] smartctl: Fix '--identify' for big-endian CPUs.
99 [CF] ataidentify.cpp: Document some older (now obsolete) features.
101 [CF] ataidentify.cpp: Add some recent ACS-3 features.
103 [CF] smartctl: Support '-l sataphy' also for Packet interface devices.
105 [CF] atacmds.cpp: Add new ATA ACS-3 minor revision.
107 [CF] smartctl: Print SATA version and speed in '-i' output.
109 [CF] drivedb.h: Minor reordering of Seagate entries.
111 [CF] drivedb.h: Use "AF" for Advanced Format (4KiB LPS).
113 [CF] drivedb.h updates:
114 - Seagate Barracuda SpinPoint F3
115 - SAMSUNG SpinPoint F3 RE
116 - Seagate Barracuda 7200.12: ST3750525AS
117 - Seagate Barracuda 7200.14 (AF): change name, add -v options
118 - Western Digital Red (AF)
119 - USB: Seagate Backup Plus USB 3.0 (0x0bc2:0xa013) (ticket #235)
120 - USB: Seagate Backup Plus Desktop USB 3.0 (0x0bc2:0xa0a4)
122 [CF] os_win32.cpp: Add support for SAS disks behind Areca SAS
123 controllers. This includes SAS/SATA autodetection.
125 Patch was provided by Hank Wu from Areca.
127 [CF] ataidentify.cpp: Add some recent SATA features.
129 [CF] smartctl: Add '--identify[=wnvb]' option.
130 Add new source files ataidentify.h/cpp.
132 [CF] Makefile.am: Reformat lists of sources.
134 [CF] Do not print HDD/SSD specific default attribute names if identify
135 data reports SSD/HDD device.
137 [CF] drivedb.h updates:
138 - Intel 320 and 710 Series SSDs: Set '-F nologdir'
139 - Seagate Barracuda ES.2: Set '-F xerrorlba'
141 [CF] Create branches RELEASE_5_4[0-3]_DRIVEDB with last drivedb.h file
142 compatible with smartmontools 5.4[0-3].
144 [CF] drivedb.h updates:
145 - SAMSUNG SpinPoint M40/60/80: HM120IC
146 - USB: Oxford (0x0928:0x0010)
147 - USB: Seagate External Drive/Cypress (0x0bc2:0x0503)
148 - USB: 0x1f75:0x0888 is Innostor IS888
150 [CF] smartctl: Print nominal media rotation rate in '-i' output (ATA).
152 [CF] knowndrives.cpp: Fix missing '-F xerrorlba' in '-P show' output.
154 [CF] os_win32.cpp: Use WMI to get serial number if
155 IOCTL_STORAGE_QUERY_PROPERTY is used.
157 [CF] os_win32.cpp: Remove more Win9x/ME/NT4 specific code: ATA drive
158 number, GetDevicePowerState() handling.
160 [CF] Add '-F xerrorlba' option/directive.
162 [CF] Rework '-F' option handling. Add support for multiple '-F' options
165 [CF] Makefile.am: Fix typo in ACLOCAL_AMFLAGS.
167 [CF] smartd.cpp: MailWarning(): Move variable declarations, use sizeof()
170 [CF] smartd.cpp: Rework dnsname(). Print "[None]" instead of "[Unknown]"
171 if domain is not set. Print NIS domain only if supported.
173 [CF] Windows smartd: Use gethostname/gethostbyname() from winsock.
174 Remove os_win32/hostname_win32.*.
176 [CF] smartd: Include device identify info in warning emails (ticket #185).
177 Add SMARTD_DEVICEINFO environment variable.
179 [CF] Add '-F nologdir' option/directive.
180 Prevents freeze of some Intel SSDs (ticket #214).
182 [CF] smartd: Don't log ignored -W directive as critical.
184 [CF] drivedb.h updates:
185 - Smart Storage Systems Xcel-10 SSDs: Move entry, change name
186 - Samsung: Remove very old and already commented out entries
187 - Seagate Momentus XT (Adv. Format)
188 - WD My Passport: 3 -> 2 entries, add 2TB
189 - USB: Imation (0x0718:0x1000) (ticket #231)
190 - USB: Initio (0x13fd:0x1040): unsupported
191 - USB: ASMedia USB 3.0 (0x174c:0x55aa): unsupported -> -d sat
192 - USB: PQI H560 (0x3538:0x0902) (ticket #232)
194 [CF] smartctl: Override SMART disabled state with '-T permissive'.
196 [CF] os_win32/daemon_win32.cpp: Drop remaining WinNT4 compatibility.
198 [CF] Windows smartd: Add smartd.conf directives '-m console',
199 '-m active', '-m connected'. Send warning messages via
200 WTSSendMessage(). Remove use of MessageBox() which does no
201 longer work for services since Vista/2008.
203 [CF] Fix 'smartctl -P show'. Regression from r3249.
205 [CF] smartd.cpp: Fix setting of temporary environment in MailWarning().
206 Stack space was passed to putenv() but variable was not unset
207 before return. Very old bug introduced 2003 in r1114.
209 [CF] smartd.cpp: Add fflush() to support redirection of debug output
212 [CF] os_generic.cpp: Add missing int64.h (Debian bug 619208)
213 This obsoletes Debian patch fix-generic.diff.
215 [CF] cciss.cpp: Fix build on GNU/kFreeBSD (Debian bug 676142).
216 This obsoletes Debian kfreebsd.patch.
218 [CF] Windows: Drop backward compatibility with WinNT4.
220 [CF] Windows: Drop backward compatibility with Win9x/ME.
222 smartmontools 5.43 2012-06-30
224 [CF] drivedb.h USB updates:
225 - Toshiba Canvio Basics (0x0480:0xa006)
226 - A-DATA DashDrive (0x125f:0xa94a)
228 [CF] drivedb.h: Hitachi Travelstar 7K500: *A362/3 variants
230 [CF] Windows: Add Windows Server 2012 to get_os_version_str().
232 [CF] drivedb.h updates:
233 - Sandforce Driven SSDs: OWC Mercury Electra 3/6G SSD
234 - Seagate Momentus SpinPoint M8
235 - Hitachi Deskstar 5K4000
236 - Toshiba 2.5" HDD MK..61GSYN
237 - Seagate Barracuda (SATA 3Gb/s, 4K Sectors): 1TB, *DM003-* variant
239 [CF] smartctl.8.in: Note performance impact of self-tests.
241 [CF] os_win32.cpp: Add support for older Areca drivers which used a
242 different target id. Patch was provided by Hank Wu from Areca.
244 [CF] smartctl.8.in: Add info about HP Smart Array controllers.
245 Original patch was provided by Don Brace from HP.
247 [CF] os_freebsd.cpp: add SAT autodetection to '-d cciss,N' device type
249 Add missing freebsd_areca_device::m_encnum (regression from r3542).
250 Patch was provided by Don Brace from HP.
252 [CF] os_linux.cpp: add SAT autodetection to '-d cciss,N' device type
255 [CF] Makefile.am: FIXHTML modified for newer man2html versions.
257 [CF] autogen.sh: automake 1.11.5 is OK.
259 [CF] man pages: Minor updates and syntax fixes.
261 [CF] smartd.service.in: Add ExecReload and StandardOutput.
262 Make EnvironmentFile optional (ticket #194).
264 [CF] drivedb.h USB updates:
265 - HP Desktop HD BD07 (0x03f0:0xbd07)
266 - Iomega Prestige Desktop USB 3.0 (0x059b:0x0070)
267 - Prolific PL2507 (0x067b:0x2507): unsupported -> -d usbjmicron,0
268 - WD My Passport USB 3.0 (0x1058:0x0748)
269 - WD My Book Essential USB 3.0 (0x1058:0x1140)
270 - Sharkoon SATA QuickDeck Pro (0x1f75:0x0888): unsupported
271 - Hitachi Touro Desk (0x4971:0x1015)
273 [CF] Move function str_starts_with() to utility.h.
275 [CF] smartctl.8.in, smartd.conf.5.in: Note required Areca SAS firmware version.
277 [CF] INSTALL, smartctl.8.in: Announce OS X SAT SMART Driver (ticket #25).
279 [CF] Add smart_device::is_syscall_unsup().
281 [CF] os_win32.cpp: Avoid ENOTSUP which is not provided by some versions
284 [DG] os_linux.cpp: Fix scsi pass-through SG_INFO_CHECK mask logic
287 [CF] drivedb.h updates:
288 - Sandforce Driven SSDs: OCZ-NOCTI
289 - Intel 330 Series SSDs (ticket #227)
291 [CF] smartctl.8.in, smartd.conf.5.in: Document '-d areca N[/E]' support
294 [CF] os_win32.cpp: Add help text and error messages for '-d areca,N[/E]'.
296 [CF] os_win32.cpp win_areca_device: Disable full 48-bit ATA support.
297 Add missing set_err() calls. Remove unused function and parameter.
299 [CF] os_win32.cpp: Add support for SATA disks behind Areca SATA and SAS
300 controllers. Requires '-d areca,N[/E]' as type and '[/dev/]arcmsrX'
303 Patch was provided by Hank Wu from Areca.
305 [CF] Windows installer: Make name of checksum file 32-/64-bit specific.
307 [CF] Windows installer: Add support for combined 32-/64-bit installer.
309 [CF] Windows installer: Drop support for UBCD4Win.
311 [AS] os_freebsd.cpp: sync Areca code with linux version by adding optional
314 [CF] smartctl.8.in, smartd.conf.5.in: Add brief doc for '-d areca N/E'.
316 [CF] os_linux.cpp: Add optional enclosure number to '-d areca' option.
317 This adds support for SATA disks behind Areca SAS controllers.
319 Patch was provided by Hank Wu from Areca.
321 [CF] smartctl: Add log addresses and statistics value from ACS-3 revision 2.
323 [CF] drivedb.h updates:
324 - Crucial/Micron RealSSD C300/C400/m4: m4 512GB
325 - Indilinx Everest/Martini based SSDs: OCZ-PETROL
326 - SAMSUNG SpinPoint F4 EG (AFT): Fix link
327 - Seagate Momentus 4200.2: ST960812A
328 - Seagate Momentus 5400.2: ST960821A (from 4200.2)
329 - Seagate Barracuda 7200.12: ST3500413AS
330 - Western Digital RE3 Serial ATA: WD7502ABYS
331 - Western Digital AV-GP: WD....AV[CD]S, split entry
332 - Western Digital AV-GP (Adv. Format): WD10EU[CR]X
334 [CF] autogen.sh: Set svn:eol-style=LF to be compatible with Cygwin bash.
336 [CF] autogen.sh: automake 1.11.3 is OK.
338 [CF] drivedb.h updates:
339 - Sandforce Driven SSDs: Smart Storage Systems XceedSTOR,
341 - Smart Storage Systems XceedSecure2 SSDs
342 - Smart Storage Systems XceedUltraX/Adtron A25FBX SSDs
343 - Smart Storage Systems Adtron A25FB 2xN SSDs
344 - Smart Storage Systems Adtron A25FB 3xN SSDs
345 Original patch was provided by Rusty Carruth
347 [CF] drivedb.h updates:
348 - Remove outdated IBM links
349 - Update all links to Seagate Knowledge Base
350 - Hitachi Deskstar 7K1000.D
352 [CF] drivedb.h USB update:
353 - Seagate Expansion External (0x0bc2:0x3332) (ticket #223)
355 [CF] drivedb.h USB updates:
356 - Samsung Story Station (0x04e8:0x5f05)
357 - Toshiba STOR.E (0x0930:0x0b1b)
359 [CF] smartctl: Add options '-f hex' and '-f hex,[id|val]' to print
360 attribute IDs and/or values as hex.
362 [CF] smartd.8.in: Fix signal name (Debian bug 661801).
364 [CF] Add 'raw56', 'hex56', 'raw24(raw8)' attribute print formats.
365 Change default for Power_On_Hours to 'raw24(raw8)'.
366 This provides more reasonable output for SandForce based devices
367 missing in drivedb.h.
369 [CF] configure.in, Makefile.am: Support new SVN 1.7 working copy format.
371 [CF] drivedb.h update:
372 - Intel 520 Series SSDs: Add units to attributes 241, 242, 249.
374 [AS] drivedb.h: fixed identifier for Seagate SV35 series.
376 [CF] Print command duration in ATA debug output.
377 Add smart_interface::get_timer_usec().
379 [CF] drivedb.h updates:
380 - SandForce Driven SSDs: G.SKILL Phoenix Pro
381 - Intel 520 Series SSDs
382 - SAMSUNG SpinPoint F4 EG: Update firmware download link
384 [CF] drivedb.h updates:
385 - Add comment with default settings.
386 - Samsung based SSDs: Fix attribute 240
388 [CF] Windows: Add Win8 to get_os_version_str().
390 [CF] Windows: Remove MSVC specific pragma, disable warning in project file.
392 [CF] Add '-d sat,auto[,N]' option for controller independent SAT detection.
394 [CF] dev_interface.h: Replace this_is_ata/scsi(*) by hide_ata/scsi(bool).
396 [CF] smartctl: Allow '-d test' in conjunction with other '-d TYPE' options.
398 [AS] FreeBSD: sync init script with one from ports repository.
400 [CF] drivedb.h updates:
401 - SandForce Driven SSDs: ADATA S510
402 - JMicron based SSDs: Toshiba THNSNC128GMLJ
403 - Samsung based SSDs: 830 Series
404 - Hitachi Deskstar E7K1000
405 - Hitachi Ultrastar A7K1000: Fix name, allow trailing characters
406 - Hitachi Ultrastar A7K2000: Remove duplicate entry
407 - Toshiba 2.5" HDD MK..55GSX
408 - Western Digital AV-GP: WD..EURS variants
410 [CF] drivedb.h USB updates:
411 - Buffalo MiniStation HD-PCTU2 (0x0411:0x01d9) (ticket #211)
412 - Philips SDE3273VC/97 (0x0471:0x2021) (ticket #212)
413 - Samsung M2 Portable 3.0 (0x04e8:0x60c5)
414 - Iomega GDHDU2 (0x059b:0x0475)
415 - LaCie minimus USB 3.0 (0x059f:0x104a)
416 - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a5)
417 - Maxtor BlackArmor Portable (0x0d49:0x7550)
418 - WD My Passport Essential SE USB 3.0 (0x1058:0x0742)
419 - Initio (0x13fd:0x1e40)
420 - Verbatim External Hard Drive 2TB (0x18a5:0x022a)
421 - Hitachi Touro Desk (0x4971:0x1011)
423 [CF] smartd: Add smartd.conf directive '-e' to set ATA settings on
424 startup: aam, apm, lookahead, security-freeze, standby, wcache.
426 [CF] drivedb.h updates:
427 - SandForce Driven SSDs: Corsair Force GT
428 - Indilinx Barefoot based SSDs: Corsair Nova
429 - SAMSUNG SpinPoint M8
432 [CF] smartctl: Change short option for '--set' from '-e' to '-s'.
433 Keep backward compatibility with short option for '--smart'.
435 [CF] smartctl: Print description of APM level.
437 [CF] smartctl: Add option '-e standby,[N|off|now]' to set standby timer
440 [CF] smartctl: Add options '-g security' and '-e security-freeze' to
441 get/freeze ATA security settings.
443 [CF] smartctl: Add options '-g/e lookahead' and '-g/e wcache' to get/set
444 read look-ahead and write cache feature.
446 [CF] smartctl: Add options '-g aam' and '-e aam,[N|off]' to get/set
447 ATA Automatic Acoustic Management feature. Add '-g all'.
449 [CF] os_win32.cpp: Prevent warnings from gcc option -Wformat-security.
451 [CF] smartctl: Add options '-g, --get apm' and '-e, --set apm,[N|off]'
452 to get/set ATA Advanced Power Management feature.
453 Original patch was provided by Marcus Sorensen.
455 [AS] os_freebsd.cpp - do not skip ATA devices from cam list. Starting from
456 FreeBSD 9.0 such devices are exported ONLY as camdev`s, so DEVICESCAN
457 was broken. Its possible to get duplicates now on some old systems.
459 [CF] drivedb.h updates:
460 - SandForce Driven SSDs: Add OCZ Solid 3, OCZ Deneva 2 C/R
461 - Seagate Momentus 5400.7
463 [CF] Happy New Year! Update copyright year in version info.
465 [CF] drivedb.h updates:
466 - SandForce Driven SSDs: Add Patriot Pyro
467 - Intel 320 Series SSDs: Fix 40GB
468 - Seagate Barracuda XT: Add 4TB
470 [CF] drivedb.h updates:
471 - SandForce Driven SSDs: Add Corsair Force 3
472 - Hitachi Travelstar 5K320: Add SA00 and SA02 models
473 - Western Digital Caviar SE SATA: Add 300GB
475 [CF] Cygwin smartd: Remove SIGQUIT workaround, no longer needed with
476 current Cygwin tty emulation.
478 [CF] smartd: Disable auto standby also after start of scheduled
481 [CF] smartd: Add smartd.conf DEFAULT directive. Allows to set default
482 settings for multiple devices.
484 [CF] smartd: Re-enable auto standby if smartd.conf is re-read.
486 [AS] drivedb.h update: Seagate Barracuda (SATA 3Gb/s, 4K Sectors)
488 [AS] drivedb.h update: Seagate Constellation ES.2 (SATA 6Gb/s)
490 [CF] drivedb.h updates:
491 - Sandforce Driven SSDs: Add OCZ Vertex 3 Max IOPS (ticket #209)
492 - Seagate ST1.2 CompactFlash (found in ticket #125)
494 [CF] Fix GPL version reported by '-V' option.
495 Now reports GPLv2+ which is consistent with file headers.
496 Patch was provided by Stanislav Brabec.
498 [CF] drivedb.h updates:
499 - Sandforce Driven SSDs: Add OCZ Deneva 2 Async variant, 60GB, 480GB
500 - Indilinx Martini based SSDs: OCZ VERTEX-PLUS only
502 [CF] smartd: Add '-l offlinests,ns' and '-l selfteststs,ns' directives.
503 dev_interface: Add smart_interface::disable_system_auto_standby().
504 os_win32.cpp: Implement disable_system_auto_standby().
506 [CF] dev_interface: Let smart_interface::set_err() return false.
508 [CF] drivedb.h updates:
509 - SAMSUNG SpinPoint M8U (USB)
510 - Toshiba 3.5" HDD MKx002TSKB: Fix typo
512 [CF] smartctl: Print average temperature from SCT status only if
513 value is reasonable. Field is not part of ATA-8.
515 [CF] smartd: Report ignored '-r' and '-R' directives.
517 [CF] smartctl: Use 16-bit value (ATA-8) for extended self-test polling
518 time if 8-bit value is 0xff (ticket #207).
520 [CF] drivedb.h updates:
521 - SandForce Driven SSDs: Add OCZ-REVODRIVE3, OCZ Z-DRIVE R4
522 - Hitachi Travelstar Z7K320
523 - Toshiba 2.5" HDD MK..56GSY
524 - Toshiba 2.5" HDD MKx002TSKB
526 - Seagate U*: sort entries, unify names, remove duplicate
527 - Seagate Constellation ES (SATA 6Gb/s)
530 - Western Digital Scorpio Black: Add 500GB
531 - Western Digital Scorpio Black (Adv. Format)
533 [CF] drivedb.h USB updates:
534 - Samsung S2 (0x04e8:0x1f05)
535 - Toshiba Stor.E (0x0939:0x0b16) (ticket #206)
536 - Seagate FreeAgent (0x0bc2:0x5040)
537 - Initio/Thermaltake BlacX (0x13fd:0x0840)
539 [DG] [SCSI] smartd: skip non-storage devices (e.g. SES devices)
541 [AS] drivedb.h updates: Added Seagate SV35 Series
543 [CF] smartctl: Don't start ATA self-test if another test is already
544 running (ticket #40). Add option '-t force' to allow override.
546 [CF] atacmds.h: Remove bogus ataSmart*Test*() prototypes.
548 [CF] Define __attribute_format_printf() for functions with printf() style
549 arguments. Allow MinGW build with __USE_MINGW_ANSI_STDIO enabled.
551 [CF] Makefile.am: Replace sed compound command in MAN_FILTER.
552 This fixes build on Solaris (ticket #203).
554 [AS] os_freebsd.cpp: Dereference symlinks before guess of device type
555 (problem reported by email).
557 [CF] drivedb.h USB updates:
558 - LG Mini HXD5 (0x043e:0x70f1)
559 - Freecom/Intel (0x07ab:0xfc8e)
560 - Dura Micro (0x0c0b:0xb001) (Debian bug 643928)
561 - Initio 6Y120L0 (0x13fd:0x1150): unsupported
563 [CF] drivedb.h USB update:
564 - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a1):
565 Revert to -d sat,12 (ticket #151).
567 [AS] os_freebsd.cpp - fixed crash on FreeBSD9-RC1 caused by r225950
569 [AS] smartctl.8 - added information about -d areca on FreeBSD
571 [AS] os_freebsd.cpp: backport quirks for the LSI controllers with SATA
572 disks to the FreeBSD. Tested with DELL Perc/6i controller.
574 [AS] os_freebsd.cpp: disable SAT autodetection on megaraid controllers
576 [AS] drivedb.h update:
577 - Hitachi Ultrastar 7K2000
579 [CF] drivedb.h update:
580 - Seagate Momentus XT: Add bug warning for firmware SD24 and SD25
582 [CF] Don't include pkg-config macros in aclocal.m4, copy to m4/pkg.m4
583 instead. Allow builds from SVN without pkg-config installed
584 but prevent 'make dist' when pkg-config support is missing.
586 [CF] Move automake --foreign option from autogen.sh to configure.in.
587 This fixes autoreconf support.
589 [CF] Replace COPYING file with current (2010-03-24) version from
590 http://www.gnu.org/licenses/gpl-2.0.txt
592 smartmontools 5.42 2011-10-20
594 [CF] Windows installer: Add install dir to PATH in CMD shortcut.
596 [CF] drivedb.h updates:
597 - SAMSUNG SpinPoint MP5
598 - Seagate Barracuda 7200.11: Change warning text, Seagate
599 apparently released fixed firmware without changing version
600 number (Debian bug 632758)
601 - Western Digital RE4 GP
602 - Western Digital VelociRaptor: Add 150GB, 300GB LHX variants
603 - Western Digital Scorpio Blue Serial ATA (Adv. Format):
606 [CF] drivedb.h USB update:
607 - WD Elements SE USB 3.0 (0x1058:0x1042)
609 [CF] Windows installer: Rework to support UAC.
610 Replace *-run.bat files by runcmd?.exe wrappers.
611 Run drive menu entries elevated (ticket #173).
613 [CF] smartctl.8.in: Add example script which prints all status bits
616 [CF] Cygwin smartd: Remove '--service' option, update man page.
618 [CF] smartd: Require absolute path name also for '-p' option.
619 Allow relative path names for '-A', '-s', '-p' in Windows
622 [CF] smartd: Log model family from drive database if known.
624 [CF] drivedb.h update:
625 - SMART Xcel-10 2.5 SATA SSD: Shorten names,
626 document supported default attributes.
628 [CF] smartctl -P showall: Report error if attribute name is too long.
630 [AS] freebsd: use system ciss header if available, it is added
631 to the base system by recent commit.
633 [CF] smartd.conf.5.in: Update Windows 'msgbox' info.
634 Add missing IF/ENDIF for Solaris and Windows.
636 [CF] man pages: Remove reference to T13 web site. It does no
637 longer provide links to the ATA documents.
639 [CF] smartctl: Replace '-t scttempint,N[,p]' option
640 by '-l scttempint,N[,p]'.
642 [CF] drivedb.h USB update:
643 - Oxford (0x0928:0x0000): unsupported, see
644 https://bugs.freedesktop.org/show_bug.cgi?id=24951
646 [CF] Minor cleanup to prevent warnings from new gcc 4.6 options
647 -Wunused-but-set-parameter/variable.
649 [CF] Windows smartd: Fix format string for 64-bit version.
651 [CF] Remove EXPERIMENTAL notes for features already present in 5.40.
653 [CF] smartctl: Add new log addresses from ACS-3 revision 1.
655 [CF] smartctl: Print ATA ACS-x versions properly (ticket #183).
657 [CF] smartctl: Add option '-l devstat[,PAGE]',
658 print ATA Device Statistics log pages (ticket #106).
660 Thanks to David Boreham for providing access to a machine for testing.
662 [AS] man pages: trivial man page syntax fixes (ticket #199)
664 [CF] drivedb.h update:
665 - SMART Xcel-10 2.5 SATA SSD: Fix syntax error (ticket #200)
667 [AS] drivedb.h update:
668 - SMART Xcel-10 2.5 SATA SSD
670 [DG] [SCSI] document 'ssd' list option in man page and smartctl usage.
672 [CF] Windows: Fix device type detection for Intel ICHxR RAID Volumes.
674 [CF] smartd: Resend warning emails if problem reappears (ticket #167).
676 [CF] smartd: Add separate directives '-l offlinests' and '-l selfteststs'
677 to enable tracking of status changes. Disable '-l offlinests' by
678 default to avoid misleading messages (see Debian bug 636078).
680 [CF] drivedb.h updates:
681 - Crucial/Micron RealSSD C300/C400: Add m4 series (ticket #192)
682 - SandForce Driven SSDs: Add OCZ-AGILITY3
683 - Indilinx Barefoot based SSDs: Add RENICE Z2
684 - Intel 710 Series SSDs
686 [CF] Windows smartd: Fix quoting of service command line.
688 [CF] Cygwin smartd: Remove FreeConsole() after fork().
689 No longer needed for recent versions of Cygwin DLL.
691 [CF] smartd: Add some sleep() time after machine standby mode.
692 Some drivers (Intel ICHxR Windows driver) report failures if
693 pass-through is accessed immediately after wake up.
695 [AS] -d hpt on linux/freebsd - increased max channel number to 16,
697 (see http://permalink.gmane.org/gmane.linux.utilities.smartmontools/7846)
699 [AS] os_linux.cpp - disabling SMART WRITE LOG SECTOR command on
700 megaraid interface for SATA disks.
702 [AS] os_freebsd.cpp: -l scterc was broken on FreeBSD, fixed for atacam and
703 ata drivers (bug #198).
705 [CF] drivedb.h updates:
706 - Crucial/Micron RealSSD C300/C400: Add C400
707 - SandForce Driven SSDs: Add Kingston HyperX,
708 OCZ-REVODRIVE, OCZ Deneva 2
709 - Intel X18-M/X25-M/X25-V G2 SSDs: Add 120GB
710 - Hitachi Travelstar 7K200: Match capital letters also
711 - Hitachi Ultrastar 7K3000
712 - Seagate Barracuda Green: Add ST2000DL001-* (ticket #195)
713 - WD My Passport Essential SE: Add WD10TMVW-*
715 [CF] drivedb.h USB updates:
716 - Seagate FreeAgent GoFlex USB 3.0 (0x0bc2:0x5071) (ticket #195)
717 - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a1):
718 Enable -d sat,16 (ticket #151).
719 - Oyen Digital MiniPro USB 3.0 (0x0dc4:0x020a) (ticket #193)
720 - WD My Passport Essential SE USB 3.0 (0x1058:0x0740)
722 [CF] Windows: Add MSVC10 support, remove MSVC8 project files.
724 [DG] [SCSI] smartctl output Solid State Media (SSD) percentage used
725 endurance indicator. Add '-l ssd', useful for SATA SSDs?
727 [CF] atacmds.cpp: Rework search for temperature min/max values
728 in attributes 190/194. This fixes temperature tracking
729 for recent WDC drives.
731 [CF] drivedb.h USB updates:
732 - LaCie rikiki USB 3.0 (0x059f:0x1057)
733 - Freecom Mobile Drive XXS (0x07ab:0xfc88)
734 - WD Elements SE (0x1058:0x1023)
736 [CF] drivedb.h updates:
737 - Indilinx Barefoot based SSDs: Add G.Skill Falcon
738 - JMicron based SSDs (JMF61x): Add Kingston SSDNow V100 Series
739 - Transcend CompactFlash Cards: Add 8, 16GB
740 - Toshiba 1.8" HDD MD..29GSG
741 - SAMSUNG SpinPoint M7U
742 - Western Digital Caviar Green (Adv. Format): Add SATA 6Gb/s variants
743 - Western Digital My Passport USB: Shorten names
745 [DG] [SCSI] smartd initial log entry for each drive now shows INQUIRY
746 strings and optionally the LU (logical unit) id and capacity
748 [AS] os_freebsd.cpp: fixed return type in autodetect_smart_device.
750 [CF] drivedb.h USB updates:
751 - WD My Book Essential (0x1058:0x0910, Debian bug 633724)
752 - Atech (0x11b0:0x6298)
754 [CF] drivedb.h update:
755 - Seagate Barracuda ES.2: Add Dell firmware versions (ticket #189)
757 [CF] drivedb.h updates:
758 - Seagate Maxtor DiamondMax 21: Add STM380215AS
759 - Seagate Barracuda 7200.12: Add ST3250312AS, ST31000524AS
760 - Toshiba 2.5" HDD MK..50GACY
761 - Toshiba 2.5" HDD MK..76GSX
763 [AS] smartd.8 - removed configuration file information from this manual,
764 added reference to smartd.conf.5.
766 [AS] smartd.conf.5 - added more platform-specific sections, corrected "areca"
767 device information, corrected sample configuration.
769 [AS] os_freebsd.cpp: detecting access to /dev/mfidX devices to show help (#97)
771 [CF] Update configure options in INSTALL file, remove outdated info.
773 [CF] int64.h: Remove outdated uint64_to_double() workaround for MSVC6.
775 [CF] os_win32/update-smart-drivedb.nsi: Add support for /S(ilent) option.
777 [CF] configure.in: Don't search for initddir and systemdsystemunitdir
778 when cross-compiling.
780 [CF] Makefile.am: Use same syntax also for ENABLE_* man page sections.
782 [CF] Add experimental support for platform-specific man pages.
784 [CF] Windows: Move '-I os_win32' from configure.in to Makefile.am.
786 [CF] configure.in: Fix check for __attribute__((packed)).
788 [CF] drivedb.h USB update:
789 - Verbatim Portable Hard Drive (0x18a5:0x0214)
791 [CF] drivedb.h update:
792 - SandForce Driven SSDs: Add OWC Mercury Extreme Pro RE (ticket #168)
794 [CF] os_linux.cpp: Let MegaRAID autodetect_open() fail for SATA devices.
795 MegaRAID SAT layer has serious bugs as reported by AS.
797 [AS] os_freebsd.cpp: Implement 48bit support for the new "atacam"
798 interface. Tested on FreeBSD 8.2 and works fine.
800 [CF] os_win32.cpp: Fix USB ID detection if two devices with the same
801 name exist (ticket #178).
803 [AS] os_freebsd.cpp: including ciss headers to the base, we can not rely
804 on the header sources in the build time. Also this file was changed
805 last time > 2 yrs. ago and it is unlikely that it will be changed in
806 the feature. This will fix FreeBSD PR 150235.
808 [AS] drivedb.h update: Added Samsung Story Station 3.0 USB.
810 [AS] os_linux.cpp: Areca code converted to the new interface.
811 Patch is based on os_freebsd.cpp patch and is not tested yet.
813 [AS] os_freebsd.cpp: Areca code converted to the new interface.
815 [AS] os_freebsd.cpp: Added support for the Areca RAID controllers.
816 Support is basesd on Linux code, but using IOCTL on areca control
817 device instead of SCSI commands to talk with the drives. Hardware
818 access was provided by Andrej Binder.
820 [CF] Don't use isprint() for ASCII character check as it may be affected
823 [AS] os_freebsd.cpp: Remove all referenced to the FreeBSD 5.0.
824 It is unsupported for a very long time and probably will not compile
825 and work anyway. Also this will fix bug #154.
827 smartmontools 5.41 2011-06-09
829 [MS] drivedb.h: revert attribute 190 to default for Samsung SSD controllers,
830 some 470 series SSDs seem to have some temperature information at
833 [MS] drivedb.h update:
834 add attribute details for Samsung controllers, centralize entries
836 [MS] drivedb.h update:
837 add attribute details for JMicron JMF61x controllers
839 [CF] drivedb.h update:
840 - SandForce Driven SSDs: Add OCZ DENEVA
842 [CF] os_win32.cpp: Ignore vendor ID "ATA" if returned by
843 IOCTL_STORAGE_QUERY_PROPERTY.
845 [CF] Add ATA NCQ commands to error register decoding.
847 [CF] Re-enable '--with-initscriptdir=auto' as default.
848 Change search for initddir and systemdsystemunitdir such that
849 default ./configure does never overwrite system files.
851 [MS] drivedb.h update:
852 disentangle Transcend SSD versions
854 [MS] drivedb.h update:
855 add attribute details for Crucial C300
857 [MS] smartd.initd.in:
858 fix for debian, cleanup. Based on patch of CF.
860 [AS] --with-initscriptdir default changed to "no" from "auto" to avoid
861 filesystem pollution.
863 [MS] drivedb.h cleanup:
864 harmonize family names, add AF information into name
866 [MS] drivedb.h update:
868 - Seagate Barracuda Green 1TB variant
870 [CF] Windows: Avoid '%n' printf format specifier because it is always
871 disabled in recent versions of msvcrt.dll. This fixes truncation
872 of smartd warning email (ticket #174).
874 [MS] smartd.initd.in:
875 cleanup, provide targets "reload" and "report" for all platforms
877 [CF] drivedb.h update:
878 - JMicron based SSD (JMicron JMF602?): rename from
879 Kingston SSDNow V Series, move Transcend IDE and SATA
882 [CF] Support ':BYTEORDER' for all attribute print formats.
884 [CF] drivedb.h update:
885 - Kingston SSDNow V Series SSDs (ticket #171)
887 [CF] Increase size of drive database option parse buffer
888 to allow long '-v N,FORMAT:BYTEORDER,NAME' options.
890 [MS] drivedb.h update:
891 - Western Digital Scorpio Blue Advanced Format variants
893 [MS] drivedb.h update:
894 correct typo for Cowon iAudio X5
896 [MS] drivedb.h USB updates:
897 - Maxtor OneTouch 200GB (unsupported)
900 [AS] FreeBSD: Added native rc.conf style script to the package.
901 Modifications to the configure script to use correct template and
905 Fix memory leak in the ata detection code (added free())
906 Using bzero in cam code to clear structure (fixing varnish varning)
908 [MS] drivedb.h update:
909 Kingston SSDNow S100 Series
911 [MS] drivedb.h USB update:
912 - Samsung S1 Portable
913 - LaCie rikiki USB 3.0
914 - Seagate FreeAgent GoFlex USB 3.0
916 - Oxford OXU921DS chip (unsupported)
918 [CF] Windows: Add debug output of SCSI sense data.
920 [CF] Add 'smartd.service' file for systemd.
921 Add configure option '--with-systemdsystemunitdir'.
922 Disable initd script if systemd is used.
924 [MS] drivedb.h update:
925 - Western Digital AV-25 family
927 [MS] drivedb.h update:
928 JMicron based SSDs: Add
929 Kingston SSDNow V, Kingston SSDNow V+100, TOSHIBA THNS128GG4BBAA,
930 APPLE SSD TS*, ADATA S596 Turbo
932 [CF] drivedb.h update:
933 - Intel 510 Series SSDs (ticket #170)
935 [CF] smartctl: Don't issue SMART DISABLE command to 3ware controllers
936 when the port number was not specified (ticket #165).
938 [CF] Use get_errmsg() from device instead of errno or syserror() for
939 printing error messages.
941 [MS] drivedb.h updates:
942 - G.Skill FALCON II SSD (Indilinx)
943 - HP 250GB SATA disk VB0250EAVER
944 - SAMSUNG SpinPoint M5 HM160HC
945 - SAMSUNG SpinPoint MT2 HM100UI
947 - Hitachi Deskstar 5K3000 Series
948 - Seagate Barracuda Green (Adv. Format)
949 - Seagate Barracuda XT 3TB variant
950 - Western Digital RE4 Serial ATA family
951 - Western Digital Caviar Green WD20EACS
952 - Western Digital Caviar Black family, SATA 3.0 variants
953 - QUANTUM FIREBALLlct20 10
954 - QUANTUM FIREBALLP AS60.0
956 [CF] drivedb.h update:
957 - SandForce Driven SSDs: Add more OCZ SF-1200 and SF-1500 based drives
959 Thanks to Sudhir Verman from OCZ Technology for providing this info.
961 [CF] drivedb.h USB updates:
962 - Seagate Expansion External (0x0bc2:0x3300) (Debian bug 621411)
963 - ASMedia USB 3.0 (0x174c:0x55aa) (unsupported)
965 [CF] smartctl.8.in: Clarify '-t vendor,N' (ticket #169).
966 Update Intel info (ticket #168).
968 [CF] drivedb.h update:
969 - Intel 320 Series SSDs (ticket #168)
971 [CF] smartctl: Always print sector size in '-i' output (ticket #166).
973 [CF] os_linux.cpp: Shorten version string.
975 [CF] smartctl: Add option '-f brief' to select new attribute output
976 format. This format includes additional attribute flags
977 (ticket #109) and fits in 80 columns (ticket #158).
978 This format is now the default for '-x'.
980 [CF] smartd: Log changes of offline data collection status if
981 '-l selftest' is specified.
983 [CF] drivedb.h updates:
984 - SandForce Driven SSDs: Add ADATA S599 64GB,
985 OWC Mercury Extreme Pro
986 - Kingston branded X25-V SSDs (ticket #156)
987 - Transcend SATA Solid State Drive: Truncate attribute name
989 [CF] drivedb.h USB updates:
990 - LaCie (0x059f:0x1029) (ticket #153)
991 - WD My Book Office Edition (0x1058:0x1101)
992 - JMicron USB 3.0 (0x152d:0x0539)
994 [CF] drivedb.h USB update:
995 - Verbatim Pocket Hard Drive (0x18a5:0x0227) (ticket #159)
997 [CF] drivedb.h update:
998 - SAMSUNG SpinPoint N3U-3 (USB, 4KiB LLS) (ticket #159)
1000 [CF] Add support for ATA Long Logical Sectors (LLS) (ticket #159).
1002 [DG] [SCSI] smartctl: (re-)use capacity formatting in utility.cpp
1004 [CF] configure.in: Remove '-Wno-format' for MinGW.
1005 Recent MinGW versions support MSVCRT printf format strings.
1007 [CF] Print ATA disk capacity with SI prefix.
1008 Add/move capacity formatting to utility.cpp
1010 [CF] Add error messages if ATA pass-through does not return required
1011 ATA output registers (for SMART RETURN STATUS, GET POWER MODE).
1012 This prevents misleading 'SMART Status command failed' messages
1015 [CF] Fix WWN support check for older ATA-7 disks.
1017 [DG] [SCSI] smartctl: add 'Logical Unit id' from the Device
1018 Identification VPD page (0x83)
1020 [DG] [SCSI] smartctl: add 'User Capacity' (disk size) in human
1023 [CF] smartctl, smartd: Print World Wide Name (WWN) of ATA device.
1025 [CF] smartctl: Print more specific error message if IDENTIFY DEVICE
1026 failed (ticket #61). Add check for empty IDENTIFY data.
1028 [CF] Windows installer: Add help message box.
1030 [CF] Windows installer: Request admin rights, select 'All Users'
1031 section. This fixes shortcut removal under Vista and later.
1032 Add '/SO' option to select components for unattended install.
1033 Patch was provided by József Fejes.
1035 [CF] Windows: Add update-smart-drivedb.nsi NSIS script to build
1036 drivedb.h update tool.
1038 [CF] Windows: Move search for NSIS compiler from Makefile.am to
1041 [CF] update-smart-drivedb.in: Move DRIVEDB_BRANCH name creation
1042 from script to configure.in.
1044 [CF] os_linux.cpp: Replace printf() by pout(). Disable unused
1045 function dumpdata().
1047 [CF] Windows: Include CSMI (for Intel RAID) in default DEVICESCAN.
1049 [CF] configure.in: Remove info messages about old defaults.
1051 [CF] drivedb.h: Set unneeded USB bcdDevice patterns to empty.
1053 [CF] Rework USB ID drivedb search. Stop search at first matching
1054 entry with empty bcd_device pattern.
1056 [CF] Move handling of '-F swapid' from formatting to identity read
1057 function. Remove unneeded 'fix_swapped_id' parameters.
1059 [CF] smartd: Log warning from drive database if present.
1060 smartctl: Do not search drive database twice.
1062 [MS] drivedb.h USB updates:
1063 - Samsung S2 Portable variant (0x04e8:0x1f08)
1064 - Lacie rikiki (0x059f:0x102a)
1065 - Toshiba Stor.E Steel series (0x0930:0x0b11)
1066 - Super Top generic enclosure (0x14cd:0x6116)
1068 [CF] Let constructor of regular_expression throw on error by default.
1070 [CF] smartd: Preserve last selective self-test span in '.state' file
1071 and use it if the selective self-test log was cleared (ticket #88).
1073 [CF] smartctl --scan-open: Make output compatible with smartd.conf
1074 (ticket #108). Fix possible crash if autodetect_open() returns
1077 [CF] do_release: Re-add signing of tarball.
1079 [CF] os_linux.cpp: Change '-d sat' to '-d sat,12' for USB only if
1080 kernel is older than 2.6.29. Add kernel release to version info.
1082 [CF] smartd: Add '-l scterc,READTIME,WRITETIME' directive (ticket #150).
1084 [CF] smartctl: Fix exit status of '-l xerror' and '-l xselftest'
1087 [CF] smartd: Use '-M daily' as default if state persistence is enabled.
1088 This avoids that emails are suppressed forever (ticket #35).
1090 [CF] smartd: Log identify information of each ATA device.
1092 [CF] smartd: Disable '-C' and '-U' monitoring if raw values are
1093 very large (ticket #148).
1095 [CF] smartd: Write reserved attribute byte to '.state' file
1098 [MS] drivedb.h USB updates:
1099 - Seagate FreeAgent Go Flex Desk USB 3.0
1100 - Toshiba Canvio 500GB
1102 [MS] drivedb.h USB updates:
1103 - Freecom HD 500GB (0x07ab:0xfcda)
1104 - Generic JMicron adapter (0x152d:0x2337)
1105 - RaidSonic ICY BOX IB-110StU3-B (0x1759:0x500[02])
1106 - Connectland BE-USB2-35BP-LCM (0x040d:0x6204)
1107 - Freecom Classic HD 120GB (0x07ab:0xfccd)
1108 - OCZ THROTTLE OCZESATATHR8G (0x152d:0x0602)
1109 - Vantec NST-400MX-SR (0x1a4a:0x1670)
1110 - Intenso Memory Station 2.5" (0x13fd:0x1840)
1112 [CF] Don't report failed self-tests outdated by a newer successful
1113 extended self-test as errors (ticket #147).
1114 This affects smartctl exit status and smartd syslog output and
1115 warning email. Only implemented for ATA.
1117 [CF] os_linux.cpp: Don't use buffer of size PATH_MAX for the result
1118 of realpath(). This also fixes compilation on Debian Lenny.
1120 [CF] smartd man pages: Add some missing [ATA only].
1122 [CF] os_linux.cpp: Dereference symlinks before guess of device type
1123 (ticket #146). Minor rework of autodetect_smart_device().
1125 [CF] smartctl -l scterc: Don't get ERC if only set is requested.
1126 This prevent misleading error messages if ATA output registers
1129 [CF] Windows: Prevent warnings from gcc 4.5.1.
1131 [CF] os_netbsd.cpp, os_openbsd.cpp: Add missing <errno.h>
1133 [CF] os_freebsd.cpp: Add missing <errno.h>
1135 [CF] dev_legacy.cpp: Add missing <errno.h>
1137 [CF] Linux megaraid: Fix pass-through of non-data ATA commands
1139 Only reject commands which require ATA output registers.
1141 [CF] configure.in: Remove '-fno-strict-aliasing' from CXXFLAGS.
1142 This reverts r2992 (see ticket #23).
1144 [CF] Linux megaraid: Avoid strict-aliasing warnings.
1145 Patch was provided by Stanislav Brabec (2009-06-03).
1147 [MS] Make functions without prototypes static.
1149 [MS] Remove unnecessary includes, move inclusion of errno.h from scsicmds.h
1150 to the appropriate *.cpp files. Add cciss.h to cciss.cpp.
1152 [MS] os_linux.cpp: rename variables to please "-Wshadow"
1153 utility.cpp: remove unused variable "start"
1154 os_win32/syslogevt.c: plug resource leak
1156 [CF] Rename variables to prevent warnings if '-Wshadow' is set.
1157 Remove unnecessary includes. Fix some comments.
1159 [CF] drivedb.h updates:
1160 - Intel X18-M/X25-M/X25-V G2 SSDs: Add firmware bug warning
1161 - Samsung SpinPoint M6
1162 - Samsung SpinPoint M7E (AFT)
1163 - Samsung PM800 SSDs
1164 - Samsung PM810 (470 series) SSDs
1166 [CF] Windows: Add experimental CSMI support for disks behind Intel Matrix
1167 RAID driver. Accessed through new device names '/dev/csmi[0-9],N'.
1168 Experimental DEVICESCAN can be enabled by '-d csmi'.
1170 [MS] - ataprint.cpp: adjust print format for insanely large
1171 offline data collection times (e.g. WD drives).
1172 - getopt: change config.h #include format from angle brackets to quotes
1174 [MS] drivedb.h update:
1175 - Fujitsu MJA2 BH series
1176 - Toshiba MK..59GSXP series (Adv. Format)
1177 - Toshiba MK..59GSM series (Adv. Format)
1178 - Western Digital Caviar Blue SATA 3.0 variants
1179 - Seagate Barracuda XT
1181 [CF] smartctl: Print help message if no option is specified (ticket #39).
1182 Don't issue any other ATA command if only '-n POWERMODE' is specified.
1184 [CF] smartd: Output multiple lines via separate syslog(3) calls
1187 [CF] smartctl: Add new ATA minor revisions and log addresses from ACS-2
1188 revision 4a. Replace runtime asserts by compile time asserts.
1190 [CF] smartd: Remove "default: /var/log/messages" hint from warning mail.
1191 This obsoletes Debian patch 60_remove-redhatism.diff.
1193 [CF] Windows: Include USB devices in DEVICESCAN (ticket #116).
1195 [CF] Windows: Use direct WMI access to detect USB IDs (ticket #115).
1196 This replaces 'wmic' runs and speeds up USB detection.
1198 [CF] configure.in: Rework platform-specific settings.
1200 [CF] configure.in: Remove some no longer used settings:
1201 -lselinux (duplicate), NEED_SOLARIS_ATA_CODE, OS_FREEBSD.
1203 [CF] Makefile.am: Remove SUBDIRS. Recursive targets are no longer used.
1205 [CF] Use log directory to check for old error and self-test log
1206 support (ticket #89).
1208 [CF] drivedb.h USB update:
1209 - WD My Book Essential 3TB USB 3.0
1211 [CF] Fix usb header includes for DragonFly BSD (ticket #141).
1213 [CF] smartctl: Print physical and logical sector sizes (ticket #62).
1215 [CF] drivedb.h updates:
1216 - Fujitsu MHT: Add AC variant
1218 - Samsung SpinPoint T166: Needs '-v 197,increasing'
1219 - Seagate Barracuda 7200.11: Add firmware SD81 as buggy
1220 - WD Scorpio Blue EIDE: Add 320GB
1222 [CF] drivedb.h USB updates:
1223 - Samsung S2 Portable (ticket #136)
1224 - Move Verbatim 0x152d:0x2351 to JMicron section
1226 [AS] drivedb.h updates:
1227 - Verbatim Portable Hard Drive eSATA & USB 2.0 Combo 500GB
1229 [CF] Happy New Year! Update copyright year in version info.
1231 [CF] drivedb.h updates:
1232 - Hitachi Deskstar 7K3000
1233 - Hitachi Travelstar 7K320: Add ...362 variant
1234 - Seagate Maxtor DiamondMax 21: Add STM3250310AS
1235 - Toshiba 2.5" HDD MK..65GSX
1236 - WD Caviar Green (Adv. Format): Add 750GB, 2.5TB, 3TB
1238 [CF] drivedb.h USB updates:
1239 - Micron USB SSD (unsupported, ticket #133)
1240 - Samsung G2 Portable (ticket #132)
1241 - Samsung Story Station 3.0 (ticket #130)
1242 - Seagate FreeAgent GoFlex (ticket #131)
1244 [CF] update-smart-drivedb.in: Add workaround for OpenBSD shell bug:
1245 'set -e; if eval false; ...' aborts script (ticket #128).
1247 [CF] update-smart-drivedb.in: Add platform specific download tools:
1248 'fetch' on FreeBSD (ticket #127), 'ftp' on OpenBSD.
1250 [CF] drivedb.h USB updates:
1251 - JMicron 0x152d:0x2509
1252 - WD My Passport 0730
1254 [CF] drivedb.h updates:
1255 - Samsung SpinPoint F3 EG: Add 2TB
1256 - SandForce Driven SSDs: Add ADATA S599, SuperTalent TeraDrive CT
1257 - Seagate Constellation (SATA)
1258 - Seagate Constellation ES (SATA)
1259 - WDC My Passport: Add WD5000BMVW
1261 [CF] drivedb.h update:
1262 - Samsung SpinPoint F4 EG: Add 1.5TB, update firmware bug warning.
1264 [DG] [SCSI] Fix log page sanity check problem if the DS bit set
1265 in response. Caused '-l background' to fail.
1267 [CF] drivedb.h updates:
1268 - Samsung SpinPoint F4 EG: Warning about bad blocks
1270 [CF] update-smart-drivedb.in: Replace ERE by BRE. Script does no
1271 longer require GNU sed (Ticket #126).
1273 [DG] In '-r ioctl' show vendor specific SCSI commands as such rather
1276 [CF] Add check for CompactFlash Signature in ATA IDENTIFY data.
1277 This avoids that older CF microdrives are detected as ATAPI
1278 devices (Ticket #125).
1280 [CF] drivedb.h updates:
1282 - Crucial RealSSD C300 Series
1283 - Kingston SSDNow V Series
1284 - Indilinx Barefoot based SSDs: Add OCZ-ONYX
1285 - SandForce Driven SSDs: Add OCZ VERTEX2-PRO
1286 - Transcend CompactFlash Cards: Add TS4GCF133
1288 [CF] Windows installer: Add missing quotes in smartctl-run.bat
1289 and smartd-run.bat (Ticket #124).
1291 [CF] OpenBSD: Fix DEVICESCAN for OpenBSD >= 4.8 (Ticket #123).
1293 [CF] daemon_win32.cpp: Remove duplicate assignment (Ticket #120).
1295 [CF] Makefile.am: Do not overwrite existing smartd.conf file
1296 (Ticket #122). If smartd.conf exists and differs from the
1297 default then smartd.conf.sample is installed instead
1298 If smartd.conf.sample exists on uninstall then smartd.conf is
1301 [CF] Linux megaraid: Fix segfault on non-data commands (Ticket #78).
1302 The /dev/megaraid_sas_ioctl_node driver does not allow
1303 sge_count = 1 and sgl[0].iov_len = 0.
1305 [CF] Remove EXPERIMENTAL notes for features already present
1308 [CF] Rework '-d TYPE' documentation on man pages.
1310 [CF] drivedb.h updates:
1311 - Seagate Maxtor DiamondMax 21: Add 80GB
1312 - Western Digital Caviar Black: Add 1TB/64MB
1314 [CF] drivedb.h USB updates:
1315 - iRiver iHP-120/140 (Ticket #119)
1318 [CF] Makefile.am: Handle examplescripts in main Makefile.
1319 Remove 'examplescripts/Makefile.am'.
1321 [CF] configure.in: New option '--with-exampledir' allows to change
1322 path of 'DOCDIR/examplescripts' directory.
1323 (Debian package uses '/usr/share/doc/smartmontools/examples')
1325 [CF] Replace global 'con->dont_print/...' variables by 'printing_is_*'.
1326 Remove global 'con'trol pointer. Remove file 'extern.h'.
1328 [CF] Replace global 'con->reportata/scsiioctl' variables by '*_debugmode'.
1330 [CF] Replace global 'con->conservative/permissive' variables by
1331 'failuretest_*'. Move failuretest() function to smartctl.cpp.
1333 [CF] Remove unused CONTROLLER_* defines.
1335 [CF] Remove unused controller support from dev_legacy adapter module.
1337 [CF] Make 'debugmode' variable local to smartd.cpp.
1339 smartmontools 5.40 2010-10-16
1341 [CF] examplescripts/Example3: Use stdin to pass message to 'wall'
1342 command (ticket #114).
1344 [CF] smartd: Fix setting of SMARTD_DEVICE and SMARTD_DEVICETYPE
1345 environment variables (ticket #113).
1346 Regression was introduced by rework of smartd data structures.
1347 SMARTD_DEVICE is now set to the plain device name.
1348 SMARTD_DEVICETYPE is now set to 'auto' if no '-d' directive is
1349 specified. Smartctl now accepts '-d auto' for this purpose.
1351 [CF] Remove "Lifetime" from Min/Max temperature attribute output
1352 (ticket #111). Interval is device specific.
1354 [CF] configure.in: Print resource/message compiler info for Windows only.
1356 [CF] FreeBSD: Rework get_dev_names_cam() to support more than 26 devices.
1358 [CF] drivedb.h updates:
1359 - Seagate Barracuda 7200.10: Add 360GB
1360 - USB: Iomega MDHD-UE
1361 Patch provided by Rob Marissen.
1363 [DL] Standby mode not detected properly on FreeBSD (ticket #91).
1365 [MS] os_linux.cpp: fix "gcc -flto" build error by including stddef.h
1367 [CF] drivedb.h update:
1368 - Indilinx Barefoot based SSDs: Add OCZ-VERTEX 1199 and -TURBO
1370 [CF] TODO file: Move open entries to tickets #106, #107, #108, #109, #110.
1371 Remove outdated entries.
1373 [CF] drivedb.h USB update:
1374 - SunPlus 0x04fc:0x0c05
1376 [CF] drivedb.h update:
1377 - SandForce Driven SSDs: Add Corsair Force, fix typo
1379 [CF] Print hex values of unknown self-test type or status.
1381 [CF] drivedb.h updates:
1382 - SandForce Driven SSDs: Fix regex for Unigen UG99SGC
1383 - Seagate Momentus XT series
1384 - Quantum Bigfoot: Add 12.7GB
1386 [CF] drivedb.h updates:
1387 - SandForce Driven SSDs: Add 11 attributes of new FW,
1389 - WD AV ATA family: Add 250GB, 320GB
1392 [CF] Windows: Build syslogevt.exe with MinGW. Now possible because
1393 binutils provides windmc.
1395 [CF] Makefile.am: Remove install message about smartd startup.
1396 It might be misleading because it is not correct for all platforms.
1398 [CF] configure.in: Minor fix of '--enable-drivedb' new defaults
1401 [CF] Update links, configure and OS info in INSTALL file.
1402 Replace tabs by spaces.
1404 [CF] configure.in: Fix '--enable-sample' and '--with-selinux'.
1405 Fix obsolete use of AC_DEFINE().
1407 [CF] drivedb.h updates:
1408 - IBM Deskstar 60GXP, 40GV & 75GXP: Update link (ticket #99)
1409 - Seagate Barracuda 7200.12: Add ST31000523AS and others
1410 - WD Caviar Black: Add 2TB
1411 - WD VelociRaptor: Add 6 Gb/s models
1413 [CF] Windows installer: Fix smartctl-run.bat for drive menu (ticket #31).
1415 [CF] Windows: Create md5/sha1/sha256 checksums of the binaries.
1416 Add checksums.txt file to binary distribution.
1418 [CF] Windows: Include drivedb.h into binary distribution.
1420 [CF] drivedb.h updates:
1421 - Intel X18-M/X25-M/X25-V G2: Add X25-V 40GB
1422 - Transcend CompactFlash Cards
1424 [CF] drivedb.h updates:
1425 - Seagate Momentus 7200 FDE.2: Add ST9160414ASG
1426 - Seagate Pipeline HD 5900.1 and 5900.2
1427 Based on patch provided by Marcin Falkiewicz.
1429 [CF] Remove unused variable 'reportbug'.
1431 [CF] Make function PrintOut() local to smartd.cpp, remove it from
1434 [CF] Windows: Improve compatibility with MinGW variants.
1435 Add configure check for DDK include files.
1436 Drop support for '-mno-cygwin' from old Cygwin gcc.
1438 [AS] smartctl.8.in minor update: adding FreeBSD ahci/scsi device hints
1440 [CF] Fix build if SVN Id keywords are not expanded (ticket #94).
1442 [CF] Windows: Remove "." from DLL search path to prevent DLL
1445 [CF] drivedb.h USB update:
1446 - JMicron 0x152d:0x0551 (ticket #95)
1447 Add note about port multipliers to smartctl man page.
1449 [CF] drivedb.h updates:
1450 - SandForce Driven SSDs: Add Unigen drives
1451 - Indilinx Barefoot based SSDs: Add ASAX Leopard Hunt II
1453 [CF] drivedb.h update:
1454 - Intel X18-M/X25-M G2: Add names of timed workload attributes.
1455 Document attribute clear command '-t vendor,0x40' on smartctl
1458 Thanks to Artem Danielov from Intel for providing the
1459 required information and drives for testing.
1461 [CF] drivedb.h update:
1462 - SandForce Driven SSDs: Add OCZ drives with form factor info.
1464 [CF] drivedb.h update:
1465 - Intel X25-E, X18-M/X25-M (add X18-M, update attributes)
1467 [CF] configure.in: '--enable-drivedb' is now the default.
1469 [CF] drivedb.h update:
1470 - Indilinx Barefoot based SSDs
1471 (combine and update 5 SSD entries using this controller)
1473 [CF] drivedb.h update:
1474 - SandForce Driven SSDs (Demo Drive, OCZ-Agility2/Vertex2/Vertex-LE)
1476 Thanks to Jeremy Werner (jwerner@sandforce.com) from SandForce for
1477 providing the required information and a demo drive for testing.
1479 [CF] drivedb.h update:
1480 - Add 1.5TB drive to SAMSUNG SpinPoint F3 EG series
1482 [CF] Add print formats '-v ID,msec24hour32' and '-v ID,raw24/raw32'.
1483 Used by SSDs with SandForce controller.
1485 [CF] Allow SMART threshold entries at positions different from
1486 attribute table. This fixes attribute output for recent
1487 SSDs with SandForce controller.
1489 [CF] smartctl: Add option '-t vendor,N' to issue ATA
1490 command SMART EXECUTE OFF-LINE IMMEDIATE with
1491 a vendor specific subcommand.
1493 [CF] drivedb.h update:
1494 - SAMSUNG SpinPoint V80 series (ticket #85)
1496 [CF] Linux: Support SATA drives on LSI 3ware 9750 controllers.
1497 Patch provided by Victor Payno (ticket #86).
1498 Modified to avoid duplicate code.
1500 [CF] drivedb.h update:
1501 - SAMSUNG SpinPoint M7 series
1503 [CF] drivedb.h USB update:
1504 - Buffalo JustStore Portable HD-PVU2
1506 [CF] drivedb.h USB updates:
1507 - Iomega LDHD-UP (ticket #83)
1508 - WD Elements Desktop 2TB
1509 - Maxtor OneTouch (0x0d49:0x7300)
1511 [MS] drivedb.h updates:
1512 - Intel X25-M SSD first Generation
1516 [CF] drivedb.h updates:
1517 - Transcend Solid State Drives (ticket #80)
1519 [CF] drivedb.h USB update:
1520 - LaCie Rugged Hard Drive
1522 [CF] smartctl: Add options '--scan, --scan-open'.
1524 [CF] Windows: Use also VendorId from IOCTL_STORAGE_QUERY_PROPERTY.
1526 [CF] smartd: Change defaults of '-C' and '-U' directives to 0 (disabled)
1527 if attribute name is changed by '-v 19[78],...' directive.
1529 [CF] configure.in: Fix include path for MinGW.
1531 [CF] Move 'posix/reg*' to 'regex/reg*'.
1532 Add configure check for regex.
1534 [MS] cciss.cpp: avoid redefining be32toh
1535 megaraid.h: replace use of undefined preprocessor macro BITS_PER_LONG
1536 by union construct (thanks to [DL]).
1537 Add assert for sizeof(ptr_t) == 8 (thanks to [CF]).
1539 [CF] Makefile.am: Add os_qnxnto.* to EXTRA_smart*_SOURCES.
1541 [MS] drivedb.h update:
1542 - WD My Passport Essential SE 1TB variant (USB interface)
1544 [CF] Use getopt_long() from getopt/getopt* if necessary.
1545 Add missing cast to os_qnxnto.cpp.
1546 This fixes build on QNX (ticket #1).
1547 Thanks to Stefan (stevestereo) for testing.
1549 [CF] drivedb.h update:
1550 - WD Caviar Green (Adv. Format) family
1552 [CF] drivedb.h USB update:
1553 - Verbatim External Hard Drive 47519
1555 [DL] Fix regression in smartctl option '-t select,M-N' which prevents
1556 that more than one test span can be specified (ticket #75).
1558 [CF] drivedb.h updates:
1559 - Add raw64 attributes 1, 210-213 to all SSD drives with
1560 64-bit attribute format.
1562 [CF] Support smartd '-l xerror' also for disks which use reserved
1565 [CF] Fix initialization of values missing in smartd '.state' files.
1567 [CF] Add smartd directive '-l xerror' to check error count from
1568 the Extended Comprehensive SMART Error Log (ticket #34).
1570 [CF] Fix max number of cciss devices, 128 devices are supported
1571 again (ticket #49). Regression was introduced during migration
1574 [CF] Update man pages (include Debian patch
1575 60_remove-redhatism.diff and Debian Bug 570892).
1577 [CF] Add SVN revision number to man pages.
1579 [CF] Windows: Read default drivedb.h and smartd.conf from exe
1580 directory instead of current directory.
1582 [CF] drivedb.h update:
1583 - SAMSUNG SpinPoint M series
1585 [CF] Replace runtime check of byte ordering by compile time check.
1587 [CF] drivedb.h USB updates:
1588 - ALi M5621 (unsupported)
1589 - LaCie with JMicron (ticket #69)
1591 - Enable 48-bit commands for Hitachi drive
1593 [CF] Read USB ID info from drivedb.h (ticket #44).
1595 [CF] Create branch RELEASE_5_39_DRIVEDB with last drivedb.h file
1596 compatible with smartmontools 5.39[.1].
1598 [MS] drivedb.h updates:
1599 - WD Raptor 80GB variant
1600 - correct Regex for some WD AV-GP variants
1601 - Hitachi Ultrastar A7K2000
1602 - Hitachi Travelstar 5K500.B
1603 - Hitachi Deskstar 7K1000.C
1604 - adjust naming of Hitachi Travelstar and Deskstar drives
1606 [CF] Move 'posix/getopt*' to 'getopt/getopt*'. Can be used for
1607 platforms with regex() but without getopt_long() (QNX, ticket #1).
1609 [CF] smartd '-l selftest' directive: Print info if error count
1610 decreased. Avoid misleading warning if error count decreased
1611 to zero (ticket #67).
1613 [CF] smartctl: Rework ataPrintMain(). Issue ATA SMART commands only if
1614 necessary. Improve handling of SMART STATUS command failure when
1615 ATA output registers are missing (ticket #27).
1617 [CF] USB ID updates:
1619 - Hitachi/SimpleTech 1TB
1621 [CF] configure.in: Print configuration summary.
1623 [CF] smartctl -l xselftest,selftest: Print old log if extended self-test
1624 log index is out of range. Workaround for bad log data from Intel
1625 X25-M G2 (ticket #66).
1627 [CF] USB ID updates:
1628 - LaCie Desktop Hard Drive
1629 - Prolific PL2507 (unsupported)
1630 - Seagate FreeAgent Go FW
1631 - WD My Book Essential
1633 [CF] Linux: Add '/dev/sd[a-c][a-z]' to smartd DEVICESCAN.
1635 [CF] smartd: Other config entries may precede DEVICESCAN.
1636 Very first step towards a more flexible device scanning.
1638 [CF] Windows: Use '.win64' in names of 64-bit binary packages.
1639 Use correct 'strip' program when cross-compiling.
1641 [CF] Add update script to make targets 'dist' and 'clean',
1642 set +x permission, update svn:ignore.
1644 [CF] Add 'update-smart-drivedb' script (ticket #59).
1645 The script updates the drive database from SVN.
1646 It is installed if '--enable-drivedb' is configured.
1648 [MS] drivedb.h updates:
1649 - Seagate Medalist 1720
1650 - SuperTalent UltraDrive GX SSD
1653 [CF] Makefile.am: Fix unix2dos and makensis parameters to allow
1654 to build the Windows installer on Linux also.
1656 [CF] Makefile.am: Use a separate build rule for each man page to
1657 avoid compatibility problems with BSD make.
1659 [AS] drivedb.h updates:
1660 - Fujitsu MHZ2 BK series
1662 [MS] drivedb.h updates:
1663 - SAMSUNG SpinPoint F3 series
1664 - SAMSUNG SpinPoint F3 EG series
1665 - SAMSUNG SpinPoint M5 series
1666 - Western Digital Caviar Green 6400AADS
1667 - more Western Digital VelociRaptor variants
1669 [AS] FreeBSD: disable 48-bit commands in the ata_pass_through interface,
1670 there is no 48-bit support in the IOCATAREQUEST ioctl.
1672 [CF] smartctl: Add option '-l scterc[,READTIME,WRITETIME]' to get/set
1673 the SCT Error Recovery Control time limit (ticket #50).
1675 Patch was provided by Richard Gregory:
1676 http://www.csc.liv.ac.uk/~greg/projects/erc/
1677 Modified for new ata_pass_through() interface.
1678 Linux HPT fixes ommitted for now.
1680 [CF] Fix SCT temperature table commands on big endian CPUs.
1682 [MS] drivedb.h updates:
1683 - more Seagate Momentus 5400.6 drives
1684 - HP 500GB drive MM0500EANCR
1686 [CF] Windows: Cleanup I/O-control declarations, rely on include
1689 [CF] Windows: Compile fixes for 64-bit exe (EXPERIMENTAL).
1690 Update build info in INSTALL file.
1692 [CF] drivedb.h update:
1693 - Patriot Torqx SSD (patch provided by Gianpaolo Cugola)
1695 [CF] Makefile.am: Avoid duplication of man page filter script.
1697 [CF] smartd: Add option '-C, --capabilities' if libcap-ng is available
1699 Support is added if libcap-ng is found during build. This can
1700 be overridden by configure option '--with-libcap-ng=[auto|yes|no]'.
1702 Based on Debian patch:
1703 http://patch-tracker.debian.org/patch/series/view/smartmontools/5.39-3/62_lowcap.patch
1704 Modified to fix regression (ticket #41, Debian bug 564876).
1706 [CF] Bugfix release 5.39.1.
1708 [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used
1709 (ticket #37). For some reason, this happens if the SCSI/SAT
1710 device is opened with O_RDWR instead of O_RDONLY.
1712 [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release
1715 [CF] Add USB IDs of Seagate FreeAgent Go, Seagate Expansion Portable
1716 and WD My Passport (IDE).
1718 [CF] autogen.sh: Fix version regexp, allow automake 1.11.1.
1720 [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13).
1721 Detects (S)ATA devices behind a standard SAT layer
1722 (Vendor ID: "ATA "), but not USB bridges with SAT support.
1723 Only added for backward compatibility with 5.38.
1724 No longer needed as 'DEVICESCAN' without '-d' includes these devices.
1726 [CF] Add USB ID of Seagate FreeAgent Desktop.
1728 [CF] smartd: Fix directive '-l selftest' (ticket #36)
1729 Regression was introduced with r2773.
1731 [CF] smartd: Don't disable attribute tracking if read thresholds fails.
1732 Windows: Don't return dummy thresholds if IOCTL_STORAGE_QUERY_PROPERTY
1733 or 3ware CLI is used to read SMART data.
1735 [CF] Windows: Print warning if admin rights are missing.
1737 [CF] Replace some 'EXIT(status)' calls by 'return status'.
1738 Remove unnecessary casts from 'nonempty()' calls.
1740 [CF] Windows: Set ata_device::ata_identify_is_cached() return value
1741 according to I/O-control actually used.
1743 [CF] Print ATA output registers if SMART status command returns bogus
1746 [CF] Windows: Don't return false ATA version info if IDENTIFY data
1747 is build from IOCTL_STORAGE_QUERY_PROPERTY result or from 3ware CLI
1749 smartctl: Handle missing info about ATA version in '-i' output.
1751 [CF] smartctl: Don't print log directory if '-q errorsonly' is specified.
1753 [CF] smartctl: Fix option '-q, --quietmode' (ticket #11).
1754 Regression was introduced with r2807.
1756 [CF] drivedb.h update:
1757 - SAMSUNG SpinPoint F2 EG series
1759 [CF] Add USB ID of Samsung Story Station.
1761 [MS] drivedb.h update:
1762 - Hitachi Travelstar 5K320: some EA models miss last 2 "0"
1764 - Seagate Barracuda LP series
1766 [CF] drivedb.h update:
1769 [CF] drivedb.h updates:
1770 - WDC Scorpio Blue Serial ATA (640GB, 750GB, 1TB)
1771 - WDC My Passport Essential SE
1773 [CF] Add USB ID of Toshiba PX1270E-1G16.
1775 [CF] Happy New Year! Update copyright year in version info.
1777 [CF] drivedb.h update:
1778 - SAMSUNG SpinPoint M40/60/80 series
1780 [CF] Add direct access to 48-bit LBA register in 'ata_in/out_regs_48bit'.
1782 [DL] drivedb.h updates:
1783 - WDC My Passport Essential/USB (capacity 250GB, 400GB & 500GB)
1785 [DL] -r ataioctl,2: print text representation of data also (ticket #32)
1787 [DL] FreeBSD: freebsd_ata_device::ata_pass_through implemented (part of ticket #18)
1789 [CF] drivedb.h updates:
1790 - Hitachi Travelstar 7K320 (ticket #28)
1791 - Hitachi Travelstar 7K500
1793 [DL] -l gpllog,...: print text representation of data also (ticket #30)
1795 [DL] FreeBSD: check reallocf() result for failures
1797 [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger
1799 [CF] Makefile.am: 'make check' now tests the syntax of drivedb.h.
1801 [CF] Cygwin: Open drive database files in text mode.
1803 [CF] Cygwin: Check for 'syslogd' and 'syslog-ng' in initd script.
1805 [CF] Windows: Disable Win9x/ME specific code if no longer supported
1808 [CF] Add '-v ID,FORMAT:BYTEORDER[,NAME]' to specify byte order
1809 of attribute raw value.
1811 [CF] configure.in: Change --with-docdir default from
1812 'PREFIX/share/doc/smartmontools-VERSION' to
1813 'DATADIR/doc/smartmontools' to make it consistent with
1814 --docdir option added in autoconf 2.6x (ticket #24).
1815 Autoconf 2.5x is still supported.
1817 [CF] Move drive database entries from 'knowndrives.cpp' to new file
1818 'drivedb.h'. This allows to update the drive database from SVN
1819 if installation was configured with '--enable-drivedb'.
1820 Remove the Makefile target to create 'drivedb.h'.
1822 [CF] do_release: Add support to release from a dir below 'branches'.
1823 Accept partial checkouts.
1825 smartmontools 5.39.1 2010-01-28
1827 [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used
1828 (ticket #37). For some reason, this happens if the SCSI/SAT
1829 device is opened with O_RDWR instead of O_RDONLY.
1831 [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release
1834 [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13).
1835 Detects (S)ATA devices behind a standard SAT layer
1836 (Vendor ID: "ATA "), but not USB bridges with SAT support.
1837 Only added for backward compatibility with 5.38.
1838 No longer needed as 'DEVICESCAN' without '-d' includes these devices.
1840 [CF] smartd: Fix directive '-l selftest' (ticket #36)
1841 Regression was introduced with r2773.
1843 [CF] smartctl: Don't print log directory if '-q errorsonly' is specified.
1845 [CF] smartctl: Fix option '-q, --quietmode' (ticket #11).
1846 Regression was introduced with r2807.
1848 [CF] Happy New Year! Update copyright year in version info.
1850 [DL] FreeBSD: check reallocf() result for failures
1852 [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger
1854 [CF] do_release: Add support to release from a dir below 'branches'.
1855 Accept partial checkouts.
1857 smartmontools 5.39 2009-12-09
1859 [CF] do_release: Commit CHANGELOG and NEWS also. Allow to review changes.
1861 [CF] Linux: Add workaround for Adaptec series 2, 5 and 5Z controllers
1862 with firmware >= 17380. Patch was provided by Phil Wilson, see:
1863 http://linux.adaptec.com/2009/07/24/using-smartmontools-538-with-series-255z-controllers-with-firmware-17380-onwards
1865 [CF] configure.in: Add '-fno-strict-aliasing' to CXXFLAGS if supported.
1866 This suppresses gcc 4.4.1 warnings on Linux and avoids possible
1867 unsafe optimizations (ticket #23).
1868 Patch was provided by Manfred Schwarb.
1870 [CF] Avoid truncation of configure arguments in '-V' output.
1872 [AS] Added USB IDs of WD Passport USB Portable
1874 [CF] Linux: Fix segfault in 3ware interface (ticket #22).
1876 [MS] knowndrives.cpp updates:
1877 - Hitachi Deskstar 7K2000
1878 - Seagate Momentus 7200 FDE.2 series
1880 [CF] Add USB ID of WD My Passport 070A.
1881 knowndrives.cpp update:
1882 - WD My Passport hard drive (USB interface)
1884 [CF] smartd: Write 'worst' attribute value to '.state' file also.
1885 This allows to use state persistence with 'raw64' attributes.
1887 [CF] Rework ATA SMART attribute check in smartctl and smartd.
1888 smartd: Ignore normalized attribute value and threshold
1889 if 'raw64' or 'hex64' format is selected.
1891 [CF] Add USB IDs of Iomega LPHD080-0, 2 Genesys Logic bridges and
1894 [MS] knowndrives.cpp update: Hitachi Travelstar 5K320 series
1896 [CF] smartctl: Ignore normalized attribute value and threshold
1897 if 'raw64' or 'hex64' format is selected.
1899 [CF] knowndrives.cpp updates:
1900 - add OCZ-Vertex raw64 attributes
1902 Thanks to Marcin Marszalek for the patch.
1904 [CF] Add '-v ID,hex*' print formats. Fix '-v N,FORMAT,NAME' parsing.
1906 [CF] Add '-v ID,raw64[,...]' print format based on a patch provided
1907 by Marcin Marszalek.
1909 [CF] Add '-v ID,RAW_FORMAT[,ATTR_NAME]' option. This allows to add new
1910 attributes without the need to enhance the '-v' option.
1911 Rework attribute name and raw value formatting.
1913 [CF] Fix auto_ptr initialization in linux_scsi_device::autodetect_open().
1915 [CF] Remove duplicate function smart_device_list::add().
1916 Replace calls with push_back().
1918 [MS] attribute update:
1919 trim attribute names to 23 chars
1921 [CF] Add smart pointer class template to manage device object pointers.
1922 Remove related 'delete' calls and 'try/catch' blocks.
1924 [CF] do_release: Replace generation of '*.asc' by '*.md5' and '*.sha1'.
1926 [MS] attribute updates:
1927 - change attributes 202,204,205 to the meanings as found in wdidle3.exe
1928 retain old entries as comments (possible Fujitsu use)
1929 - add attribute 240 as found in Fujitsu MHY2xxxBH
1931 [MS] attributes updates:
1932 - attributes 225, 232 and 233 for Intel X25-E SSD
1933 - non-conflicting attributes extracted from wdidle3.exe
1934 (thanks to Franc Zabkar and Dan Lukes)
1936 [CF] Update Windows and ./configure info in INSTALL file.
1938 [CF] Update 'do_release' script for SVN.
1940 [MS] knowndrives.cpp updates:
1941 - Western Digital MyPassport Essential hard drive (USB interface)
1942 - Seagate Momentus 7200.4 series
1943 - Western Digital Raptor X
1946 [CF] knowndrives.cpp updates:
1947 - New Seagate 7200.11 firmware version
1950 [CF] smartctl: Use printf() instead of pout() for exception error
1951 messages to avoid access to bogus 'con->dont_print'.
1953 [CF] smartd: Add missing help texts for '-A', '-B' and '-s'.
1955 [CF] Add missing check for log page 0x11 support to smartctl
1956 '-l sataphy' option.
1958 [CF] Add USB ID of Freecom Hard Drive XS.
1960 [AS] Linux: Autodetect DELL PERC and MegaRAID controllers.
1961 Hiding debug messages coming from megaraid code.
1963 [AS] Linux: Fixed SATA drives support on megaraid device (see ticket #15).
1965 [AS] FreeBSD: Removed all old detection code, moving everything to
1966 the objects. Now we are using CAM/ATA enumerators to guess device
1969 [AS] FreeBSD: Added autodetection for the ada disks (untested).
1970 Code for USB device detection refactored.
1972 [AS] FreeBSD: cam_get_umassno rewritten using XPT_PATH_INQ
1974 [AS] FreeBSD: do not open/close cam device on every request for SCSI
1975 disks. Use com->camdev both for SCSI and ATAPICAM.
1977 [AS] FreeBSD: added support for the ada disks, based on agapon patch
1979 [CF] Add names for attributes 184 and 188, see ticket #17.
1981 [CF] configure.in: Change configure date syntax.
1982 Add message to '-mno-cygwin' option check.
1984 [GK] Add names for some attributes used in MLC flash drives:
1985 175, 176, 177, 181, 182
1987 [CF] Windows: Check support of gcc '-mno-cygwin' option in configure.
1988 This option has been removed in Cygwin gcc 4.x. Update INSTALL
1989 instructions accordingly.
1991 [CF] Increase SCSI_TIMEOUT_DEFAULT from 6 to 20 seconds to avoid
1992 timeouts when a disk spins up from standby mode.
1994 [CF] Add USB ID of AcomData 504 (OnSpec USB bridge).
1996 [AS] Correcting manual pages (FreeBSD related)
1998 [AS] FreeBSD: fix FTBFS on GNU/kFreeBSD (reported by derevko).
2000 [AS] FreeBSD: Add USB autodetection to smartd DEVICESCAN directive.
2002 [CF] Add USB ID of Myson Century CS8818, add some comments.
2004 [CF] Return info strings from 'smart_interface::get_*()' functions as
2005 'std::string' instead of 'const char *'. Static buffers are no
2008 [SZ] FreeBSD: Fix highpoint type detection and ioctl failed for parameter
2011 [CF] Linux: Add USB autodetection to smartd DEVICESCAN directive.
2013 [CF] Add USB IDs of Maxtor Basics Desktop and ISD-300A1.
2015 [AS] Use malloc() to ensure that the read buffer lands on a single
2016 page. This avoids some bugs seen on LSI controlers under
2019 [CF] Add missing help text for '-d usb*' options.
2021 [CF] Linux: Dereference '/dev/disk/by-*/*' symlink before device type
2024 [AS] FreeBSD: Support SATA disks attached to a SAS controller (based on
2025 patch from freebsd ports tree).
2027 [AS] FreeBSD: Added FreeBSD 8 libusb2 device autodetecion, new
2028 configure check for -lusb.
2030 [AS] FreeBSD: Added USB device autodetection and fixed -d switch behavior.
2032 [AS] FreeBSD: Migrate os_freebsd.cpp to new interface.
2034 [CF] Fix max number of 3ware devices, 128 devices are supported again.
2035 Regression was introduced during migration to new interface.
2036 Thanks to Michael Holweg for the problem report.
2038 [CF] Windows installer: Add 'DisplayVersion' to uninstall registry key.
2040 [MS] knowndrives.cpp updates:
2041 - Marvell SSD SD88SA024BA0
2042 - Fujitsu MHZ2 BH series
2043 - Fujitsu MHZ2 BJ series
2044 - Seagate Maxtor DiamondMax 23
2045 - WD Caviar Green: Add some 32MB cache variants
2046 - relax OCZ-Vertex pattern
2048 [CF] Add USB ID of Verbatim FW/USB160.
2050 [CF] Fix data type bug in checksum test for multi sector logs.
2052 [CF] Add USB ID of Seagate FreeAgent Go.
2054 [MS] Add experimental feature to log attribute values at each check
2055 cycle (ATA only), activated with the smartd option
2056 "-A PREFIX" / "--attributelog=PREFIX".
2057 Introduce configure options "--enable-attributelog" and
2058 "--with-attributelog=PREFIX" to enable feature by default.
2060 [DG] [SAT] Heads up about a non backwardly compatible change
2061 introduced in draft SAT-2 (sat2r8b.pdf) that will break our
2062 existing SAT processing code. Action needed if change stands.
2064 [MS] smartd.cpp: Adjust umask
2066 [CF] Makefile.am: Remove 'uninstall-docsDATA' target to fix
2067 'make distcheck' with automake 1.11. The 'make uninstall'
2068 of examplescripts fails if docdir does no longer exist.
2070 [CF] Remove 'scsiata.h'. The 'scsiata.cpp' module now implements
2071 parts of 'dev_interface.h'.
2073 [CF] smartctl: Don't report an attribute as failed if threshold is 0.
2075 [CF] Print only one warning on checksum errors in multi sector log.
2076 Remove casts from calls of checksum().
2078 [DG] minor changes to SCSI background scan strings
2080 [MS] knowndrives.cpp updates:
2081 - Fujitsu MHW2 BJ series
2082 - WD Caviar Black family
2084 [MS] Makefile.am: Make creation of svnversion.h independent of
2087 [CF] Require to specify PORT parameter of '-d usbjmicron' if two disks
2090 [CF] smartctl: Limit default number of printed entries for
2091 '-l xerror' to 8, for '-l xselftest' to 25.
2093 [CF] smartctl: Fix number of entries in '-l xselftest' output.
2095 [CF] Add USB IDs of a SunplusIT bridge, three WD drives, and an
2096 unsupported Iomega drive.
2098 [CF] Makefile.am: Use 'svnversion' instead of 'svn info' to get
2099 the revision number. This also checks for mixed and modified
2102 [CF] Remove CVS Id strings from '-V, --version' output.
2104 [CF] Update CONTRIBUTORS section on man pages.
2106 [CF] Makefile.am: 'make maintainer-clean' now removes also files
2107 generated by './autogen.sh'.
2109 [CF] Invalidate 'do_release' script, it needs some rework for SVN.
2111 [CF] Update documentation files for SVN.
2113 [CF] Rename trunk/sm5 to trunk/smartmontools.
2115 [CF] Print SVN revision number instead of time in version info line.
2116 Get SVN revision number from svn (if available) or guess from
2117 Id strings. Rename generated file to svnversion.h.
2119 [CF] Makefile.am: Modify generation of cvsversion.h for SVN.
2121 [GP] Convert CVS repository to SVN.
2123 [CF] smartd: Fix size of monitor flag array from previous commit.
2125 [CF] Makefile.am: Add missing 'megaraid.h'.
2127 [CF] smartd: Add '!' flag to '-r' and '-R' directives. If specified,
2128 message is logged as LOG_CRIT and warning mail is sent if
2129 attribute normalized or raw value changes.
2131 [CF] Replace global 'con->...' variables used for selective self-tests
2134 [GK] Add names for some attributes used in Samsung MLC drives:
2137 [CF] smartctl: Add option '-x, --xall' to print all info including
2138 extended SMART logs and non-SMART info.
2140 [CF] smartctl: Add '-l xerror,error' and '-l xselftest,selftest' to print
2141 the old logs if the extended logs are not supported.
2143 [MS] knowndrives.cpp updates:
2144 - Western Digital AV-GP series
2145 - Transcend Solid-State Drive and Transcend Solid-State Drive V series
2146 - Seagate Momentus 5400.5 series
2148 [CF] Disable 48-bit ATA commands for JMicron USB bridges by default
2149 because these commands do not work with all devices.
2150 Add '-d usbjmicron,x' to enable 48-bit commands.
2151 Thanks to Alexander Shaduri for the problem report.
2153 [CF] smartd: Don't ignore the '-n' directive when a self-test is
2154 scheduled. Start the self-test later when the disk is active
2157 [DG] SCSI (SAS): implement '-l sasphy,reset' (reset part was stub
2160 [DG] add 'ATA, SCSI command sets and SAT' section to smartctl.8 .
2161 [SCSI] add 'number of background medium scans' field
2163 [DG] SCSI (SAS): add '-l sasphy' and '-l sasphy,reset' into smartctl
2164 to output SAS device phy information (from the Protocol specific
2167 [CF] autogen.sh: Remove 'CYGWIN=check_case:strict', this does no
2168 longer work on Cygwin 1.7. Print warning if Automake version
2169 cannot handle case insensitive filesystems.
2171 [CF] Remove '#define TRUE/FALSE', use 'bool' and 'true/false'.
2173 [CF] Add 'options' parameter to SCSI printing routine. Move global
2174 'con->...' smartctl variables to 'options' parameters of
2177 [CF] Windows: Remove outdated entry about undocumented system calls
2180 [CF] Print General Purpose Logs even if GPL feature bit is missing.
2181 Needed for some older disks which implement READ LOG EXT but
2182 do not report the GPL feature set.
2183 Change order of the extended log outputs ('-l xerror',
2184 '-l xselftest', '-l sataphy'). Extended logs are now printed
2185 before their old versions.
2187 [CF] autogen.sh: automake 1.10.2 and 1.11 are OK.
2189 [CF] Fix syntax error in prototype of 'safe_snprintf()'.
2190 Thanks to Alexander Shaduri for bug report and patch.
2192 [DG] SCSI: Fetch load-unload cycle counts.
2194 [CF] Windows: Add Win-7 and Win2008 to get_os_version_str().
2196 [CF] smartd: Fix '-M test' directive in conjunction with '-s' option.
2197 Thanks to Matthias Becher for the problem report.
2199 [MS] knowndrives.cpp updates:
2200 - Add Seagate Barracuda 7200.12 series
2201 - Add Seagate Momentus 5400.4 series
2202 - Add Hitachi Deskstar 7K1000.B series
2203 - Add Transcend SSD TS32GSSD25-M
2204 - Add OCZ Vertex 1199
2206 [CF] knowndrives.cpp updates:
2207 Add Samsung S250 series.
2208 Add '-v 198,increasing' to Samsung P80.
2209 Replace '#if/#endif' by comment to fix configure option
2212 [CF] knowndrives.cpp update:
2213 Add Seagate 7200.11 with 'CC' firmware which is unaffected
2214 by the bug. Thanks to Bas Mevissen for the patch.
2216 [CF] Replace global 'con->...' variables used for drive presets
2219 [CF] Simplify '-v' vendor attribute option parsing.
2220 Add '-v 197,increasing' and '-v 198,increasing' options
2221 to specifiy that an uncorrectable count is never reset.
2222 This modifies the printed attribute names and smartd's
2223 default setting of '-C' and '-U' directives.
2224 Both '-v' options can also be preset in the drive database.
2226 [CF] Add '+' modifier to smartd '-C' and '-U' directives.
2227 If specified, a warning is only printed if the raw value
2230 [CF] Add smartctl option '-l xselftest[,NUM]' to print
2231 ATA SMART Extended Self-test Log (GP Log 0x07).
2233 [CF] Add experimental option '-d usbsunplus' for drives behind
2234 SunplusIT USB bridges. Tested on WinXP with SPIF215(?) in
2235 TrekStor DataStation maxi m.u.. Many thanks to SunplusIT
2236 tech support for providing the required information.
2238 [CF] Windows: Provide a non-console version of smartctl.exe
2239 as smartctl-nc.exe. This prevents that a new console is
2240 opened when smartctl is run from a GUI program with
2242 Used by GSmartControl (http://gsmartcontrol.berlios.de/).
2244 [CF] Remove support for platforms without getopt_long() in
2245 smartctl.cpp and smartd.cpp. If getopt_long() is missing,
2246 ./configure aborts with an explanatory message.
2247 For now, short option help texts are only removed from
2248 os_linux.cpp and os_win32.cpp. HAVE_GETOPT_LONG is still
2249 defined in config.h.
2251 [CF] Add smartctl '-d test' option to print the result of the
2252 device type detection.
2254 [CF] Enhance USB device type autodetection, use bcdDevice if known.
2255 Add Cypress CY7C68300B/C (AT2LP) to the table.
2257 [CF] Linux: Add experimental USB device type autodetection.
2258 Uses USB ID info found through symlink "/sys/block/sdX/device".
2260 [CF] Windows: Add experimental USB device type autodetection.
2261 Uses WMI command line tool 'wmic' to query USB ID.
2263 [CF] Add function smart_interface::get_usb_dev_type_by_id() to map
2264 USB vendor:product IDs to '-d type' names. Can be used by
2265 platform dependent layer to autodetect USB devices if ID of
2266 USB bridge is known.
2268 [CF] smartd: Log changes of self-test execution status if
2269 '-l selftest'is specified.
2271 [CF] knowndrives.cpp update:
2272 Samsung SpinPoint F1 RE series
2274 [MS] knowndrives.cpp update:
2275 Seagate Momentus 5400.6 series
2277 [CF] Add forgotten SCSI sense checks to class usbjmicron_device.
2279 [CF] Add new SMART STATUS check command for JMicron USB bridges.
2280 Should support also older chip versions and prevents a race
2283 [CF] Windows: Fix win_scsi_device::scsi_pass_through() for single byte
2284 data transfers. Required for JMicron SMART STATUS check.
2286 [MS] knowndrives.cpp update:
2287 Add Hitachi Travelstar C4K60 family (1.8" slim drives)
2289 [MS] Workaround for huge raw values of attribute 9, needed
2290 for Hitachi Travelstar C4K60. For the Power_On_Minutes case,
2291 clip the display to 4 bytes and show the remaining part,
2292 if existent, in parens.
2294 [CF] Add experimental option '-d usbjmicron[,PORT]' for drives
2295 behind JMicron USB bridges. Tested on WinXP with JM20336 in
2296 AixCase AIX-ESU35CD. Many thanks to JMicron tech support
2297 for providing the required information.
2299 [MS] knowndrives.cpp update:
2300 Add WD Caviar Green 8MB and 32MB cache variants, stretch to 2TB.
2302 [CF] knowndrives.cpp updates: Add more entries for Samsung P80 disks
2303 with old and unknown firmware. Remove old entries which would
2304 match any new Samsung model reusing old firmware version number.
2306 [CF] Windows: Add a workaround for missing multi-sector support
2307 for ATA READ LOG EXT command.
2309 [CF] Fix Extended Comprehensive Error Log index base.
2310 Add workaround for Samsung disks using reserved byte as index.
2312 [CF] knowndrives.cpp updates: Update bug warnings for
2313 Seagate 7200.11, ES.2 and DiamondMax 22. Add new entries
2314 for fixed firmware versions.
2316 [CF] Add smartctl option '-l xerror[,NUM]' to print
2317 ATA SMART Extended Comprehensive Error Log (GP Log 0x03).
2319 [MS] knowndrives.cpp update:
2320 Added remaining WD Scorpio Blue SATA II drives
2322 [CF] Minor fix to remove ID 0 from 'smartctl -l sataphy ...' output.
2324 [CF] knowndrives.cpp updates: Add warnings about possible firmware
2325 bugs to Seagate 7200.11, ES.2 and DiamondMax 22 entries.
2327 [CF] knowndrives.cpp updates: Add Samsung SpinPoint F1 series.
2329 [CF] Windows: Fix return value of scsi_pass_through(). Regression
2330 was introduced during migration to new interface. SAT over USB
2331 now works on XP (both '-d sat,12' and '-d sat,16').
2333 [MS] knowndrives.cpp updates:
2334 - Added Western Digital RE2-GP family
2335 - Added Hitachi Travelstar E5K160 family
2336 - Allow uppercase variants of Hitachi 5K160 drives
2338 [CF] Fix smartctl crash on '-l directory,[gs]'. Allow to override
2339 missing GPL feature bit or missing log dir entry with
2340 '-T permissive' option.
2342 [SZ] os_freebsd.cpp, os_freebsd.h updates:
2343 Support HighPoint RocketRAID controller under FreeBSD
2345 [MS] knowndrives.cpp updates:
2346 - Added Western Digital RE3 32MB cache variants
2347 - Added WD Caviar Green 32MB cache variant (WD10EADS)
2348 - Added WD Scorpio Black family
2350 [DG] Accept half healthy (and half unhealthy) indication from the
2351 SMART RETURN STATUS. This makes allowance for SAT implementations
2352 (e.g. via USB) that truncate the SCSI sense buffer to 18 bytes.
2353 This truncation causes the SMART RETURN STATUS indication to be
2354 half health or unhealthy. If the half indication is used, then
2355 warn if '-r ioctl' is given.
2357 [MS] knowndrives.cpp updates:
2359 - Added Seagate U8 family
2361 [DL] os_freebsd.cpp:
2362 Added support for CHECK_POWER_MODE and WRITE_LOG commands
2364 [MS] knowndrives.cpp update:
2365 There seem to exist WD Raptors with SATA II interface, add them.
2367 [MS] knowndrives.cpp updates:
2368 - Added remaining Seagate Barracuda 7200.11 drives
2369 - Added HP 1TB SATA disk
2371 [MS] knowndrives.cpp updates:
2372 - Added Maxtor 92040U6 (DiamondMax Plus 6800)
2373 - Added Seagate Maxtor DiamondMax 21 500GB version
2374 - Added QUANTUM FIREBALLlct15 22
2375 - Added QUANTUM FIREBALL CR6.4A
2376 - Added QUANTUM FIREBALLP LM20.4
2377 - Added SUN branded Toshiba MK4019GAX
2378 - Added TOSHIBA MK1016GAP and relatives: MK1[05]1[67]GAP
2379 - Added Western Digital WD800AB and WD2500AB
2380 - Some Hitachi 7K160 drives have garbage at end of name: permit it
2382 [CF] Add smartd '-n powermode,N' directive parameter to limit the
2383 number of skipped checks. Thanks to Michal Hlavinka for the patch.
2385 [MS] knowndrives.cpp updates:
2386 - Added Hitachi Endurastar J4K30/N4K30
2387 - Added Hitachi Travelstar 4K120 series
2388 - Some Hitachi 7K80 drives have garbage at end of name: permit it
2389 - IBM Travelstar 6GN series
2391 [MS] knowndrives.cpp updates:
2392 - Added Quantum Fireball ST4300A
2393 - Added Asus-Phison SSD (solid state disk)
2394 - Added Seagate DB35.3 Series
2395 - Added remaining disks of the Seagate SV35.2 Series
2397 [MS] Fix trivial compile error with "-pedantic"
2399 [MS] Workaround for huge raw values of Reallocated_Sector_Ct and
2400 Reallocated_Event_Ct for newer Fujitsu disks (only the lower
2401 16 bits seem to be meaningful). Clip the display to 16 bits
2402 and show the remaining part, if existent, in parens. Patch by [CF].
2404 [CF] smartd DEVICESCAN: Fix autodetection of SAT devices.
2405 Thanks to Stanislav Brabec for bug report and testing.
2407 [MS] knowndrives.cpp update:
2408 Convert file to full string regex: remove "^$" from pattern
2410 [MS] knowndrives.cpp updates:
2411 - Added Seagate Momentus 5400 PSD series (hybrid drives)
2412 - Added Seagate Momentus 7200.3 series
2413 - Added Hitachi Deskstar 7K250 (SUN branded)
2414 - There are Hitachi Travelstar 5K250 drives with capital "HITACHI"
2415 - Correct regex for Maxtor VL 30 drives
2417 [CF] Add configure options '--enable-savestates' and
2418 '--with-savestates=PREFIX' to enable smartd persistence
2419 ('-s' option) by default.
2421 [CF] smartd: Add '-s ([cnr]/../.././..)' directive to run scheduled
2422 selective self-tests. Useful to perform full tests of large disks
2425 [CF] Allow to read local drive database entries from optional file
2426 '${sysconfdir}/smart_drivedb.h'.
2427 Add configure options '--enable-drivedb' and '--with-drivedbdir=DIR'.
2428 If specified, drive database is read from '${drivedbdir}/drivedb.h'.
2429 (default '${prefix}/share/smartmontools/drivedb.h'). This file
2430 is build from knowndrives.cpp.
2432 [MS] knowndrives.cpp updates:
2433 - Added 640GB variants of Western Digital AAKS and AACS drives
2434 - Added Western Digital AV ATA family
2435 - Added 160GB variant of Hitachi P7K500
2436 - Added 500GB variant of Hitachi 7K1000
2437 - Some cleanup for Quantum disks
2438 - Added Seagate Maxtor DiamondMax 22 family
2440 [CF] Use full string match for regexp in drive database.
2442 [CF] Add option '-d sat+TYPE' to use SAT with controllers which
2443 require option '-d TYPE'. Should work with '-d sat+megaraid,N'.
2444 As a side effect, '-d usbcypress+TYPE' is also supported.
2446 [CF] Add parser to read drive database from a file. Add '-B' option
2447 to smartctl and smartd to specify database file name. File syntax
2448 is identical to the C/C++ syntax used to inialize the internal
2451 [CF] New syntax for drive database: Specify presets by strings
2452 with '-v' and '-F' options. Use empty strings instead of NULL.
2454 [JPH] Added Linux support for viewing disks behind MegaRAID
2457 [CF] smartd: Improve min/max temperature recording in conjunction
2460 [CF] Add a wrapper class for FILE *.
2462 [CF] smartd: Add experimental support for state persistence (ATA only).
2463 Add option '-s' to specify path prefix for state files.
2464 Rework scheduled self-test detection to support persistence.
2465 If any test schedules are within downtime, the highest priority
2466 test is run after next startup.
2468 [CF] Remove casts from 'format_ata_string()' calls.
2470 [CF] Minor changes to fix errors and warnings from Cygwin gcc 4.3.0.
2472 [CF] smartd: Remove SCSITIMEOUT code. According to smartd.h 1.54 CVS log
2473 from 2003-10-27, it did never work.
2475 [CF] Remove dependencies ataprint.cpp and scsiprint.cpp from smartd.
2476 Move common ATA functions from ataprint.cpp to atacmds.cpp.
2477 Module scsiprint.cpp was apparently never used in smartd.
2479 [CF] Move smartd local declarations from smartd.h and utility.h to
2480 smartd.cpp. Remove smartd.h.
2482 [CF] Fixed extra '\n' in "Offline data collection status" output.
2483 Thanks to Alexander Shaduri for the patch.
2485 [CF] smartd: Separate device configuration data from device state data.
2486 Use references instead of pointers for configuration and state data.
2488 [CF] Add const-correctness and static to ATA support functions.
2490 [CF] Add a wrapper class for regex.
2492 [CF] Simplify 'create_vendor_attribute_arg_list()'.
2494 [CF] smartd: Rework of main data structures. Remove explicit memory
2495 allocations, use STL containers and structs with value semantics
2496 instead. Remove old malloc/free based memory management helper
2497 functions unless old interface is still in use.
2499 [CF] Linux: Cleanup device scan, remove name list, create objects directly.
2501 [CF] Linux: Cleanup smart_device::open(), type strings are no longer used.
2503 [CF] Remove CONTROLLER_* defines and variables unless old interface
2506 [CF] Linux: Migrate 3ware interface to 'ata_pass_through()'.
2507 Multi-sector support is not complete yet. 48-bit commands
2509 WARNING: Not tested, please review code before first test!
2511 [CF] Linux: Migrate os_linux.cpp to new interface.
2513 [CF] Add direct access to 16-bit registers in 'ata_in/out_regs_48bit'.
2515 [CF] Add 'ata_cmd_is_ok()' parameter check,
2516 remove 'ata_pass_through_28/48bit()' functions.
2518 [CF] Add CVS date/time from cvsversion.h to man pages also.
2520 [CF] Add configure option '--with-os-deps='os_module.o ...' to specify
2521 alternate OS interface modules. Useful for testing during migration.
2523 [CF] Remove declarations of 'optarg', 'optind', ..., include <unistd.h>
2524 instead. This fixes 'auto-importing' linker warnings on Cygwin.
2526 [CF] Add '-l sataphy[,reset]' to print SATA Phy Event Counters.
2528 [CF] Add '-l gplog,ADDR[,FIRST[-LAST|+SIZE]]' and '-l smartlog,...'
2529 to dump any log page accessible via GP or SMART read log commands.
2531 [CF] Enhance '-l directory' to print both GP and SMART Log directories.
2532 Add '-l directory[,gs]' modifiers to select GP or SMART log.
2533 Enhance 'ata_cmd_in' parameter struct for 48-bit commands.
2535 [CF] Windows: Add full ATA pass through support including 48-bit commands.
2537 [CF] Windows: Migrate os_win32.cpp to new interface.
2539 [CF] SAT: Add full ATA pass through support including 48-bit commands.
2541 [MS] knowndrives.cpp update
2542 - Added FUJITSU MHZ2250BS G2 and family
2544 [MS] knowndrives.cpp updates
2545 - Added Maxtor DiamondMax 60 94098H6
2546 - Added Maxtor DiamondMax 1280 84000A6 and family
2547 - Added Maxtor DiamondMax VL 30 31536H2 (ATA100) and family
2548 - Some Seagate Barracuda 7200.9 have garbage at end of name: permit it
2549 - Added Seagate Barracuda ATA ST320430A and family
2550 - Regression from previous checkin: add WD RE2 WD...0ABYS again
2551 - Added WD RE3 WD5002ABYS and family
2552 - Added Quantum Fireball CR13.0A
2553 - Added Hitachi Travelstar 5K250 HTS542525K9SA00 and family
2554 - Added WD AC420400D and add whole range of AC.... which
2555 have 5400rpm or higher (i.e. PIO-only drives omitted)
2557 [MS] knowndrives.cpp updates
2558 - WD: Separated entries for EIDE and SATA
2559 - WD: Separated entries for Caviar SE, SE16, RE, RE2
2560 - WD Named: WD Caviar AC series
2561 - WD Renamed: WD Caviar RE/RE2 -> WD RE/RE2
2562 - WD Renamed: WD Caviar SE/SE16 WD....AA[A-Z][A-Z] -> WD Caviar Blue
2563 - WD Renamed: WD Scorpio WD....BEV[A-Z] -> WD Scorpio Blue
2564 - Added WD Scorpio Blue WD3200BEVT
2565 - Added WD RE2 WD5001ABYS and family
2566 - Added WD Caviar Green WD5000AACS and family
2567 - Added WD VelociRaptor WD3000GLFS and family
2568 - Added Seagate Barracuda ES.2 ST31000340NS and family
2569 - Added Samsung SP80A4H
2570 - Added Maxtor DiamondMax 21 STM3160215AS and STM3320620AS
2571 - Added Seagate Barracuda 7200.7 ST380819AS
2572 - Added Maxtor DiamondMax 10 6B100P0
2573 - Added Seagate SV35.2 Series
2574 - Added Fujitsu MHY2120BH and family
2575 - Added Fujitsu MHW2080BH PL (PL variant)
2576 - Added Toshiba MK3252GSX and family
2578 [BA] Fix smartctl bug: when running in silent mode '-q errorsonly'
2579 do not print the Selective Self-test log. Any errors will
2580 ALREADY appear in the SMART Self-test log.
2582 [CF] Add missing 'const' and other minor fixes to prevent gcc warnings.
2584 [OB] Added information message about supported Areca firmware versions.
2585 It's displayed in case the ATA device identification fails.
2587 [CF] Add configuration file for Doxygen.
2589 [CF] Add new object oriented interface to access ATA and SCSI devices.
2590 smartctl and smartd are modified to use the new classes in
2591 'dev_interface.{h,cpp}'. The template class in 'dev_tunnelled.h'
2592 is used in 'scsiata.cpp'. The code in 'dev_ata_cmd_set.{h,cpp}'
2593 supports migration from old function 'ata_command_interface()'.
2594 All existing 'os_*.cpp' modules should still work without any changes.
2595 The required adapter classes from 'dev_legacy.cpp' are automatically
2596 added by configure if necessary.
2598 [BA] Updated smartd and smartctl and smartd.conf man-page documentation
2599 to reflect support for Areca SATA RAID controller cards.
2601 [OB] Added support for Areca controllers to smartd. Extensive tests
2602 as well as documentation are still pending however.
2604 [OB] Implemented device locking for Areca controllers in smartctl
2606 [BA] Fixed selective self-test code. Data structure revision number
2607 may be != 1 if no selective self-test has ever been run. Host
2608 MUST set this value (at least at the first selective self-test
2609 instance). Thanks to Curtis Stevens of WDC for clarification.
2611 [MC] usbcypress autodetection
2613 [BA] Starting to commit Areca code. For now just smartctl.
2614 More changes and documentation coming soon.
2615 Need Areca firmware version 1.45 dated 10 June 2008 or later.
2616 May need changes in opening /dev/sg and file locking.
2617 Many thanks to Hank Wu!
2619 [CF] smartd: Fix too small name buffer for 3ware with >100 devices.
2621 [JH] now C++ Support for QNX Target
2622 already tested for QNX 6.3.2 on x86 and armle target
2624 [CF] Allow to set BUILD_INFO from make command line.
2626 [CF] Windows: Add MSVC8 support, remove MSVC6 project files.
2628 [MC] Add usbcypress device support for smartd.
2630 [CF] Add output of latest CVS date/time stamp to version info.
2631 New file cvsversion.h is generated by Makefile.
2632 Move formatting of version info to utility.cpp.
2634 [AR] Fix bug in 3ware node creation where nodes would be created
2635 then deleted, then recreated.
2637 [BA] Add missing CCISS cvs version tags to '-V' printouts.
2639 [TS] Linux: Ensure the 3ware device nodes are created with a correct
2640 SELinux security context.
2642 [AR] Add support for up to 128 devices on 3ware controllers.
2644 [CF] C++: Added new main() with exception handlers, replaced
2645 exit(x) with throw(x), removed global variable 'exitstatus'.
2646 Necessary for future changes, because exit() does not call
2649 [SS] FreeBSD: plug file descriptor leak in smartd (only happens with
2650 CISS devices). Reported by Vadim Ostranitsyn.
2652 [SS] FreeBSD: allow smartctl to interact with SCSI /dev/pass devices,
2653 thus enabling it to work with RAID controllers that expose disks
2654 via these devices. From scottl@ via FreeBSD ports.
2656 [MC] Add usbcypress device support for smartctl.
2658 [KS] INSTALL on Solaris: updated description to use C++ compiler.
2660 [KS] configure.in on Solaris: added options for Sun's compiler to
2661 suppress trivial warnings.
2663 [KS] configure.in on Solaris: added direction to search suitable
2664 libraries for getaddrinfo().
2666 [TS] smartd on Linux: remove forgotten return from deviceopen();
2667 SCSI device descriptors had the FD_CLOEXEC flag unset.
2669 [CF] Added 'const' to avoid warning on depreciated string constant
2670 to 'char *' conversion.
2672 [CF] autogen.sh: automake 1.10.1 is OK. Updated message texts.
2674 [BA] removed smartmontools.spec file (now in CVS Attic). This
2675 was not being used by RH or FC anyhow, and was out of
2676 date and not maintained.
2678 [BA] smartd on Linux: sets FD_CLOEXEC on the opened device file
2679 descriptor. The descriptor is otherwise leaked to other
2680 applications (mail sender) which may be considered a security
2681 risk and may result in AVC messages on SELinux-enabled systems.
2682 Thanks to: Tomá Smetana" <tsmetana@redhat.com>.
2684 [BA] smartd: when sending email, to gather information about the
2685 host for the body of the email, eliminate gethostbyname()
2686 in favor of the IPv6-friendly function getaddrinfo() if the
2687 latter is available. Info may be found here
2688 http://udrepper.livejournal.com/16116.html
2690 http://people.redhat.com/drepper/userapi-ipv6.html
2691 Thanks to: Tomá Smetana" <tsmetana@redhat.com>.
2693 Smartmontools developers: please check that smartd still LINKS
2694 properly on your systems.
2696 [BA] Fix ugly syntax bug in os_freebsd.cpp. How did this go
2697 undetected for so long??
2699 SMARTMONTOOLS STABLE RELEASE 5.38 2008/03/10
2701 [KS] Solaris/x86: modified configure.in for Sun's compiler.
2703 [BA] smartd.initd.in addition from Erwan Velu <erwan@seanodes.com>
2707 - On Linux, DEVICESCAN now automatically recognizes SATA devices
2708 behind libata, and SATA devices behind the Marvell driver, and
2709 treats them correctly.
2711 - On Linux, a '-d sat' or '-d marvell' is automatically added
2712 if libata or the marvell driver are recognized behind a SCSI
2715 [SS] (Maybe) fix attribute autosave in FreeBSD.
2717 [SS] Major NetBSD-specific bugfixes:
2718 - handle actual SCSI and ATA errors and not only ioctl() errors;
2719 - set up I/O request properly for AUTO_OFFLINE and AUTOSAVE commands (inspired by
2720 similar change in os_freebsd.cpp);
2721 - handle AUTO_OFFLINE and AUTOSAVE like STATUS_CHECK (like os_linux.cpp does).
2723 [GG] add kfreebsd gnu support to configure.in
2725 [BA] Fix auto-offline support in FreeBSD. Thanks to
2726 Cyrus Rahman <crahman@gmail.com> for the patch, and
2727 Eduard Martinescu for blessing it.
2729 [DG] smartd re-opens "SCSI" devices as ATA devices if a SAT layer is
2730 detected (smartd bug IMO). In Linux this upsets scsi generic
2731 device nodes (e.g. /dev/sg0). Detect the re-open in os_linux.cpp
2732 and set the O_RDWR flag (ATA uses the O_RDONLY flag).
2734 [CF] Drive database: Added Fujitsu MHW2 BH, Maxtor DiamondMax 17, 20, 21,
2735 Hitachi Travelstar 4K40, 5K120, 7K200, Deskstar 7K160, T7K500,
2736 T7K1000, Toshiba 1.8", Seagate Momentus 5400.3, 5400.3 ED, 7200.2,
2737 Barracuda 7200.11 and ES.
2738 Updated Toshiba 2.5", Seagate Barracuda 7200.9 and 7200.10.
2739 Added missing "(Hitachi )?" to Travelstar entries.
2741 [CF] Drive database: Added several Western Digital Caviar and Scorpio
2742 drives, added Caviar RE EIDE family.
2744 [CF] Drive database: Added Samsung P80 series with *-25 firmware.
2746 [CF] Replaced 'head [-n] -1' by 'sed 1...' in autogen.sh to avoid
2749 [BA] Fixed autogen.sh script so that it uses 'grep -n 1' if 'grep -1'
2750 fails. Needed for Mac OS X 10.4. Uck.
2752 [CF] Windows: Added IOCTL_STORAGE_PREDICT_FAILURE. This allows access
2753 to ATA SMART status and data if other calls do not work.
2754 Thanks to Jaroslaw Kowalski for pointing this out.
2755 Added support to use this function without admin rights.
2757 [CF] Added ATA-8 revision 4c message text.
2759 [CF] Added compiler.h to cciss_ioctl.h header check to prevent
2762 [SS] DragonFly support added (using os_freebsd code; untested).
2764 [CF] smartctl: Fixed ATA identify byte swapping issue on big-endian
2765 platforms. This regression was introduced by the change for
2766 '-F swapid'. Thanks to Matthew Butch for bug report and testing.
2768 [DG] SAT/SCSI: Improve SAT error processing code. Aborted commands from
2769 ATA devices (typically because SMART was disabled) were not being
2772 [GG] smartd: wait for the pid file to show up, return an error if it doesn't
2774 [JH] fix bad return code (get STATUS) for QNX Part
2776 [JH] initial porting to QNX Neutrino 6.3.2
2777 need at this time a prerelease devb-eide driver and libcam.so.2
2778 only tested for X86 Target, but devb-eide and lobcam.so.2 available for X86/ARM
2779 the officional driver coming soon with the next QNX release
2780 create two new source files os_qnxnto.[c..h]
2782 [CF] smartd: Added option '-n, --no-fork' so that smartd works
2783 better with modern init methods. Thanks to Enrico Scholz
2784 for the patch from 2005-12-24.
2786 [CF] Windows: Improved ATA/SCSI device type detection and
2787 DEVICESCAN. This also fixes a regression in 3ware DEVICESCAN.
2789 [CF] smartd: Don't start self tests in first pass to avoid
2790 performance problems during boot.
2791 https://bugzilla.novell.com/show_bug.cgi?id=192591
2793 [CF] Fixed regression in SMART STATUS command on Win9x/ME.
2795 [BA] Fixed 3ware issue with new controllers. Documentation said
2796 that one could address up to 24 disks on a single controller,
2797 but in fact one was limited to 16 disks. This is now fixed:
2798 up to 32 disks can be addressed. Thanks to Adam Radford.
2800 NOTE1: I have patched the Linux and FreeBSD code but not
2801 modified the Win32 code (it already supports up to 32 disks).
2803 NOTE2: NOT TESTED ON LINUX. Do not use this on a production box!
2804 I will remove this NOTE2 as soon as some positive test
2805 reports are recieved.
2807 NOTE3: NOT TESTED ON FREEBSD. Do not use this on a production box!
2808 I will remove this NOTE3 as soon as some positive test
2809 reports are recieved.
2811 [CF] Windows installer: Added explorer drive menu, CMD window,
2812 UBCD4Win plugin, smartd service update and other minor
2815 [CF] Windows: Modified drive letter handling for explorer drive
2816 context menu: try SCSI if type is unknown, allow 'X:\.' syntax.
2818 [CF] Windows: Added automatic ATA/SCSI device type detection and
2819 SCSI device scanning. The device names '/dev/sdX' and
2820 '/dev/pd<n>' now work for both ATA and SCSI disks.
2822 [CF] smartctl: Added ability to parse '-r ataioctl,2' output from
2823 stdin ('-') and simulate the ATA commands for testing purposes.
2825 [BA] SMART Attributes: added 187, 189, more accurate name for 190.
2827 [CF] Windows: Added drive letters 'X:' as alternate disk device names.
2829 [CF] smartctl: Added '-F swapid' to fix ATA identify string byte
2830 ordering. Added '-q noserial' to suppress serial number output.
2832 [CF] Windows: Added '/dev/n?st<n>' as alternate device names for SCSI
2833 tapes. These names are also used by Cygwin's /dev emulation layer.
2834 Thanks to Corinna Vinschen (Cygwin project lead) for pointing this
2837 [CF] Windows: Added IOCTL_SCSI_MINIPORT_*SMART* for commands not handled
2838 properly by SMART_IOCTL in disk class driver. This allows to use
2839 READ_LOG, WRITE_LOG and ABORT_SELFTEST even if the driver does not
2840 support ATA_PASS_THROUGH.
2842 [CF] Added ATA-8 revision 4, fixed WRITE LOG '-r ioctl' output.
2844 [BA] Updated smartctl and smartd so that they can be used with the latest
2845 3ware controllers which have 24 ports. Also updated docs.
2846 Thanks to Tim Bell at CERN.
2848 [GG] bit 4 in smartctl's return code might be set even when the dist check
2849 didn't return "DISK OK"
2851 [CF] Drive database: added '-F samsung3' for Samsung P80 firmware
2854 [SS] Applied patch from Dean Bennett to fix scheduled tests on
2855 Highpoint RAID controllers.
2857 [BA] Added patch from Tejun Heo http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
2858 to fix broken auto-offline and auto-save via libata. Very clean fix: does it
2859 "the right way". Thanks Tejun!
2861 [CF] Added message text for ATA-7 self-test execution status 8
2862 ("... handling damage").
2864 [GG] cciss: support more than 16 disks (patch taken from
2865 http://cciss.sourceforge.net/smartmontools_cciss_more_than_16_drives.patch
2866 and adjusted for smartd)
2868 [DG] Solaris: [SCSI] add USCSI_RQENABLE flag to uscsi pass-through so
2869 sense buffer is made available. Expand reporting at this level.
2871 [GK] Darwin: Improve handling of powered-down drives.
2873 [SS] CCISS physical drive enumeration method changed (incompatibly).
2875 [CF] Fixed smartd crash on missing '-s' directive argument.
2877 [SS] Support CCISS on FreeBSD (kernel source is required until FreeBSD PR 109813
2880 [DG] SCSI/TAPE: some IBM tape drives don't react properly to a LOG
2881 SENSE with an allocation length of 4; work around for that case.
2883 [CF] Applied Guido's patch to fix CCISS LUN array bounds check
2884 (openSUSE bug #239956) and remove trailing spaces in
2887 [CF] Fixed 64-bit compilation issue in SCT status struct.
2889 [DG] SAT/SCSI: make real SCSI disks visible to DEVICESCAN in
2892 [CF] Fixed check of SCT temperature table size.
2894 [CF] Added ATA-8 draft revisions, added SCT status format 3.
2896 [CF] Drive database: added Samsung T166 series.
2898 [CF] ATA: Added ',p' option for '-t scttempint,N' to make
2901 [CF] ATA: Added '-t scttempint,N' option to set SCT temperature
2904 [CF] ATA: Added '-l scttemp[sts,hist]' options to print disk
2905 temperature information and history table provided by
2906 SMART Command Transport (SCT) Feature Set.
2908 [CF] ATA: Added '-t selective,{redo,next,cont}' commands to
2909 perform tests based on the last ranges still stored on
2910 disk. Added 'N+SIZE' and 'N-max' format for LBA range
2913 [CF] Added Min/Max Temperature format used in attribute 190 of
2914 recent Maxtor disks (DiamondMax 20).
2916 [CF] Linux: Added check for <linux/cciss_ioctl.h> to allow build
2917 (without CCISS support) also when this file is missing.
2919 [CF] Added -F samsung3 option to correct firmware bug reporting
2920 completed self-tests as still in progress. Thanks to Manfred
2921 Schwarb for the patch.
2923 [CF] Added missing const specifiers (undetected by gcc 3.4 and 4.X)
2924 to fix compilation with gcc 2.X.
2926 [CF] Linux: compile fix for SuSE, config.h must be included first.
2928 smartmontools 5.37 Experimental Release
2930 [CF] Windows: Added alternate method for (limited) monitoring of
2931 3ware controllers by parsing the output of CLI or 3DM.
2932 Either "tw_cli" can be run internally ("/dev/tw_cli/cx/py"),
2933 or data can be read from standard input ("/dev/tw_cli/stdin")
2934 or clipboard ("/dev/tw_cli/clip").
2936 [DG] Remove linux specific libata detect code; rely on general SAT
2937 code. smartd should now generate a sensible log message for
2938 ATA devices behind a SAT layer on all architectures.
2940 [BA] Increased max line length MAXLINELEN for /etc/smartd.conf from
2941 128 to 256 characters to handle long strings in
2942 /dev/disk/by-id. Thanks to Martin Krafft.
2944 [PW] Drive database: added missing drives from Seagate Momentus 5400.2
2947 [BA] Finished Christian's fix (next item below) by removing
2948 LINUX_86_64 hack from configure.in.
2950 [CF] Fixed inclusion of PRI?64 macros from inttypes.h.
2952 [CF] Windows: Added WRITE LOG to support selective self tests.
2954 [CF] Fix selective self test log revision number if '-T permissive'
2955 is specified (Tested with Samsung HD401LJ).
2957 [CF] Windows: Fixed int64 printf format for MinGW runtime.
2959 [PW] Drive database: added Seagate Barracuda 7200.10 family, Seagate
2960 Momentus 42 family, Maxtor DiamondMax 60 ATA 66 family, Maxtor
2961 DiamondMax 60 ATA 100 family, and Western Digital Caviar Serial
2964 [PW] Drive database: added missing drives from Seagate Barracuda
2965 7200.9 family, Seagate Barracuda 7200.7 family, Seagate Momentus
2966 7200.1 family, Toshiba 2.5" HDD family (80 GB and above), Western
2967 Digital Caviar RE Serial ATA family, Hitachi Deskstar 7K80 family,
2968 and Maxtor DiamondMax 4320 Ultra ATA family
2970 [BA] Linux: compile fix for SuSE. Check for existence
2971 of linux/compiler.h and include in os_linux.h if
2972 present. Thanks to SB.
2974 [BA] smartd: DEVICESCAN will now pick up SATA/SAT devices
2975 attached to a SCSI device tree via SAT translation.
2976 Note: this is a bit of a hack. I will document it once
2977 I know if this needs to be Linux only or can have more
2978 general application.
2980 [BA] Added a couple SATA commands to the tables -- thanks DG!
2981 Phil -- how about going through and systematically adding
2982 these new commands to atacmdnames.cpp?
2984 [BA] Linux s86_64: get rid of some compiler warnings on
2985 x86_64 Linux systems.
2987 [CF] Windows: Added missing support for READ_LOG, ABORT_SELFTEST
2988 and CHECK_POWER_STATE for 3ware 9000 controllers. Thanks to
2989 Greg de Valois for implementing this new ioctl in the driver.
2991 [PW] Drive database: added Seagate NL35 SATA family. Thanks to Kai
2992 Harrekilde-Petersen for providing a patch.
2994 [DG] [SCSI, Windows] add SPT interface for NT and later. New device
2995 names are "pd<n>", "sd<l>" and "tape<n>".
2997 [PW] Drive database: added Western Digital Scorpio family, Fujitsu MHV
2998 family, Maxtor MaXLine Pro 500 family, and Maxtor DiamondMax 11
3001 [PW] Drive database: added missing drives from Toshiba 2.5" HDD
3002 (30-60 GB) family, Maxtor DiamondMax 10 family, Seagate Barracuda
3003 7200.8 family, Fujitsu MHT family, and Maxtor DiamondMax Plus 8
3006 [SB] Added examplescripts/Example4 using powersave-notify.
3008 [SB] More temperature monitoring examples in smartd.conf with DEVICESCAN.
3010 [SB] Minor improvements of SuSE part of init script.
3012 [CF] Drive database: added Samsung P80 series, P120 series, SP8004H
3015 [GG] Add CCISS (Compaq Smart Array Controller) support with contributions
3016 from Praveen Chidambaram, Douglas Gilbert, Guido Guenther and Frédéric
3019 [PW] Drive database: added Hitachi Deskstar T7K250 and Hitachi
3020 Deskstar 7K500 series. Thanks to L. J. Wu for providing a
3023 [PW] Drive database: added Maxtor MaXLine III family, Seagate U7
3024 family, Seagate ST34321A, FUJITSU MHM2060AT, FUJITSU MHT2040AS,
3025 Western Digital Caviar SE16 family, IBM Travelstar 4GT family,
3026 QUANTUM FIREBALLP KA9.1, QUANTUM FIREBALL SE4.3A, TOSHIBA
3027 MK1032GAX, TOSHIBA MK4026GAX
3029 [PW] Drive database: added missing drives from Western Digital Caviar
3030 SE (Serial ATA) and WD Raptor families
3032 [CF] Windows: Added support for 3ware 9000 controllers using extended
3033 SMART functionality in new 3ware driver. This includes DEVICESCAN
3034 support for at most 2 controllers. Thanks to Greg de Valois from
3035 AMCC/3ware for new driver features, development support and
3036 hardware for testing.
3038 [SZ] smartd: Support HighPoint RocketRAID controller under GNU/linux
3040 [DG] [SCSI] First cut for '-l background' to show background scan
3043 [SZ] smartctl: Support HighPoint RocketRAID controller under GNU/linux
3045 [KS] C++ compile fixes for Solaris with a few cleanups.
3047 [BA] C++ compile fixes for Darwin (thanks to CF)
3049 [CF] Removed old *.c files (now in CVS Attic).
3051 [CF] Added changes for C++ to platform independent and Windows
3054 [BA] Tagged last .c Version with PRE_MOVE_TO_CPP. Copied *.c,v
3055 to *.cpp,v in CVS repository to preserve history of source
3056 files. Removed sm5_Darwin repository.
3058 [CF] smartctl: Added -n option to skip checks when disk is in
3061 [CF] Windows: Added alternate system call for power state check
3062 because the PASS THROUGH calls may spin up the disk.
3064 [CF] smartd: Modified power state logging to report state changes
3065 instead of standby condition.
3067 [CF] smartd: Ignore -n directive on scheduled self tests.
3069 [DG] [SCSI] Make start stop cycle counter log page decoding
3072 [DG] Modify smartctl (but not smartd) to detect probable ATA
3073 devices behind a SAT layer. In the absence of an explicit
3074 device type, change to device type 'sat'.
3076 [DG] Add indication that controller (device) type has been
3077 explicitly set. Preparation for automatic detection of
3078 'sat' device type unless user specifies a device type.
3080 [SS] NetBSD: Deliver strings from ata_identify_device properly
3081 on little- and big-endian platforms.
3083 [BA] Added published ANSI ATA-7 spec to list of recognized ATA
3086 [BA] Code janitor: added missing header strings for '-V' option.
3088 [DG] [SATA] Extend 'sat' device type to allow either 12 or 16 byte
3089 variant of the SAT ATA PASS THROUGH SCSI command. Syntax is
3090 '-d sat,<n>' where <n> can be 0, 12 or 16 . The ',<n>' part
3091 is optional. Currently defaults to 16 byte variant but that
3092 could be made platform or even device dependent.
3094 [DG] [SATA] Add new 'sat' device type for SATA disks behind a
3095 SCSI to ATA Translation (SAT) Layer (SATL). Uses the ATA
3096 PASS THROUGH (16) SCSI command thence the generic SCSI
3097 passthrough for each platform.
3099 [CF] Windows: Added script and make targets to create installer
3100 with NSIS (http://nsis.sourceforge.net/)
3102 [CF] Updated hostname and links for new SourceForge CVS service.
3104 [CF] smartd: Added '-W' directive to track temperature changes
3105 and warn if temperature limits are reached.
3107 [CF] Windows: Added IOCTL_ATA_PASS_THROUGH (Win2003, XP SP2)
3108 for commands unsupported by SMART_IOCTL. Added device
3109 specific options to select subset and ordering of the ATA
3110 IOCTLs actually used. These options are specified as
3111 modifiers of the device name (/dev/hd[a-j]:[saic]+)
3113 [CF] Windows: Added support for drives 4-7 (/dev/hd[e-h]) via
3114 SMARTVSE.VXD on Win9x/ME. Thanks to Dariusz Rzonca for
3117 [DG] [SCSI/SATA linux] from lk 2.6.17 SATA disk identification in
3118 libata will change. Expand LibAta detection to see old
3119 identifier and new variant (VPD page 0x83).
3121 [BA] Identified Attribute 190 for Western Digital disks. This
3122 stores temperature in Celsius, just like Attribute 194.
3123 But it has a failure threshold set to correspond to the
3124 maximum design operating temperature of the disk, which
3125 is 55 Celsius on the WD800JD drives that I studied.
3126 So if this Attribute has 'failed
3127 in the past' this means that the maximum disk operating
3128 temperature has been exceeded.
3130 [GK] Darwin: Add support for AHCI drivers found in Intel-based Macs.
3132 smartmontools 5.36 Stable Release
3134 [BA] Linux: smartd/smartctl issue syntax hints to user if 3ware
3135 disk controller present with EITHER 3ware OR AMCC vendor
3136 name, and user syntax incorrect.
3138 [BA] Update copyright dates to 2006.
3140 [DG] [SCSI] Loosen sanity check on Seagate/Hitachi factory information
3141 log page so it is not skipped on recent Seagate SCSI disks.
3143 [CF] Added command 'smartd -q showtests' to list test schedules.
3145 [CF] Added command 'smartctl -P showall MODEL [FIRMWARE]' to list
3146 database entries for specific drives and firmware.
3148 [PW] Automatically set -v 9,minutes and -v 194,unknown for Maxtor
3149 DiamondMax D540X-4G drives.
3151 [DG] [SCSI] suppress various outputs when data fails sanity checks.
3152 Correct 'last n error events' log page indexing.
3154 [DG] [SCSI] changed smartctl exit status to reflect any problems in
3155 the most recent 20 self test logs [Leandro Santi]
3157 [DG] [SCSI] Fix process return value when scsiGetSmartData() fails
3158 in smartctl [Leandro Santi]
3160 [BA] Updated docs and error message to reflect Linux libata
3161 support for smartmontools starting with the 2.6.15 kernel
3162 series. Also init script support for the 'tinysofa' release.
3164 [DG] [SCSI] Mask dpofua bit when changing mode pages. Fix failure
3165 of 'smartctl -l error'.
3167 [EM] Fixed a problem with FreeBSD and 3Ware 'twe' devices
3169 [CF] Fixed a regexp in knowndrives table, added regexp syntax check
3170 via 'smartctl -P showall'.
3172 [CF] Cygwin & Windows: Fixed memory leak in function calling
3173 IOCTL_IDE_PASS_THROUGH. Thanks to Fred Schmidt for the problem
3176 [CF] Cygwin: added cygrunsrv support and commands "install", "remove"
3177 and "status" to smartd.initd.
3179 [SS] Fix runtime problems on big-engian NetBSD platforms (patch provided
3182 [CF] Cygwin smartd: Open smartd.conf in textmode to allow use of
3185 [CF] Cygwin smartd: Added option '--service' to allow smartd running
3186 as windows service via cygrunsrv. Useful in conjunction with new
3187 syslogd support added in Cygwin 1.5.15.
3189 [CF] Windows: Added patch to avoid output of non-ascii timezone names.
3191 [EM] Incorporate various patches to provide TWE support and support for
3192 multiple 3Ware cards, Power Check Support, and FreeBSD 6.x support.
3193 Thanks to Rudolf Cejka, Frank Behrens, and Jung-uk Kim.
3195 [DG] Silence gcc 4.0.1 compile warning concerning the difference in
3196 "signedness" in pointer assignments. Changes to SCSI code
3199 [PW] Additions to knowndrives table: added missing drive from Quantum
3200 Fireball Plus LM series, added QUANTUM BIGFOOT TS10.0A, added
3201 ExcelStor J680 and J880, added Western Digital Caviar RE Serial ATA
3202 series, added missing drives from Western Digital Caviar SE series,
3203 added Seagate Momentus 4200.2 series, added missing drives from
3204 Maxtor DiamondMax 10 series, added Fujitsu MHG and MHH series, and
3205 added Hitachi Travelstar 5K100 series.
3207 [PW] Additions to knowndrives table: added Fujitsu MHU2100AT, added
3208 Fujitsu M1623TAU, added missing drives from Seagate Barracuda
3209 7200.8 series, added Seagate Momentus 5400.2 series, and added
3210 QUANTUM FIREBALL CR8.4A.
3212 [PW] Additions to knowndrives table: added missing drive from Maxtor
3213 MaxLine II series, added Maxtor DiamondMax 2880 Ultra ATA series,
3214 added Maxtor DiamondMax 17 VL series, added Hitachi Deskstar 7K80
3215 series, and added Hitachi Deskstar 7K400 series.
3217 [CF] Windows: Fixed unsupported 'smartctl -X' on Win2000/XP by using
3218 IOCTL_IDE_PASS_THROUGH instead.
3220 smartmontools 5.34 Stable Release [NOTE: never officially released]
3222 [CF] Cygwin & Windows smartd: Increased SCSI DEVICESCAN range
3223 from ASPI adapter 0-3 to 0-9. Added diagnostic messages.
3225 [CF] Windows smartd: Added ability to run .bat files via '-M exec'
3228 [CF] Cygwin smartd: Added FreeConsole() after fork() to avoid hang
3229 of terminated shell console window.
3231 [DG] [SCSI] Add code so 'smartctl -A' outputs the number of elements
3232 in the grown defect list. When this number is increasing a
3233 disk has problems. N.B. Similar logic should be added to smartd.
3235 [CF] Windows smartd: Fixed event handling to allow start of another
3236 smartd process when service is already running. Useful for testing
3237 service configuration changes in debug mode.
3239 [PW] Added following drives to knowndrives table: Western Digital Raptor
3240 family, Seagate Barracuda 7200.8 family, Maxtor DiamondMax 2160
3241 Ultra ATA and DiamondMax 10 families, Hitachi Travelstar E7K60
3242 family, Seagate Medalist 17240, 13030, 10231, 8420, and 4310,
3243 TOSHIBA MK4018GAP and MK6022GAX, ExcelStor Technology J360, and
3244 Western Digital Caviar AC14300.
3246 [PW] Added missing Fujitsu MHTxxxxAT and Seagate Barracuda 7200.7 drives
3247 to knowndrives table.
3249 [PW] Added QUANTUM FIREBALLP LM10.2 to knowndrives table. Thanks to
3250 Mike Fleetwood for submitting the patch.
3252 [KS] Solaris/SPARC: fixed not to disable automatic offline test and
3253 automatic save attributes incorrectly. Thanks to Roy Badami.
3255 [BA] Linux: smartd init script now recognizes 'trustix' distro.
3257 [DG] [SCSI] Medium and hardware errors were slipping through
3258 unreported. Fix linux SCSI sense reporting via SG_IO ioctl.
3260 [DG] [SCSI] Change lba of first failure in selftest output to
3261 decimal (was hex) to conform with ATA output.
3263 [GK] smartd: Detect most self-test failures even if the hour counter
3266 [BA] smartctl: list 'marvell' as option if user give invalid
3269 [CF] Windows: fixed SCSI timeout handling to allow long timeouts
3272 [CF] Fixed buffer overflow issues in printone() and safe_vsnprintf()
3273 which results in crash on -V option (at least on Windows).
3275 [DG] [SCSI] Add explicit timeouts to INQUIRY and REQUEST SENSE (that
3276 were missed in an earlier patch). Could have impacted freebsd.
3278 [DG] When linux detects a sata_via_libata disk suggest that user try
3279 '-d ata' (rather then '-d libata). Anticipate kernel change.
3281 [YD] Added OS/2 and eComStation platform support.
3283 [PW] Added Seagate U4 family, Fujitsu MHJ and MHK families, Seagate
3284 Barracuda 5400.1, QUANTUM FIREBALLP KX27.3, QUANTUM FIREBALLP KA10.1,
3285 and ExcelStor J340 to knowndrives table.
3287 [DG] [SCSI] After report of Hitachi IC35L073UCDY10 disks locking up
3288 on log page 0x7 (last n error events), check log page (and some
3289 others) is supported (via log page 0x0) before probing.
3291 [CF] Added safe_v?snprintf() for platforms using v?snprintf()
3292 with non standard behaviour on overflow (Windows, old Linux)
3294 [CF] smartd: Added message if check power mode spins up disk.
3296 [CF] Windows: Added support for READ_LOG on WinNT4 using undocumented
3297 pseudo SCSI command via IOCTL_SCSI_PASS_THROUGH.
3299 [CF] smartd: Added ',q' option for '-n' directive to suppress 'skipping
3300 checks' log message. This prevents a laptop disk from spinning up
3301 due to this message. Thanks to Rob MacLachlan and Manfred Schwarb
3302 for pointing out problem & solution.
3304 [CF] Windows: Added function get_os_version_str() to show OS flavor in
3307 [CF] Windows: Added function ata_identify_is_cached() to check for outdated
3308 SMART enabled bit in identify data.
3310 [CF] Windows: Added fix to prevent linkage of smartd specific win32 modules
3313 [PW] Added Fujitsu MPG3153AH, Hitachi Endurastar J4K20/N4K20 (formerly
3314 DK23FA-20J), Seagate Momentus family, and Maxtor Fireball 3 family
3315 to knowndrives table.
3317 [PW] Added missing Maxtor DiamondMax 16, Seagate Barracuda ATA IV, and
3318 Western Digital Caviar WDxxxAA/WDxxxBA drives to knowndrives table.
3320 [CF] Windows: Added ATA check power mode for smartd -n directive.
3322 [CF] Windows: Fixed use of new service status flag which causes hang
3323 of smartd service on WinNT4.
3325 [CF] Windows: Fixed error checking of IOCTL_IDE_PASS_THROUGH (used
3326 for READ_LOG on 2000/XP). Added some diagnostic messages on
3327 -r ataioctl[,2]. Thanks to Manfred Schwarb for bug report and testing.
3329 [BA] Fixed code bug that made it impossible to enable SMART on
3330 disks with failing health status. This would happen if the
3331 os_*.c author made STATUS and STATUS_CHECK work the same way.
3332 I have corrected this at a higher level; we now handle the
3333 case where STATUS and STATUS_CHECK are identical without
3336 [LW] Make os_linux.c/marvell_command_interface() always return 0 on STATUS.
3337 Needed for a disk having bad SMART status.
3339 [CF] smartctl: Added drive family printing.
3341 [CF] autogen.sh: Allow automake 1.9, added message if automake
3344 [BA] smartctl: use locale-specific separators for printing disk
3345 capacity. Also use AC_CHECK_HEADERS not AC_CHECK_HEADER in
3348 [BA] clean-up of #include structure so that -V options to smartd
3349 and smartctl work correctly. Please, don't #include header
3350 files into other header files.
3352 smartmontools 5.33 Experimental Release
3354 [BA] smartctl: ATA disks, if SMART ATTRIBUTE THRESHOLDS page has ID
3355 errors with some Attributes having NULL IDs, print Attribute
3356 info anyway (but issuing a warning to the user).
3358 [DG] [SCSI] Decode Last n error events log page; decode track following
3359 and positioning errors [Hitachi]
3361 [EM] FreeBSD: another tweak, __packed__ introduced in Version 5.0040
3363 [EM] Cleaner tweak of fixes for FreeBSD 4.x.
3365 [EM] Fix compilation errors under FreeBSD 4.x, as it is still using
3368 [EM] Remove 3ware/FreeBSD specific files and just include pieces we need
3370 [DG] Add logic in smartd to detect 3ware, Marvell controllers and SATA
3371 disks behind an ATA-SCSI simulator (in Linux). If specific device
3372 types are not given and they are picked in a general SCSI device
3373 scan then warn and skip.
3375 [GG] insert correct path to smartd into smartd's init script
3377 [BA] Changed all default paths in documentation to reflect /usr/local as
3378 default path prefix. This affects on-line man pages, primarily.
3380 [DS] Added support for OpenBSD
3382 [BA] Added another environment variable SMART_FULLMESSAGE set by
3383 the smartd mailing feature, and modified examplescripts/Example1
3386 [BA] Fixed potentially misleading messages of the form:
3389 [DG] emit warning if SATA disk detected using libata in Linux; then exit
3391 [PW] Added Seagate U10 family, Hitachi Travelstar 7K60, Fujitsu MHR2020AT,
3392 and QUANTUM FIREBALLP AS20.5 to knowndrives table.
3394 [DG] Detect 3ware and Marvell controllers from SCSI INQUIRY vendor string
3395 and suggest usage of appropriate '-d' argument in smartctl.
3397 [LW] Tested the RELEASE_5_33_WITH_MARVELL_SUPPORT branch on
3398 actual Marvell 88SX5041 hardware, with success.
3401 [BA] Fixed nasty DEVICESCAN bug
3403 [BA] Checked in RELEASE_5_33_WITH_MARVELL_SUPPORT branch with
3404 some Marvell support.
3406 [BA] Additional modifications of Ed's controller scheme. Fixed
3407 broken 3ware support under linux, problems with scanning
3408 devices in smartd, and other small problems.
3410 [CF] Added make targets to build formatted man pages (htmlman, txtman),
3411 Windows distribution (dist-win32) and MSVC6 config.h (config-vc6).
3413 [EM] Minor change to FreeBSD inclusion of 'twe' include files. Add
3414 code to check if they exising in /usr/include/sys to use those
3415 in preference to ones added here
3417 [EM] Very preliminary support attempt for 3Ware controllers under
3418 FreeBSD. Also, switched 'escalade_type/escalade_port' to
3419 'controler_type/controller_port' and moved away from
3420 'tryata/tryscsi' to using new 'controller*' variables to
3421 determine which controller type (ATA/SCSI/3Ware) to use.
3423 [GK] Added initscript support for Darwin.
3425 [CF] Windows smartd: Added ability to run smartd as a windows service,
3426 including new commands "smartd install ..." and "smartd remove"
3427 to install and remove the service registry entry.
3429 [BA] smartd: warn user if -s regexp regular expression contains
3430 characters other than 0123456789.*()|+?[-]{}:=SLCO since such
3431 characters are 'suspicous' and may indicate a poorly formed
3432 regexp. Extended regular expression gurus: can this list be
3435 [CF] Fixed bug in Windows smartd: Missing close of config file when
3436 configuration is reloaded by smartd daemon.
3438 [CF] Windows smartd: Added mail warning feature using the "Blat"
3439 (http://blat.sourceforge.net/) mailer as a default.
3441 [PW] Added Maxtor DiamondMax Plus 5120 Ultra ATA 33 series and TOSHIBA
3442 MK3017GAP to knowndrives table.
3444 [CF] Added fixes to build smartmontools on old Linux systems
3445 (libc < 6, Kernel 2.0.x).
3447 [BA] Added ATA minor version identity strings for latest ATA specification
3448 updates: ATA/ATAPI-7 T13 1532D revision 4a and ATA/ATAPI-6 published,
3449 ANSI INCITS 361-2002
3451 [PW] Added Hitachi Travelstar 5K80 family and Fujitsu MHTxxxxAH family to
3454 [EM] Fix up compilation under FreeBSD < 5.x
3456 [PW] Added QUANTUM FIREBALL EX3.2A and missing Western Digital Caviar SE
3457 drives to knowndrives table.
3459 [BA] Modified Hitachi Travelstar 80GN family regexp in drive database.
3460 Thanks to [GK/CF] for problem & solution.
3462 [GK] Added os_darwin.[ch]
3464 [PW] Added the following drives to the knowndrives table: IBM Travelstar
3465 48GH, 30GN, and 15GN family; IBM Deskstar 37GP and 34GXP family;
3466 Western Digital WDC WD272AA; Maxtor DiamondMax D540X-4D family;
3467 TOSHIBA MK2016GAP, MK2018GAP, MK2018GAS, MK2023GAS; and
3468 QUANTUM FIREBALL ST3.2A
3470 [BA] smartd/smarctl now print build HOST/OS information as part
3471 of startup slogan. This should make it slightly easier to
3472 read bug reports from users.
3474 [RZ] Fixed the DEVICESCAN to do what it was supposed to do - give
3475 error message unless scanning is in progress.
3477 [BA] Update documentation to describe 3ware character devices. Better
3478 error detection for missing/malfunctioning devices behind 3ware
3479 controllers. Now pack 3ware ioctl structures explicitly.
3481 [BA] For ATA devices that support LBA mode, print capacity as part
3484 [RZ] Made DEVICESCAN quiet about non-existing devices unless debug
3487 [DG] treat "unit attention" SCSI warning as try again in some contexts
3488 (test unit ready and mode sense)
3490 [BA] on drives that store max/min rather than min/max, get order
3491 correct in printing temp.
3493 [BA] fixed typo in 'smartctl -h' output. Thanks to Gabor Z. Papp.
3495 [BA] linux: clean-up to 3ware/AMCC support; dynamically create
3496 or fix /dev/tw[ae][0-15] device node entries if they don't
3497 exist or are incorrect. One can now use the character devices
3498 /dev/twe[0-15] OR /dev/sd? for 3ware 6000/7000/8000 series
3499 cards. One must use /dev/twa[0-15] for 3ware 9000 series cards.
3500 Note that selective self-tests now work via /dev/tw[ae] devices.
3501 Next step: documentation.
3503 [BA] linux: experimental "support" for 3ware/AMCC 9000 series
3504 controllers that use the 3w-9xxx driver. This will be in a
3505 state of flux for a few days. Note that this requires the
3506 character interface /dev/twa[0-15].
3508 [DG] linux: extend general SCSI OS interface to use the SG_IO ioctl. If
3509 not available, use the older SCSI_IOCTL_SEND_COMMAND ioctl.
3511 [KS] Solaris/x86: fixed system identification problem in configure
3512 script. Thanks to Stuart Swales.
3516 [BA] Update link to revised/updated IBM Deskstar Firmware
3518 [CF] Cygwin & Windows: Added missing ASPI manager initialization
3519 with GetASPI32SupportInfo(). Thanks to Nikolai SAOUKH for pointing
3520 this out and providing a patch.
3522 [BA] modified smartd init script to work on whitebox (thanks to
3525 [BA] removed (reverted) additional Attribute definitions from
3526 http://smart.friko.pl/attributes.php. All (or most?) of these
3527 appear to be return code values for the WD Digital Life Guard Utility.
3529 [PW] Added Seagate Medalist 17242, 13032, 10232, 8422, and 4312 to
3530 knowndrives table. Added missing Seagate U Series 5 drives.
3532 [PW] Added the following QUANTUM models to knowndrives table:
3533 FIREBALL EX6.4A, FIREBALLP AS10.2, FIREBALLP AS40.0, FIREBALL CR4.3A,
3534 FIREBALLP LM15, FIREBALLP LM30, and FIREBALLlct20 30
3536 [PW] Added missing Western Digital Protege drives to knowndrives table.
3538 [PW] Added Maxtor DiamondMax 40 ATA 66 series and DiamondMax 40 VL Ultra
3539 ATA 100 series to knowndrives table.
3541 [PW] Added the following Hitachi/IBM drives to knowndrives table:
3542 HITACHI_DK14FA-20B, Travelstar 40GNX series, Travelstar 4LP series,
3543 and Travelstar DK23XXB series. Added the missing Travelstar 80GN
3546 [PW] Added Fujitsu MPB series and MPG series to knowndrives table. Added
3547 the missing Fujitsu MHSxxxxAT drives.
3549 [KS] Solaris: added workaround for dynamic change of time-zone.
3551 [KS] Solaris: fixed problem that autogen.sh cannot detect absence of
3554 [BA] smartd: added time-zone bug information to man page.
3555 Reverted CF code for _WIN32 case.
3557 [CF] Cygwin & Windows: Added better error messages on IDE/ATA device
3560 [BA] added additional Attribute definitions from
3561 http://smart.friko.pl/attributes.php
3563 [BA] smartd: reworked TimeZone bug workaround so it is only invoked
3564 for glibc. Note: this might not be right -- a similar bug may
3565 exist in other platform's libcs.
3567 [DG] SCSI smartmontools documentation updated [2004/5/6]. See:
3568 http://smartmontools.sourceforge.net/smartmontools_scsi.html
3570 [CF] Windows: Fixed reset of TZ=GMT in glibc timezone bug workaround.
3574 [DG] move SCSI device temperature and start-stop log page output
3575 (smartctl) into --attributes section (was in --info section).
3577 [GG] change default installation location to /usr/local
3579 [CF] Cygwin smartd: Fixed crash on access of SCSI devices after fork().
3581 [PW] Added TOSHIBA MK4018GAS and the following Maxtor drive families
3582 to knowndrives table: DiamondMax D540X-4G, Fireball 541DX,
3583 DiamondMax 3400 Ultra ATA, DiamondMax Plus 6800 Ultra ATA 66.
3585 [PW] Added missing Maxtor DiamondMax 16, DiamondMax D540X-4K, and
3586 DiamondMax Plus 45 Ulta ATA 100 drives to knowndrives table.
3588 [PW] Added ExcelStor J240, Hitachi Travelstar 80GN family, Fujitsu
3589 MHTxxxxAT family, and IBM Deskstar 25GP and 22GXP families to
3592 [CF] Cygwin smartd: Added workaround for missing SIGQUIT via keyboard:
3593 To exit smartd in debug mode, type CONTROL-C twice.
3595 [BA] smartctl: printing of the selective self-test log is now
3596 controlled by a new option: -l selective
3598 [BA] Added entries for Samsung firmware versions -25 to -39 based
3599 on latest info about firmware bug fixes.
3601 [PW] Added Seagate U Series X family, Seagate U8 family, and Seagate
3602 Medalist 8641 family to knowndrives table.
3604 [CF] smartd: Added exit values 5/6 for missing/unreadable config file.
3606 [BA] smartd: now monitor the Current Pending Sector count (Attribute 197)
3607 and the Offline Pending Sector Count (Attribute 198). Log a
3608 warning (and send an email, if so configured) if the raw count
3609 is nonzero. These are controlled by new Directives: -C and -U.
3610 Currently they are enabled by default.
3612 [CF] Added option -c FILE, --configfile=FILE to smartd to specify
3613 an alternate configuration FILE or '-' for standard input.
3615 [KS] configure.in now searches for -lnsl and -lsocket for Solaris.
3617 [CF] Win32/native smartd: Added thread to combine several syslog output
3618 lines into one single event log entry.
3620 [CF] Win32 smartd: Added DEVICESCAN for SCSI/ASPI devices.
3622 [GG] Use gethostbyname() the get the DNS domain since getdomainname()
3623 returns the NIS domain when sending mails from smartd.
3625 [GG] smartd.init.in: pass smartd_opts to smartd on startup, read distribution
3626 specific configuration files if found
3628 [SS] smartctl: added NetBSD support for Selective Self-tests.
3630 [BA] smartd.conf example configuration file now has all examples
3631 commented out except for 'DEVICESCAN'.
3633 [CF] Win32/native smartd: Added ability to display warning "emails"
3634 as message box by "-m msgbox" directive. With "-m sysmsgbox",
3635 a system modal (always on top) message box is shown.
3637 [BA] smartctl: printing of self-test log for disks that support
3638 Selective self-testing now shows the status of the (optional)
3639 read-scan after the selective self test. Also, changed format
3640 in printing self-test log to print failing LBA in base 10 not
3641 base 16 (more compatible with kernel error messages). Also,
3642 in printing SMART error log, print timestamps in format
3643 days+hours+minutes+seconds.
3645 [CF] Win32 smartd: Added ability to log to stdout/stderr
3646 (-l local1/2). Toggling debug console still works
3647 if stdout is redirected.
3649 [BA] smartctl: selective self-test log, print current status
3650 in a more detailed way. Allow writing of selective self-test
3651 log provided that no other self-test is underway.
3653 [BA] Linux: eliminated dependency on kernel tree hdreg.h.
3655 [BA] smartctl: -l selftest option now prints Selective self-test
3656 log in addition to the normal self-test log.
3657 Added additional options (-t pending, -t afterselect) to
3658 control remaining Selective Self-test capabilities. Tested
3659 with several Maxtor disks. Modified error message printing
3660 so that munged option messages print at the end not the
3663 [CF] Added daemon support to Win32 native version of smartd.
3664 The daemon can be controlled by commands similar to initd
3665 scripts: "smartd status|stop|reload|restart|sigusr1|sigusr2".
3667 [CF] Added minor support for option "-l local[0-7]" to Win32 native
3668 (not Cygwin) version of smartd. If specified, the log output
3669 is written to file "./smartd[1-7]?.log" instead of event log.
3671 [BA] Added Selective Self-test to smartctl (-t selective,M-N).
3672 Currently only supported under Linux; Solaris, NetBSD, FreeBSD
3673 and Windows developers must add WRITE LOG functionality to
3676 [BA] Added workaround for an annoying glibc bug: if you change
3677 timezones, (eg, flying with a laptop from USA to Europe)
3678 localtime() does not notice this in a running
3679 executable, so time that appears in the system log (syslog!)
3680 will be incorrect. See
3681 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48184
3682 for additional examples of this bug.
3684 [DG] Set explicit timeouts for SCSI commands (most default to 6 seconds).
3685 Previously a 0 second timeout was meant to be interpreted as a
3686 default timeout but the FreeBSD port had a problem in this area.
3688 [CF] Fixed un-thread-safe exit signal handler for Win32
3690 [BA] Fixed un-thread-safe exit signal handler pointed out
3693 [BA] Changed configure script to eliminate warnings under
3694 Solaris from sys/int_type.h conflicts with int64.h
3695 Added header files for umask to smartd.c.
3697 [BA] Man page format change from Werner LEMBERG. " " changed to \&
3699 [CF] Added os_win32/syslogevt.* event message file tool for Win32
3700 smartd (native+cygwin). May also be useful for other cygwin
3701 programs writing to syslog().
3703 [CF] Added Win32 version of smartd
3705 [CF] Merged RELEASE_5_26_WIN32_BRANCH
3707 [BA] Made some changes to man page markup suggested by
3708 Richard Verhoeven to work around bugs in man2html.
3709 Tested not to break anything under Linux and Solaris.
3711 [CF] Moved PrintOut() from utility.c to smart{ctl,d}.c to avoid
3712 syslog() output of smartctl.
3714 [BA] Grew worried that some time-zone names could be very long (eg,
3715 Mitteleuropaische Zeit) and put date string lengths into a
3716 single macro in utility.c
3718 [EM] Updated os_freebsd.c to handle older versions of FreeBSD in a
3719 more appropriate/obvious fashion.
3721 [EM] Modified autogen.sh as FreeBSD installs automake 1.7 as
3722 'automake17' and NOT 'automake-1.7'
3726 [PW] Added QUANTUM FIREBALLlct15 30, QUANTUM FIREBALLlct20 40, and
3727 Maxtor 6Y060P0 (DiamondMax Plus 9 60GB) to knowndrives table.
3729 [PW] Added Maxtor MaXLine II family to knowndrives table (thanks to
3730 Brett Russ for submitting the patch).
3732 [BA] Added remaining read/write commands to detailed list of
3733 error log commands that have text descriptions of problem
3734 printed. For commands that support it, print number of failed
3735 sectors at problem LBA.
3737 [BA] Made SuSE section of smartd init script more SuSE 9 compatible.
3738 Thanks to Hans-Peter Jansen.
3740 [CF] Windows smartd: Added IDE/ATA device scan
3741 Added windows device names to smartctl.8.in, smartd.8.in
3743 [BA] smartctl/smartd: user-provided '-F samsung' and '-F samsung2'
3744 command line options/Directives did NOT over-ride preset values
3745 unless user specified '-P ignore'. Now they will always over-ride
3746 preset values from the database.
3748 [BA] Added error decoding for a few more READ and WRITE commands.
3750 [PW] Added Maxtor MaXLine Plus II, Western Digital Caviar SE (Serial ATA)
3751 series, Hitachi Deskstar 7K250 series, and Ultra ATA 66 models of
3752 the Maxtor DiamondMax Plus 40 series to knowndrives table.
3754 [BA] Added Maxtor Diamondmax 250 GB drives to database. Note that
3755 these model numbers are not listed in Maxtor documentation, but
3758 [BA] Removed the 'contact developers' phrase from the Samsung disk
3761 [PW] Added TOSHIBA MK2017GAP, IBM Deskstar 14GXP and 16GP series,
3762 Fujitsu MPC series, Seagate Barracuda ATA III family, and missing
3763 Seagate Barracuda U Series drives to knowndrives table
3765 [BA] smartd: wrong loglevel for message: Configuration file
3766 /etc/smartd.conf parsed. Changed to LOG_INFO from LOG_CRIT.
3767 Thanks to Emmanuel CHANTREAU for the report.
3769 [CF] Checked in development version of windows code base.
3771 smartmontools 5.29 (note: there was NO 5.28 release)
3773 [BA] smartd: configure script did not set correct directory to search for
3774 smartd.conf based on --prefix argument to ./configure. Thanks to
3775 GG for identifying the problem and fix.
3777 [BA] make clean now removes man pages (generated from *.in) files as well
3780 [EM] Correct copying of sense data in FreeBSD SCSI implementation. Thanks
3781 to Sergey Svishchev for noticing the bug.
3783 [BA] On solaris, wrong warning message if no ATA support. Warning message
3784 concerns 3ware controller, not ATA.
3786 [SS] Added SCSI support for NetBSD.
3788 [BA] on big-endian linux machines, fixed interpretation of HDIO_GET_IDENTITY
3789 to correctly identify ATAPI bit (was byte swapped). This should
3790 eliminate some SYSLOG noise if user queries a packet device (eg, CD
3793 [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives with
3794 A5AA/A6AA firmware. Thanks to Gerald Schnabel.
3796 [PW] Added Toshiba TOS MK3019GAXB SUN30G to knowndrives table
3798 [PW] Added Western Digital Caviar AC12500, AC24300, AC25100, AC36400,
3799 and AC38400 to knowndrives table
3801 [BA] When printing ATA error log, print the LBA at which READ
3802 or WRITE commands failed.
3804 [BA] Changed syntax of error message in smartctl
3806 [BA] Added versioning info (-V options to smartd/smartctl) for
3811 [KS] Added ATA/IDE support for Solaris/SPARC (ATA/IDE not yet for
3814 [BA] 3ware controllers: documented that one can monitor any of the
3815 physical disks from any of the 3ware /dev/sd? logical devices.
3816 Better warnings if querying a disk that does not exist.
3818 [PW] Added Hitachi Travelstar DK23DA series, Maxtor DiamondMax Plus 40
3819 series, Western Digital Caviar WDxxxAA, WDxxxBA, and WDxxxAB series
3820 to knowndrives table
3822 [BA] missing 'pragma pack' on ATA IDENTIFY DEVICE structure may have
3823 caused odd or incorrect results on 64-bit machines.
3825 [BA] smartctl/smartd allow inspection of self-test and error logs even
3826 if disk firmware claims that these don't exist. This is needed
3827 for some Maxtor disks whose firmware does not indicate log support
3828 even though the disk DOES support it.
3830 [BA] Improved porting instructions and documentation in os_generic.c
3832 [PW] Add Western Digital Caviar WD136AA and SAMSUNG SP40A2H (RR100-07
3833 firmware) to knowndrives table.
3835 [EM] FreeBSD: remove extra definition of FreeNonZero
3837 [BA] smartctl: the -q silent option was printing output for some
3838 error conditions. Fixed. Will rename relevant variables to help
3839 avoid these errors in the future.
3841 [SS] NetBSD port added.
3843 [BA] more sensible error messages for devfs and devfs-like systems.
3844 Instead of saying that the DIRECTORY does not exist, say that
3845 the DEVICE does not exist.
3847 [BA] smartd: added -n Directive, to prevent disk spin-up depending
3848 upon the power mode (SLEEP, STANDBY, or IDLE).
3850 [PW] Added Maxtor DiamondMax 20 VL series, Fujitsu MPF series,
3851 Maxtor DiamondMax 36 series, Maxtor DiamondMax 4320 series, and
3852 Maxtor DiamondMax 536DX series to knowndrives table.
3854 [BA] many warning messages now give the file name AND VERSION
3856 [BA] smartd: when the user provides multiple address recipients
3857 to the '-m' Directive in a comma-delineated list, the commas
3858 are stripped out before passing the list of addresses to the
3859 mailer program. (Thanks to Calin A. Culianu for pointing this out
3860 and providing a patch.)
3862 [BA] smartd: when the '-M exec path' Directive is used, any stdout OR
3863 stderr output from the executable "path" is assumed to indicate a
3864 problem, and is echoed to SYSLOG.
3866 [BA] Added all missing IBM/Hitachi Deskstar 180GXP models to knowndrives
3869 [PW] Added some missing IBM/Hitachi Deskstar 120GXP models to knowndrives
3872 [PW] Added IBM Travelstar 14GS to knowndrives table.
3874 [PW] Modified knowndrives table to match entire Hitachi Travelstar
3875 DK23BA and DK23EA series of drives (thanks to Norikatsu Shigemura
3876 for submitting the patch).
3878 [PW] Added some missing Fujitsu MPE series drives to knowndrives table.
3880 [PW] Added TOSHIBA MK4019GAX, TOSHIBA MK6409MAV, and QUANTUM
3881 FIREBALLlct15 20 to knowndrives table.
3883 [EM] Fixup example command output for FreeBSD
3885 [PW] Added Maxtor DiamondMax 80 family to knowndrives table.
3887 [EM] Catch up FreeBSD code to switch PROJECTHOME to PACKAGE_HOMEPAGE
3890 [BA] smartd: now watches stdout/stderr when trying to run mail, mailx
3891 or mail warning script, and reports any output to SYSLOG. This
3892 gives a clearer error message if something is wrong.
3894 [BA] smartd: Solaris init script modified to accomodate grep that
3895 lacks '-q' quiet option. Also check for running process to kill
3898 [PW] Added some missing Seagate Barracuda 7200.7 and 7200.7 Plus drives
3899 to knowndrives table.
3901 [PW] Added Maxtor DiamondMax Plus 60 family and Seagate U Series 5 20413
3902 to knowndrives table.
3904 [BA] smartd: under Solaris, made default mailer be 'mailx' not
3905 'mail', since Solaris 'mail' does not accept a '-s' argument.
3906 A workaround for Solaris users of earlier versions is to
3907 have '-M exec /bin/mailx' in their smartd.conf config file.
3909 [DG] some SCSI controllers don't like odd length transfers so make
3910 sure LOG SENSE transfers are rounded up to an even number when
3911 and odd length is reported (i.e. there is a double fetch, the
3912 first to find the length, the second gets the data)
3914 [BA] smartd man pages: under Solaris, correct section numbers in the
3917 [KS/BA] smartd man page: describe how to set Solaris syslog.conf
3918 file to catch all messages. Give correct Solaris SYSLOG default
3919 path /var/adm/messages in man pages.
3921 [BA] smartd: incorporated Debian startup script submitted by user.
3923 [BA] smartctl: modified printing of self-test log entry number. Seagate
3924 firmware can leave 'holes' in the self-test log while a test is
3925 actually running. We now print entry numbers consistently in this
3926 case, not assuming that entries are contiguous.
3928 [PW] Added QUANTUM FIREBALL CX10.2A and Western Digital Caviar AC23200L
3929 to knowndrives table.
3931 [PW] Added QUANTUM FIREBALLlct20 20 to knowndrives table.
3933 [PW] Added Maxtor DiamondMax Plus D740X family to knowndrives table.
3935 [PW] Added IBM Travelstar 32GH, 30GT, and 20GN family to knowndrives
3938 [BA] Slackware init script modified to search for /etc/slackware-version
3939 rather than /etc/slackware-release.
3941 [PW] Added Seagate Barracuda ATA II family and TOSHIBA MK4019GAXB to
3944 [GG] explain howto use autoreconf in autogen.sh
3946 [KS] Makefile.am/configure.in: changed manual page sections for
3949 [BA] smartd: reduced number of scheduled self-test messages if
3950 test already run in current hour.
3952 [PW] Added Maxtor DiamondMax Plus 8 family to knowndrives table.
3954 [BA] linux: check for linux/hdreg.h. If it's there, use it. If
3955 not, provide the necessary definitions ourselves.
3957 [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives
3958 with TXAOA5AA firmware
3960 [PW] Added IBM Travelstar 25GS, 18GT, and 12GN family to knowndrives
3963 [PW] Added IBM/Hitachi Travelstar 60GH & 40GN family to knowndrives
3966 [BA] smartd: made '-s' Directive more efficient. Now store
3967 compiled regex, and re-use. If device lacks certain self-test
3968 capabilities, track it and don't try again.
3970 [BA] smartd: made memory allocation for device lists completely
3971 dynamic (eliminating compile-time maximum length constants).
3973 [PW] Removed warning for SAMSUNG SP0802N with TK100-23 firmware
3975 [PW] Added Seagate Barracuda ATA IV family to knowndrives table.
3977 [BA] smartd: reduce per-device memory footprint by making
3978 mail-warning info dynamically allocated. Also remove
3979 potential memory leak if use has -m Directive twice and
3980 keeps reloading the config file (highly unlikely this would
3983 [DG] smartd: added SCSI scheduled self-tests (Background
3986 [BA] smartd: can now run scheduled offline immediate and
3987 self-tests. See man page and -s Directive for details.
3989 [GG] don't include manpages in make-dist-tarball.
3991 [BA] smartctl: on-line examples given with -h are now correct
3992 for solaris and linux, but wrong for freebsd. Ed?
3994 [BA] smartd: man page now explains device scanning for solaris as
3995 well as linux and freebsd.
3997 [BA] smartd/smartctl: man pages now report correct CVS tag release
3998 date, and executables '-V' options reports more build info.
4002 [BA] Improved user messages that appear from 'make install'
4004 [PW] Removed warning for SAMSUNG SP1213N with firmware TL100-23
4006 [BA] incorporated SuSE init script from user.
4008 [DG] if SCSI device is read only, then open it read only.
4010 [BA] when compiled on non-supported system (NOT linux, freebsd or solaris) then
4011 the run-time error messages now clearly say 'your system is not supported'
4012 and give clear directions.
4014 [BA] ./configure script now works correctly on SuSE linux boxes
4016 [BA] minor improvements to man pages
4018 [BA] simplified detection of packet (ATAPI, CD) devices.
4020 [BA] init script (redhat, mandrake, yellowdog) now uses correct
4021 strings for translation and is slightly more standard.
4023 [DG] smartctl: output scsi Seagate vendor pages for disks (not tapes)
4027 Note: there was no '5.24' release. From this point on, even numbered
4028 releases will be 'stable' ones and odd numbered releases will be
4029 unstable/testing/development ones.
4031 [DG] smartd/smartctl: changed scsiClearControlGLTSD() to
4032 scsiSetControlGLTSD() with an 'enabled' argument so '-S on'
4033 and '-S off' work for SCSI devices (if changing GLTSD supported).
4035 [BA] smartd/smartctl: wired in scsiClearControlGLTSD(). Could still
4036 use a corresponding Set function. Left stubs for this purpose.
4038 [DG] scsicmds: added scsiClearControlGLTSD() [still to be wired in]
4040 [BA] smartctl: make SCSI -T options behave the same way as the
4043 [DG] smartctl: output scsi transport protocol if available
4045 [DG] scsi: stop device scan in smartd and smartctl if badly formed
4046 mode response [heuristic to filter out USB devices before we
4047 (potentially) lock them up].
4049 [BA] smartd: deviceclose()->CloseDevice(). Got rid of SCSIDEVELOPMENT
4050 macro-enabled code. Added -W to list of gcc specific options to
4051 always enable. Made code clean for -W warnings.
4053 [PW] Added Maxtor DiamondMax VL 30 family to knowndrives table.
4055 [DG] scsi: add warning (when '-l error' active) if Control mode page
4056 GLTSD bit is set (global disable of saving log counters)
4058 [DG] scsi: remember mode sense cmd length. Output trip temperature
4059 from IE lpage (IBM extension) when unavailable from temp lpage.
4061 [BA] smartd: for both SCSI and ATA now warns user if either
4062 the number of self-test errors OR timestamp of most
4063 recent self-test error have increased.
4065 [DG] smartctl: output Seagate scsi Cache and Factory log pages (if
4066 available) when vendor attributes chosen
4068 [DG] smartd: add scsiCountFailedSelfTests() function.
4070 [DG] Do more sanity checking of scsi log page responses.
4072 [BA] smartd: now warns user if number of self-test errors has
4073 increased for SCSI devices.
4075 [BA] smartd: warn user if number of ATA self-test errors increases
4076 (as before) OR if hour time stamp of most recent self-test
4079 [DG] More checks for well formed mode page responses. This has the side
4080 effect of stopping scans on bad SCSI implementations (e.g. some
4081 USB disks) prior to sending commands (typically log sense) that
4084 [PW] Added Western Digital Caviar family and Caviar SE family to
4087 [BA] smartd: added -l daemon (which is the default value if -l
4090 [PW] Added Seagate Barracuda ATA V family to knowndrives table.
4092 [BA] smartd: added additional command line argument -l FACILITY
4093 or --logfacility FACILITY. This can be used to redirect
4094 messages from smartd to a different file than the one used
4095 by other system daemons.
4097 [PW] Added Seagate Barracuda 7200.7, Western Digital Protege WD400EB,
4098 and Western Digital Caviar AC38400 to knowndrives table.
4100 [BA] smartd: scanning should now also work correctly for
4101 devfs WITHOUT traditional links /dev/hd[a-t] or /dev/sd[a-z].
4103 [PW] Added Maxtor 4W040H3, Seagate Barracuda 7200.7 Plus,
4104 IBM Deskstar 120GXP (40GB), Seagate U Series 20410,
4105 Fujitsu MHM2100AT, MHL2300AT, MHM2150AT, and IBM-DARA-212000
4106 to knowndrives table.
4108 [PW] Added remaining Maxtor DiamondMax Plus 9 models to knowndrives
4111 [EM] smartd: If no matches found, then return 0, rather than an error
4112 indication, as it just means no devices of the given type exist.
4113 Adjust FreeBSD scan code to mirror Linux version.
4115 [BA] smartd: made device scan code simpler and more robust. If
4116 too many devices detected, warn user but scan as many
4117 as possible. If error in scanning, warn user but don't
4120 [EM] smartd: To keep as consistent as possible, migrate FreeBSD
4121 devicescan code to also use glob(3). Also verified clean
4122 compile on a 4.7 FreeBSD system.
4124 [BA] smartd: Modified device scan code to use glob(3). Previously
4125 it appeared to have trouble when scanning devices on an XFS
4126 file system, and used non-public interface to directory
4127 entries. Problems were also reported when /dev/ was on an
4128 ext2/3 file system, but there was a JFS partition on the same
4131 [BA] Clearer error messages when device scanning finds no suitable
4134 [EM] FreeBSD: Fixup code to allow for proper compilation under
4139 [BA] smartd: didn't close file descriptors of ATA packet devices
4140 that are scanned. Fixed.
4142 [BA] Added reload/report targets to the smartmontools init script.
4143 reload: reloads config file
4144 report: send SIGUSR1 to check devices now
4148 [EM] Fix compile issues for FreeBSD < 5-CURRENT.
4150 [PW] Added Fujitsu MHM2200AT to knowndrives table.
4152 [BA] To help catch bugs, clear ATA error structures before all
4153 ioctl calls. Disable code that attempted to time-out on SCSI
4154 devices when they hung (doesn't work).
4156 [BA] Documented STATUS/ERROR flags added by [PW] below.
4158 [BA] Improved algorithm to recognize ATA packet devices. Should
4159 no longer generate SYSLOG kernel noise when user tries either
4160 smartd or smartctl on packet device (CD-ROM or DVD). Clearer
4161 warning messages from smartd when scanning ATA packet device.
4163 [PW] Added TOSHIBA MK4025GAS to knowndrives table.
4165 [PW] Added a textual interpretation of the status and error registers
4166 in the SMART error log (ATA). The interpretation is
4167 command-dependent and currently only eight commands are supported
4168 (those which produced errors in the error logs that I happen to
4171 [BA] added memory allocation tracking to solaris code.
4172 Fixed solaris signal handling (reset handler to default
4173 after first call to handler) by using sigset. Added
4174 HAVE_SIGSET to configure.in
4176 [CD] solaris port: added SCSI functionality to solaris
4179 [BA] smartd: attempt to address bug report about smartd
4180 hanging on USB devices when scanning:
4181 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107615
4182 Set a timeout of SCSITIMEOUT (nominally 7 seconds) before
4185 [EM] smartd: DEVICESCAN will follow links in a devfs filesystem and
4186 make sure the end point is a disc. Update documentation, added
4187 note about FreeBSD scanning
4189 [BA] smartd: DEVICESCAN also looks for block devices in
4190 /dev. Updated documentation. Now scans for up to
4191 20 ATA devices /dev/hda-t rather than previous 12
4194 [EM] smartd: mirror the FreeBSD DEVICESCAN logic for Linux,
4195 so that smartd now scans only devices found in /dev/. Also,
4196 make utility memory functions take a line number and file so
4197 that we report errors with the correct location.
4199 [GG] add a note about Debian bug #208964 to WARNINGS.
4201 [BA] smartctl: -T verypermissive option broken. Use
4202 -T verpermissive until the next release, please.
4204 [BA] Syntax mods so that code also compiles on Solaris using
4205 Sun Workshop compiler. Need -xmemalign 1i -xCC flags
4210 [DK] Changed configure.in so -Wall is only included if gcc
4211 is used (this is a gcc specific flag) and -fsignedchar
4212 is not used at all (this is a gcc specific compiler
4215 [BA] Modifications so that code now compiles under solaris. Now
4216 all that's needed (:-) is to fill in os_solaris.[hc]. Added
4217 os_generic.[hc] as guide to future ports. Fixed -D option
4218 of smartd (no file name). Modified -h opt of smartd/smartctl
4219 to work properly with solaris getopt().
4221 [EM] Update MAN pages with notes that 3ware drives are NOT supported
4222 under FreeBSD. Cleanup FreeBSD warning message handling.
4224 [EM] FreeBSD only: Fix first user found bug....I guess I was making
4225 the wrong assumption on how to convert ATA devnames to
4226 channel/unit numbers.
4228 [EM] Allow for option --enable-sample to append '.sample' to installed
4229 smartd.conf and rc script files. Also, let rc script shell setting
4230 be determined by configure
4232 [EM] Minor autoconf update to include -lcam for FreeBSD
4234 [EM] Add conditional logic to allow FreeBSD to compile pre-ATAng.
4236 Add some documentation to INSTALL for FreeBSD.
4238 [EM] Implement SCSI CAM support for FreeBSD. NOTE: I am not an expert
4239 in the use of CAM. It seems to work for me, but I may be doing
4240 something horribly wrong, so please exercise caution.
4242 [EM] Switch over to using 'atexit' rather than 'on_exit' routine. This also
4243 meant we needed to save the exit status elsewhere so our 'Goodbye'
4244 routine could examine it.
4246 [EM] Move the DEVICESCAN code to os specific files. Also moved some of the
4247 smartd Memory functions to utility.c to make available to smartctl.
4249 [EM] Code janitor work on os_freebsd.c.
4251 [EM] Added os_freebsd.[hc] code. Additional code janitor
4254 [BA] Code janitor working, moving OS dependent code into
4257 [GG] conditionally compile os_{freebsd,linux}.o depending on
4260 [PW] Print estimated completion time for tests
4262 [BA] Added -F samsung2 flag to correct firmware byte swap.
4263 All samsung drives with *-23 firmware revision string.
4267 [GG] Fixed broken Makefile.am (zero length smartd.conf.5
4268 was being created), fix broken uninstall/distcheck targets
4270 [FM] Improved Slackware init script added to /etc/smartd.initd
4272 smartmontools 5.19 [NOTE CHANGE OF RELEASE NUMBERING]
4274 [BA] smartctl: added '-T verypermissive' option which is
4275 equivalent to giving '-T permissive' many times.
4277 [BA] Try harder to identify from IDENTIFY DEVICE structure
4278 if SMART supported/enabled. smartd now does a more
4279 thorough job of trying to assess this before sending
4280 a SMART status command to find out for sure.
4282 [BA] smartctl: it's now possible to override the program's
4283 guess of the device type (ATA or SCSI) with -d option.
4285 [BA] try hard to avoid sending IDENTIFY DEVICE to packet
4286 devices (CDROMS). They can't do SMART, and this generates
4287 annoying syslog messages. At the same time, identify type
4290 [BA] smartctl: Can now use permissive option more
4291 than once, to control how far to go before giving up.
4293 [BA] smartd: if user asked to monitor either error or self-test
4294 logs (-l error or -l selftest) WITHOUT monitoring any of the
4295 Attribute values, code will SEGV. For 5.1-18 and earlier,
4296 a good workaround is to enable Auto offline (-o on).
4298 [BA] smartctl: If enable auto offline command given, update auto
4299 offline status before printing capabilities.
4301 [GG] Make autotools build the default, remove autotools.diff
4303 [GG] Add auto{conf,make} support, not enabled by default.
4305 [BA] Eliminated #include <linux/hdreg.h> from code. This
4306 should simplify porting to solaris, FreeBSD, etc. The
4307 only linux-specific code is now isolated to three routines,
4308 one for SCSI, one for Escalade, one for ATA.
4310 smartmontools 5.1-18
4312 [BA] smartd: fixed serious bug - Attributes not monitored unless
4313 user told smartd to ignore at least one of them!
4315 smartmontools 5.1-17
4317 [BA] Default runlevels for smartd changed from 3 and 5 to
4320 [BA] Removed as much dynamic memory allocation as possible from
4321 configuration file parsing. Reloading config file, even in
4322 presence of syntax errors etc. should not cause memory leaks.
4324 [PW] It is no longer permissible for the integer part (if any) of
4325 arguments to --report and --device to be followed by non-digits.
4326 For example, the "foo" in --report=ioctl,2foo was previously
4327 ignored, but now causes an error.
4329 [BA] smartd: added -q/--quit command line option to specify
4330 under what circumstances smartd should exit. The old
4331 -c/--checkonce option is now obsoleted by this more
4332 general-purpose option.
4334 [BA] smartd now responds to a HUP signal by re-reading its
4335 configuration file /etc/smartd.conf. If there are
4336 errors in this file, then the configuration file is
4337 ignored and smartd continues to monitor the devices that
4338 it was monitoring prior to receiving the HUP signal.
4340 [BA] Now correctly get SMART status from disks behind 3ware
4341 controllers, thanks to Adam Radford. Need 3w-xxxx driver
4342 version 1.02.00.037 or later. Previously the smartmontools
4343 SMART status always returned "OK" for 3ware controllers.
4345 [BA] Additional work on dynamic memory allocation/deallocation.
4346 This should have no effect on smartctl, but clears that way
4347 for smartd to dynamically add and remove entries. It should
4348 also now be easier to modify smartd to re-read its config
4349 file on HUP (which is easy) without leaking memory (which is
4350 harder). The philosophy is that memory for data structures in
4351 smartd is now allocated only on demand, the first time it
4354 [BA] smartd: finished cleanup. Now use create/rm functions for
4355 cfgentries and dynamic memory allocation almost everywhere.
4356 Philosophy: aggresively try and provoke SEGV to help find
4359 [BA] Added SAMSUNG SV0412H to knowndrives table.
4361 [BA] smartd: if DEVICESCAN used then knowndrives table might not set
4362 the -v attributes correctly -- may have been the same for all
4363 the drives. Cleaned up some data structures and memory
4364 allocation to try and ensure segvs if such problems are
4367 [BA] Now allow -S on and -o on for the 3ware device type. For these
4368 commands to be passed through, the stock 3ware 3w-xxxx driver
4369 must be patched (8 lines). I'll post a patch on the smartmontools
4370 home page after it's been tested by a few other people and 3ware
4371 have had a chance to look it over.
4373 smartmontools-5.1-16
4375 [BA] smartd - can now monitor ATA drives behind 3ware controllers.
4377 [BA] smartd - changed some FATAL out of memory error messages from
4378 syslog level LOG_INFO to LOG_CRIT.
4380 [BA] smartctl - added code to look at ATA drives behind 3ware RAID
4381 controllers using the 3w-xxxx driver. Note that for technical
4382 reasons related to the 3w-xxxx driver, the "Enable Autosave",
4383 "Enable Automatic Offline" commands are not implemented.
4384 I will add this to smartd shortly.
4386 [BA] smartd - modified sleep loop, so that smartd no longer comes
4387 on the run queue every second. Instead, unless interrupted,
4388 it sleeps until the next polling time, when it wakes up. Now
4389 smartd also tries to wake up at exactly the right
4390 intervals (nominally 30 min) even if the user has been sending
4393 [GG] add Fujitsu MHN2300AT to vendoropts_9_seconds.
4395 [EB] Fujitsu change in knowndrives ... match the whole MPD and
4396 MPE series for vendoropts_9_seconds.
4398 [BA] smartd bug, might cause segv if a device can not be opened. Was
4399 due to missing comma in char* list. Consequence is that email
4400 failure messages might have had the wrong Subject: heading for
4401 errorcount, FAILEDhealthcheck, FAILEDreadsmartdata, FAILEDreadsmarterrorlog,
4402 FAILEDreadsmartsefltestlog, FAILEDopendevice were all displaced by
4403 one. And FAILEDopendevice might have caused a segv if -m was being
4404 used as a smartd Directive.
4406 smartmontools-5.1-15
4408 [BA] Cleaned up smartmontools.spec so that upgrading, removing
4409 and other such operations correctly preserve running behavior
4410 and booting behavior of smartd.
4412 [BA] Improved formatting of ATA Error Log printout, and added
4413 listing of names of commands that caused the error. Added
4414 obsolete ATA-4 SMART feature commands to table, along with
4415 obsolete SFF-8035i SMART feature command.
4417 [PW] Added atacmdnames.[hc], which turn command register &
4418 feature register pairs into ATA command names.
4420 [BA] Added conveyance self-test. Some code added for selective
4421 self-tests, but #ifdefed out.
4423 [BA] Modified smartd exit status and log levels. If smartd is
4424 "cleanly" terminated, for example with SIGTERM, then its
4425 exit messages are now logged at LOG_INFO not LOG_CRIT
4427 [BA] Added Attribute IDs (Fujitsu) 0xCA - 0xCE. This is decimal
4428 202-206. Added -v switches for interpretation of Attributes
4431 [BA] Made smartmontools work with any endian order machine for:
4432 - SMART selftest log
4433 - SMART ATA error log
4434 - SMART Attributes values
4435 - SMART Attributes thesholds
4436 - IDENTIFY DEVICE information
4438 Smartmontools is now free of endian bias and works correctly
4439 on both little- and big-endian hardware. This has been tested by
4440 three independent PPC users on a variety of ATA and SCSI hardware.
4442 [DG] Check that certain SCSI command responses are well formed. If
4443 IEC mode page response is not well formed exit smartctl. This
4444 is to protect aacraid. smartd should ignore a aacraid device.
4446 smartmontools-5.1-14
4448 [BA] smartctl: added column to -A output to show if Attributes are
4449 updated only during off-line testing or also during normal
4452 smartmontools-5.1-13
4454 [BA] smartd: attempt to enable/disable automatic offline testing even
4455 if the disk appears not to support it. Now the same logic
4458 [BA] Added definition of Attribute 201, soft read error rate.
4460 [BA] Added IBM/Hitachi IC35L120AVV207-1 (GXP-180) and corresponding
4461 8MB Cache GXP-120 to drive database.
4463 [BA] smartd: if DEVICESCAN Directive used in smartd.conf, and
4464 -I, -R or -r Directives used in conjunction with this, got
4465 segv errors. Fixed by correcting memory allocation calls.
4467 [BA] smartd: enable automatic offline testing was broken due
4468 to cut-and-paste error that disabled it instead of
4469 enabling it. Thanks to Maciej W. Rozycki for pointing
4470 out the problem and solution.
4472 [BA] Fixed "spelling" of some Attribute names to replace spaces
4473 in names by underscores. (Fixed field width easier for awk
4476 [BA,GF] Added mods submitted by [GF] to support Attribute 193 being
4477 load/unload cycles. Add -v 193,loadunload option, useful for
4478 Hitachi drive DK23EA-30, and add this drive to knowndrive.c
4479 Add meaning of attribute 250 : Read error retry rate
4481 smartmontools-5.1-12
4483 [BA] Added another entry for Samsung drives to knowndrive table.
4485 [DG] Refine SCSI log sense command to do a double fetch in most cases
4486 (but not for the TapeAlert log page). Fix TapeAlert and Self Test
4487 log page response truncation.
4489 [PW] Added 'removable' argument to -d Directive for smartd. This indicates
4490 that smartd should continue (rather than exit) if the device does not
4491 appear to be present.
4493 [BA] Modified smartmontools.spec [Man pages location] and
4494 smartd.initd [Extra space kills chkconfig!] for Redhat 6.x
4495 compatibility (thanks to Gerald Schnabel).
4497 smartmontools-5.1-11
4499 [EB] Add another Fujitsu disk to knowndrives.c
4501 [GG] match for scsi/ and ide/ in case of devfs to exclude false postives
4503 [BA] If SCSI device listed in /etc/smartd.conf fails to open or do
4504 SMART stuff correctly, or not enough space
4505 to list all SCSI devices, fail with error unless
4506 -DSCSIDEVELOPMENT set during compile-time.
4508 [BA] Added automatic recognition of /dev/i* (example: /dev/ide/...)
4511 [DG] Add "Device type: [disk | tape | medium changer | ...] line to
4512 smartctl -i output for SCSI devices.
4514 [PW] Fixed bug in smartd where test email would be sent regularly (for
4515 example, daily if the user had specified -M daily) instead of just
4518 [KM] More TapeAlert work. Added translations for media changer
4519 alerts. TapeAlert support reported according to the log page
4520 presence. ModeSense not attempted for non-ready tapes (all
4521 drives do not support this after all). Get peripheral type from
4522 Inquiry even if drive info is not printed. Add QUIETON()
4523 QUIETOFF() to TapeAlert log check.
4525 [BA] Stupid bug in atacmds.c minor_str[] affected ataVersionInfo().
4526 Two missing commas meant that minor_str[] had two few elements,
4527 leading to output like this:
4528 Device Model: Maxtor 6Y120L0
4529 Serial Number: Y40BF74E
4530 Firmware Version: YAR41VW0
4531 Device is: Not in smartctl database [for details use: -P showall]
4533 ATA Standard is: 9,minutes
4535 Missing commas inserted.
4537 [BA] Fixed smartd bug. On device registration, if ATA device did
4538 not support SMART error or self-test logs but user had asked to
4539 monitor them, an attempt would be made to read them anyway,
4540 possibly generating "Drive Seek" errors. We now check that
4541 the self-test and error logs are supported before trying to
4542 access them the first time.
4544 [GG/BA] Fixed bug where if SMART ATA error log not supported,
4545 command was tried anyway. Changed some error printing to use
4548 [GG] Makefile modifications to ease packaging
4550 [DG] Did work for TapeAlerts (SCSI). Now can detect /dev/nst0 as a
4551 SCSI device. Also open SCSI devices O_NONBLOCK so they don't
4552 hang on open awaiting media. The ATA side should worry about
4553 this also: during a DEVICESCAN a cd/dvd device without media
4554 will hang. Added some TapeAlert code suggested by Kai Makisara.
4556 smartmontools-5.1-10
4558 [PW] Extended the -F option/Directive to potentially fix other firmware
4559 bugs in addition to the Samsung byte-order bug. Long option name is
4560 now --firmwarebug and the option/Directive accepts an argument
4561 indicating the type of firmware bug to fix.
4563 [BA] Fixed a bug that prevented the enable automatic off-line
4564 test feature from enabling. It also prevented the enable Attribute
4565 autosave from working. See CVS entry for additional details.
4567 [PW] Modified the -r/--report option (smartctl and smartd) to allow the
4568 user to specify the debug level as a positive integer.
4570 [BA] Added --log directory option to smartctl. If the disk
4571 supports the general-purpose logging feature set (ATA-6/7)
4572 then this option enables the Log Directory to be printed.
4573 This Log Directory shows which device logs are available, and
4574 their lengths in sectors.
4576 [PW] Added -P/--presets option to smartctl and -P Directive to smartd.
4578 [GG] Introduce different exit codes indicating the type of problem
4579 encountered for smartd.
4581 [DG] Add non-medium error count to '-l error' and extended self test
4582 duration to '-l selftest'. Get scsi IEs and temperature changes
4583 working in smartd. Step over various scsi disk problems rather
4584 than abort smartd startup.
4586 [DG] Support -l error for SCSI disks (and tapes). Output error counter
4589 [BA] Added -F/--fixbyteorder option to smartctl. This allows us to read
4590 SMART data from some disks that have byte-reversed two- and four-
4591 byte quantities in their SMART data structures.
4593 [BA] Fixed serious bug: the -v options in smartd.conf were all put
4594 together and used together, not drive-by-drive.
4596 [PW] Added knowndrives.h and knowndrives.c. The knowndrives array
4597 supersedes the drivewarnings array.
4599 [GG] add {-p,--pidfile} option to smartd to write a PID file on
4600 startup. Update the manpage accordingly.
4602 [DG] Fix scsi smartd problem detecting SMART support. More cleaning
4603 and fix (and rename) scsiTestUnitReady(). More scsi renaming.
4605 [BA] Fixed smartd so that if a disk that is explictily listed is not
4606 found, then smartd will exit with nonzero status BEFORE forking.
4607 If a disk can't be registered, this will also be detected before
4608 forking, so that init scripts can react correctly.
4610 [BA] Replaced all linux-specific ioctl() calls in atacmds.c with
4611 a generic handler smartcommandhandler(). Now the only routine
4612 that needs to be implemented for a given OS is os_specific_handler().
4613 Also implemented the --report ataioctl. This provides
4614 two levels of reporting. Using the option once gives a summary
4615 report of device IOCTL transactions. Using the option twice give
4616 additional info (a printout of ALL device raw 512 byte SMART
4617 data structures). This is useful for debugging.
4619 [DG] more scsi cleanup. Output scsi device serial number (VPD page
4620 0x80) if available as part of '-i'. Implement '-t offline' as
4621 default self test (only self test older disks support).
4623 [BA] Changed crit to info in loglevel of smartd complaint to syslog
4624 if DEVICESCAN enabled and device not found.
4626 [BA] Added -v 194,10xCelsius option/Directive. Raw Attribute number
4627 194 is ten times the disk temperature in Celsius.
4629 [DG] scsicmds.[hc] + scsiprint.c: clean up indentation, remove tabs.
4630 Introduce new intermediate interface based on "struct scsi_cmnd_io"
4631 to isolate SCSI generic commands + responses from Linux details;
4632 should help port to FreeBSD of SCSI part of smartmontools.
4633 Make SCSI command builders more parametric.
4637 [BA] smartctl: if HDIO_DRIVE_TASK ioctl() is not implemented (no
4638 kernel support, then try to assess drive health by examining
4639 Attribute values/thresholds directly.
4641 [BA] smartd/smartctl: added -v 200,writeerrorcount option/Directive
4644 [BA] smartd: Now send email if any of the SMART commands fails,
4645 or if open()ing the device fails. This is often noted
4646 as a common disk failure mode.
4648 [BA] smartd/smartctl: Added -v N,raw8 -v N,raw16 and -v N,raw48
4649 Directives/Options for printing Raw Attributes in different
4652 [BA] smartd: Added -r ID and -R ID for reporting/tracking Raw
4653 values of Attributes.
4655 [BA] smartd/smartctl: Changed printing of spin-up-time attribute
4656 raw value to reflect current/average as per IBM standard.
4658 [BA] smartd/smartctl: Added -v 9,seconds option for disks which
4659 use Attribute 9 for power-on lifetime in seconds.
4661 [BA] smartctl: Added a warning message so that users of some IBM
4662 disks are warned to update their firmware. Note: we may want
4663 to add a command-line flag to disable the warning messages.
4664 I have done this in a general way, using regexp, so that we
4665 can add warnings about any type of disk that we wish...
4669 [BA] smartd: Created a subdirectory examplescripts/ of source
4670 directory that contains executable scripts for the -M exec PATH
4671 Directive of smartd.
4675 [BA] smartd: DEVICESCAN in /etc/smartd.conf
4676 can now be followed by all the same Directives as a regular
4677 device name like /dev/hda takes. This allows one to use
4679 DEVICESCAN -m root@example.com
4680 in the /etc/smartd.conf file.
4682 [BA] smartd: Added -c (--checkonce) command-line option. This checks
4683 all devices once, then exits. The exit status can be
4684 used to learn if devices were detected, and if smartd is
4685 functioning correctly. This is primarily for Distribution
4688 [BA] smartd: Implemented -M exec Directive for
4689 smartd.conf. This makes it possible to run an
4690 arbitrary script or mailing program with the
4693 [PW] smartd: Modified -M Directive so that it can be given
4694 multiple times. Added -M exec Directive.
4698 [BA] Fixed bug in smartctl pointed out by Pierre Gentile.
4699 -d scsi didn't work because tryata and tryscsi were
4700 reversed -- now works on /devfs SCSI devices.
4702 [BA] Fixed bug in smartctl pointed out by Gregory Goddard
4703 <ggoddard@ufl.edu>. Manual says that bit 6 of return
4704 value turned on if errors found in smart error log. But
4705 this wasn't implemented.
4709 [BA] Modified printing format for 9,minutes to read
4710 Xh+Ym not X h + Y m, so that fields are fixed width.
4712 [BA] Added Attribute 240 "head flying hours"
4716 [BA] As requested, local time/date now printed by smartctl -i
4718 [PW] Added "help" argument to -v for smartctl
4720 [PW] Added -D, --showdirectives option to smartd
4722 [DG] add '-l selftest' capability for SCSI devices (update smartctl.8)
4724 [BA] smartd,smartctl: added additional Attribute modification option
4725 -v 220,temp and -v 9,temp.
4727 [PW] Renamed smartd option -X to -d
4729 START OF SMARTMONTOOLS 5.1 series
4731 smartmontools-5.0.50
4733 [PW] Changed smartd.conf Directives -- see man page
4735 [BA/DG] Fixed uncommented comment in smartd.conf
4737 [DG] Correct 'Recommended start stop count' for SCSI devices
4739 [PW] Replaced smartd.conf directive -C with smartd option -i
4741 [PW] Changed options for smartctl -- see man page.
4743 [BA] Use strerror() to generate system call error messages.
4745 [BA] smartd: fflush() all open streams before fork().
4747 [BA] smartctl, smartd simplified internal handling of checksums
4748 for simpler porting and less code.
4750 smartmontools-5.0.49
4752 [PW] smartd --debugmode changed to --debug
4754 [BA] smartd/smartctl added attribute 230 Head Amplitude from
4757 [PW] Added list of proposed new options for smartctl to README.
4759 [PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is
4760 defined and uses getopt() otherwise. This is controlled by CPPFLAGS in
4763 [BA] smartd: Fixed a couple of error messages done with perror()
4764 to redirect them as needed.
4766 smartmontools-5.0.48
4768 [BA] smartctl: The -O option to enable an Immediate off-line test
4769 did not print out the correct time that the test would take to
4770 complete. This is because the test timer is volatile and not
4771 fixed. This has been fixed, and the smartctl.8 man page has been
4772 updated to explain how to track the Immediate offline test as it
4773 progresses, and to further emphasize the differences between the
4774 off-line immediate test and the self-tests.
4776 [BA] smartd/smartctl: Added new attribute (200) Multi_Zone_Error_Rate
4778 [BA] smartctl: modified so that arguments could have either a single -
4779 as in -ea or multiple ones as in -e -a. Improved warning message for
4780 device not opened, and fixed error in redirection of error output of
4781 HD identity command.
4783 [PW] smartd: added support for long options. All short options are still
4784 supported; see manpage for available long options.
4786 [BA] smartctl. When raw Attribute value was 2^31 or larger, did
4787 not print correctly.
4789 smartmontools-5.0.46
4791 [BA] smartd: added smartd.conf Directives -T and -s. The -T Directive
4792 enables/disables Automatic Offline Testing. The -s Directive
4793 enables/disables Attribute Autosave. Documentation and
4794 example configuration file updated to agree.
4796 [BA] smartd: user can make smartd check the disks at any time
4797 (ie, interrupt sleep) by sending signal SIGUSR1 to smartd. This
4798 can be done for example with:
4800 where <pid> is the process ID number of smartd.
4802 [EB] scsi: don't trust the data we receive from the drive too
4803 much. It very well might have errors (like zero response length).
4804 Seen on Megaraid logical drive, and verified in the driver source.
4806 [BA] smartd: added Directive -m for sending test email and
4807 for modifying email reminder behavior. Updated manual, and sample
4808 configuration file to illustrate & explain this.
4810 [BA] smartd: increased size of a continued smartd.conf line to
4813 [BA] Simplified Directive parsers and improved warning/error
4816 smartmontools-5.0.45
4818 [EB] Fixed bug in smartd where testunitready logic inverted
4819 prevented functioning on scsi devices.
4820 The bug in question only affects smartd users with scsi devices.
4821 To see if your version of smartd has the testunitready() bug, do
4823 If the version of the module smartd.c in a line like:
4824 Module: smartd.c revision: 1.66 date: 2002/11/17
4825 has a revision greater than or equal to 1.30, and less than or equal to
4826 1.64, then your version of the code has this problem.
4827 This problem affected releases starting with RELEASE_5_0_16 up to and
4828 including RELEASE_5_0_43.
4830 [BA] Added testunitnotready to smartctl for symmetry with smartd.
4832 [SB] added Czech descriptions to .spec file
4833 [SB] corrected comment in smartd.conf example
4835 [BA] Changed way that entries in the ATA error log are printed,
4836 to make it clearer which is the most recent error and
4837 which is the oldest one.
4839 NOTE: All changes made prior to this point were done by Bruce Allen
4840 [BA] although several of them had been suggested by earlier postings
4841 by Stanislav Brabec [SB].
4843 smartmontools-5.0.43
4845 Changed Temperature_Centigrade to Temperature_Celsius.
4846 The term "Centigrade" ceased to exist in 1948. (c.f
4847 http://www.bartleby.com/64/C004/016.html).
4849 smartmontools-5.0.42
4851 Modified SCSI device check to also send warning emails if
4852 requested in directives file.
4854 Added a new smartd configuration file Directive: -M ADDRESS.
4855 This sends a single warning email to ADDRESS for failures or
4856 errors detected with the -c, -L, -l, or -f Directives.
4858 smartmontools-5.0.38
4860 Modified perror() statements in atacmds.c so that printout for SMART
4861 commands errors is properly suppressed or queued depending upon users
4862 choices for error reporting modes.
4864 Added Italian descriptions to smartmontools.spec file.
4866 Started impementing send-mail-on-error for smartd; not yet enabled.
4868 Added -P (Permissive) Directive to smartd.conf file to allow SMART
4869 monitoring of pre-ATA-3 Rev 4 disks that have SMART but do not have
4870 a SMART capability bit.
4872 Removed charset encodings from smartmontools.spec file for non-English
4875 smartmontools-5.0.32
4877 Added manual page smartd.conf.5 for configuration file.
4879 smartctl: Missing ANSI prototype in failuretest(); fixed.
4881 smartctl: Checksum warnings now printed on stdout, or are silent,
4882 depending upon -q and -Q settings.
4884 smartmontools-5.0.31
4886 Changed Makefile so that the -V option does not reflect file state
4889 smartctl: added new options -W, -U, and -P to control if and how the
4890 smartctl exits if an error is detected in either a SMART data
4891 structure checksum, or a SMART command returns an error.
4893 modified manual page to break options into slightly more logical
4896 reformatted 'usage' message order to agree with man page ordering
4898 modified .spec file so that locale information now contains
4899 character set definition. Changed pt_BR to pt since we do not use any
4900 aspect other than language. See man setlocale.
4902 smartmontools-5.0.30
4903 smartctl: added new options -n and -N to force device to be ATA or SCSI
4904 smartctl: no longer dies silently if device path does not start/dev/X
4905 smartctl: now handles arbitrary device paths
4907 smartmontools-5.0.29
4908 Modified .spec file and Makefile to make them more compliant with
4909 the "right" way of doing things.
4911 smartmontools-5.0.26
4912 Fixed typesetting error in man page smartd.8
4914 Removed redundant variable (harmless) from smartd.c
4916 smartmontools-5.0.25
4918 Added a new directive for the configuration file. If the word
4919 DEVICESCAN appears before any non-commented material in the
4920 configuration file, then the confi file will be ignored and the
4921 devices wil be scanned.
4923 smartmontools-5.0.24
4925 Note: it has now been confirmed that the code modifications between
4926 5.0.23 and 5.0.24 have eliminated the GCC 3.2 problems. Note that
4927 there is a GCC bug howerver, see #8404 at
4928 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&cmd=query
4929 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8404
4931 Added new Directive for Configuration file:
4932 -C <N> This sets the time in between disk checks to be <N>
4933 seconds apart. Note that although you can give
4934 this Directive multiple times on different lines of
4935 the configuration file, only the final value that
4936 is given has an effect, and applies to all the
4937 disks. The default value of <N> is 1800 sec, and
4938 the minimum allowed value is ten seconds.
4940 Problem wasn't the print format. F.L.W. Meunier <0@pervalidus.net>
4941 sent me a gcc 3.2 build and I ran it under a debugger. The
4942 problem seems to be with passing the very large (2x512+4) byte
4943 data structures as arguments. I never liked this anyway; it was
4944 inherited from smartsuite. So I've changed all the heavyweight
4945 functions (ATA ones, anyone) to just passing pointers, not hideous
4946 kB size structures on the stack. Hopefully this will now build OK
4947 under gcc 3.2 with any sensible compilation options.
4949 smartmontools-5.0.23
4951 Because of reported problems with GCC 3.2 compile, I have gone
4952 thorough the code and explicitly changed all print format
4953 parameters to correspond EXACTLY to int unless they have to be
4954 promoted to long longs. To quote from the glibc bible: [From
4955 GLIBC Manual: Since the prototype doesn't specify types for
4956 optional arguments, in a call to a variadic function the default
4957 argument promotions are performed on the optional argument
4958 values. This means the objects of type char or short int (whether
4959 signed or not) are promoted to either int or unsigned int, as
4962 smartmontools-5.0.22
4964 smartd, smartctl now warn if they find an attribute whose ID
4965 number does not match between Data and Threshold structures.
4967 Fixed nasty bug which led to wrong number of arguments for a
4968 varargs statement, with attendent stack corruption. Sheesh!
4969 Have added script to CVS attic to help find such nasties in the
4972 smartmontools-5.0.21
4974 Eliminated some global variables out of header files and other
4975 minor cleanup of smartd.
4977 smartmontools-5.0.20
4979 Did some revision of the man page for smartd and made the usage
4980 messages for Directives 100% consistent.
4982 smartmontools-5.0-19
4984 smartd: prints warning message when it gets SIGHUP, saying that it
4985 is NOT re-reading the config file.
4987 smartctl: updated man page to say self-test commands -O,x,X,s,S,A
4988 appear to be supported in the code. [I can't test these, can anyone
4991 smartmontools-5.0-18
4993 smartctl: smartctl would previously print the LBA of a self-test
4994 if it completed, and the LBA was not 0 or 0xff...f However
4995 according to the specs this is not correct. According to the
4996 specs, if the self-test completed without error then LBA is
4997 undefined. This version fixes that. LBA value only printed if
4998 self-test encountered an error.
5000 smartmontools-5.0-17
5002 smartd has changed significantly. This is the first CVS checkin of
5003 code that extends the options available for smartd. The following
5004 options can be placed into the /etc/smartd.conf file, and control the
5006 Configuration file Directives (following device name):
5007 -A Device is an ATA device
5008 -S Device is a SCSI device
5009 -c Monitor SMART Health Status
5010 -l Monitor SMART Error Log for changes
5011 -L Monitor SMART Self-Test Log for new errors
5012 -f Monitor for failure of any 'Usage' Attributes
5013 -p Report changes in 'Prefailure' Attributes
5014 -u Report changes in 'Usage' Attributes
5015 -t Equivalent to -p and -u Directives
5016 -a Equivalent to -c -l -L -f -t Directives
5017 -i ID Ignore Attribute ID for -f Directive
5018 -I ID Ignore Attribute ID for -p, -u or -t Directive
5019 # Comment: text after a hash sign is ignored
5020 \ Line continuation character
5022 cleaned up functions used for printing CVS IDs. Now use string
5023 library, as it should be.
5025 modified length of device name string in smartd internal structure
5026 to accomodate max length device name strings
5028 removed un-implemented (-e = Email notification) option from
5029 command line arg list. We'll put it back on when implemeneted.
5031 smartd now logs serious (fatal) conditions in its operation at
5032 loglevel LOG_CRIT rather than LOG_INFO before exiting with error.
5034 smartd used to open a file descriptor for each SMART enabled
5035 device, and then keep it open the entire time smartd was running.
5036 This meant that some commands, like IOREADBLKPART did not work,
5037 since the fd to the device was open. smartd now opens the device
5038 when it needs to read values, then closes it. Also, if one time
5039 around it can't open the device, it simply prints a warning
5040 message but does not give up. Have eliminated the .fd field from
5041 data structures -- no longer gets used.
5043 smartd now opens SCSI devices as well using O_RDONLY rather than
5044 O_RDWR. If someone can no longer monitor a SCSI device that used
5045 to be readable, this may well be the reason why.
5047 smartd never checked if the number of ata or scsi devices detected
5048 was greater than the max number it could monitor. Now it does.
5050 smartmontools-5.0-16
5052 smartd on startup now looks in the configuration file /etc/smartd.conf for
5053 a list of devices which to include in its monitoring list. See man page
5054 (man smartd) for syntax.
5056 smartd: close file descriptors of SCSI device if not SMART capable
5057 Closes ALL file descriptors after forking to daemon.
5059 added new temperature attribute (231, temperature)
5061 smartd: now open ATA disks using O_RDONLY
5063 smartmontools-5.0-11
5065 smartd now prints the name of a failed or changed attribute
5066 into logfile, not just ID number
5068 Changed name of -p (print version) option to -V
5070 Minor change in philosophy: if a SMART command fails or the device
5071 appears incapable of a SMART command that the user has asked for,
5072 complain by printing an error message, but go ahead and try
5073 anyway. Since unimplemented SMART commands should just return an
5074 error but not cause disk problems, this should't cause any
5077 Added two new flags: q and Q. q is quiet mode - only print: For
5078 the -l option, errors recorded in the SMART error log; For the -L
5079 option, errors recorded in the device self-test log; For the -c
5080 SMART "disk failing" status or device attributes (pre-failure or
5081 usage) which failed either now or in the past; For the -v option
5082 device attributes (pre-failure or usage) which failed either now
5083 or in the past. Q is Very Quiet mode: Print no ouput. The only
5084 way to learn about what was found is to use the exit status of
5087 smartctl now returns sensible values (bitmask). See smartctl.h
5088 for the values, and the man page for documentation.
5090 The SMART status check now uses the correct ATA call. If failure
5091 is detected we search through attributes to list the failed ones.
5092 If the SMART status check shows GOOD, we then look to see if their
5093 are any usage attributes or prefail attributes have failed at any
5094 time. If so we print them.
5096 Modified function that prints vendor attributes to say if the
5097 attribute has currently failed or has ever failed.
5099 -p option now prints out license info and CVS strings for all
5100 modules in the code, nicely formatted.
5102 Previous versions of this code (and Smartsuite) only generate
5103 SMART failure errors if the value of an attribute is below the
5104 threshold and the prefailure bit is set. However the ATA Spec
5105 (ATA4 <=Rev 4) says that it is a SMART failure if the value of an
5106 attribute is LESS THAN OR EQUAL to the threshold and the
5107 prefailure bit is set. This is now fixed in both smartctl and
5108 smartd. Note that this is a troubled subject -- the original
5109 SFF 8035i specification defining SMART was inconsistent about
5110 this. One section says that Attribute==Threshold is pass,
5111 and another section says it is fail. However the ATA specs are
5112 consistent and say Attribute==Threshold is a fail.
5114 smartd did not print the correct value of any failing SMART attribute. It
5115 printed the index in the attribute table, not the attribute
5118 when starting self-tests in captive mode ioctl returns EIO because
5119 the drive has been busied out. Detect this and don't return an eror
5120 in this case. Check this this is correct (or how to fix it?)
5122 fixed possible error in how to determine ATA standard support
5123 for devices with no ATA minor revision number.
5125 device opened only in read-only not read-write mode. Don't need R/W
5126 access to get smart data. Check this with Andre.
5128 smartctl now handles all possible choices of "multiple options"
5129 gracefully. It goes through the following phases of operation,
5130 in order: INFORMATION, ENABLE/DISABLE, DISPLAY DATA, RUN/ABORT TESTS.
5131 Documentation has bee updated to explain the different phases of
5132 operation. Control flow through ataPrintMain()
5135 If reading device identity information fails, try seeing if the info
5136 can be accessed using a "DEVICE PACKET" command. This way we can
5137 at least get device info.
5139 Modified Makefile to automatically tag CVS archive on issuance of
5142 Modified drive detection so minor device ID code showing ATA-3 rev
5143 0 (no SMART) is known to not be SMART capable.
5145 Now verify the checksum of the device ID data structure, and of the
5146 attributes threshold structure. Before neither of these
5147 structures had their checksums verified.
5149 New behavior vis-a-vis checksums. If they are wrong, we log
5150 warning messages to stdout, stderr, and syslog, but carry on
5151 anyway. All functions now call a checksumwarning routine if the
5152 checksum doesn't vanish as it should.
5154 Changed Read Hard Disk Identity function to get fresh info from
5155 the disk on each call rather than to use the values that were read
5156 upon boot-up into the BIOS. This is the biggest change in this
5157 release. The ioctl(device, HDIO_GET_IDENTITY, buf ) call should
5158 be avoided in such code. Note that if people get garbled strings
5159 for the model, serial no and firmware versions of their drives,
5160 then blame goes here (the BIOS does the byte swapping for you,
5163 Function ataSmartSupport now looks at correct bits in drive
5164 identity structure to verify first that these bits are valid,
5167 Function ataIsSmartEnabled() written which uses the Drive ID state
5168 information to tell if SMART is enabled or not. We'll carry this
5169 along for the moment without using it.
5171 Function ataDoesSmartWork() guaranteed to work if the device
5174 Replace some numbers by #define MACROS
5176 Wrote Function TestTime to return test time associated with each
5177 different type of test.
5179 Thinking of the future, have added a new function called
5180 ataSmartStatus2(). Eventually when I understand how to use the
5181 TASKFILE API and am sure that this works correctly, it will
5182 replace ataSmartStatus(). This queries the drive directly to
5183 see if the SMART status is OK, rather than comparing thresholds to
5184 attribute values ourselves. But I need to get some drives that fail
5185 their SMART status to check it.
5188 smartmontools-5.0-10
5189 Removed extraneous space before printing in some error messages
5190 Fixed additional typos in documentation
5191 Fixed some character buffers that were too short for their contents.
5195 Put project home path into all source files near the top
5196 Corrected typos in the documentation
5197 Modified Makefile so that Mandrake Cooker won't increment version number
5198 (unless they happen to be working on my machine, which I doubt!)
5200 smartmontools-5.0-8:
5202 For IBM disks whose raw temp data includes three temps. print all
5205 print timestamps for error log to msec precision
5207 added -m option for Hitachi disks that store power on life in
5210 added -L option for printing self-test error logs
5212 in -l option, now print power on lifetime, so that one can see
5213 when the error took place
5215 updated SMART structure definitions to ATA-5 spec
5219 added -f and -F options to enable/disable autosave threshold
5222 changed argv parsing to use getops -- elminate buffer overflow
5225 expanded and corrected documentation
5227 fixed problem with smartd. It did not actually call
5228 ataSmartEnable()! Since the argument was left out, the test
5229 always suceeded because it evaluated to a pointer to the function.
5231 smartd: closed open file descriptors if device does not support
5232 smart. Note: this still needs to be fixed for SCSI devices
5235 smartmontools-5.0-0 STARTED with smartsuite-2.1-2