File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / smartmontools / CHANGELOG
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Oct 9 09:36:45 2012 UTC (11 years, 8 months ago) by misho
Branches: smartmontools, MAIN
CVS tags: v5_43, HEAD
smartmontools

    1: CHANGELOG for smartmontools
    2: 
    3: $Id: CHANGELOG,v 1.1.1.2 2012/10/09 09:36:45 misho Exp $
    4: 
    5: The most recent version of this file is:
    6: http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/CHANGELOG?view=markup
    7: 
    8: Maintainers / Developers Key (alphabetic order):
    9: [AS]  Alex Samorukov
   10: [BA]  Bruce Allen
   11: [OB]  Oliver Bock
   12: [EB]  Erik Inge Bolsř
   13: [SB]  Stanislav Brabec
   14: [PC]  Peter Cassidy
   15: [MC]  Matthieu Castet
   16: [YD]  Yuri Dario
   17: [CD]  Casper Dik
   18: [CF]  Christian Franke
   19: [GF]  Guilhem Frézou
   20: [DG]  Douglas Gilbert
   21: [GG]  Guido Guenther
   22: [JPH] Jordan Powell Hargrave
   23: [JH]  Joerg Hering
   24: [GK]  Geoff Keating
   25: [DK]  Dr. David Kirkby
   26: [DL]  Dan Lukes
   27: [KM]  Kai Mäkisara
   28: [EM]  Eduard Martinescu
   29: [FM]  Frédéric L. W. Meunier
   30: [GP]  Gabriele Pohl
   31: [AR]  Adam Radford
   32: [KS]  Keiji Sawada
   33: [MS]  Manfred Schwarb
   34: [TS]  Tomas Smetana
   35: [DS]  David Snyder
   36: [SS]  Sergey Svishchev
   37: [PW]  Phil Williams
   38: [LW]  Leon Woestenberg
   39: [SZ]  Shengfeng Zhou
   40: [RZ]  Richard Zybert
   41: 
   42: <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
   43: 
   44: smartmontools 5.43 2012-06-30
   45: 
   46:   [CF] drivedb.h USB updates:
   47:        - Toshiba Canvio Basics (0x0480:0xa006)
   48:        - A-DATA DashDrive (0x125f:0xa94a)
   49: 
   50:   [CF] drivedb.h: Hitachi Travelstar 7K500: *A362/3 variants
   51: 
   52:   [CF] Windows: Add Windows Server 2012 to get_os_version_str().
   53: 
   54:   [CF] drivedb.h updates:
   55:        - Sandforce Driven SSDs: OWC Mercury Electra 3/6G SSD
   56:        - Seagate Momentus SpinPoint M8
   57:        - Hitachi Deskstar 5K4000
   58:        - Toshiba 2.5" HDD MK..61GSYN
   59:        - Seagate Barracuda (SATA 3Gb/s, 4K Sectors): 1TB, *DM003-* variant
   60: 
   61:   [CF] smartctl.8.in: Note performance impact of self-tests.
   62: 
   63:   [CF] os_win32.cpp: Add support for older Areca drivers which used a
   64:        different target id.  Patch was provided by Hank Wu from Areca.
   65: 
   66:   [CF] smartctl.8.in: Add info about HP Smart Array controllers.
   67:        Original patch was provided by Don Brace from HP.
   68: 
   69:   [CF] os_freebsd.cpp: add SAT autodetection to '-d cciss,N' device type
   70:        (ticket #202).
   71:        Add missing freebsd_areca_device::m_encnum (regression from r3542).
   72:        Patch was provided by Don Brace from HP.
   73: 
   74:   [CF] os_linux.cpp: add SAT autodetection to '-d cciss,N' device type
   75:        (ticket #202).
   76: 
   77:   [CF] Makefile.am: FIXHTML modified for newer man2html versions.
   78: 
   79:   [CF] autogen.sh: automake 1.11.5 is OK.
   80: 
   81:   [CF] man pages: Minor updates and syntax fixes.
   82: 
   83:   [CF] smartd.service.in: Add ExecReload and StandardOutput.
   84:        Make EnvironmentFile optional (ticket #194).
   85: 
   86:   [CF] drivedb.h USB updates:
   87:        - HP Desktop HD BD07 (0x03f0:0xbd07)
   88:        - Iomega Prestige Desktop USB 3.0 (0x059b:0x0070)
   89:        - Prolific PL2507 (0x067b:0x2507): unsupported -> -d usbjmicron,0
   90:        - WD My Passport USB 3.0 (0x1058:0x0748)
   91:        - WD My Book Essential USB 3.0 (0x1058:0x1140)
   92:        - Sharkoon SATA QuickDeck Pro (0x1f75:0x0888): unsupported
   93:        - Hitachi Touro Desk (0x4971:0x1015)
   94: 
   95:   [CF] Move function str_starts_with() to utility.h.
   96: 
   97:   [CF] smartctl.8.in, smartd.conf.5.in: Note required Areca SAS firmware version.
   98: 
   99:   [CF] INSTALL, smartctl.8.in: Announce OS X SAT SMART Driver (ticket #25).
  100: 
  101:   [CF] Add smart_device::is_syscall_unsup().
  102: 
  103:   [CF] os_win32.cpp: Avoid ENOTSUP which is not provided by some versions
  104:        of MinGW.
  105: 
  106:   [DG] os_linux.cpp: Fix scsi pass-through SG_INFO_CHECK mask logic
  107:        (ticket #225)
  108: 
  109:   [CF] drivedb.h updates:
  110:        - Sandforce Driven SSDs: OCZ-NOCTI
  111:        - Intel 330 Series SSDs (ticket #227)
  112: 
  113:   [CF] smartctl.8.in, smartd.conf.5.in: Document '-d areca N[/E]' support
  114:        for Windows.
  115: 
  116:   [CF] os_win32.cpp: Add help text and error messages for '-d areca,N[/E]'.
  117: 
  118:   [CF] os_win32.cpp win_areca_device: Disable full 48-bit ATA support.
  119:        Add missing set_err() calls.  Remove unused function and parameter.
  120: 
  121:   [CF] os_win32.cpp: Add support for SATA disks behind Areca SATA and SAS
  122:        controllers.  Requires '-d areca,N[/E]' as type and '[/dev/]arcmsrX'
  123:        as device name.
  124: 
  125:        Patch was provided by Hank Wu from Areca.
  126: 
  127:   [CF] Windows installer: Make name of checksum file 32-/64-bit specific.
  128: 
  129:   [CF] Windows installer: Add support for combined 32-/64-bit installer.
  130: 
  131:   [CF] Windows installer: Drop support for UBCD4Win.
  132: 
  133:   [AS] os_freebsd.cpp: sync Areca code with linux version by adding optional 
  134:        enclosure number.
  135: 
  136:   [CF] smartctl.8.in, smartd.conf.5.in: Add brief doc for '-d areca N/E'.
  137: 
  138:   [CF] os_linux.cpp: Add optional enclosure number to '-d areca' option.
  139:        This adds support for SATA disks behind Areca SAS controllers.
  140: 
  141:        Patch was provided by Hank Wu from Areca.
  142: 
  143:   [CF] smartctl: Add log addresses and statistics value from ACS-3 revision 2.
  144: 
  145:   [CF] drivedb.h updates:
  146:        - Crucial/Micron RealSSD C300/C400/m4: m4 512GB
  147:        - Indilinx Everest/Martini based SSDs: OCZ-PETROL
  148:        - SAMSUNG SpinPoint F4 EG (AFT): Fix link
  149:        - Seagate Momentus 4200.2: ST960812A
  150:        - Seagate Momentus 5400.2: ST960821A (from 4200.2)
  151:        - Seagate Barracuda 7200.12: ST3500413AS
  152:        - Western Digital RE3 Serial ATA: WD7502ABYS
  153:        - Western Digital AV-GP: WD....AV[CD]S, split entry
  154:        - Western Digital AV-GP (Adv. Format): WD10EU[CR]X
  155: 
  156:   [CF] autogen.sh: Set svn:eol-style=LF to be compatible with Cygwin bash.
  157: 
  158:   [CF] autogen.sh: automake 1.11.3 is OK.
  159: 
  160:   [CF] drivedb.h updates:
  161:        - Sandforce Driven SSDs: Smart Storage Systems XceedSTOR,
  162:          XceedIOPS2, Xcel-200
  163:        - Smart Storage Systems XceedSecure2 SSDs
  164:        - Smart Storage Systems XceedUltraX/Adtron A25FBX SSDs
  165:        - Smart Storage Systems Adtron A25FB 2xN SSDs
  166:        - Smart Storage Systems Adtron A25FB 3xN SSDs
  167:        Original patch was provided by Rusty Carruth
  168: 
  169:   [CF] drivedb.h updates:
  170:        - Remove outdated IBM links
  171:        - Update all links to Seagate Knowledge Base
  172:        - Hitachi Deskstar 7K1000.D
  173: 
  174:   [CF] drivedb.h USB update:
  175:        - Seagate Expansion External (0x0bc2:0x3332) (ticket #223)
  176: 
  177:   [CF] drivedb.h USB updates:
  178:        - Samsung Story Station (0x04e8:0x5f05)
  179:        - Toshiba STOR.E (0x0930:0x0b1b)
  180: 
  181:   [CF] smartctl: Add options '-f hex' and '-f hex,[id|val]' to print
  182:        attribute IDs and/or values as hex.
  183: 
  184:   [CF] smartd.8.in: Fix signal name (Debian bug 661801).
  185: 
  186:   [CF] Add 'raw56', 'hex56', 'raw24(raw8)' attribute print formats.
  187:        Change default for Power_On_Hours to 'raw24(raw8)'.
  188:        This provides more reasonable output for SandForce based devices
  189:        missing in drivedb.h.
  190: 
  191:   [CF] configure.in, Makefile.am: Support new SVN 1.7 working copy format.
  192: 
  193:   [CF] drivedb.h update:
  194:        - Intel 520 Series SSDs: Add units to attributes 241, 242, 249.
  195: 
  196:   [AS] drivedb.h: fixed identifier for Seagate SV35 series.
  197: 
  198:   [CF] Print command duration in ATA debug output.
  199:        Add smart_interface::get_timer_usec().
  200: 
  201:   [CF] drivedb.h updates:
  202:        - SandForce Driven SSDs: G.SKILL Phoenix Pro
  203:        - Intel 520 Series SSDs
  204:        - SAMSUNG SpinPoint F4 EG: Update firmware download link
  205: 
  206:   [CF] drivedb.h updates:
  207:        - Add comment with default settings.
  208:        - Samsung based SSDs: Fix attribute 240
  209: 
  210:   [CF] Windows: Add Win8 to get_os_version_str().
  211: 
  212:   [CF] Windows: Remove MSVC specific pragma, disable warning in project file.
  213: 
  214:   [CF] Add '-d sat,auto[,N]' option for controller independent SAT detection.
  215: 
  216:   [CF] dev_interface.h: Replace this_is_ata/scsi(*) by hide_ata/scsi(bool).
  217: 
  218:   [CF] smartctl: Allow '-d test' in conjunction with other '-d TYPE' options.
  219: 
  220:   [AS] FreeBSD: sync init script with one from ports repository.
  221: 
  222:   [CF] drivedb.h updates:
  223:        - SandForce Driven SSDs: ADATA S510
  224:        - JMicron based SSDs: Toshiba THNSNC128GMLJ
  225:        - Samsung based SSDs: 830 Series
  226:        - Hitachi Deskstar E7K1000
  227:        - Hitachi Ultrastar A7K1000: Fix name, allow trailing characters
  228:        - Hitachi Ultrastar A7K2000: Remove duplicate entry
  229:        - Toshiba 2.5" HDD MK..55GSX
  230:        - Western Digital AV-GP: WD..EURS variants
  231: 
  232:   [CF] drivedb.h USB updates:
  233:        - Buffalo MiniStation HD-PCTU2 (0x0411:0x01d9) (ticket #211)
  234:        - Philips SDE3273VC/97 (0x0471:0x2021) (ticket #212)
  235:        - Samsung M2 Portable 3.0 (0x04e8:0x60c5)
  236:        - Iomega GDHDU2 (0x059b:0x0475)
  237:        - LaCie minimus USB 3.0 (0x059f:0x104a)
  238:        - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a5)
  239:        - Maxtor BlackArmor Portable (0x0d49:0x7550)
  240:        - WD My Passport Essential SE USB 3.0 (0x1058:0x0742)
  241:        - Initio (0x13fd:0x1e40)
  242:        - Verbatim External Hard Drive 2TB (0x18a5:0x022a)
  243:        - Hitachi Touro Desk (0x4971:0x1011)
  244: 
  245:   [CF] smartd: Add smartd.conf directive '-e' to set ATA settings on
  246:        startup: aam, apm, lookahead, security-freeze, standby, wcache.
  247: 
  248:   [CF] drivedb.h updates:
  249:        - SandForce Driven SSDs: Corsair Force GT
  250:        - Indilinx Barefoot based SSDs: Corsair Nova
  251:        - SAMSUNG SpinPoint M8
  252:        - Seagate SV35.5
  253: 
  254:   [CF] smartctl: Change short option for '--set' from '-e' to '-s'.
  255:        Keep backward compatibility with short option for '--smart'.
  256: 
  257:   [CF] smartctl: Print description of APM level.
  258: 
  259:   [CF] smartctl: Add option '-e standby,[N|off|now]' to set standby timer
  260:        or standby mode.
  261: 
  262:   [CF] smartctl: Add options '-g security' and '-e security-freeze' to
  263:        get/freeze ATA security settings.
  264: 
  265:   [CF] smartctl: Add options '-g/e lookahead' and '-g/e wcache' to get/set
  266:        read look-ahead and write cache feature.
  267: 
  268:   [CF] smartctl: Add options '-g aam' and '-e aam,[N|off]' to get/set
  269:        ATA Automatic Acoustic Management feature.  Add '-g all'.
  270: 
  271:   [CF] os_win32.cpp: Prevent warnings from gcc option -Wformat-security.
  272: 
  273:   [CF] smartctl: Add options '-g, --get apm' and '-e, --set apm,[N|off]'
  274:        to get/set ATA Advanced Power Management feature.
  275:        Original patch was provided by Marcus Sorensen.
  276: 
  277:   [AS] os_freebsd.cpp - do not skip ATA devices from cam list. Starting from
  278:        FreeBSD 9.0 such devices are exported ONLY as camdev`s, so DEVICESCAN
  279:        was broken. Its possible to get duplicates now on some old systems.
  280: 
  281:   [CF] drivedb.h updates:
  282:        - SandForce Driven SSDs: Add OCZ Solid 3, OCZ Deneva 2 C/R
  283:        - Seagate Momentus 5400.7
  284: 
  285:   [CF] Happy New Year! Update copyright year in version info.
  286: 
  287:   [CF] drivedb.h updates:
  288:        - SandForce Driven SSDs: Add Patriot Pyro
  289:        - Intel 320 Series SSDs: Fix 40GB
  290:        - Seagate Barracuda XT: Add 4TB
  291: 
  292:   [CF] drivedb.h updates:
  293:        - SandForce Driven SSDs: Add Corsair Force 3
  294:        - Hitachi Travelstar 5K320: Add SA00 and SA02 models
  295:        - Western Digital Caviar SE SATA: Add 300GB
  296: 
  297:   [CF] Cygwin smartd: Remove SIGQUIT workaround, no longer needed with
  298:        current Cygwin tty emulation.
  299: 
  300:   [CF] smartd: Disable auto standby also after start of scheduled
  301:        self-test.
  302: 
  303:   [CF] smartd: Add smartd.conf DEFAULT directive.  Allows to set default
  304:        settings for multiple devices.
  305: 
  306:   [CF] smartd: Re-enable auto standby if smartd.conf is re-read.
  307: 
  308:   [AS] drivedb.h update: Seagate Barracuda (SATA 3Gb/s, 4K Sectors)
  309: 
  310:   [AS] drivedb.h update: Seagate Constellation ES.2 (SATA 6Gb/s)
  311: 
  312:   [CF] drivedb.h updates:
  313:        - Sandforce Driven SSDs: Add OCZ Vertex 3 Max IOPS (ticket #209)
  314:        - Seagate ST1.2 CompactFlash (found in ticket #125)
  315: 
  316:   [CF] Fix GPL version reported by '-V' option.
  317:        Now reports GPLv2+ which is consistent with file headers.
  318:        Patch was provided by Stanislav Brabec.
  319: 
  320:   [CF] drivedb.h updates:
  321:        - Sandforce Driven SSDs: Add OCZ Deneva 2 Async variant, 60GB, 480GB
  322:        - Indilinx Martini based SSDs: OCZ VERTEX-PLUS only
  323: 
  324:   [CF] smartd: Add '-l offlinests,ns' and '-l selfteststs,ns' directives.
  325:        dev_interface: Add smart_interface::disable_system_auto_standby().
  326:        os_win32.cpp: Implement disable_system_auto_standby().
  327: 
  328:   [CF] dev_interface: Let smart_interface::set_err() return false.
  329: 
  330:   [CF] drivedb.h updates:
  331:        - SAMSUNG SpinPoint M8U (USB)
  332:        - Toshiba 3.5" HDD MKx002TSKB: Fix typo
  333: 
  334:   [CF] smartctl: Print average temperature from SCT status only if
  335:        value is reasonable.  Field is not part of ATA-8.
  336: 
  337:   [CF] smartd: Report ignored '-r' and '-R' directives.
  338: 
  339:   [CF] smartctl: Use 16-bit value (ATA-8) for extended self-test polling
  340:        time if 8-bit value is 0xff (ticket #207).
  341: 
  342:   [CF] drivedb.h updates:
  343:        - SandForce Driven SSDs: Add OCZ-REVODRIVE3, OCZ Z-DRIVE R4
  344:        - Hitachi Travelstar Z7K320
  345:        - Toshiba 2.5" HDD MK..56GSY
  346:        - Toshiba 2.5" HDD MKx002TSKB
  347:        - Seagate U9
  348:        - Seagate U*: sort entries, unify names, remove duplicate
  349:        - Seagate Constellation ES (SATA 6Gb/s)
  350:        - Seagate DB35
  351:        - Seagate DB35.2
  352:        - Western Digital Scorpio Black: Add 500GB
  353:        - Western Digital Scorpio Black (Adv. Format)
  354: 
  355:   [CF] drivedb.h USB updates:
  356:        - Samsung S2 (0x04e8:0x1f05)
  357:        - Toshiba Stor.E (0x0939:0x0b16) (ticket #206)
  358:        - Seagate FreeAgent (0x0bc2:0x5040)
  359:        - Initio/Thermaltake BlacX (0x13fd:0x0840)
  360: 
  361:   [DG] [SCSI] smartd: skip non-storage devices (e.g. SES devices)
  362: 
  363:   [AS] drivedb.h updates: Added Seagate SV35 Series
  364: 
  365:   [CF] smartctl: Don't start ATA self-test if another test is already
  366:        running (ticket #40).  Add option '-t force' to allow override.
  367: 
  368:   [CF] atacmds.h: Remove bogus ataSmart*Test*() prototypes.
  369: 
  370:   [CF] Define __attribute_format_printf() for functions with printf() style
  371:        arguments.  Allow MinGW build with __USE_MINGW_ANSI_STDIO enabled.
  372: 
  373:   [CF] Makefile.am: Replace sed compound command in MAN_FILTER.
  374:        This fixes build on Solaris (ticket #203).
  375: 
  376:   [AS] os_freebsd.cpp: Dereference symlinks before guess of device type
  377:        (problem reported by email).
  378: 
  379:   [CF] drivedb.h USB updates:
  380:        - LG Mini HXD5 (0x043e:0x70f1)
  381:        - Freecom/Intel (0x07ab:0xfc8e)
  382:        - Dura Micro (0x0c0b:0xb001) (Debian bug 643928)
  383:        - Initio 6Y120L0 (0x13fd:0x1150): unsupported
  384: 
  385:   [CF] drivedb.h USB update:
  386:        - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a1):
  387:          Revert to -d sat,12 (ticket #151).
  388: 
  389:   [AS] os_freebsd.cpp - fixed crash on FreeBSD9-RC1 caused by r225950
  390: 
  391:   [AS] smartctl.8 - added information about -d areca on FreeBSD
  392: 
  393:   [AS] os_freebsd.cpp: backport quirks for the LSI controllers with SATA
  394:        disks to the FreeBSD. Tested with DELL Perc/6i controller.
  395: 
  396:   [AS] os_freebsd.cpp: disable SAT autodetection on megaraid controllers
  397: 
  398:   [AS] drivedb.h update: 
  399:        - Hitachi Ultrastar 7K2000
  400: 
  401:   [CF] drivedb.h update:
  402:        - Seagate Momentus XT: Add bug warning for firmware SD24 and SD25
  403: 
  404:   [CF] Don't include pkg-config macros in aclocal.m4, copy to m4/pkg.m4
  405:        instead.  Allow builds from SVN without pkg-config installed
  406:        but prevent 'make dist' when pkg-config support is missing.
  407: 
  408:   [CF] Move automake --foreign option from autogen.sh to configure.in.
  409:        This fixes autoreconf support.
  410: 
  411:   [CF] Replace COPYING file with current (2010-03-24) version from
  412:        http://www.gnu.org/licenses/gpl-2.0.txt
  413: 
  414: smartmontools 5.42 2011-10-20
  415: 
  416:   [CF] Windows installer: Add install dir to PATH in CMD shortcut.
  417: 
  418:   [CF] drivedb.h updates:
  419:        - SAMSUNG SpinPoint MP5
  420:        - Seagate Barracuda 7200.11: Change warning text, Seagate
  421:          apparently released fixed firmware without changing version
  422:          number (Debian bug 632758)
  423:        - Western Digital RE4 GP
  424:        - Western Digital VelociRaptor: Add 150GB, 300GB LHX variants
  425:        - Western Digital Scorpio Blue Serial ATA (Adv. Format):
  426:          Add 1TB JPVT variant
  427: 
  428:   [CF] drivedb.h USB update:
  429:        - WD Elements SE USB 3.0 (0x1058:0x1042)
  430: 
  431:   [CF] Windows installer: Rework to support UAC.
  432:        Replace *-run.bat files by runcmd?.exe wrappers.
  433:        Run drive menu entries elevated (ticket #173).
  434: 
  435:   [CF] smartctl.8.in: Add example script which prints all status bits
  436:        (ticket #191).
  437: 
  438:   [CF] Cygwin smartd: Remove '--service' option, update man page.
  439: 
  440:   [CF] smartd: Require absolute path name also for '-p' option.
  441:        Allow relative path names for '-A', '-s', '-p' in Windows
  442:        version only.
  443: 
  444:   [CF] smartd: Log model family from drive database if known.
  445: 
  446:   [CF] drivedb.h update:
  447:        - SMART Xcel-10 2.5 SATA SSD: Shorten names,
  448:          document supported default attributes.
  449: 
  450:   [CF] smartctl -P showall: Report error if attribute name is too long.
  451: 
  452:   [AS] freebsd: use system ciss header if available, it is added
  453:        to the base system by recent commit.
  454: 
  455:   [CF] smartd.conf.5.in: Update Windows 'msgbox' info.
  456:        Add missing IF/ENDIF for Solaris and Windows.
  457: 
  458:   [CF] man pages: Remove reference to T13 web site.  It does no
  459:        longer provide links to the ATA documents.
  460: 
  461:   [CF] smartctl: Replace '-t scttempint,N[,p]' option
  462:        by '-l scttempint,N[,p]'.
  463: 
  464:   [CF] drivedb.h USB update:
  465:        - Oxford (0x0928:0x0000): unsupported, see
  466:          https://bugs.freedesktop.org/show_bug.cgi?id=24951
  467: 
  468:   [CF] Minor cleanup to prevent warnings from new gcc 4.6 options
  469:        -Wunused-but-set-parameter/variable.
  470: 
  471:   [CF] Windows smartd: Fix format string for 64-bit version.
  472: 
  473:   [CF] Remove EXPERIMENTAL notes for features already present in 5.40.
  474: 
  475:   [CF] smartctl: Add new log addresses from ACS-3 revision 1.
  476: 
  477:   [CF] smartctl: Print ATA ACS-x versions properly (ticket #183).
  478: 
  479:   [CF] smartctl: Add option '-l devstat[,PAGE]',
  480:        print ATA Device Statistics log pages (ticket #106).
  481: 
  482:        Thanks to David Boreham for providing access to a machine for testing.
  483: 
  484:   [AS] man pages: trivial man page syntax fixes (ticket #199)
  485: 
  486:   [CF] drivedb.h update:
  487:        - SMART Xcel-10 2.5 SATA SSD: Fix syntax error (ticket #200)
  488: 
  489:   [AS] drivedb.h update:
  490:        - SMART Xcel-10 2.5 SATA SSD
  491: 
  492:   [DG] [SCSI] document 'ssd' list option in man page and smartctl usage.
  493: 
  494:   [CF] Windows: Fix device type detection for Intel ICHxR RAID Volumes.
  495: 
  496:   [CF] smartd: Resend warning emails if problem reappears (ticket #167).
  497: 
  498:   [CF] smartd: Add separate directives '-l offlinests' and '-l selfteststs'
  499:        to enable tracking of status changes.  Disable '-l offlinests' by
  500:        default to avoid misleading messages (see Debian bug 636078).
  501: 
  502:   [CF] drivedb.h updates:
  503:        - Crucial/Micron RealSSD C300/C400: Add m4 series (ticket #192)
  504:        - SandForce Driven SSDs: Add OCZ-AGILITY3
  505:        - Indilinx Barefoot based SSDs: Add RENICE Z2
  506:        - Intel 710 Series SSDs
  507: 
  508:   [CF] Windows smartd: Fix quoting of service command line.
  509: 
  510:   [CF] Cygwin smartd: Remove FreeConsole() after fork().
  511:        No longer needed for recent versions of Cygwin DLL.
  512: 
  513:   [CF] smartd: Add some sleep() time after machine standby mode.
  514:        Some drivers (Intel ICHxR Windows driver) report failures if
  515:        pass-through is accessed immediately after wake up.
  516: 
  517:   [AS] -d hpt on linux/freebsd - increased max channel number to 16,
  518:        fixed documentation.
  519:        (see http://permalink.gmane.org/gmane.linux.utilities.smartmontools/7846)
  520: 
  521:   [AS] os_linux.cpp - disabling SMART WRITE LOG SECTOR command on 
  522:        megaraid interface for SATA disks.
  523: 
  524:   [AS] os_freebsd.cpp: -l scterc was broken on FreeBSD, fixed for atacam and
  525:        ata drivers (bug #198).
  526: 
  527:   [CF] drivedb.h updates:
  528:        - Crucial/Micron RealSSD C300/C400: Add C400
  529:        - SandForce Driven SSDs: Add Kingston HyperX,
  530:          OCZ-REVODRIVE, OCZ Deneva 2
  531:        - Intel X18-M/X25-M/X25-V G2 SSDs: Add 120GB
  532:        - Hitachi Travelstar 7K200: Match capital letters also
  533:        - Hitachi Ultrastar 7K3000
  534:        - Seagate Barracuda Green: Add ST2000DL001-* (ticket #195)
  535:        - WD My Passport Essential SE: Add WD10TMVW-*
  536: 
  537:   [CF] drivedb.h USB updates:
  538:        - Seagate FreeAgent GoFlex USB 3.0 (0x0bc2:0x5071) (ticket #195)
  539:        - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a1):
  540:          Enable -d sat,16 (ticket #151).
  541:        - Oyen Digital MiniPro USB 3.0 (0x0dc4:0x020a) (ticket #193)
  542:        - WD My Passport Essential SE USB 3.0 (0x1058:0x0740)
  543: 
  544:   [CF] Windows: Add MSVC10 support, remove MSVC8 project files.
  545: 
  546:   [DG] [SCSI] smartctl output Solid State Media (SSD) percentage used
  547:        endurance indicator. Add '-l ssd', useful for SATA SSDs?
  548: 
  549:   [CF] atacmds.cpp: Rework search for temperature min/max values
  550:        in attributes 190/194.  This fixes temperature tracking
  551:        for recent WDC drives.
  552: 
  553:   [CF] drivedb.h USB updates:
  554:        - LaCie rikiki USB 3.0 (0x059f:0x1057)
  555:        - Freecom Mobile Drive XXS (0x07ab:0xfc88)
  556:        - WD Elements SE (0x1058:0x1023)
  557: 
  558:   [CF] drivedb.h updates:
  559:        - Indilinx Barefoot based SSDs: Add G.Skill Falcon
  560:        - JMicron based SSDs (JMF61x): Add Kingston SSDNow V100 Series
  561:        - Transcend CompactFlash Cards: Add 8, 16GB
  562:        - Toshiba 1.8" HDD MD..29GSG
  563:        - SAMSUNG SpinPoint M7U
  564:        - Western Digital Caviar Green (Adv. Format): Add SATA 6Gb/s variants
  565:        - Western Digital My Passport USB: Shorten names
  566: 
  567:   [DG] [SCSI] smartd initial log entry for each drive now shows INQUIRY
  568:        strings and optionally the LU (logical unit) id and capacity
  569: 
  570:   [AS] os_freebsd.cpp: fixed return type in autodetect_smart_device.
  571: 
  572:   [CF] drivedb.h USB updates:
  573:        - WD My Book Essential (0x1058:0x0910, Debian bug 633724)
  574:        - Atech (0x11b0:0x6298)
  575: 
  576:   [CF] drivedb.h update:
  577:        - Seagate Barracuda ES.2: Add Dell firmware versions (ticket #189)
  578: 
  579:   [CF] drivedb.h updates:
  580:        - Seagate Maxtor DiamondMax 21: Add STM380215AS
  581:        - Seagate Barracuda 7200.12: Add ST3250312AS, ST31000524AS
  582:        - Toshiba 2.5" HDD MK..50GACY
  583:        - Toshiba 2.5" HDD MK..76GSX
  584: 
  585:   [AS] smartd.8 - removed configuration file information from this manual,
  586:        added reference to smartd.conf.5.
  587: 
  588:   [AS] smartd.conf.5 - added more platform-specific sections, corrected "areca"
  589:        device information, corrected sample configuration.
  590: 
  591:   [AS] os_freebsd.cpp: detecting access to /dev/mfidX devices to show help (#97)
  592: 
  593:   [CF] Update configure options in INSTALL file, remove outdated info.
  594: 
  595:   [CF] int64.h: Remove outdated uint64_to_double() workaround for MSVC6.
  596: 
  597:   [CF] os_win32/update-smart-drivedb.nsi: Add support for /S(ilent) option.
  598: 
  599:   [CF] configure.in: Don't search for initddir and systemdsystemunitdir
  600:        when cross-compiling.
  601: 
  602:   [CF] Makefile.am: Use same syntax also for ENABLE_* man page sections.
  603: 
  604:   [CF] Add experimental support for platform-specific man pages.
  605: 
  606:   [CF] Windows: Move '-I os_win32' from configure.in to Makefile.am.
  607: 
  608:   [CF] configure.in: Fix check for __attribute__((packed)).
  609: 
  610:   [CF] drivedb.h USB update:
  611:        - Verbatim Portable Hard Drive (0x18a5:0x0214)
  612: 
  613:   [CF] drivedb.h update:
  614:        - SandForce Driven SSDs: Add OWC Mercury Extreme Pro RE (ticket #168)
  615: 
  616:   [CF] os_linux.cpp: Let MegaRAID autodetect_open() fail for SATA devices.
  617:        MegaRAID SAT layer has serious bugs as reported by AS.
  618: 
  619:   [AS] os_freebsd.cpp: Implement 48bit support for the new "atacam" 
  620:        interface. Tested on FreeBSD 8.2 and works fine. 
  621: 
  622:   [CF] os_win32.cpp: Fix USB ID detection if two devices with the same
  623:        name exist (ticket #178).
  624: 
  625:   [AS] os_freebsd.cpp: including ciss headers to the base, we can not rely 
  626:        on the header sources in the build time. Also this file was changed 
  627:        last time > 2 yrs. ago and it is unlikely that it will be changed in 
  628:        the feature. This will fix FreeBSD PR 150235.
  629: 
  630:   [AS] drivedb.h update: Added Samsung Story Station 3.0 USB.
  631: 
  632:   [AS] os_linux.cpp: Areca code converted to the new interface.
  633:        Patch is based on os_freebsd.cpp patch and is not tested yet.
  634: 
  635:   [AS] os_freebsd.cpp: Areca code converted to the new interface.
  636: 
  637:   [AS] os_freebsd.cpp: Added support for the Areca RAID controllers. 
  638:        Support is basesd on Linux code, but using IOCTL on areca control
  639:        device instead of SCSI commands to talk with the drives. Hardware
  640:        access was provided by Andrej Binder.
  641: 
  642:   [CF] Don't use isprint() for ASCII character check as it may be affected
  643:        by setlocale().
  644: 
  645:   [AS] os_freebsd.cpp: Remove all referenced to the FreeBSD 5.0.
  646:        It is unsupported for a very long time and probably will not compile
  647:        and work anyway. Also this will fix bug #154.
  648: 
  649: smartmontools 5.41 2011-06-09
  650: 
  651:   [MS] drivedb.h: revert attribute 190 to default for Samsung SSD controllers,
  652:        some 470 series SSDs seem to have some temperature information at
  653:        this location.
  654: 
  655:   [MS] drivedb.h update:
  656:        add attribute details for Samsung controllers, centralize entries
  657: 
  658:   [MS] drivedb.h update:
  659:        add attribute details for JMicron JMF61x controllers
  660: 
  661:   [CF] drivedb.h update:
  662:        - SandForce Driven SSDs: Add OCZ DENEVA
  663: 
  664:   [CF] os_win32.cpp: Ignore vendor ID "ATA" if returned by
  665:        IOCTL_STORAGE_QUERY_PROPERTY.
  666: 
  667:   [CF] Add ATA NCQ commands to error register decoding.
  668: 
  669:   [CF] Re-enable '--with-initscriptdir=auto' as default.
  670:        Change search for initddir and systemdsystemunitdir such that
  671:        default ./configure does never overwrite system files.
  672: 
  673:   [MS] drivedb.h update:
  674:        disentangle Transcend SSD versions
  675: 
  676:   [MS] drivedb.h update:
  677:        add attribute details for Crucial C300
  678: 
  679:   [MS] smartd.initd.in:
  680:        fix for debian, cleanup. Based on patch of CF.
  681: 
  682:   [AS] --with-initscriptdir default changed to "no" from "auto" to avoid 
  683:        filesystem pollution.
  684: 
  685:   [MS] drivedb.h cleanup:
  686:        harmonize family names, add AF information into name
  687: 
  688:   [MS] drivedb.h update:
  689:        - OCZ Vertex 3
  690:        - Seagate Barracuda Green 1TB variant
  691: 
  692:   [CF] Windows: Avoid '%n' printf format specifier because it is always
  693:        disabled in recent versions of msvcrt.dll.  This fixes truncation
  694:        of smartd warning email (ticket #174).
  695: 
  696:   [MS] smartd.initd.in:
  697:        cleanup, provide targets "reload" and "report" for all platforms
  698: 
  699:   [CF] drivedb.h update:
  700:        - JMicron based SSD (JMicron JMF602?): rename from
  701:          Kingston SSDNow V Series, move Transcend IDE and SATA
  702:          entries to here.
  703: 
  704:   [CF] Support ':BYTEORDER' for all attribute print formats.
  705: 
  706:   [CF] drivedb.h update:
  707:        - Kingston SSDNow V Series SSDs (ticket #171)
  708: 
  709:   [CF] Increase size of drive database option parse buffer
  710:        to allow long '-v N,FORMAT:BYTEORDER,NAME' options.
  711: 
  712:   [MS] drivedb.h update:
  713:        - Western Digital Scorpio Blue Advanced Format variants
  714: 
  715:   [MS] drivedb.h update:
  716:        correct typo for Cowon iAudio X5
  717: 
  718:   [MS] drivedb.h USB updates:
  719:        - Maxtor OneTouch 200GB (unsupported)
  720:        - LaCie Little Disk
  721: 
  722:   [AS] FreeBSD: Added native rc.conf style script to the package. 
  723:        Modifications to the configure script to use correct template and
  724:        path.
  725: 
  726:   [AS] freebsd_os.cpp:
  727:        Fix memory leak in the ata detection code (added free())
  728:        Using bzero in cam code to clear structure (fixing varnish varning)
  729: 
  730:   [MS] drivedb.h update:
  731:        Kingston SSDNow S100 Series
  732: 
  733:   [MS] drivedb.h USB update:
  734:        - Samsung S1 Portable
  735:        - LaCie rikiki USB 3.0
  736:        - Seagate FreeAgent GoFlex USB 3.0
  737:        - Cowon iAudio X5
  738:        - Oxford OXU921DS chip (unsupported)
  739: 
  740:   [CF] Windows: Add debug output of SCSI sense data.
  741: 
  742:   [CF] Add 'smartd.service' file for systemd.
  743:        Add configure option '--with-systemdsystemunitdir'.
  744:        Disable initd script if systemd is used.
  745: 
  746:   [MS] drivedb.h update:
  747:        - Western Digital AV-25 family
  748: 
  749:   [MS] drivedb.h update:
  750:        JMicron based SSDs: Add
  751:          Kingston SSDNow V, Kingston SSDNow V+100, TOSHIBA THNS128GG4BBAA,
  752:          APPLE SSD TS*, ADATA S596 Turbo
  753: 
  754:   [CF] drivedb.h update:
  755:        - Intel 510 Series SSDs (ticket #170)
  756: 
  757:   [CF] smartctl: Don't issue SMART DISABLE command to 3ware controllers
  758:        when the port number was not specified (ticket #165).
  759: 
  760:   [CF] Use get_errmsg() from device instead of errno or syserror() for
  761:        printing error messages.
  762: 
  763:   [MS] drivedb.h updates:
  764:        - G.Skill FALCON II SSD (Indilinx)
  765:        - HP 250GB SATA disk VB0250EAVER
  766:        - SAMSUNG SpinPoint M5 HM160HC
  767:        - SAMSUNG SpinPoint MT2 HM100UI
  768:        - SAMSUNG HM100UX
  769:        - Hitachi Deskstar 5K3000 Series
  770:        - Seagate Barracuda Green (Adv. Format)
  771:        - Seagate Barracuda XT 3TB variant
  772:        - Western Digital RE4 Serial ATA family
  773:        - Western Digital Caviar Green WD20EACS
  774:        - Western Digital Caviar Black family, SATA 3.0 variants
  775:        - QUANTUM FIREBALLlct20 10
  776:        - QUANTUM FIREBALLP AS60.0
  777: 
  778:   [CF] drivedb.h update:
  779:        - SandForce Driven SSDs: Add more OCZ SF-1200 and SF-1500 based drives
  780: 
  781:        Thanks to Sudhir Verman from OCZ Technology for providing this info.
  782: 
  783:   [CF] drivedb.h USB updates:
  784:        - Seagate Expansion External (0x0bc2:0x3300) (Debian bug 621411)
  785:        - ASMedia USB 3.0 (0x174c:0x55aa) (unsupported)
  786: 
  787:   [CF] smartctl.8.in: Clarify '-t vendor,N' (ticket #169).
  788:        Update Intel info (ticket #168).
  789: 
  790:   [CF] drivedb.h update:
  791:        - Intel 320 Series SSDs (ticket #168)
  792: 
  793:   [CF] smartctl: Always print sector size in '-i' output (ticket #166).
  794: 
  795:   [CF] os_linux.cpp: Shorten version string.
  796: 
  797:   [CF] smartctl: Add option '-f brief' to select new attribute output
  798:        format.  This format includes additional attribute flags
  799:        (ticket #109) and fits in 80 columns (ticket #158).
  800:        This format is now the default for '-x'.
  801: 
  802:   [CF] smartd: Log changes of offline data collection status if
  803:        '-l selftest' is specified.
  804: 
  805:   [CF] drivedb.h updates:
  806:        - SandForce Driven SSDs: Add ADATA S599 64GB,
  807:          OWC Mercury Extreme Pro
  808:        - Kingston branded X25-V SSDs (ticket #156)
  809:        - Transcend SATA Solid State Drive: Truncate attribute name
  810: 
  811:   [CF] drivedb.h USB updates:
  812:        - LaCie (0x059f:0x1029) (ticket #153)
  813:        - WD My Book Office Edition (0x1058:0x1101)
  814:        - JMicron USB 3.0 (0x152d:0x0539)
  815: 
  816:   [CF] drivedb.h USB update:
  817:        - Verbatim Pocket Hard Drive (0x18a5:0x0227) (ticket #159)
  818: 
  819:   [CF] drivedb.h update:
  820:        - SAMSUNG SpinPoint N3U-3 (USB, 4KiB LLS) (ticket #159)
  821: 
  822:   [CF] Add support for ATA Long Logical Sectors (LLS) (ticket #159).
  823: 
  824:   [DG] [SCSI] smartctl: (re-)use capacity formatting in utility.cpp
  825: 
  826:   [CF] configure.in: Remove '-Wno-format' for MinGW.
  827:        Recent MinGW versions support MSVCRT printf format strings.
  828: 
  829:   [CF] Print ATA disk capacity with SI prefix.
  830:        Add/move capacity formatting to utility.cpp
  831: 
  832:   [CF] Add error messages if ATA pass-through does not return required
  833:        ATA output registers (for SMART RETURN STATUS, GET POWER MODE).
  834:        This prevents misleading 'SMART Status command failed' messages
  835:        (see ticket #155).
  836: 
  837:   [CF] Fix WWN support check for older ATA-7 disks.
  838: 
  839:   [DG] [SCSI] smartctl: add 'Logical Unit id' from the Device
  840:        Identification VPD page (0x83)
  841: 
  842:   [DG] [SCSI] smartctl: add 'User Capacity' (disk size) in human
  843:        readable form
  844: 
  845:   [CF] smartctl, smartd: Print World Wide Name (WWN) of ATA device.
  846: 
  847:   [CF] smartctl: Print more specific error message if IDENTIFY DEVICE
  848:        failed (ticket #61).  Add check for empty IDENTIFY data.
  849: 
  850:   [CF] Windows installer: Add help message box.
  851: 
  852:   [CF] Windows installer: Request admin rights, select 'All Users'
  853:        section.  This fixes shortcut removal under Vista and later.
  854:        Add '/SO' option to select components for unattended install.
  855:        Patch was provided by József Fejes.
  856: 
  857:   [CF] Windows: Add update-smart-drivedb.nsi NSIS script to build
  858:        drivedb.h update tool.
  859: 
  860:   [CF] Windows: Move search for NSIS compiler from Makefile.am to
  861:        configure.in.
  862: 
  863:   [CF] update-smart-drivedb.in: Move DRIVEDB_BRANCH name creation
  864:        from script to configure.in.
  865: 
  866:   [CF] os_linux.cpp: Replace printf() by pout().  Disable unused
  867:        function dumpdata().
  868: 
  869:   [CF] Windows: Include CSMI (for Intel RAID) in default DEVICESCAN.
  870: 
  871:   [CF] configure.in: Remove info messages about old defaults.
  872: 
  873:   [CF] drivedb.h: Set unneeded USB bcdDevice patterns to empty.
  874: 
  875:   [CF] Rework USB ID drivedb search.  Stop search at first matching
  876:        entry with empty bcd_device pattern.
  877: 
  878:   [CF] Move handling of '-F swapid' from formatting to identity read
  879:        function.  Remove unneeded 'fix_swapped_id' parameters.
  880: 
  881:   [CF] smartd: Log warning from drive database if present.
  882:        smartctl: Do not search drive database twice.
  883: 
  884:   [MS] drivedb.h USB updates:
  885:        - Samsung S2 Portable variant (0x04e8:0x1f08)
  886:        - Lacie rikiki (0x059f:0x102a)
  887:        - Toshiba Stor.E Steel series (0x0930:0x0b11)
  888:        - Super Top generic enclosure (0x14cd:0x6116)
  889: 
  890:   [CF] Let constructor of regular_expression throw on error by default.
  891: 
  892:   [CF] smartd: Preserve last selective self-test span in '.state' file
  893:        and use it if the selective self-test log was cleared (ticket #88).
  894: 
  895:   [CF] smartctl --scan-open: Make output compatible with smartd.conf
  896:        (ticket #108).  Fix possible crash if autodetect_open() returns
  897:        new object.
  898: 
  899:   [CF] do_release: Re-add signing of tarball.
  900: 
  901:   [CF] os_linux.cpp: Change '-d sat' to '-d sat,12' for USB only if
  902:        kernel is older than 2.6.29.  Add kernel release to version info.
  903: 
  904:   [CF] smartd: Add '-l scterc,READTIME,WRITETIME' directive (ticket #150).
  905: 
  906:   [CF] smartctl: Fix exit status of '-l xerror' and '-l xselftest'
  907:        (ticket #144).
  908: 
  909:   [CF] smartd: Use '-M daily' as default if state persistence is enabled.
  910:        This avoids that emails are suppressed forever (ticket #35).
  911: 
  912:   [CF] smartd: Log identify information of each ATA device.
  913: 
  914:   [CF] smartd: Disable '-C' and '-U' monitoring if raw values are
  915:        very large (ticket #148).
  916: 
  917:   [CF] smartd: Write reserved attribute byte to '.state' file
  918:        (ticket #118).
  919: 
  920:   [MS] drivedb.h USB updates:
  921:        - Seagate FreeAgent Go Flex Desk USB 3.0
  922:        - Toshiba Canvio 500GB
  923: 
  924:   [MS] drivedb.h USB updates:
  925:        - Freecom HD 500GB (0x07ab:0xfcda)
  926:        - Generic JMicron adapter (0x152d:0x2337)
  927:        - RaidSonic ICY BOX IB-110StU3-B (0x1759:0x500[02])
  928:        - Connectland BE-USB2-35BP-LCM (0x040d:0x6204)
  929:        - Freecom Classic HD 120GB (0x07ab:0xfccd)
  930:        - OCZ THROTTLE OCZESATATHR8G (0x152d:0x0602)
  931:        - Vantec NST-400MX-SR (0x1a4a:0x1670)
  932:        - Intenso Memory Station 2.5" (0x13fd:0x1840)
  933: 
  934:   [CF] Don't report failed self-tests outdated by a newer successful
  935:        extended self-test as errors (ticket #147).
  936:        This affects smartctl exit status and smartd syslog output and
  937:        warning email.  Only implemented for ATA.
  938: 
  939:   [CF] os_linux.cpp: Don't use buffer of size PATH_MAX for the result
  940:        of realpath().  This also fixes compilation on Debian Lenny.
  941: 
  942:   [CF] smartd man pages: Add some missing [ATA only].
  943: 
  944:   [CF] os_linux.cpp: Dereference symlinks before guess of device type
  945:        (ticket #146).  Minor rework of autodetect_smart_device().
  946: 
  947:   [CF] smartctl -l scterc: Don't get ERC if only set is requested.
  948:        This prevent misleading error messages if ATA output registers
  949:        are not supported.
  950: 
  951:   [CF] Windows: Prevent warnings from gcc 4.5.1.
  952: 
  953:   [CF] os_netbsd.cpp, os_openbsd.cpp: Add missing <errno.h>
  954: 
  955:   [CF] os_freebsd.cpp: Add missing <errno.h>
  956: 
  957:   [CF] dev_legacy.cpp: Add missing <errno.h>
  958: 
  959:   [CF] Linux megaraid: Fix pass-through of non-data ATA commands
  960:        (ticket #149).
  961:        Only reject commands which require ATA output registers.
  962: 
  963:   [CF] configure.in: Remove '-fno-strict-aliasing' from CXXFLAGS.
  964:        This reverts r2992 (see ticket #23).
  965: 
  966:   [CF] Linux megaraid: Avoid strict-aliasing warnings.
  967:        Patch was provided by Stanislav Brabec (2009-06-03).
  968: 
  969:   [MS] Make functions without prototypes static.
  970: 
  971:   [MS] Remove unnecessary includes, move inclusion of errno.h from scsicmds.h
  972:        to the appropriate *.cpp files. Add cciss.h to cciss.cpp.
  973: 
  974:   [MS] os_linux.cpp: rename variables to please "-Wshadow"
  975:        utility.cpp: remove unused variable "start"
  976:        os_win32/syslogevt.c: plug resource leak
  977: 
  978:   [CF] Rename variables to prevent warnings if '-Wshadow' is set.
  979:        Remove unnecessary includes.  Fix some comments.
  980: 
  981:   [CF] drivedb.h updates:
  982:        - Intel X18-M/X25-M/X25-V G2 SSDs: Add firmware bug warning
  983:        - Samsung SpinPoint M6
  984:        - Samsung SpinPoint M7E (AFT)
  985:        - Samsung PM800 SSDs
  986:        - Samsung PM810 (470 series) SSDs
  987: 
  988:   [CF] Windows: Add experimental CSMI support for disks behind Intel Matrix
  989:        RAID driver. Accessed through new device names '/dev/csmi[0-9],N'.
  990:        Experimental DEVICESCAN can be enabled by '-d csmi'.
  991: 
  992:   [MS] - ataprint.cpp: adjust print format for insanely large
  993:            offline data collection times (e.g. WD drives).
  994:        - getopt: change config.h #include format from angle brackets to quotes
  995: 
  996:   [MS] drivedb.h update:
  997:        - Fujitsu MJA2 BH series
  998:        - Toshiba MK..59GSXP series (Adv. Format)
  999:        - Toshiba MK..59GSM series (Adv. Format)
 1000:        - Western Digital Caviar Blue SATA 3.0 variants
 1001:        - Seagate Barracuda XT
 1002: 
 1003:   [CF] smartctl: Print help message if no option is specified (ticket #39).
 1004:        Don't issue any other ATA command if only '-n POWERMODE' is specified.
 1005: 
 1006:   [CF] smartd: Output multiple lines via separate syslog(3) calls
 1007:        (ticket #135).
 1008: 
 1009:   [CF] smartctl: Add new ATA minor revisions and log addresses from ACS-2
 1010:        revision 4a.  Replace runtime asserts by compile time asserts.
 1011: 
 1012:   [CF] smartd: Remove "default: /var/log/messages" hint from warning mail.
 1013:        This obsoletes Debian patch 60_remove-redhatism.diff.
 1014: 
 1015:   [CF] Windows: Include USB devices in DEVICESCAN (ticket #116).
 1016: 
 1017:   [CF] Windows: Use direct WMI access to detect USB IDs (ticket #115).
 1018:        This replaces 'wmic' runs and speeds up USB detection.
 1019: 
 1020:   [CF] configure.in: Rework platform-specific settings.
 1021: 
 1022:   [CF] configure.in: Remove some no longer used settings:
 1023:        -lselinux (duplicate), NEED_SOLARIS_ATA_CODE, OS_FREEBSD.
 1024: 
 1025:   [CF] Makefile.am: Remove SUBDIRS. Recursive targets are no longer used.
 1026: 
 1027:   [CF] Use log directory to check for old error and self-test log
 1028:        support (ticket #89).
 1029: 
 1030:   [CF] drivedb.h USB update:
 1031:        - WD My Book Essential 3TB USB 3.0
 1032: 
 1033:   [CF] Fix usb header includes for DragonFly BSD (ticket #141).
 1034: 
 1035:   [CF] smartctl: Print physical and logical sector sizes (ticket #62).
 1036: 
 1037:   [CF] drivedb.h updates:
 1038:        - Fujitsu MHT: Add AC variant
 1039:        - Fujitsu MHW2 AC
 1040:        - Samsung SpinPoint T166: Needs '-v 197,increasing'
 1041:        - Seagate Barracuda 7200.11: Add firmware SD81 as buggy
 1042:        - WD Scorpio Blue EIDE: Add 320GB
 1043: 
 1044:   [CF] drivedb.h USB updates:
 1045:        - Samsung S2 Portable (ticket #136)
 1046:        - Move Verbatim 0x152d:0x2351 to JMicron section
 1047: 
 1048:   [AS] drivedb.h updates:
 1049:        - Verbatim Portable Hard Drive eSATA & USB 2.0 Combo 500GB
 1050: 
 1051:   [CF] Happy New Year! Update copyright year in version info.
 1052: 
 1053:   [CF] drivedb.h updates:
 1054:        - Hitachi Deskstar 7K3000
 1055:        - Hitachi Travelstar 7K320: Add ...362 variant
 1056:        - Seagate Maxtor DiamondMax 21: Add STM3250310AS
 1057:        - Toshiba 2.5" HDD MK..65GSX
 1058:        - WD Caviar Green (Adv. Format): Add 750GB, 2.5TB, 3TB
 1059: 
 1060:   [CF] drivedb.h USB updates:
 1061:        - Micron USB SSD (unsupported, ticket #133)
 1062:        - Samsung G2 Portable (ticket #132)
 1063:        - Samsung Story Station 3.0 (ticket #130)
 1064:        - Seagate FreeAgent GoFlex (ticket #131)
 1065: 
 1066:   [CF] update-smart-drivedb.in: Add workaround for OpenBSD shell bug:
 1067:        'set -e; if eval false; ...' aborts script (ticket #128).
 1068: 
 1069:   [CF] update-smart-drivedb.in: Add platform specific download tools:
 1070:        'fetch' on FreeBSD (ticket #127), 'ftp' on OpenBSD.
 1071: 
 1072:   [CF] drivedb.h USB updates:
 1073:        - JMicron 0x152d:0x2509
 1074:        - WD My Passport 0730
 1075: 
 1076:   [CF] drivedb.h updates:
 1077:        - Samsung SpinPoint F3 EG: Add 2TB
 1078:        - SandForce Driven SSDs: Add ADATA S599, SuperTalent TeraDrive CT
 1079:        - Seagate Constellation (SATA)
 1080:        - Seagate Constellation ES (SATA)
 1081:        - WDC My Passport: Add WD5000BMVW
 1082: 
 1083:   [CF] drivedb.h update:
 1084:        - Samsung SpinPoint F4 EG: Add 1.5TB, update firmware bug warning.
 1085: 
 1086:   [DG] [SCSI] Fix log page sanity check problem if the DS bit set
 1087:        in response. Caused '-l background' to fail.
 1088: 
 1089:   [CF] drivedb.h updates:
 1090:        - Samsung SpinPoint F4 EG: Warning about bad blocks
 1091: 
 1092:   [CF] update-smart-drivedb.in: Replace ERE by BRE.  Script does no
 1093:        longer require GNU sed (Ticket #126).
 1094: 
 1095:   [DG] In '-r ioctl' show vendor specific SCSI commands as such rather
 1096:        than 'unknown'.
 1097: 
 1098:   [CF] Add check for CompactFlash Signature in ATA IDENTIFY data.
 1099:        This avoids that older CF microdrives are detected as ATAPI
 1100:        devices (Ticket #125).
 1101: 
 1102:   [CF] drivedb.h updates:
 1103:        - Apple SSDs TS*
 1104:        - Crucial RealSSD C300 Series
 1105:        - Kingston SSDNow V Series
 1106:        - Indilinx Barefoot based SSDs: Add OCZ-ONYX
 1107:        - SandForce Driven SSDs: Add OCZ VERTEX2-PRO
 1108:        - Transcend CompactFlash Cards: Add TS4GCF133
 1109: 
 1110:   [CF] Windows installer: Add missing quotes in smartctl-run.bat
 1111:        and smartd-run.bat (Ticket #124).
 1112: 
 1113:   [CF] OpenBSD: Fix DEVICESCAN for OpenBSD >= 4.8 (Ticket #123).
 1114: 
 1115:   [CF] daemon_win32.cpp: Remove duplicate assignment (Ticket #120).
 1116: 
 1117:   [CF] Makefile.am: Do not overwrite existing smartd.conf file
 1118:        (Ticket #122).  If smartd.conf exists and differs from the
 1119:        default then smartd.conf.sample is installed instead
 1120:        If smartd.conf.sample exists on uninstall then smartd.conf is
 1121:        preserved.
 1122: 
 1123:   [CF] Linux megaraid: Fix segfault on non-data commands (Ticket #78).
 1124:        The /dev/megaraid_sas_ioctl_node driver does not allow
 1125:        sge_count = 1 and sgl[0].iov_len = 0.
 1126: 
 1127:   [CF] Remove EXPERIMENTAL notes for features already present
 1128:        in 5.39.
 1129: 
 1130:   [CF] Rework '-d TYPE' documentation on man pages.
 1131: 
 1132:   [CF] drivedb.h updates:
 1133:        - Seagate Maxtor DiamondMax 21: Add 80GB
 1134:        - Western Digital Caviar Black: Add 1TB/64MB
 1135: 
 1136:   [CF] drivedb.h USB updates:
 1137:        - iRiver iHP-120/140 (Ticket #119)
 1138:        - ASMedia ASM1051
 1139: 
 1140:   [CF] Makefile.am: Handle examplescripts in main Makefile.
 1141:        Remove 'examplescripts/Makefile.am'.
 1142: 
 1143:   [CF] configure.in: New option '--with-exampledir' allows to change
 1144:        path of 'DOCDIR/examplescripts' directory.
 1145:        (Debian package uses '/usr/share/doc/smartmontools/examples')
 1146: 
 1147:   [CF] Replace global 'con->dont_print/...' variables by 'printing_is_*'.
 1148:        Remove global 'con'trol pointer.  Remove file 'extern.h'.
 1149: 
 1150:   [CF] Replace global 'con->reportata/scsiioctl' variables by '*_debugmode'.
 1151: 
 1152:   [CF] Replace global 'con->conservative/permissive' variables by
 1153:        'failuretest_*'.  Move failuretest() function to smartctl.cpp.
 1154: 
 1155:   [CF] Remove unused CONTROLLER_* defines.
 1156: 
 1157:   [CF] Remove unused controller support from dev_legacy adapter module.
 1158: 
 1159:   [CF] Make 'debugmode' variable local to smartd.cpp.
 1160: 
 1161: smartmontools 5.40 2010-10-16
 1162: 
 1163:   [CF] examplescripts/Example3: Use stdin to pass message to 'wall'
 1164:        command (ticket #114).
 1165: 
 1166:   [CF] smartd: Fix setting of SMARTD_DEVICE and SMARTD_DEVICETYPE
 1167:        environment variables (ticket #113).
 1168:        Regression was introduced by rework of smartd data structures.
 1169:        SMARTD_DEVICE is now set to the plain device name.
 1170:        SMARTD_DEVICETYPE is now set to 'auto' if no '-d' directive is
 1171:        specified.  Smartctl now accepts '-d auto' for this purpose.
 1172: 
 1173:   [CF] Remove "Lifetime" from Min/Max temperature attribute output
 1174:        (ticket #111).  Interval is device specific.
 1175: 
 1176:   [CF] configure.in: Print resource/message compiler info for Windows only.
 1177: 
 1178:   [CF] FreeBSD: Rework get_dev_names_cam() to support more than 26 devices.
 1179: 
 1180:   [CF] drivedb.h updates:
 1181:        - Seagate Barracuda 7200.10: Add 360GB
 1182:        - USB: Iomega MDHD-UE
 1183:        Patch provided by Rob Marissen.
 1184: 
 1185:   [DL] Standby mode not detected properly on FreeBSD (ticket #91).
 1186: 
 1187:   [MS] os_linux.cpp: fix "gcc -flto" build error by including stddef.h
 1188: 
 1189:   [CF] drivedb.h update:
 1190:        - Indilinx Barefoot based SSDs: Add OCZ-VERTEX 1199 and -TURBO
 1191: 
 1192:   [CF] TODO file: Move open entries to tickets #106, #107, #108, #109, #110.
 1193:        Remove outdated entries.
 1194: 
 1195:   [CF] drivedb.h USB update:
 1196:        - SunPlus 0x04fc:0x0c05
 1197: 
 1198:   [CF] drivedb.h update:
 1199:        - SandForce Driven SSDs: Add Corsair Force, fix typo
 1200: 
 1201:   [CF] Print hex values of unknown self-test type or status.
 1202: 
 1203:   [CF] drivedb.h updates:
 1204:        - SandForce Driven SSDs: Fix regex for Unigen UG99SGC
 1205:        - Seagate Momentus XT series
 1206:        - Quantum Bigfoot: Add 12.7GB
 1207: 
 1208:   [CF] drivedb.h updates:
 1209:        - SandForce Driven SSDs: Add 11 attributes of new FW,
 1210:          add Unigen UG99PGC
 1211:        - WD AV ATA family: Add 250GB, 320GB
 1212:        - WD AV SATA family
 1213: 
 1214:   [CF] Windows: Build syslogevt.exe with MinGW.  Now possible because
 1215:        binutils provides windmc.
 1216: 
 1217:   [CF] Makefile.am: Remove install message about smartd startup.
 1218:        It might be misleading because it is not correct for all platforms.
 1219: 
 1220:   [CF] configure.in: Minor fix of '--enable-drivedb' new defaults
 1221:        detection.
 1222: 
 1223:   [CF] Update links, configure and OS info in INSTALL file.
 1224:        Replace tabs by spaces.
 1225: 
 1226:   [CF] configure.in: Fix '--enable-sample' and '--with-selinux'.
 1227:        Fix obsolete use of AC_DEFINE().
 1228: 
 1229:   [CF] drivedb.h updates:
 1230:        - IBM Deskstar 60GXP, 40GV & 75GXP: Update link (ticket #99)
 1231:        - Seagate Barracuda 7200.12: Add ST31000523AS and others
 1232:        - WD Caviar Black: Add 2TB
 1233:        - WD VelociRaptor: Add 6 Gb/s models
 1234: 
 1235:   [CF] Windows installer: Fix smartctl-run.bat for drive menu (ticket #31).
 1236: 
 1237:   [CF] Windows: Create md5/sha1/sha256 checksums of the binaries.
 1238:        Add checksums.txt file to binary distribution.
 1239: 
 1240:   [CF] Windows: Include drivedb.h into binary distribution.
 1241: 
 1242:   [CF] drivedb.h updates:
 1243:        - Intel X18-M/X25-M/X25-V G2: Add X25-V 40GB
 1244:        - Transcend CompactFlash Cards
 1245: 
 1246:   [CF] drivedb.h updates:
 1247:        - Seagate Momentus 7200 FDE.2: Add ST9160414ASG
 1248:        - Seagate Pipeline HD 5900.1 and 5900.2
 1249:        Based on patch provided by Marcin Falkiewicz.
 1250: 
 1251:   [CF] Remove unused variable 'reportbug'.
 1252: 
 1253:   [CF] Make function PrintOut() local to smartd.cpp, remove it from
 1254:        smartctl.cpp.
 1255: 
 1256:   [CF] Windows: Improve compatibility with MinGW variants.
 1257:        Add configure check for DDK include files.
 1258:        Drop support for '-mno-cygwin' from old Cygwin gcc.
 1259: 
 1260:   [AS] smartctl.8.in minor update: adding FreeBSD ahci/scsi device hints
 1261: 
 1262:   [CF] Fix build if SVN Id keywords are not expanded (ticket #94).
 1263: 
 1264:   [CF] Windows: Remove "." from DLL search path to prevent DLL
 1265:        preloading attacks.
 1266: 
 1267:   [CF] drivedb.h USB update:
 1268:        - JMicron 0x152d:0x0551 (ticket #95)
 1269:        Add note about port multipliers to smartctl man page.
 1270: 
 1271:   [CF] drivedb.h updates:
 1272:        - SandForce Driven SSDs: Add Unigen drives
 1273:        - Indilinx Barefoot based SSDs: Add ASAX Leopard Hunt II
 1274: 
 1275:   [CF] drivedb.h update:
 1276:        - Intel X18-M/X25-M G2: Add names of timed workload attributes.
 1277:        Document attribute clear command '-t vendor,0x40' on smartctl
 1278:        man page.
 1279: 
 1280:        Thanks to Artem Danielov from Intel for providing the
 1281:        required information and drives for testing.
 1282: 
 1283:   [CF] drivedb.h update:
 1284:        - SandForce Driven SSDs: Add OCZ drives with form factor info.
 1285: 
 1286:   [CF] drivedb.h update:
 1287:        - Intel X25-E, X18-M/X25-M (add X18-M, update attributes)
 1288: 
 1289:   [CF] configure.in: '--enable-drivedb' is now the default.
 1290: 
 1291:   [CF] drivedb.h update:
 1292:        - Indilinx Barefoot based SSDs
 1293:          (combine and update 5 SSD entries using this controller)
 1294: 
 1295:   [CF] drivedb.h update:
 1296:        - SandForce Driven SSDs (Demo Drive, OCZ-Agility2/Vertex2/Vertex-LE)
 1297: 
 1298:        Thanks to Jeremy Werner (jwerner@sandforce.com) from SandForce for
 1299:        providing the required information and a demo drive for testing.
 1300: 
 1301:   [CF] drivedb.h update:
 1302:        - Add 1.5TB drive to SAMSUNG SpinPoint F3 EG series
 1303: 
 1304:   [CF] Add print formats '-v ID,msec24hour32' and '-v ID,raw24/raw32'.
 1305:        Used by SSDs with SandForce controller.
 1306: 
 1307:   [CF] Allow SMART threshold entries at positions different from
 1308:        attribute table. This fixes attribute output for recent
 1309:        SSDs with SandForce controller.
 1310: 
 1311:   [CF] smartctl: Add option '-t vendor,N' to issue ATA
 1312:        command SMART EXECUTE OFF-LINE IMMEDIATE with
 1313:        a vendor specific subcommand.
 1314: 
 1315:   [CF] drivedb.h update:
 1316:        - SAMSUNG SpinPoint V80 series (ticket #85)
 1317: 
 1318:   [CF] Linux: Support SATA drives on LSI 3ware 9750 controllers.
 1319:        Patch provided by Victor Payno (ticket #86).
 1320:        Modified to avoid duplicate code.
 1321: 
 1322:   [CF] drivedb.h update:
 1323:        - SAMSUNG SpinPoint M7 series
 1324: 
 1325:   [CF] drivedb.h USB update:
 1326:        - Buffalo JustStore Portable HD-PVU2
 1327: 
 1328:   [CF] drivedb.h USB updates:
 1329:        - Iomega LDHD-UP (ticket #83)
 1330:        - WD Elements Desktop 2TB
 1331:        - Maxtor OneTouch (0x0d49:0x7300)
 1332: 
 1333:   [MS] drivedb.h updates:
 1334:        - Intel X25-M SSD first Generation
 1335:        - ExcelStor J8160
 1336:        - OCZ Agility2
 1337: 
 1338:   [CF] drivedb.h updates:
 1339:        - Transcend Solid State Drives (ticket #80)
 1340: 
 1341:   [CF] drivedb.h USB update:
 1342:        - LaCie Rugged Hard Drive
 1343: 
 1344:   [CF] smartctl: Add options '--scan, --scan-open'.
 1345: 
 1346:   [CF] Windows: Use also VendorId from IOCTL_STORAGE_QUERY_PROPERTY.
 1347: 
 1348:   [CF] smartd: Change defaults of '-C' and '-U' directives to 0 (disabled)
 1349:        if attribute name is changed by '-v 19[78],...' directive.
 1350: 
 1351:   [CF] configure.in: Fix include path for MinGW.
 1352: 
 1353:   [CF] Move 'posix/reg*' to 'regex/reg*'.
 1354:        Add configure check for regex.
 1355: 
 1356:   [MS] cciss.cpp: avoid redefining be32toh
 1357:        megaraid.h: replace use of undefined preprocessor macro BITS_PER_LONG
 1358:                    by union construct (thanks to [DL]).
 1359:                    Add assert for sizeof(ptr_t) == 8 (thanks to [CF]).
 1360: 
 1361:   [CF] Makefile.am: Add os_qnxnto.* to EXTRA_smart*_SOURCES.
 1362: 
 1363:   [MS] drivedb.h update:
 1364:        - WD My Passport Essential SE 1TB variant (USB interface)
 1365: 
 1366:   [CF] Use getopt_long() from getopt/getopt* if necessary.
 1367:        Add missing cast to os_qnxnto.cpp.
 1368:        This fixes build on QNX (ticket #1).
 1369:        Thanks to Stefan (stevestereo) for testing.
 1370: 
 1371:   [CF] drivedb.h update:
 1372:        - WD Caviar Green (Adv. Format) family
 1373: 
 1374:   [CF] drivedb.h USB update:
 1375:        - Verbatim External Hard Drive 47519
 1376: 
 1377:   [DL] Fix regression in smartctl option '-t select,M-N' which prevents
 1378:        that more than one test span can be specified (ticket #75).
 1379: 
 1380:   [CF] drivedb.h updates:
 1381:        - Add raw64 attributes 1, 210-213 to all SSD drives with
 1382:          64-bit attribute format.
 1383: 
 1384:   [CF] Support smartd '-l xerror' also for disks which use reserved
 1385:        byte as log index.
 1386: 
 1387:   [CF] Fix initialization of values missing in smartd '.state' files.
 1388: 
 1389:   [CF] Add smartd directive '-l xerror' to check error count from
 1390:        the Extended Comprehensive SMART Error Log (ticket #34).
 1391: 
 1392:   [CF] Fix max number of cciss devices, 128 devices are supported
 1393:        again (ticket #49). Regression was introduced during migration
 1394:        to new interface.
 1395: 
 1396:   [CF] Update man pages (include Debian patch
 1397:        60_remove-redhatism.diff and Debian Bug 570892).
 1398: 
 1399:   [CF] Add SVN revision number to man pages.
 1400: 
 1401:   [CF] Windows: Read default drivedb.h and smartd.conf from exe
 1402:        directory instead of current directory.
 1403: 
 1404:   [CF] drivedb.h update:
 1405:        - SAMSUNG SpinPoint M series
 1406: 
 1407:   [CF] Replace runtime check of byte ordering by compile time check.
 1408: 
 1409:   [CF] drivedb.h USB updates:
 1410:        - ALi M5621 (unsupported)
 1411:        - LaCie with JMicron (ticket #69)
 1412:        - JMicron (0x2352)
 1413:        - Enable 48-bit commands for Hitachi drive
 1414: 
 1415:   [CF] Read USB ID info from drivedb.h (ticket #44).
 1416: 
 1417:   [CF] Create branch RELEASE_5_39_DRIVEDB with last drivedb.h file
 1418:        compatible with smartmontools 5.39[.1].
 1419: 
 1420:   [MS] drivedb.h updates:
 1421:        - WD Raptor 80GB variant
 1422:        - correct Regex for some WD AV-GP variants
 1423:        - Hitachi Ultrastar A7K2000
 1424:        - Hitachi Travelstar 5K500.B
 1425:        - Hitachi Deskstar 7K1000.C
 1426:        - adjust naming of Hitachi Travelstar and Deskstar drives
 1427: 
 1428:   [CF] Move 'posix/getopt*' to 'getopt/getopt*'.  Can be used for
 1429:        platforms with regex() but without getopt_long() (QNX, ticket #1).
 1430: 
 1431:   [CF] smartd '-l selftest' directive: Print info if error count
 1432:        decreased.  Avoid misleading warning if error count decreased
 1433:        to zero (ticket #67).
 1434: 
 1435:   [CF] smartctl: Rework ataPrintMain().  Issue ATA SMART commands only if
 1436:        necessary.  Improve handling of SMART STATUS command failure when
 1437:        ATA output registers are missing (ticket #27).
 1438: 
 1439:   [CF] USB ID updates:
 1440:        - A-DATA SH93
 1441:        - Hitachi/SimpleTech 1TB
 1442: 
 1443:   [CF] configure.in: Print configuration summary.
 1444: 
 1445:   [CF] smartctl -l xselftest,selftest: Print old log if extended self-test
 1446:        log index is out of range.  Workaround for bad log data from Intel
 1447:        X25-M G2 (ticket #66).
 1448: 
 1449:   [CF] USB ID updates:
 1450:        - LaCie Desktop Hard Drive
 1451:        - Prolific PL2507 (unsupported)
 1452:        - Seagate FreeAgent Go FW
 1453:        - WD My Book Essential
 1454: 
 1455:   [CF] Linux: Add '/dev/sd[a-c][a-z]' to smartd DEVICESCAN.
 1456: 
 1457:   [CF] smartd: Other config entries may precede DEVICESCAN.
 1458:        Very first step towards a more flexible device scanning.
 1459: 
 1460:   [CF] Windows: Use '.win64' in names of 64-bit binary packages.
 1461:        Use correct 'strip' program when cross-compiling.
 1462: 
 1463:   [CF] Add update script to make targets 'dist' and 'clean',
 1464:        set +x permission, update svn:ignore.
 1465: 
 1466:   [CF] Add 'update-smart-drivedb' script (ticket #59).
 1467:        The script updates the drive database from SVN.
 1468:        It is installed if '--enable-drivedb' is configured.
 1469: 
 1470:   [MS] drivedb.h updates:
 1471:        - Seagate Medalist 1720
 1472:        - SuperTalent UltraDrive GX SSD
 1473:        - Intel X25-M SSD
 1474: 
 1475:   [CF] Makefile.am: Fix unix2dos and makensis parameters to allow
 1476:        to build the Windows installer on Linux also.
 1477: 
 1478:   [CF] Makefile.am: Use a separate build rule for each man page to
 1479:        avoid compatibility problems with BSD make.
 1480: 
 1481:   [AS] drivedb.h updates:
 1482:        - Fujitsu MHZ2 BK series
 1483: 
 1484:   [MS] drivedb.h updates:
 1485:        - SAMSUNG SpinPoint F3 series
 1486:        - SAMSUNG SpinPoint F3 EG series
 1487:        - SAMSUNG SpinPoint M5 series
 1488:        - Western Digital Caviar Green 6400AADS
 1489:        - more Western Digital VelociRaptor variants
 1490: 
 1491:   [AS] FreeBSD: disable 48-bit commands in the ata_pass_through interface, 
 1492:        there is no 48-bit support in the IOCATAREQUEST ioctl.
 1493: 
 1494:   [CF] smartctl: Add option '-l scterc[,READTIME,WRITETIME]' to get/set
 1495:        the SCT Error Recovery Control time limit (ticket #50).
 1496: 
 1497:        Patch was provided by Richard Gregory:
 1498:        http://www.csc.liv.ac.uk/~greg/projects/erc/
 1499:        Modified for new ata_pass_through() interface.
 1500:        Linux HPT fixes ommitted for now.
 1501: 
 1502:   [CF] Fix SCT temperature table commands on big endian CPUs.
 1503: 
 1504:   [MS] drivedb.h updates:
 1505:        - more Seagate Momentus 5400.6 drives
 1506:        - HP 500GB drive MM0500EANCR
 1507: 
 1508:   [CF] Windows: Cleanup I/O-control declarations, rely on include
 1509:        files if possible.
 1510: 
 1511:   [CF] Windows: Compile fixes for 64-bit exe (EXPERIMENTAL).
 1512:        Update build info in INSTALL file.
 1513: 
 1514:   [CF] drivedb.h update:
 1515:        - Patriot Torqx SSD (patch provided by Gianpaolo Cugola)
 1516: 
 1517:   [CF] Makefile.am: Avoid duplication of man page filter script.
 1518: 
 1519:   [CF] smartd: Add option '-C, --capabilities' if libcap-ng is available
 1520:        (ticket #45).
 1521:        Support is added if libcap-ng is found during build. This can
 1522:        be overridden by configure option '--with-libcap-ng=[auto|yes|no]'.
 1523: 
 1524:        Based on Debian patch:
 1525:        http://patch-tracker.debian.org/patch/series/view/smartmontools/5.39-3/62_lowcap.patch
 1526:        Modified to fix regression (ticket #41, Debian bug 564876).
 1527: 
 1528:   [CF] Bugfix release 5.39.1.
 1529: 
 1530:   [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used
 1531:        (ticket #37).  For some reason, this happens if the SCSI/SAT
 1532:        device is opened with O_RDWR instead of O_RDONLY.
 1533: 
 1534:   [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release
 1535:        (ticket #43).
 1536: 
 1537:   [CF] Add USB IDs of Seagate FreeAgent Go, Seagate Expansion Portable
 1538:        and WD My Passport (IDE).
 1539: 
 1540:   [CF] autogen.sh: Fix version regexp, allow automake 1.11.1.
 1541: 
 1542:   [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13).
 1543:        Detects (S)ATA devices behind a standard SAT layer
 1544:        (Vendor ID: "ATA     "), but not USB bridges with SAT support.
 1545:        Only added for backward compatibility with 5.38.
 1546:        No longer needed as 'DEVICESCAN' without '-d' includes these devices.
 1547: 
 1548:   [CF] Add USB ID of Seagate FreeAgent Desktop.
 1549: 
 1550:   [CF] smartd: Fix directive '-l selftest' (ticket #36)
 1551:        Regression was introduced with r2773.
 1552: 
 1553:   [CF] smartd: Don't disable attribute tracking if read thresholds fails.
 1554:        Windows: Don't return dummy thresholds if IOCTL_STORAGE_QUERY_PROPERTY
 1555:        or 3ware CLI is used to read SMART data.
 1556: 
 1557:   [CF] Windows: Print warning if admin rights are missing.
 1558: 
 1559:   [CF] Replace some 'EXIT(status)' calls by 'return status'.
 1560:        Remove unnecessary casts from 'nonempty()' calls.
 1561: 
 1562:   [CF] Windows: Set ata_device::ata_identify_is_cached() return value
 1563:        according to I/O-control actually used.
 1564: 
 1565:   [CF] Print ATA output registers if SMART status command returns bogus
 1566:        register values.
 1567: 
 1568:   [CF] Windows: Don't return false ATA version info if IDENTIFY data
 1569:        is build from IOCTL_STORAGE_QUERY_PROPERTY result or from 3ware CLI
 1570:        output.
 1571:        smartctl: Handle missing info about ATA version in '-i' output.
 1572: 
 1573:   [CF] smartctl: Don't print log directory if '-q errorsonly' is specified.
 1574: 
 1575:   [CF] smartctl: Fix option '-q, --quietmode' (ticket #11).
 1576:        Regression was introduced with r2807.
 1577: 
 1578:   [CF] drivedb.h update:
 1579:        - SAMSUNG SpinPoint F2 EG series
 1580: 
 1581:   [CF] Add USB ID of Samsung Story Station.
 1582: 
 1583:   [MS] drivedb.h update:
 1584:        - Hitachi Travelstar 5K320: some EA models miss last 2 "0" 
 1585:          in model string
 1586:        - Seagate Barracuda LP series
 1587: 
 1588:   [CF] drivedb.h update:
 1589:        - Crucial M225 SSD
 1590: 
 1591:   [CF] drivedb.h updates:
 1592:        - WDC Scorpio Blue Serial ATA (640GB, 750GB, 1TB)
 1593:        - WDC My Passport Essential SE
 1594: 
 1595:   [CF] Add USB ID of Toshiba PX1270E-1G16.
 1596: 
 1597:   [CF] Happy New Year! Update copyright year in version info.
 1598: 
 1599:   [CF] drivedb.h update:
 1600:        - SAMSUNG SpinPoint M40/60/80 series
 1601: 
 1602:   [CF] Add direct access to 48-bit LBA register in 'ata_in/out_regs_48bit'.
 1603: 
 1604:   [DL] drivedb.h updates:
 1605:        - WDC My Passport Essential/USB (capacity 250GB, 400GB & 500GB)
 1606: 
 1607:   [DL] -r ataioctl,2: print text representation of data also (ticket #32)
 1608: 
 1609:   [DL] FreeBSD: freebsd_ata_device::ata_pass_through implemented (part of ticket #18)
 1610: 
 1611:   [CF] drivedb.h updates:
 1612:        - Hitachi Travelstar 7K320 (ticket #28)
 1613:        - Hitachi Travelstar 7K500
 1614: 
 1615:   [DL] -l gpllog,...: print text representation of data also (ticket #30)
 1616: 
 1617:   [DL] FreeBSD: check reallocf() result for failures
 1618: 
 1619:   [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger
 1620: 
 1621:   [CF] Makefile.am: 'make check' now tests the syntax of drivedb.h.
 1622: 
 1623:   [CF] Cygwin: Open drive database files in text mode.
 1624: 
 1625:   [CF] Cygwin: Check for 'syslogd' and 'syslog-ng' in initd script.
 1626: 
 1627:   [CF] Windows: Disable Win9x/ME specific code if no longer supported
 1628:        by compiler.
 1629: 
 1630:   [CF] Add '-v ID,FORMAT:BYTEORDER[,NAME]' to specify byte order
 1631:        of attribute raw value.
 1632: 
 1633:   [CF] configure.in: Change --with-docdir default from
 1634:        'PREFIX/share/doc/smartmontools-VERSION' to
 1635:        'DATADIR/doc/smartmontools' to make it consistent with
 1636:        --docdir option added in autoconf 2.6x (ticket #24).
 1637:        Autoconf 2.5x is still supported.
 1638: 
 1639:   [CF] Move drive database entries from 'knowndrives.cpp' to new file
 1640:        'drivedb.h'.  This allows to update the drive database from SVN
 1641:        if installation was configured with '--enable-drivedb'.
 1642:        Remove the Makefile target to create 'drivedb.h'.
 1643: 
 1644:   [CF] do_release: Add support to release from a dir below 'branches'.
 1645:        Accept partial checkouts.
 1646: 
 1647: smartmontools 5.39.1 2010-01-28
 1648: 
 1649:   [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used
 1650:        (ticket #37).  For some reason, this happens if the SCSI/SAT
 1651:        device is opened with O_RDWR instead of O_RDONLY.
 1652: 
 1653:   [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release
 1654:        (ticket #43).
 1655: 
 1656:   [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13).
 1657:        Detects (S)ATA devices behind a standard SAT layer
 1658:        (Vendor ID: "ATA     "), but not USB bridges with SAT support.
 1659:        Only added for backward compatibility with 5.38.
 1660:        No longer needed as 'DEVICESCAN' without '-d' includes these devices.
 1661: 
 1662:   [CF] smartd: Fix directive '-l selftest' (ticket #36)
 1663:        Regression was introduced with r2773.
 1664: 
 1665:   [CF] smartctl: Don't print log directory if '-q errorsonly' is specified.
 1666: 
 1667:   [CF] smartctl: Fix option '-q, --quietmode' (ticket #11).
 1668:        Regression was introduced with r2807.
 1669: 
 1670:   [CF] Happy New Year! Update copyright year in version info.
 1671: 
 1672:   [DL] FreeBSD: check reallocf() result for failures
 1673: 
 1674:   [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger
 1675: 
 1676:   [CF] do_release: Add support to release from a dir below 'branches'.
 1677:        Accept partial checkouts.
 1678: 
 1679: smartmontools 5.39 2009-12-09
 1680: 
 1681:   [CF] do_release: Commit CHANGELOG and NEWS also. Allow to review changes.
 1682: 
 1683:   [CF] Linux: Add workaround for Adaptec series 2, 5 and 5Z controllers
 1684:        with firmware >= 17380.  Patch was provided by Phil Wilson, see:
 1685:        http://linux.adaptec.com/2009/07/24/using-smartmontools-538-with-series-255z-controllers-with-firmware-17380-onwards
 1686: 
 1687:   [CF] configure.in: Add '-fno-strict-aliasing' to CXXFLAGS if supported.
 1688:        This suppresses gcc 4.4.1 warnings on Linux and avoids possible
 1689:        unsafe optimizations (ticket #23).
 1690:        Patch was provided by Manfred Schwarb.
 1691: 
 1692:   [CF] Avoid truncation of configure arguments in '-V' output.
 1693: 
 1694:   [AS] Added USB IDs of WD Passport USB Portable
 1695: 
 1696:   [CF] Linux: Fix segfault in 3ware interface (ticket #22).
 1697: 
 1698:   [MS] knowndrives.cpp updates:
 1699:        - Hitachi Deskstar 7K2000
 1700:        - Seagate Momentus 7200 FDE.2 series
 1701: 
 1702:   [CF] Add USB ID of WD My Passport 070A.
 1703:        knowndrives.cpp update:
 1704:        - WD My Passport hard drive (USB interface)
 1705: 
 1706:   [CF] smartd: Write 'worst' attribute value to '.state' file also.
 1707:        This allows to use state persistence with 'raw64' attributes.
 1708: 
 1709:   [CF] Rework ATA SMART attribute check in smartctl and smartd.
 1710:        smartd: Ignore normalized attribute value and threshold
 1711:        if 'raw64' or 'hex64' format is selected.
 1712: 
 1713:   [CF] Add USB IDs of Iomega LPHD080-0, 2 Genesys Logic bridges and
 1714:        Initio 316000.
 1715: 
 1716:   [MS] knowndrives.cpp update: Hitachi Travelstar 5K320 series
 1717: 
 1718:   [CF] smartctl: Ignore normalized attribute value and threshold
 1719:        if 'raw64' or 'hex64' format is selected.
 1720: 
 1721:   [CF] knowndrives.cpp updates:
 1722:        - add OCZ-Vertex raw64 attributes
 1723:        - add OCZ-Agility
 1724:        Thanks to Marcin Marszalek for the patch.
 1725: 
 1726:   [CF] Add '-v ID,hex*' print formats. Fix '-v N,FORMAT,NAME' parsing.
 1727: 
 1728:   [CF] Add '-v ID,raw64[,...]' print format based on a patch provided
 1729:        by Marcin Marszalek.
 1730: 
 1731:   [CF] Add '-v ID,RAW_FORMAT[,ATTR_NAME]' option. This allows to add new
 1732:        attributes without the need to enhance the '-v' option.
 1733:        Rework attribute name and raw value formatting.
 1734: 
 1735:   [CF] Fix auto_ptr initialization in linux_scsi_device::autodetect_open().
 1736: 
 1737:   [CF] Remove duplicate function smart_device_list::add().
 1738:        Replace calls with push_back().
 1739: 
 1740:   [MS] attribute update:
 1741:        trim attribute names to 23 chars
 1742: 
 1743:   [CF] Add smart pointer class template to manage device object pointers.
 1744:        Remove related 'delete' calls and 'try/catch' blocks.
 1745: 
 1746:   [CF] do_release: Replace generation of '*.asc' by '*.md5' and '*.sha1'.
 1747: 
 1748:   [MS] attribute updates:
 1749:        - change attributes 202,204,205 to the meanings as found in wdidle3.exe
 1750:          retain old entries as comments (possible Fujitsu use)
 1751:        - add attribute 240 as found in Fujitsu MHY2xxxBH
 1752: 
 1753:   [MS] attributes updates:
 1754:        - attributes 225, 232 and 233 for Intel X25-E SSD
 1755:        - non-conflicting attributes extracted from wdidle3.exe
 1756:          (thanks to Franc Zabkar and Dan Lukes)
 1757: 
 1758:   [CF] Update Windows and ./configure info in INSTALL file.
 1759: 
 1760:   [CF] Update 'do_release' script for SVN.
 1761: 
 1762:   [MS] knowndrives.cpp updates:
 1763:        - Western Digital MyPassport Essential hard drive (USB interface)
 1764:        - Seagate Momentus 7200.4 series
 1765:        - Western Digital Raptor X
 1766:        - Intel X25-E SSD
 1767: 
 1768:   [CF] knowndrives.cpp updates:
 1769:        - New Seagate 7200.11 firmware version
 1770:        - Update IBM link
 1771: 
 1772:   [CF] smartctl: Use printf() instead of pout() for exception error
 1773:        messages to avoid access to bogus 'con->dont_print'.
 1774: 
 1775:   [CF] smartd: Add missing help texts for '-A', '-B' and '-s'.
 1776: 
 1777:   [CF] Add missing check for log page 0x11 support to smartctl
 1778:        '-l sataphy' option.
 1779: 
 1780:   [CF] Add USB ID of Freecom Hard Drive XS.
 1781: 
 1782:   [AS] Linux: Autodetect DELL PERC and MegaRAID controllers.
 1783:        Hiding debug messages coming from megaraid code.
 1784: 
 1785:   [AS] Linux: Fixed SATA drives support on megaraid device (see ticket #15).
 1786: 
 1787:   [AS] FreeBSD: Removed all old detection code, moving everything to
 1788:        the objects. Now we are using CAM/ATA enumerators to guess device
 1789:        type.
 1790: 
 1791:   [AS] FreeBSD: Added autodetection for the ada disks (untested).
 1792:        Code for USB device detection refactored.
 1793: 
 1794:   [AS] FreeBSD: cam_get_umassno rewritten using XPT_PATH_INQ
 1795: 
 1796:   [AS] FreeBSD: do not open/close cam device on every request for SCSI
 1797:        disks. Use com->camdev both for SCSI and ATAPICAM.
 1798: 
 1799:   [AS] FreeBSD: added support for the ada disks, based on agapon patch
 1800: 
 1801:   [CF] Add names for attributes 184 and 188, see ticket #17.
 1802: 
 1803:   [CF] configure.in: Change configure date syntax.
 1804:        Add message to '-mno-cygwin' option check.
 1805: 
 1806:   [GK] Add names for some attributes used in MLC flash drives:
 1807:        175, 176, 177, 181, 182
 1808: 
 1809:   [CF] Windows: Check support of gcc '-mno-cygwin' option in configure.
 1810:        This option has been removed in Cygwin gcc 4.x.  Update INSTALL
 1811:        instructions accordingly.
 1812: 
 1813:   [CF] Increase SCSI_TIMEOUT_DEFAULT from 6 to 20 seconds to avoid
 1814:        timeouts when a disk spins up from standby mode.
 1815: 
 1816:   [CF] Add USB ID of AcomData 504 (OnSpec USB bridge).
 1817: 
 1818:   [AS] Correcting manual pages (FreeBSD related)
 1819: 
 1820:   [AS] FreeBSD: fix FTBFS on GNU/kFreeBSD (reported by derevko).
 1821: 
 1822:   [AS] FreeBSD: Add USB autodetection to smartd DEVICESCAN directive.
 1823: 
 1824:   [CF] Add USB ID of Myson Century CS8818, add some comments.
 1825: 
 1826:   [CF] Return info strings from 'smart_interface::get_*()' functions as
 1827:        'std::string' instead of 'const char *'. Static buffers are no
 1828:        longer needed.
 1829: 
 1830:   [SZ] FreeBSD: Fix highpoint type detection and ioctl failed for parameter
 1831:        error.
 1832: 
 1833:   [CF] Linux: Add USB autodetection to smartd DEVICESCAN directive.
 1834: 
 1835:   [CF] Add USB IDs of Maxtor Basics Desktop and ISD-300A1.
 1836: 
 1837:   [AS] Use malloc() to ensure that the read buffer lands on a single
 1838:        page.  This avoids some bugs seen on LSI controlers under
 1839:        FreeBSD.
 1840: 
 1841:   [CF] Add missing help text for '-d usb*' options.
 1842: 
 1843:   [CF] Linux: Dereference '/dev/disk/by-*/*' symlink before device type
 1844:        autodetection.
 1845: 
 1846:   [AS] FreeBSD: Support SATA disks attached to a SAS controller (based on
 1847:        patch from freebsd ports tree).
 1848: 
 1849:   [AS] FreeBSD: Added FreeBSD 8 libusb2 device autodetecion, new
 1850:        configure check for -lusb.
 1851: 
 1852:   [AS] FreeBSD: Added USB device autodetection and fixed -d switch behavior.
 1853: 
 1854:   [AS] FreeBSD: Migrate os_freebsd.cpp to new interface.
 1855: 
 1856:   [CF] Fix max number of 3ware devices, 128 devices are supported again.
 1857:        Regression was introduced during migration to new interface.
 1858:        Thanks to Michael Holweg for the problem report.
 1859: 
 1860:   [CF] Windows installer: Add 'DisplayVersion' to uninstall registry key.
 1861: 
 1862:   [MS] knowndrives.cpp updates:
 1863:        - Marvell SSD SD88SA024BA0
 1864:        - Fujitsu MHZ2 BH series
 1865:        - Fujitsu MHZ2 BJ series
 1866:        - Seagate Maxtor DiamondMax 23
 1867:        - WD Caviar Green: Add some 32MB cache variants
 1868:        - relax OCZ-Vertex pattern
 1869: 
 1870:   [CF] Add USB ID of Verbatim FW/USB160.
 1871: 
 1872:   [CF] Fix data type bug in checksum test for multi sector logs.
 1873: 
 1874:   [CF] Add USB ID of Seagate FreeAgent Go.
 1875: 
 1876:   [MS] Add experimental feature to log attribute values at each check 
 1877:        cycle (ATA only), activated with the smartd option 
 1878:        "-A PREFIX" / "--attributelog=PREFIX".
 1879:        Introduce configure options "--enable-attributelog" and
 1880:        "--with-attributelog=PREFIX" to enable feature by default.
 1881: 
 1882:   [DG] [SAT] Heads up about a non backwardly compatible change
 1883:        introduced in draft SAT-2 (sat2r8b.pdf) that will break our
 1884:        existing SAT processing code. Action needed if change stands.
 1885: 
 1886:   [MS] smartd.cpp: Adjust umask
 1887: 
 1888:   [CF] Makefile.am: Remove 'uninstall-docsDATA' target to fix
 1889:        'make distcheck' with automake 1.11. The 'make uninstall'
 1890:        of examplescripts fails if docdir does no longer exist.
 1891: 
 1892:   [CF] Remove 'scsiata.h'. The 'scsiata.cpp' module now implements
 1893:        parts of 'dev_interface.h'.
 1894: 
 1895:   [CF] smartctl: Don't report an attribute as failed if threshold is 0.
 1896: 
 1897:   [CF] Print only one warning on checksum errors in multi sector log.
 1898:        Remove casts from calls of checksum().
 1899: 
 1900:   [DG] minor changes to SCSI background scan strings
 1901: 
 1902:   [MS] knowndrives.cpp updates:
 1903:        - Fujitsu MHW2 BJ series
 1904:        - WD Caviar Black family
 1905: 
 1906:   [MS] Makefile.am: Make creation of svnversion.h independent of
 1907:        locale settings
 1908: 
 1909:   [CF] Require to specify PORT parameter of '-d usbjmicron' if two disks
 1910:        are connected.
 1911: 
 1912:   [CF] smartctl: Limit default number of printed entries for
 1913:        '-l xerror' to 8, for '-l xselftest' to 25.
 1914: 
 1915:   [CF] smartctl: Fix number of entries in '-l xselftest' output.
 1916: 
 1917:   [CF] Add USB IDs of a SunplusIT bridge, three WD drives, and an
 1918:        unsupported Iomega drive.
 1919: 
 1920:   [CF] Makefile.am: Use 'svnversion' instead of 'svn info' to get
 1921:        the revision number. This also checks for mixed and modified
 1922:        working copies.
 1923: 
 1924:   [CF] Remove CVS Id strings from '-V, --version' output.
 1925: 
 1926:   [CF] Update CONTRIBUTORS section on man pages.
 1927: 
 1928:   [CF] Makefile.am: 'make maintainer-clean' now removes also files
 1929:        generated by './autogen.sh'.
 1930: 
 1931:   [CF] Invalidate 'do_release' script, it needs some rework for SVN.
 1932: 
 1933:   [CF] Update documentation files for SVN.
 1934: 
 1935:   [CF] Rename trunk/sm5 to trunk/smartmontools.
 1936: 
 1937:   [CF] Print SVN revision number instead of time in version info line.
 1938:        Get SVN revision number from svn (if available) or guess from
 1939:        Id strings. Rename generated file to svnversion.h.
 1940: 
 1941:   [CF] Makefile.am: Modify generation of cvsversion.h for SVN.
 1942: 
 1943:   [GP] Convert CVS repository to SVN.
 1944: 
 1945:   [CF] smartd: Fix size of monitor flag array from previous commit.
 1946: 
 1947:   [CF] Makefile.am: Add missing 'megaraid.h'.
 1948: 
 1949:   [CF] smartd: Add '!' flag to '-r' and '-R' directives. If specified,
 1950:        message is logged as LOG_CRIT and warning mail is sent if
 1951:        attribute normalized or raw value changes.
 1952: 
 1953:   [CF] Replace global 'con->...' variables used for selective self-tests
 1954:        by local variables.
 1955: 
 1956:   [GK] Add names for some attributes used in Samsung MLC drives:
 1957:        178-180 & 183
 1958: 
 1959:   [CF] smartctl: Add option '-x, --xall' to print all info including
 1960:        extended SMART logs and non-SMART info.
 1961: 
 1962:   [CF] smartctl: Add '-l xerror,error' and '-l xselftest,selftest' to print
 1963:        the old logs if the extended logs are not supported.
 1964: 
 1965:   [MS] knowndrives.cpp updates:
 1966:        - Western Digital AV-GP series
 1967:        - Transcend Solid-State Drive and Transcend Solid-State Drive V series
 1968:        - Seagate Momentus 5400.5 series
 1969: 
 1970:   [CF] Disable 48-bit ATA commands for JMicron USB bridges by default
 1971:        because these commands do not work with all devices.
 1972:        Add '-d usbjmicron,x' to enable 48-bit commands.
 1973:        Thanks to Alexander Shaduri for the problem report.
 1974: 
 1975:   [CF] smartd: Don't ignore the '-n' directive when a self-test is
 1976:        scheduled. Start the self-test later when the disk is active
 1977:        again.
 1978: 
 1979:   [DG] SCSI (SAS): implement '-l sasphy,reset' (reset part was stub
 1980:        prior to this)
 1981: 
 1982:   [DG] add 'ATA, SCSI command sets and SAT' section to smartctl.8 .
 1983:        [SCSI] add 'number of background medium scans' field
 1984: 
 1985:   [DG] SCSI (SAS): add '-l sasphy' and '-l sasphy,reset' into smartctl
 1986:        to output SAS device phy information (from the Protocol specific
 1987:        log page)
 1988: 
 1989:   [CF] autogen.sh: Remove 'CYGWIN=check_case:strict', this does no
 1990:        longer work on Cygwin 1.7.  Print warning if Automake version
 1991:        cannot handle case insensitive filesystems.
 1992: 
 1993:   [CF] Remove '#define TRUE/FALSE', use 'bool' and 'true/false'.
 1994: 
 1995:   [CF] Add 'options' parameter to SCSI printing routine. Move global
 1996:        'con->...' smartctl variables to 'options' parameters of
 1997:        printing routines.
 1998: 
 1999:   [CF] Windows: Remove outdated entry about undocumented system calls
 2000:        from WARNINGS file.
 2001: 
 2002:   [CF] Print General Purpose Logs even if GPL feature bit is missing.
 2003:        Needed for some older disks which implement READ LOG EXT but
 2004:        do not report the GPL feature set.
 2005:        Change order of the extended log outputs ('-l xerror',
 2006:        '-l xselftest', '-l sataphy'). Extended logs are now printed
 2007:        before their old versions.
 2008: 
 2009:   [CF] autogen.sh: automake 1.10.2 and 1.11 are OK.
 2010: 
 2011:   [CF] Fix syntax error in prototype of 'safe_snprintf()'.
 2012:        Thanks to Alexander Shaduri for bug report and patch.
 2013: 
 2014:   [DG] SCSI: Fetch load-unload cycle counts.
 2015: 
 2016:   [CF] Windows: Add Win-7 and Win2008 to get_os_version_str().
 2017: 
 2018:   [CF] smartd: Fix '-M test' directive in conjunction with '-s' option.
 2019:        Thanks to Matthias Becher for the problem report.
 2020: 
 2021:   [MS] knowndrives.cpp updates:
 2022:        - Add Seagate Barracuda 7200.12 series
 2023:        - Add Seagate Momentus 5400.4 series
 2024:        - Add Hitachi Deskstar 7K1000.B series
 2025:        - Add Transcend SSD TS32GSSD25-M
 2026:        - Add OCZ Vertex 1199
 2027: 
 2028:   [CF] knowndrives.cpp updates:
 2029:        Add Samsung S250 series.
 2030:        Add '-v 198,increasing' to Samsung P80.
 2031:        Replace '#if/#endif' by comment to fix configure option
 2032:        '--enable-drivedb'.
 2033: 
 2034:   [CF] knowndrives.cpp update:
 2035:        Add Seagate 7200.11 with 'CC' firmware which is unaffected
 2036:        by the bug. Thanks to Bas Mevissen for the patch.
 2037: 
 2038:   [CF] Replace global 'con->...' variables used for drive presets
 2039:        by local variables.
 2040: 
 2041:   [CF] Simplify '-v' vendor attribute option parsing.
 2042:        Add '-v 197,increasing' and '-v 198,increasing' options
 2043:        to specifiy that an uncorrectable count is never reset.
 2044:        This modifies the printed attribute names and smartd's
 2045:        default setting of '-C' and '-U' directives.
 2046:        Both '-v' options can also be preset in the drive database.
 2047: 
 2048:   [CF] Add '+' modifier to smartd '-C' and '-U' directives.
 2049:        If specified, a warning is only printed if the raw value
 2050:        increases.
 2051: 
 2052:   [CF] Add smartctl option '-l xselftest[,NUM]' to print
 2053:        ATA SMART Extended Self-test Log (GP Log 0x07).
 2054: 
 2055:   [CF] Add experimental option '-d usbsunplus' for drives behind
 2056:        SunplusIT USB bridges. Tested on WinXP with SPIF215(?) in
 2057:        TrekStor DataStation maxi m.u.. Many thanks to SunplusIT
 2058:        tech support for providing the required information.
 2059: 
 2060:   [CF] Windows: Provide a non-console version of smartctl.exe
 2061:        as smartctl-nc.exe. This prevents that a new console is
 2062:        opened when smartctl is run from a GUI program with
 2063:        stdio redirected.
 2064:        Used by GSmartControl (http://gsmartcontrol.berlios.de/).
 2065: 
 2066:   [CF] Remove support for platforms without getopt_long() in
 2067:        smartctl.cpp and smartd.cpp. If getopt_long() is missing,
 2068:        ./configure aborts with an explanatory message.
 2069:        For now, short option help texts are only removed from
 2070:        os_linux.cpp and os_win32.cpp. HAVE_GETOPT_LONG is still
 2071:        defined in config.h.
 2072: 
 2073:   [CF] Add smartctl '-d test' option to print the result of the
 2074:        device type detection.
 2075: 
 2076:   [CF] Enhance USB device type autodetection, use bcdDevice if known.
 2077:        Add Cypress CY7C68300B/C (AT2LP) to the table.
 2078: 
 2079:   [CF] Linux: Add experimental USB device type autodetection.
 2080:        Uses USB ID info found through symlink "/sys/block/sdX/device".
 2081: 
 2082:   [CF] Windows: Add experimental USB device type autodetection.
 2083:        Uses WMI command line tool 'wmic' to query USB ID.
 2084: 
 2085:   [CF] Add function smart_interface::get_usb_dev_type_by_id() to map
 2086:        USB vendor:product IDs to '-d type' names. Can be used by
 2087:        platform dependent layer to autodetect USB devices if ID of
 2088:        USB bridge is known.
 2089: 
 2090:   [CF] smartd: Log changes of self-test execution status if
 2091:        '-l selftest'is specified.
 2092: 
 2093:   [CF] knowndrives.cpp update:
 2094:        Samsung SpinPoint F1 RE series
 2095: 
 2096:   [MS] knowndrives.cpp update:
 2097:        Seagate Momentus 5400.6 series
 2098: 
 2099:   [CF] Add forgotten SCSI sense checks to class usbjmicron_device.
 2100: 
 2101:   [CF] Add new SMART STATUS check command for JMicron USB bridges.
 2102:        Should support also older chip versions and prevents a race
 2103:        condition.
 2104: 
 2105:   [CF] Windows: Fix win_scsi_device::scsi_pass_through() for single byte
 2106:        data transfers. Required for JMicron SMART STATUS check.
 2107: 
 2108:   [MS] knowndrives.cpp update:
 2109:        Add Hitachi Travelstar C4K60 family (1.8" slim drives)
 2110: 
 2111:   [MS] Workaround for huge raw values of attribute 9, needed
 2112:        for Hitachi Travelstar C4K60. For the Power_On_Minutes case,
 2113:        clip the display to 4 bytes and show the remaining part,
 2114:        if existent, in parens.
 2115: 
 2116:   [CF] Add experimental option '-d usbjmicron[,PORT]' for drives
 2117:        behind JMicron USB bridges. Tested on WinXP with JM20336 in
 2118:        AixCase AIX-ESU35CD. Many thanks to JMicron tech support
 2119:        for providing the required information.
 2120: 
 2121:   [MS] knowndrives.cpp update:
 2122:        Add WD Caviar Green 8MB and 32MB cache variants, stretch to 2TB.
 2123:  
 2124:   [CF] knowndrives.cpp updates: Add more entries for Samsung P80 disks
 2125:        with old and unknown firmware. Remove old entries which would
 2126:        match any new Samsung model reusing old firmware version number.
 2127: 
 2128:   [CF] Windows: Add a workaround for missing multi-sector support
 2129:        for ATA READ LOG EXT command.
 2130: 
 2131:   [CF] Fix Extended Comprehensive Error Log index base.
 2132:        Add workaround for Samsung disks using reserved byte as index.
 2133: 
 2134:   [CF] knowndrives.cpp updates: Update bug warnings for
 2135:        Seagate 7200.11, ES.2 and DiamondMax 22. Add new entries
 2136:        for fixed firmware versions.
 2137: 
 2138:   [CF] Add smartctl option '-l xerror[,NUM]' to print
 2139:        ATA SMART Extended Comprehensive Error Log (GP Log 0x03).
 2140: 
 2141:   [MS] knowndrives.cpp update:
 2142:        Added remaining WD Scorpio Blue SATA II drives
 2143: 
 2144:   [CF] Minor fix to remove ID 0 from 'smartctl -l sataphy ...' output.
 2145: 
 2146:   [CF] knowndrives.cpp updates: Add warnings about possible firmware
 2147:        bugs to Seagate 7200.11, ES.2 and DiamondMax 22 entries.
 2148: 
 2149:   [CF] knowndrives.cpp updates: Add Samsung SpinPoint F1 series.
 2150: 
 2151:   [CF] Windows: Fix return value of scsi_pass_through(). Regression
 2152:        was introduced during migration to new interface. SAT over USB
 2153:        now works on XP (both '-d sat,12' and '-d sat,16').
 2154: 
 2155:   [MS] knowndrives.cpp updates:
 2156:        - Added Western Digital RE2-GP family
 2157:        - Added Hitachi Travelstar E5K160 family
 2158:        - Allow uppercase variants of Hitachi 5K160 drives
 2159: 
 2160:   [CF] Fix smartctl crash on '-l directory,[gs]'. Allow to override
 2161:        missing GPL feature bit or missing log dir entry with
 2162:        '-T permissive' option.
 2163: 
 2164:   [SZ] os_freebsd.cpp, os_freebsd.h updates:
 2165:        Support HighPoint RocketRAID controller under FreeBSD
 2166: 
 2167:   [MS] knowndrives.cpp updates:
 2168:        - Added Western Digital RE3 32MB cache variants
 2169:        - Added WD Caviar Green 32MB cache variant (WD10EADS)
 2170:        - Added WD Scorpio Black family
 2171: 
 2172:   [DG] Accept half healthy (and half unhealthy) indication from the
 2173:        SMART RETURN STATUS. This makes allowance for SAT implementations
 2174:        (e.g. via USB) that truncate the SCSI sense buffer to 18 bytes.
 2175:        This truncation causes the SMART RETURN STATUS indication to be
 2176:        half health or unhealthy. If the half indication is used, then
 2177:        warn if '-r ioctl' is given.
 2178: 
 2179:   [MS] knowndrives.cpp updates:
 2180:        - Added Apple SSD
 2181:        - Added Seagate U8 family
 2182: 
 2183:   [DL] os_freebsd.cpp:
 2184:        Added support for CHECK_POWER_MODE and WRITE_LOG commands
 2185: 
 2186:   [MS] knowndrives.cpp update:
 2187:        There seem to exist WD Raptors with SATA II interface, add them.
 2188: 
 2189:   [MS] knowndrives.cpp updates:
 2190:        - Added remaining Seagate Barracuda 7200.11 drives
 2191:        - Added HP 1TB SATA disk
 2192: 
 2193:   [MS] knowndrives.cpp updates:
 2194:        - Added Maxtor 92040U6 (DiamondMax Plus 6800)
 2195:        - Added Seagate Maxtor DiamondMax 21 500GB version
 2196:        - Added QUANTUM FIREBALLlct15 22
 2197:        - Added QUANTUM FIREBALL CR6.4A
 2198:        - Added QUANTUM FIREBALLP LM20.4
 2199:        - Added SUN branded Toshiba MK4019GAX
 2200:        - Added TOSHIBA MK1016GAP and relatives: MK1[05]1[67]GAP
 2201:        - Added Western Digital WD800AB and WD2500AB
 2202:        - Some Hitachi 7K160 drives have garbage at end of name: permit it
 2203: 
 2204:   [CF] Add smartd '-n powermode,N' directive parameter to limit the
 2205:        number of skipped checks. Thanks to Michal Hlavinka for the patch.
 2206: 
 2207:   [MS] knowndrives.cpp updates:
 2208:        - Added Hitachi Endurastar J4K30/N4K30
 2209:        - Added Hitachi Travelstar 4K120 series
 2210:        - Some Hitachi 7K80 drives have garbage at end of name: permit it
 2211:        - IBM Travelstar 6GN series
 2212: 
 2213:   [MS] knowndrives.cpp updates:
 2214:        - Added Quantum Fireball ST4300A
 2215:        - Added Asus-Phison SSD (solid state disk)
 2216:        - Added Seagate DB35.3 Series
 2217:        - Added remaining disks of the Seagate SV35.2 Series
 2218: 
 2219:   [MS] Fix trivial compile error with "-pedantic"
 2220: 
 2221:   [MS] Workaround for huge raw values of Reallocated_Sector_Ct and
 2222:        Reallocated_Event_Ct for newer Fujitsu disks (only the lower
 2223:        16 bits seem to be meaningful). Clip the display to 16 bits
 2224:        and show the remaining part, if existent, in parens. Patch by [CF].
 2225: 
 2226:   [CF] smartd DEVICESCAN: Fix autodetection of SAT devices.
 2227:        Thanks to Stanislav Brabec for bug report and testing.
 2228: 
 2229:   [MS] knowndrives.cpp update:
 2230:        Convert file to full string regex: remove "^$" from pattern
 2231: 
 2232:   [MS] knowndrives.cpp updates:
 2233:        - Added Seagate Momentus 5400 PSD series (hybrid drives)
 2234:        - Added Seagate Momentus 7200.3 series
 2235:        - Added Hitachi Deskstar 7K250 (SUN branded)
 2236:        - There are Hitachi Travelstar 5K250 drives with capital "HITACHI"
 2237:        - Correct regex for Maxtor VL 30 drives
 2238: 
 2239:   [CF] Add configure options '--enable-savestates' and
 2240:        '--with-savestates=PREFIX' to enable smartd persistence
 2241:        ('-s' option) by default.
 2242: 
 2243:   [CF] smartd: Add '-s ([cnr]/../.././..)' directive to run scheduled
 2244:        selective self-tests. Useful to perform full tests of large disks
 2245:        not running 24x7.
 2246: 
 2247:   [CF] Allow to read local drive database entries from optional file
 2248:        '${sysconfdir}/smart_drivedb.h'.
 2249:        Add configure options '--enable-drivedb' and '--with-drivedbdir=DIR'.
 2250:        If specified, drive database is read from '${drivedbdir}/drivedb.h'.
 2251:        (default '${prefix}/share/smartmontools/drivedb.h'). This file
 2252:        is build from knowndrives.cpp.
 2253: 
 2254:   [MS] knowndrives.cpp updates:
 2255:        - Added 640GB variants of Western Digital AAKS and AACS drives
 2256:        - Added Western Digital AV ATA family
 2257:        - Added 160GB variant of Hitachi P7K500
 2258:        - Added 500GB variant of Hitachi 7K1000
 2259:        - Some cleanup for Quantum disks
 2260:        - Added Seagate Maxtor DiamondMax 22 family
 2261: 
 2262:   [CF] Use full string match for regexp in drive database.
 2263: 
 2264:   [CF] Add option '-d sat+TYPE' to use SAT with controllers which
 2265:        require option '-d TYPE'. Should work with '-d sat+megaraid,N'.
 2266:        As a side effect, '-d usbcypress+TYPE' is also supported.
 2267: 
 2268:   [CF] Add parser to read drive database from a file. Add '-B' option
 2269:        to smartctl and smartd to specify database file name. File syntax
 2270:        is identical to the C/C++ syntax used to inialize the internal
 2271:        database array.
 2272: 
 2273:   [CF] New syntax for drive database: Specify presets by strings
 2274:        with '-v' and '-F' options. Use empty strings instead of NULL.
 2275: 
 2276:   [JPH] Added Linux support for viewing disks behind MegaRAID
 2277:   	controllers
 2278: 
 2279:   [CF] smartd: Improve min/max temperature recording in conjunction
 2280:        with '-s' option.
 2281: 
 2282:   [CF] Add a wrapper class for FILE *.
 2283: 
 2284:   [CF] smartd: Add experimental support for state persistence (ATA only).
 2285:        Add option '-s' to specify path prefix for state files.
 2286:        Rework scheduled self-test detection to support persistence.
 2287:        If any test schedules are within downtime, the highest priority
 2288:        test is run after next startup.
 2289: 
 2290:   [CF] Remove casts from 'format_ata_string()' calls.
 2291: 
 2292:   [CF] Minor changes to fix errors and warnings from Cygwin gcc 4.3.0.
 2293: 
 2294:   [CF] smartd: Remove SCSITIMEOUT code. According to smartd.h 1.54 CVS log
 2295:        from 2003-10-27, it did never work.
 2296: 
 2297:   [CF] Remove dependencies ataprint.cpp and scsiprint.cpp from smartd.
 2298:        Move common ATA functions from ataprint.cpp to atacmds.cpp.
 2299:        Module scsiprint.cpp was apparently never used in smartd.
 2300: 
 2301:   [CF] Move smartd local declarations from smartd.h and utility.h to
 2302:        smartd.cpp. Remove smartd.h.
 2303: 
 2304:   [CF] Fixed extra '\n' in "Offline data collection status" output.
 2305:        Thanks to Alexander Shaduri for the patch.
 2306: 
 2307:   [CF] smartd: Separate device configuration data from device state data.
 2308:        Use references instead of pointers for configuration and state data.
 2309: 
 2310:   [CF] Add const-correctness and static to ATA support functions.
 2311: 
 2312:   [CF] Add a wrapper class for regex.
 2313: 
 2314:   [CF] Simplify 'create_vendor_attribute_arg_list()'.
 2315: 
 2316:   [CF] smartd: Rework of main data structures. Remove explicit memory
 2317:        allocations, use STL containers and structs with value semantics
 2318:        instead. Remove old malloc/free based memory management helper
 2319:        functions unless old interface is still in use.
 2320: 
 2321:   [CF] Linux: Cleanup device scan, remove name list, create objects directly.
 2322: 
 2323:   [CF] Linux: Cleanup smart_device::open(), type strings are no longer used.
 2324: 
 2325:   [CF] Remove CONTROLLER_* defines and variables unless old interface
 2326:        is still in use.
 2327: 
 2328:   [CF] Linux: Migrate 3ware interface to 'ata_pass_through()'.
 2329:        Multi-sector support is not complete yet. 48-bit commands
 2330:        possibly work.
 2331:        WARNING: Not tested, please review code before first test!
 2332: 
 2333:   [CF] Linux: Migrate os_linux.cpp to new interface.
 2334: 
 2335:   [CF] Add direct access to 16-bit registers in 'ata_in/out_regs_48bit'.
 2336: 
 2337:   [CF] Add 'ata_cmd_is_ok()' parameter check,
 2338:        remove 'ata_pass_through_28/48bit()' functions.
 2339: 
 2340:   [CF] Add CVS date/time from cvsversion.h to man pages also.
 2341: 
 2342:   [CF] Add configure option '--with-os-deps='os_module.o ...' to specify
 2343:        alternate OS interface modules. Useful for testing during migration.
 2344: 
 2345:   [CF] Remove declarations of 'optarg', 'optind', ..., include <unistd.h>
 2346:        instead. This fixes 'auto-importing' linker warnings on Cygwin.
 2347: 
 2348:   [CF] Add '-l sataphy[,reset]' to print SATA Phy Event Counters.
 2349: 
 2350:   [CF] Add '-l gplog,ADDR[,FIRST[-LAST|+SIZE]]' and '-l smartlog,...'
 2351:        to dump any log page accessible via GP or SMART read log commands.
 2352: 
 2353:   [CF] Enhance '-l directory' to print both GP and SMART Log directories.
 2354:        Add '-l directory[,gs]' modifiers to select GP or SMART log.
 2355:        Enhance 'ata_cmd_in' parameter struct for 48-bit commands.
 2356: 
 2357:   [CF] Windows: Add full ATA pass through support including 48-bit commands.
 2358: 
 2359:   [CF] Windows: Migrate os_win32.cpp to new interface.
 2360: 
 2361:   [CF] SAT: Add full ATA pass through support including 48-bit commands.
 2362: 
 2363:   [MS] knowndrives.cpp update
 2364:        - Added FUJITSU MHZ2250BS G2 and family
 2365: 
 2366:   [MS] knowndrives.cpp updates
 2367:        - Added Maxtor DiamondMax 60 94098H6
 2368:        - Added Maxtor DiamondMax 1280 84000A6 and family
 2369:        - Added Maxtor DiamondMax VL 30 31536H2 (ATA100) and family
 2370:        - Some Seagate Barracuda 7200.9 have garbage at end of name: permit it
 2371:        - Added Seagate Barracuda ATA ST320430A and family
 2372:        - Regression from previous checkin: add WD RE2 WD...0ABYS again
 2373:        - Added WD RE3 WD5002ABYS and family
 2374:        - Added Quantum Fireball CR13.0A
 2375:        - Added Hitachi Travelstar 5K250 HTS542525K9SA00 and family
 2376:        - Added WD AC420400D and add whole range of AC.... which
 2377:            have 5400rpm or higher (i.e. PIO-only drives omitted)
 2378: 
 2379:   [MS] knowndrives.cpp updates
 2380:        - WD: Separated entries for EIDE and SATA
 2381:        - WD: Separated entries for Caviar SE, SE16, RE, RE2
 2382:        - WD Named: WD Caviar AC series
 2383:        - WD Renamed: WD Caviar RE/RE2 -> WD RE/RE2
 2384:        - WD Renamed: WD Caviar SE/SE16 WD....AA[A-Z][A-Z] -> WD Caviar Blue
 2385:        - WD Renamed: WD Scorpio WD....BEV[A-Z] -> WD Scorpio Blue
 2386:        - Added WD Scorpio Blue WD3200BEVT
 2387:        - Added WD RE2 WD5001ABYS and family
 2388:        - Added WD Caviar Green WD5000AACS and family
 2389:        - Added WD VelociRaptor WD3000GLFS and family
 2390:        - Added Seagate Barracuda ES.2 ST31000340NS and family
 2391:        - Added Samsung SP80A4H
 2392:        - Added Maxtor DiamondMax 21 STM3160215AS and STM3320620AS
 2393:        - Added Seagate Barracuda 7200.7 ST380819AS
 2394:        - Added Maxtor DiamondMax 10 6B100P0
 2395:        - Added Seagate SV35.2 Series
 2396:        - Added Fujitsu MHY2120BH and family
 2397:        - Added Fujitsu MHW2080BH PL (PL variant)
 2398:        - Added Toshiba MK3252GSX and family
 2399: 
 2400:   [BA] Fix smartctl bug: when running in silent mode '-q errorsonly'
 2401:        do not print the Selective Self-test log.  Any errors will
 2402:        ALREADY appear in the SMART Self-test log.
 2403: 
 2404:   [CF] Add missing 'const' and other minor fixes to prevent gcc warnings.
 2405: 
 2406:   [OB] Added information message about supported Areca firmware versions.
 2407:        It's displayed in case the ATA device identification fails.
 2408: 
 2409:   [CF] Add configuration file for Doxygen.
 2410: 
 2411:   [CF] Add new object oriented interface to access ATA and SCSI devices.
 2412:        smartctl and smartd are modified to use the new classes in
 2413:        'dev_interface.{h,cpp}'. The template class in 'dev_tunnelled.h'
 2414:        is used in 'scsiata.cpp'. The code in 'dev_ata_cmd_set.{h,cpp}'
 2415:        supports migration from old function 'ata_command_interface()'.
 2416:        All existing 'os_*.cpp' modules should still work without any changes.
 2417:        The required adapter classes from 'dev_legacy.cpp' are automatically
 2418:        added by configure if necessary.
 2419: 
 2420:   [BA] Updated smartd and smartctl and smartd.conf man-page documentation
 2421:        to reflect support for Areca SATA RAID controller cards.
 2422: 
 2423:   [OB] Added support for Areca controllers to smartd. Extensive tests
 2424:        as well as documentation are still pending however.
 2425: 
 2426:   [OB] Implemented device locking for Areca controllers in smartctl
 2427: 
 2428:   [BA] Fixed selective self-test code.  Data structure revision number
 2429:        may be != 1 if no selective self-test has ever been run.  Host
 2430:        MUST set this value (at least at the first selective self-test
 2431:        instance).  Thanks to Curtis Stevens of WDC for clarification.
 2432: 
 2433:   [MC] usbcypress autodetection
 2434: 
 2435:   [BA] Starting to commit Areca code.  For now just smartctl.
 2436:        More changes and documentation coming soon.
 2437:        Need Areca firmware version 1.45 dated 10 June 2008 or later.
 2438:        May need changes in opening /dev/sg and file locking.
 2439:        Many thanks to Hank Wu!
 2440: 
 2441:   [CF] smartd: Fix too small name buffer for 3ware with >100 devices.
 2442: 
 2443:   [JH] now C++ Support for QNX Target
 2444:        already tested for QNX 6.3.2 on x86 and armle target
 2445:    
 2446:   [CF] Allow to set BUILD_INFO from make command line.
 2447: 
 2448:   [CF] Windows: Add MSVC8 support, remove MSVC6 project files.
 2449: 
 2450:   [MC] Add usbcypress device support for smartd.
 2451: 
 2452:   [CF] Add output of latest CVS date/time stamp to version info.
 2453:        New file cvsversion.h is generated by Makefile.
 2454:        Move formatting of version info to utility.cpp.
 2455: 
 2456:   [AR] Fix bug in 3ware node creation where nodes would be created
 2457:        then deleted, then recreated.
 2458: 
 2459:   [BA] Add missing CCISS cvs version tags to '-V' printouts.
 2460: 
 2461:   [TS] Linux: Ensure the 3ware device nodes are created with a correct
 2462:        SELinux security context.
 2463: 
 2464:   [AR] Add support for up to 128 devices on 3ware controllers.
 2465: 
 2466:   [CF] C++: Added new main() with exception handlers, replaced
 2467:        exit(x) with throw(x), removed global variable 'exitstatus'.
 2468:        Necessary for future changes, because exit() does not call
 2469:        any destructors.
 2470: 
 2471:   [SS] FreeBSD: plug file descriptor leak in smartd (only happens with
 2472:        CISS devices).  Reported by Vadim Ostranitsyn.
 2473: 
 2474:   [SS] FreeBSD: allow smartctl to interact with SCSI /dev/pass devices,
 2475:        thus enabling it to work with RAID controllers that expose disks
 2476:        via these devices.  From scottl@ via FreeBSD ports.
 2477: 
 2478:   [MC] Add usbcypress device support for smartctl.
 2479: 
 2480:   [KS] INSTALL on Solaris: updated description to use C++ compiler.
 2481: 
 2482:   [KS] configure.in on Solaris: added options for Sun's compiler to
 2483:        suppress trivial warnings.
 2484: 
 2485:   [KS] configure.in on Solaris: added direction to search suitable
 2486:        libraries for getaddrinfo().
 2487: 
 2488:   [TS] smartd on Linux: remove forgotten return from deviceopen();
 2489:        SCSI device descriptors had the FD_CLOEXEC flag unset.
 2490: 
 2491:   [CF] Added 'const' to avoid warning on depreciated string constant
 2492:        to 'char *' conversion.
 2493: 
 2494:   [CF] autogen.sh: automake 1.10.1 is OK. Updated message texts.
 2495: 
 2496:   [BA] removed smartmontools.spec file (now in CVS Attic).  This
 2497:        was not being used by RH or FC anyhow, and was out of
 2498:        date and not maintained.
 2499: 
 2500:   [BA] smartd on Linux: sets FD_CLOEXEC on the opened device file
 2501:        descriptor.  The descriptor is otherwise leaked to other
 2502:        applications (mail sender) which may be considered a security
 2503:        risk and may result in AVC messages on SELinux-enabled systems.
 2504:        Thanks to: Tomá Smetana" <tsmetana@redhat.com>.
 2505: 
 2506:   [BA] smartd: when sending email, to gather information about the
 2507:        host for the body of the email, eliminate gethostbyname()
 2508:        in favor of the IPv6-friendly function getaddrinfo() if the
 2509:        latter is available.  Info may be found here
 2510:        http://udrepper.livejournal.com/16116.html
 2511:        and here
 2512:        http://people.redhat.com/drepper/userapi-ipv6.html
 2513:        Thanks to: Tomá Smetana" <tsmetana@redhat.com>.
 2514: 
 2515:        Smartmontools developers: please check that smartd still LINKS
 2516:        properly on your systems.
 2517: 
 2518:   [BA] Fix ugly syntax bug in os_freebsd.cpp.  How did this go
 2519:        undetected for so long??
 2520: 
 2521: SMARTMONTOOLS STABLE RELEASE 5.38 2008/03/10
 2522: 
 2523:   [KS] Solaris/x86: modified configure.in for Sun's compiler.
 2524: 
 2525:   [BA] smartd.initd.in addition from Erwan Velu <erwan@seanodes.com>
 2526: 
 2527:   [BA] smartd fixes:
 2528: 
 2529:        - On Linux, DEVICESCAN now automatically recognizes SATA devices
 2530:          behind libata, and SATA devices behind the Marvell driver, and
 2531:          treats them correctly.
 2532: 
 2533:        - On Linux, a '-d sat' or '-d marvell' is automatically added
 2534:          if libata or the marvell driver are recognized behind a SCSI
 2535:          device type
 2536: 
 2537:   [SS] (Maybe) fix attribute autosave in FreeBSD.
 2538: 
 2539:   [SS] Major NetBSD-specific bugfixes:
 2540:        - handle actual SCSI and ATA errors and not only ioctl() errors;
 2541:        - set up I/O request properly for AUTO_OFFLINE and AUTOSAVE commands (inspired by
 2542:          similar change in os_freebsd.cpp);
 2543:        - handle AUTO_OFFLINE and AUTOSAVE like STATUS_CHECK (like os_linux.cpp does).
 2544: 
 2545:   [GG] add kfreebsd gnu support to configure.in
 2546: 
 2547:   [BA] Fix auto-offline support in FreeBSD.  Thanks to
 2548:        Cyrus Rahman <crahman@gmail.com> for the patch, and
 2549:        Eduard Martinescu for blessing it.
 2550: 
 2551:   [DG] smartd re-opens "SCSI" devices as ATA devices if a SAT layer is
 2552:        detected (smartd bug IMO). In Linux this upsets scsi generic
 2553:        device nodes (e.g. /dev/sg0). Detect the re-open in os_linux.cpp
 2554:        and set the O_RDWR flag (ATA uses the O_RDONLY flag).
 2555: 
 2556:   [CF] Drive database: Added Fujitsu MHW2 BH, Maxtor DiamondMax 17, 20, 21,
 2557:        Hitachi Travelstar 4K40, 5K120, 7K200, Deskstar 7K160, T7K500,
 2558:        T7K1000, Toshiba 1.8", Seagate Momentus 5400.3, 5400.3 ED, 7200.2,
 2559:        Barracuda 7200.11 and ES.
 2560:        Updated Toshiba 2.5", Seagate Barracuda 7200.9 and 7200.10.
 2561:        Added missing "(Hitachi )?" to Travelstar entries.
 2562: 
 2563:   [CF] Drive database: Added several Western Digital Caviar and Scorpio
 2564:        drives, added Caviar RE EIDE family.
 2565: 
 2566:   [CF] Drive database: Added Samsung P80 series with *-25 firmware.
 2567: 
 2568:   [CF] Replaced 'head [-n] -1' by 'sed 1...' in autogen.sh to avoid
 2569:        portability issues.
 2570: 
 2571:   [BA] Fixed autogen.sh script so that it uses 'grep -n 1' if 'grep -1'
 2572:        fails.  Needed for Mac OS X 10.4. Uck.
 2573:  
 2574:   [CF] Windows: Added IOCTL_STORAGE_PREDICT_FAILURE. This allows access
 2575:        to ATA SMART status and data if other calls do not work.
 2576:        Thanks to Jaroslaw Kowalski for pointing this out.
 2577:        Added support to use this function without admin rights.
 2578: 
 2579:   [CF] Added ATA-8 revision 4c message text.
 2580: 
 2581:   [CF] Added compiler.h to cciss_ioctl.h header check to prevent
 2582:        configure warning.
 2583: 
 2584:   [SS] DragonFly support added (using os_freebsd code; untested).
 2585: 
 2586:   [CF] smartctl: Fixed ATA identify byte swapping issue on big-endian
 2587:        platforms. This regression was introduced by the change for
 2588:        '-F swapid'. Thanks to Matthew Butch for bug report and testing.
 2589: 
 2590:   [DG] SAT/SCSI: Improve SAT error processing code. Aborted commands from
 2591:        ATA devices (typically because SMART was disabled) were not being
 2592:        properly detected.
 2593: 
 2594:   [GG] smartd: wait for the pid file to show up, return an error if it doesn't
 2595: 
 2596:   [JH] fix bad return code (get STATUS) for QNX Part
 2597: 
 2598:   [JH] initial porting to QNX Neutrino 6.3.2
 2599:        need at this time a prerelease devb-eide driver and libcam.so.2
 2600:        only tested for X86 Target, but devb-eide and lobcam.so.2 available for X86/ARM
 2601:        the officional driver coming soon with the next QNX release
 2602:        create two new source files os_qnxnto.[c..h]
 2603: 
 2604:   [CF] smartd: Added option '-n, --no-fork' so that smartd works
 2605:        better with modern init methods. Thanks to Enrico Scholz
 2606:        for the patch from 2005-12-24.
 2607: 
 2608:   [CF] Windows: Improved ATA/SCSI device type detection and
 2609:        DEVICESCAN. This also fixes a regression in 3ware DEVICESCAN.
 2610: 
 2611:   [CF] smartd: Don't start self tests in first pass to avoid
 2612:        performance problems during boot.
 2613:        https://bugzilla.novell.com/show_bug.cgi?id=192591
 2614: 
 2615:   [CF] Fixed regression in SMART STATUS command on Win9x/ME.
 2616: 
 2617:   [BA] Fixed 3ware issue with new controllers.  Documentation said
 2618:        that one could address up to 24 disks on a single controller,
 2619:        but in fact one was limited to 16 disks.  This is now fixed:
 2620:        up to 32 disks can be addressed.  Thanks to Adam Radford.
 2621: 
 2622:        NOTE1: I have patched the Linux and FreeBSD code but not
 2623:        modified the Win32 code (it already supports up to 32 disks).
 2624: 
 2625:        NOTE2: NOT TESTED ON LINUX.  Do not use this on a production box!
 2626:        I will remove this NOTE2 as soon as some positive test
 2627:        reports are recieved.
 2628: 
 2629:        NOTE3: NOT TESTED ON FREEBSD. Do not use this on a production box!
 2630:        I will remove this NOTE3 as soon as some positive test
 2631:        reports are recieved.
 2632: 
 2633:   [CF] Windows installer: Added explorer drive menu, CMD window,
 2634:        UBCD4Win plugin, smartd service update and other minor
 2635:        improvements.
 2636: 
 2637:   [CF] Windows: Modified drive letter handling for explorer drive
 2638:        context menu: try SCSI if type is unknown, allow 'X:\.' syntax.
 2639: 
 2640:   [CF] Windows: Added automatic ATA/SCSI device type detection and
 2641:        SCSI device scanning. The device names '/dev/sdX' and
 2642:        '/dev/pd<n>' now work for both ATA and SCSI disks.
 2643: 
 2644:   [CF] smartctl: Added ability to parse '-r ataioctl,2' output from
 2645:        stdin ('-') and simulate the ATA commands for testing purposes.
 2646: 
 2647:   [BA] SMART Attributes: added 187, 189, more accurate name for 190.
 2648: 
 2649:   [CF] Windows: Added drive letters 'X:' as alternate disk device names.
 2650: 
 2651:   [CF] smartctl: Added '-F swapid' to fix ATA identify string byte
 2652:        ordering. Added '-q noserial' to suppress serial number output.
 2653: 
 2654:   [CF] Windows: Added '/dev/n?st<n>' as alternate device names for SCSI
 2655:        tapes. These names are also used by Cygwin's /dev emulation layer.
 2656:        Thanks to Corinna Vinschen (Cygwin project lead) for pointing this
 2657:        out. 
 2658: 
 2659:   [CF] Windows: Added IOCTL_SCSI_MINIPORT_*SMART* for commands not handled
 2660:        properly by SMART_IOCTL in disk class driver. This allows to use
 2661:        READ_LOG, WRITE_LOG and ABORT_SELFTEST even if the driver does not
 2662:        support ATA_PASS_THROUGH.
 2663: 
 2664:   [CF] Added ATA-8 revision 4, fixed WRITE LOG '-r ioctl' output.
 2665: 
 2666:   [BA] Updated smartctl and smartd so that they can be used with the latest
 2667:        3ware controllers which have 24 ports.  Also updated docs.
 2668:        Thanks to Tim Bell at CERN.
 2669: 
 2670:   [GG] bit 4 in smartctl's return code might be set even when the dist check
 2671:        didn't return "DISK OK"
 2672: 
 2673:   [CF] Drive database: added '-F samsung3' for Samsung P80 firmware
 2674:        BH100-35.
 2675: 
 2676:   [SS] Applied patch from Dean Bennett to fix scheduled tests on 
 2677:        Highpoint RAID controllers.
 2678: 
 2679:   [BA] Added patch from Tejun Heo http://thread.gmane.org/gmane.linux.ide/13222/focus=13235
 2680:        to fix broken auto-offline and auto-save via libata.  Very clean fix: does it
 2681:        "the right way".  Thanks Tejun!
 2682: 
 2683:   [CF] Added message text for ATA-7 self-test execution status 8
 2684:        ("... handling damage").
 2685: 
 2686:   [GG] cciss: support more than 16 disks (patch taken from
 2687:        http://cciss.sourceforge.net/smartmontools_cciss_more_than_16_drives.patch
 2688:        and adjusted for smartd)
 2689: 
 2690:   [DG] Solaris: [SCSI] add USCSI_RQENABLE flag to uscsi pass-through so
 2691:        sense buffer is made available. Expand reporting at this level.
 2692: 
 2693:   [GK] Darwin: Improve handling of powered-down drives.
 2694: 
 2695:   [SS] CCISS physical drive enumeration method changed (incompatibly).
 2696: 
 2697:   [CF] Fixed smartd crash on missing '-s' directive argument.
 2698: 
 2699:   [SS] Support CCISS on FreeBSD (kernel source is required until FreeBSD PR 109813
 2700:        is fixed).
 2701: 
 2702:   [DG] SCSI/TAPE: some IBM tape drives don't react properly to a LOG
 2703:        SENSE with an allocation length of 4; work around for that case.
 2704: 
 2705:   [CF] Applied Guido's patch to fix CCISS LUN array bounds check
 2706:        (openSUSE bug #239956) and remove trailing spaces in
 2707:        os_linux.cpp.
 2708: 
 2709:   [CF] Fixed 64-bit compilation issue in SCT status struct.
 2710: 
 2711:   [DG] SAT/SCSI: make real SCSI disks visible to DEVICESCAN in
 2712:        smartd again.
 2713: 
 2714:   [CF] Fixed check of SCT temperature table size.
 2715: 
 2716:   [CF] Added ATA-8 draft revisions, added SCT status format 3.
 2717: 
 2718:   [CF] Drive database: added Samsung T166 series.
 2719: 
 2720:   [CF] ATA: Added ',p' option for '-t scttempint,N' to make
 2721:        setting persistent.
 2722: 
 2723:   [CF] ATA: Added '-t scttempint,N' option to set SCT temperature
 2724:        logging interval.
 2725: 
 2726:   [CF] ATA: Added '-l scttemp[sts,hist]' options to print disk
 2727:        temperature information and history table provided by
 2728:        SMART Command Transport (SCT) Feature Set.
 2729: 
 2730:   [CF] ATA: Added '-t selective,{redo,next,cont}' commands to
 2731:        perform tests based on the last ranges still stored on
 2732:        disk. Added 'N+SIZE' and 'N-max' format for LBA range
 2733:        specification.
 2734: 
 2735:   [CF] Added Min/Max Temperature format used in attribute 190 of
 2736:        recent Maxtor disks (DiamondMax 20).
 2737: 
 2738:   [CF] Linux: Added check for <linux/cciss_ioctl.h> to allow build
 2739:        (without CCISS support) also when this file is missing.
 2740: 
 2741:   [CF] Added -F samsung3 option to correct firmware bug reporting
 2742:        completed self-tests as still in progress. Thanks to Manfred
 2743:        Schwarb for the patch.
 2744: 
 2745:   [CF] Added missing const specifiers (undetected by gcc 3.4 and 4.X)
 2746:        to fix compilation with gcc 2.X.
 2747: 
 2748:   [CF] Linux: compile fix for SuSE, config.h must be included first.
 2749: 
 2750: smartmontools 5.37 Experimental Release
 2751: 
 2752:   [CF] Windows: Added alternate method for (limited) monitoring of
 2753:        3ware controllers by parsing the output of CLI or 3DM.
 2754:        Either "tw_cli" can be run internally ("/dev/tw_cli/cx/py"),
 2755:        or data can be read from standard input ("/dev/tw_cli/stdin")
 2756:        or clipboard ("/dev/tw_cli/clip").
 2757: 
 2758:   [DG] Remove linux specific libata detect code; rely on general SAT
 2759:        code. smartd should now generate a sensible log message for
 2760:        ATA devices behind a SAT layer on all architectures.
 2761: 
 2762:   [BA] Increased max line length MAXLINELEN for /etc/smartd.conf from
 2763:        128 to 256 characters to handle long strings in
 2764:        /dev/disk/by-id.  Thanks to Martin Krafft.
 2765: 
 2766:   [PW] Drive database: added missing drives from Seagate Momentus 5400.2
 2767:        family
 2768: 
 2769:   [BA] Finished Christian's fix (next item below) by removing
 2770:        LINUX_86_64 hack from configure.in.
 2771: 
 2772:   [CF] Fixed inclusion of PRI?64 macros from inttypes.h.
 2773: 
 2774:   [CF] Windows: Added WRITE LOG to support selective self tests.
 2775: 
 2776:   [CF] Fix selective self test log revision number if '-T permissive'
 2777:        is specified (Tested with Samsung HD401LJ).
 2778: 
 2779:   [CF] Windows: Fixed int64 printf format for MinGW runtime.
 2780: 
 2781:   [PW] Drive database: added Seagate Barracuda 7200.10 family, Seagate
 2782:        Momentus 42 family, Maxtor DiamondMax 60 ATA 66 family, Maxtor
 2783:        DiamondMax 60 ATA 100 family, and Western Digital Caviar Serial
 2784:        ATA family
 2785: 
 2786:   [PW] Drive database: added missing drives from Seagate Barracuda
 2787:        7200.9 family, Seagate Barracuda 7200.7 family, Seagate Momentus
 2788:        7200.1 family, Toshiba 2.5" HDD family (80 GB and above), Western
 2789:        Digital Caviar RE Serial ATA family, Hitachi Deskstar 7K80 family,
 2790:        and Maxtor DiamondMax 4320 Ultra ATA family
 2791: 
 2792:   [BA] Linux: compile fix for SuSE.  Check for existence
 2793:        of linux/compiler.h and include in os_linux.h if
 2794:        present.  Thanks to SB.
 2795: 
 2796:   [BA] smartd: DEVICESCAN will now pick up SATA/SAT devices
 2797:        attached to a SCSI device tree via SAT translation.
 2798:        Note: this is a bit of a hack.  I will document it once
 2799:        I know if this needs to be Linux only or can have more
 2800:        general application.
 2801: 
 2802:   [BA] Added a couple SATA commands to the tables -- thanks DG!
 2803:        Phil -- how about going through and systematically adding
 2804:        these new commands to atacmdnames.cpp?
 2805: 
 2806:   [BA] Linux s86_64: get rid of some compiler warnings on
 2807:        x86_64 Linux systems.
 2808: 
 2809:   [CF] Windows: Added missing support for READ_LOG, ABORT_SELFTEST
 2810:        and CHECK_POWER_STATE for 3ware 9000 controllers. Thanks to
 2811:        Greg de Valois for implementing this new ioctl in the driver.
 2812: 
 2813:   [PW] Drive database: added Seagate NL35 SATA family.  Thanks to Kai
 2814:        Harrekilde-Petersen for providing a patch.
 2815: 
 2816:   [DG] [SCSI, Windows] add SPT interface for NT and later. New device
 2817:        names are "pd<n>", "sd<l>" and "tape<n>".
 2818: 
 2819:   [PW] Drive database: added Western Digital Scorpio family, Fujitsu MHV
 2820:        family, Maxtor MaXLine Pro 500 family, and Maxtor DiamondMax 11
 2821:        family
 2822: 
 2823:   [PW] Drive database: added missing drives from Toshiba 2.5" HDD
 2824:        (30-60 GB) family, Maxtor DiamondMax 10 family, Seagate Barracuda
 2825:        7200.8 family, Fujitsu MHT family, and Maxtor DiamondMax Plus 8
 2826:        family
 2827: 
 2828:   [SB] Added examplescripts/Example4 using powersave-notify.
 2829: 
 2830:   [SB] More temperature monitoring examples in smartd.conf with DEVICESCAN.
 2831: 
 2832:   [SB] Minor improvements of SuSE part of init script.
 2833: 
 2834:   [CF] Drive database: added Samsung P80 series, P120 series, SP8004H
 2835:        and T series.
 2836: 
 2837:   [GG] Add CCISS (Compaq Smart Array Controller) support with contributions
 2838:        from Praveen Chidambaram, Douglas Gilbert, Guido Guenther and Frédéric
 2839:        BOITEUX
 2840: 
 2841:   [PW] Drive database: added Hitachi Deskstar T7K250 and Hitachi
 2842:        Deskstar 7K500 series.  Thanks to L. J. Wu for providing a
 2843:        patch
 2844: 
 2845:   [PW] Drive database: added Maxtor MaXLine III family, Seagate U7
 2846:        family, Seagate ST34321A, FUJITSU MHM2060AT, FUJITSU MHT2040AS,
 2847:        Western Digital Caviar SE16 family, IBM Travelstar 4GT family,
 2848:        QUANTUM FIREBALLP KA9.1, QUANTUM FIREBALL SE4.3A, TOSHIBA
 2849:        MK1032GAX, TOSHIBA MK4026GAX
 2850: 
 2851:   [PW] Drive database: added missing drives from Western Digital Caviar
 2852:        SE (Serial ATA) and WD Raptor families
 2853: 
 2854:   [CF] Windows: Added support for 3ware 9000 controllers using extended
 2855:        SMART functionality in new 3ware driver. This includes DEVICESCAN
 2856:        support for at most 2 controllers. Thanks to Greg de Valois from
 2857:        AMCC/3ware for new driver features, development support and
 2858:        hardware for testing.
 2859: 
 2860:   [SZ] smartd: Support HighPoint RocketRAID controller under GNU/linux
 2861: 
 2862:   [DG] [SCSI] First cut for '-l background' to show background scan
 2863:        results log
 2864: 
 2865:   [SZ] smartctl: Support HighPoint RocketRAID controller under GNU/linux
 2866: 
 2867:   [KS] C++ compile fixes for Solaris with a few cleanups.
 2868: 
 2869:   [BA] C++ compile fixes for Darwin (thanks to CF)
 2870: 
 2871:   [CF] Removed old *.c files (now in CVS Attic).
 2872: 
 2873:   [CF] Added changes for C++ to platform independent and Windows
 2874:        related files.
 2875: 
 2876:   [BA] Tagged last .c Version with PRE_MOVE_TO_CPP. Copied *.c,v
 2877:        to *.cpp,v in CVS repository to preserve history of source
 2878:        files. Removed sm5_Darwin repository.
 2879: 
 2880:   [CF] smartctl: Added -n option to skip checks when disk is in
 2881:        low-power mode.
 2882: 
 2883:   [CF] Windows: Added alternate system call for power state check
 2884:        because the PASS THROUGH calls may spin up the disk.
 2885: 
 2886:   [CF] smartd: Modified power state logging to report state changes
 2887:        instead of standby condition.
 2888: 
 2889:   [CF] smartd: Ignore -n directive on scheduled self tests.
 2890: 
 2891:   [DG] [SCSI] Make start stop cycle counter log page decoding
 2892:        more robust
 2893: 
 2894:   [DG] Modify smartctl (but not smartd) to detect probable ATA
 2895:        devices behind a SAT layer. In the absence of an explicit
 2896:        device type, change to device type 'sat'.
 2897: 
 2898:   [DG] Add indication that controller (device) type has been
 2899:        explicitly set. Preparation for automatic detection of
 2900:        'sat' device type unless user specifies a device type.
 2901: 
 2902:   [SS] NetBSD: Deliver strings from ata_identify_device properly 
 2903:        on little- and big-endian platforms.
 2904: 
 2905:   [BA] Added published ANSI ATA-7 spec to list of recognized ATA
 2906:        versions.
 2907: 
 2908:   [BA] Code janitor: added missing header strings for '-V' option.
 2909: 
 2910:   [DG] [SATA] Extend 'sat' device type to allow either 12 or 16 byte
 2911:        variant of the SAT ATA PASS THROUGH SCSI command. Syntax is
 2912:        '-d sat,<n>' where <n> can be 0, 12 or 16 . The ',<n>' part
 2913:        is optional. Currently defaults to 16 byte variant but that
 2914:        could be made platform or even device dependent.
 2915: 
 2916:   [DG] [SATA] Add new 'sat' device type for SATA disks behind a
 2917:        SCSI to ATA Translation (SAT) Layer (SATL). Uses the ATA
 2918:        PASS THROUGH (16) SCSI command thence the generic SCSI
 2919:        passthrough for each platform.
 2920: 
 2921:   [CF] Windows: Added script and make targets to create installer
 2922:        with NSIS (http://nsis.sourceforge.net/)
 2923: 
 2924:   [CF] Updated hostname and links for new SourceForge CVS service.
 2925: 
 2926:   [CF] smartd: Added '-W' directive to track temperature changes
 2927:        and warn if temperature limits are reached.
 2928: 
 2929:   [CF] Windows: Added IOCTL_ATA_PASS_THROUGH (Win2003, XP SP2)
 2930:        for commands unsupported by SMART_IOCTL. Added device
 2931:        specific options to select subset and ordering of the ATA
 2932:        IOCTLs actually used. These options are specified as
 2933:        modifiers of the device name (/dev/hd[a-j]:[saic]+)
 2934: 
 2935:   [CF] Windows: Added support for drives 4-7 (/dev/hd[e-h]) via
 2936:        SMARTVSE.VXD on Win9x/ME. Thanks to Dariusz Rzonca for
 2937:        patch and testing.
 2938: 
 2939:   [DG] [SCSI/SATA linux] from lk 2.6.17 SATA disk identification in
 2940:        libata will change. Expand LibAta detection to see old
 2941:        identifier and new variant (VPD page 0x83).
 2942: 
 2943:   [BA] Identified Attribute 190 for Western Digital disks.  This
 2944:        stores temperature in Celsius, just like Attribute 194.
 2945:        But it has a failure threshold set to correspond to the
 2946:        maximum design operating temperature of the disk, which
 2947:        is 55 Celsius on the WD800JD drives that I studied.
 2948:        So if this Attribute has 'failed
 2949:        in the past' this means that the maximum disk operating
 2950:        temperature has been exceeded.
 2951: 
 2952:   [GK] Darwin: Add support for AHCI drivers found in Intel-based Macs.
 2953: 
 2954: smartmontools 5.36 Stable Release
 2955: 
 2956:   [BA] Linux: smartd/smartctl issue syntax hints to user if 3ware
 2957:        disk controller present with EITHER 3ware OR AMCC vendor
 2958:        name, and user syntax incorrect.
 2959: 
 2960:   [BA] Update copyright dates to 2006.
 2961: 
 2962:   [DG] [SCSI] Loosen sanity check on Seagate/Hitachi factory information
 2963:        log page so it is not skipped on recent Seagate SCSI disks.
 2964: 
 2965:   [CF] Added command 'smartd -q showtests' to list test schedules.
 2966: 
 2967:   [CF] Added command 'smartctl -P showall MODEL [FIRMWARE]' to list
 2968:        database entries for specific drives and firmware.
 2969: 
 2970:   [PW] Automatically set -v 9,minutes and -v 194,unknown for Maxtor
 2971:        DiamondMax D540X-4G drives.
 2972: 
 2973:   [DG] [SCSI] suppress various outputs when data fails sanity checks.
 2974:        Correct 'last n error events' log page indexing.
 2975: 
 2976:   [DG] [SCSI] changed smartctl exit status to reflect any problems in
 2977:        the most recent 20 self test logs [Leandro Santi]
 2978: 
 2979:   [DG] [SCSI] Fix process return value when scsiGetSmartData() fails
 2980:        in smartctl [Leandro Santi]
 2981: 
 2982:   [BA] Updated docs and error message to reflect Linux libata
 2983:        support for smartmontools starting with the 2.6.15 kernel
 2984:        series. Also init script support for the 'tinysofa' release.
 2985: 
 2986:   [DG] [SCSI] Mask dpofua bit when changing mode pages. Fix failure
 2987:        of 'smartctl -l error'.
 2988: 
 2989:   [EM] Fixed a problem with FreeBSD and 3Ware 'twe' devices
 2990: 
 2991:   [CF] Fixed a regexp in knowndrives table, added regexp syntax check
 2992:        via 'smartctl -P showall'.
 2993: 
 2994:   [CF] Cygwin & Windows: Fixed memory leak in function calling
 2995:        IOCTL_IDE_PASS_THROUGH. Thanks to Fred Schmidt for the problem
 2996:        report.
 2997: 
 2998:   [CF] Cygwin: added cygrunsrv support and commands "install", "remove"
 2999:        and "status" to smartd.initd.
 3000: 
 3001:   [SS] Fix runtime problems on big-engian NetBSD platforms (patch provided
 3002:        by Martin Husemann)
 3003: 
 3004:   [CF] Cygwin smartd: Open smartd.conf in textmode to allow use of
 3005:        Windows editors.
 3006: 
 3007:   [CF] Cygwin smartd: Added option '--service' to allow smartd running
 3008:        as windows service via cygrunsrv. Useful in conjunction with new
 3009:        syslogd support added in Cygwin 1.5.15.
 3010: 
 3011:   [CF] Windows: Added patch to avoid output of non-ascii timezone names.
 3012: 
 3013:   [EM] Incorporate various patches to provide TWE support and support for 
 3014:        multiple 3Ware cards, Power Check Support, and FreeBSD 6.x support.
 3015:        Thanks to Rudolf Cejka, Frank Behrens, and Jung-uk Kim.
 3016: 
 3017:   [DG] Silence gcc 4.0.1 compile warning concerning the difference in
 3018:        "signedness" in pointer assignments. Changes to SCSI code
 3019:        and os_linux.c .
 3020: 
 3021:   [PW] Additions to knowndrives table: added missing drive from Quantum
 3022:        Fireball Plus LM series, added QUANTUM BIGFOOT TS10.0A, added
 3023:        ExcelStor J680 and J880, added Western Digital Caviar RE Serial ATA
 3024:        series, added missing drives from Western Digital Caviar SE series,
 3025:        added Seagate Momentus 4200.2 series, added missing drives from
 3026:        Maxtor DiamondMax 10 series, added Fujitsu MHG and MHH series, and
 3027:        added Hitachi Travelstar 5K100 series.
 3028: 
 3029:   [PW] Additions to knowndrives table: added Fujitsu MHU2100AT, added
 3030:        Fujitsu M1623TAU, added missing drives from Seagate Barracuda
 3031:        7200.8 series, added Seagate Momentus 5400.2 series, and added
 3032:        QUANTUM FIREBALL CR8.4A.
 3033: 
 3034:   [PW] Additions to knowndrives table: added missing drive from Maxtor
 3035:        MaxLine II series, added Maxtor DiamondMax 2880 Ultra ATA series,
 3036:        added Maxtor DiamondMax 17 VL series, added Hitachi Deskstar 7K80
 3037:        series, and added Hitachi Deskstar 7K400 series.
 3038: 
 3039:   [CF] Windows: Fixed unsupported 'smartctl -X' on Win2000/XP by using
 3040:        IOCTL_IDE_PASS_THROUGH instead.
 3041: 
 3042: smartmontools 5.34 Stable Release [NOTE: never officially released]
 3043: 
 3044:   [CF] Cygwin & Windows smartd: Increased SCSI DEVICESCAN range
 3045:        from ASPI adapter 0-3 to 0-9. Added diagnostic messages.
 3046: 
 3047:   [CF] Windows smartd: Added ability to run .bat files via '-M exec'
 3048:        directive.
 3049: 
 3050:   [CF] Cygwin smartd: Added FreeConsole() after fork() to avoid hang
 3051:        of terminated shell console window.
 3052: 
 3053:   [DG] [SCSI] Add code so 'smartctl -A' outputs the number of elements
 3054:        in the grown defect list. When this number is increasing a
 3055:        disk has problems. N.B. Similar logic should be added to smartd.
 3056: 
 3057:   [CF] Windows smartd: Fixed event handling to allow start of another
 3058:        smartd process when service is already running. Useful for testing
 3059:        service configuration changes in debug mode.
 3060: 
 3061:   [PW] Added following drives to knowndrives table: Western Digital Raptor
 3062:        family, Seagate Barracuda 7200.8 family, Maxtor DiamondMax 2160
 3063:        Ultra ATA and DiamondMax 10 families, Hitachi Travelstar E7K60
 3064:        family, Seagate Medalist 17240, 13030, 10231, 8420, and 4310,
 3065:        TOSHIBA MK4018GAP and MK6022GAX, ExcelStor Technology J360, and
 3066:        Western Digital Caviar AC14300.
 3067: 
 3068:   [PW] Added missing Fujitsu MHTxxxxAT and Seagate Barracuda 7200.7 drives
 3069:        to knowndrives table.
 3070: 
 3071:   [PW] Added QUANTUM FIREBALLP LM10.2 to knowndrives table.  Thanks to
 3072:        Mike Fleetwood for submitting the patch.
 3073: 
 3074:   [KS] Solaris/SPARC: fixed not to disable automatic offline test and
 3075:        automatic save attributes incorrectly.  Thanks to Roy Badami.
 3076: 
 3077:   [BA] Linux: smartd init script now recognizes 'trustix' distro.
 3078: 
 3079:   [DG] [SCSI] Medium and hardware errors were slipping through
 3080:        unreported. Fix linux SCSI sense reporting via SG_IO ioctl.
 3081: 
 3082:   [DG] [SCSI] Change lba of first failure in selftest output to
 3083:        decimal (was hex) to conform with ATA output.
 3084: 
 3085:   [GK] smartd: Detect most self-test failures even if the hour counter
 3086:        has wrapped.
 3087: 
 3088:   [BA] smartctl: list 'marvell' as option if user give invalid
 3089:        -d argument
 3090: 
 3091:   [CF] Windows: fixed SCSI timeout handling to allow long timeouts
 3092:        for selftests.
 3093: 
 3094:   [CF] Fixed buffer overflow issues in printone() and safe_vsnprintf()
 3095:        which results in crash on -V option (at least on Windows).
 3096: 
 3097:   [DG] [SCSI] Add explicit timeouts to INQUIRY and REQUEST SENSE (that
 3098:        were missed in an earlier patch). Could have impacted freebsd.
 3099: 
 3100:   [DG] When linux detects a sata_via_libata disk suggest that user try
 3101:        '-d ata' (rather then '-d libata). Anticipate kernel change.
 3102: 
 3103:   [YD] Added OS/2 and eComStation platform support.
 3104: 
 3105:   [PW] Added Seagate U4 family, Fujitsu MHJ and MHK families, Seagate
 3106:        Barracuda 5400.1, QUANTUM FIREBALLP KX27.3, QUANTUM FIREBALLP KA10.1,
 3107:        and ExcelStor J340 to knowndrives table.
 3108: 
 3109:   [DG] [SCSI] After report of Hitachi IC35L073UCDY10 disks locking up
 3110:        on log page 0x7 (last n error events), check log page (and some
 3111:        others) is supported (via log page 0x0) before probing.
 3112: 
 3113:   [CF] Added safe_v?snprintf() for platforms using v?snprintf()
 3114:        with non standard behaviour on overflow (Windows, old Linux)
 3115: 
 3116:   [CF] smartd: Added message if check power mode spins up disk.
 3117: 
 3118:   [CF] Windows: Added support for READ_LOG on WinNT4 using undocumented
 3119:        pseudo SCSI command via IOCTL_SCSI_PASS_THROUGH.
 3120: 
 3121:   [CF] smartd: Added ',q' option for '-n' directive to suppress 'skipping
 3122:        checks' log message. This prevents a laptop disk from spinning up
 3123:        due to this message. Thanks to Rob MacLachlan and Manfred Schwarb
 3124:        for pointing out problem & solution.
 3125: 
 3126:   [CF] Windows: Added function get_os_version_str() to show OS flavor in
 3127:        copyright message.
 3128: 
 3129:   [CF] Windows: Added function ata_identify_is_cached() to check for outdated
 3130:        SMART enabled bit in identify data.
 3131: 
 3132:   [CF] Windows: Added fix to prevent linkage of smartd specific win32 modules
 3133:        to smartctl.
 3134: 
 3135:   [PW] Added Fujitsu MPG3153AH, Hitachi Endurastar J4K20/N4K20 (formerly
 3136:        DK23FA-20J), Seagate Momentus family, and Maxtor Fireball 3 family
 3137:        to knowndrives table.
 3138: 
 3139:   [PW] Added missing Maxtor DiamondMax 16, Seagate Barracuda ATA IV, and
 3140:        Western Digital Caviar WDxxxAA/WDxxxBA drives to knowndrives table.
 3141: 
 3142:   [CF] Windows: Added ATA check power mode for smartd -n directive.
 3143: 
 3144:   [CF] Windows: Fixed use of new service status flag which causes hang
 3145:        of smartd service on WinNT4.
 3146: 
 3147:   [CF] Windows: Fixed error checking of IOCTL_IDE_PASS_THROUGH (used
 3148:        for READ_LOG on 2000/XP). Added some diagnostic messages on
 3149:        -r ataioctl[,2]. Thanks to Manfred Schwarb for bug report and testing.
 3150: 
 3151:   [BA] Fixed code bug that made it impossible to enable SMART on
 3152:        disks with failing health status.  This would happen if the
 3153:        os_*.c author made STATUS and STATUS_CHECK work the same way.
 3154:        I have corrected this at a higher level; we now handle the
 3155:        case where STATUS and STATUS_CHECK are identical without
 3156:        issues. 
 3157: 
 3158:   [LW] Make os_linux.c/marvell_command_interface() always return 0 on STATUS.
 3159:        Needed for a disk having bad SMART status.
 3160: 
 3161:   [CF] smartctl: Added drive family printing.
 3162: 
 3163:   [CF] autogen.sh: Allow automake 1.9, added message if automake
 3164:        version is unknown.
 3165: 
 3166:   [BA] smartctl: use locale-specific separators for printing disk
 3167:        capacity.  Also use AC_CHECK_HEADERS not AC_CHECK_HEADER in
 3168:        configure.in.
 3169: 
 3170:   [BA] clean-up of #include structure so that -V options to smartd
 3171:        and smartctl work correctly.  Please, don't #include header
 3172:        files into other header files.
 3173: 
 3174: smartmontools 5.33 Experimental Release
 3175: 
 3176:   [BA] smartctl: ATA disks, if SMART ATTRIBUTE THRESHOLDS page has ID
 3177:        errors with some Attributes having NULL IDs, print Attribute
 3178:        info anyway (but issuing a warning to the user).
 3179: 
 3180:   [DG] [SCSI] Decode Last n error events log page; decode track following
 3181:        and positioning errors [Hitachi]
 3182: 
 3183:   [EM] FreeBSD: another tweak, __packed__ introduced in Version 5.0040
 3184: 
 3185:   [EM] Cleaner tweak of fixes for FreeBSD 4.x.
 3186: 
 3187:   [EM] Fix compilation errors under FreeBSD 4.x, as it is still using
 3188:        and old GCC
 3189: 
 3190:   [EM] Remove 3ware/FreeBSD specific files and just include pieces we need
 3191: 
 3192:   [DG] Add logic in smartd to detect 3ware, Marvell controllers and SATA
 3193:        disks behind an ATA-SCSI simulator (in Linux). If specific device
 3194:        types are not given and they are picked in a general SCSI device
 3195:        scan then warn and skip.
 3196: 
 3197:   [GG] insert correct path to smartd into smartd's init script
 3198: 
 3199:   [BA] Changed all default paths in documentation to reflect /usr/local as
 3200:        default path prefix.  This affects on-line man pages, primarily.
 3201:   
 3202:   [DS] Added support for OpenBSD
 3203: 
 3204:   [BA] Added another environment variable SMART_FULLMESSAGE set by
 3205:        the smartd mailing feature, and modified examplescripts/Example1
 3206:        to illustrate it.
 3207: 
 3208:   [BA] Fixed potentially misleading messages of the form:
 3209:        XXX failed: success
 3210: 
 3211:   [DG] emit warning if SATA disk detected using libata in Linux; then exit
 3212: 
 3213:   [PW] Added Seagate U10 family, Hitachi Travelstar 7K60, Fujitsu MHR2020AT,
 3214:        and QUANTUM FIREBALLP AS20.5 to knowndrives table.
 3215: 
 3216:   [DG] Detect 3ware and Marvell controllers from SCSI INQUIRY vendor string
 3217:        and suggest usage of appropriate '-d' argument in smartctl.
 3218: 
 3219:   [LW] Tested the RELEASE_5_33_WITH_MARVELL_SUPPORT branch on
 3220:        actual Marvell 88SX5041 hardware, with success.
 3221:        Merged into HEAD.
 3222: 
 3223:   [BA] Fixed nasty DEVICESCAN bug
 3224: 
 3225:   [BA] Checked in RELEASE_5_33_WITH_MARVELL_SUPPORT branch with
 3226:        some Marvell support.
 3227: 
 3228:   [BA] Additional modifications of Ed's controller scheme.  Fixed
 3229:        broken 3ware support under linux, problems with scanning
 3230:        devices in smartd, and other small problems.
 3231: 
 3232:   [CF] Added make targets to build formatted man pages (htmlman, txtman),
 3233:        Windows distribution (dist-win32) and MSVC6 config.h (config-vc6).
 3234: 
 3235:   [EM] Minor change to FreeBSD inclusion of 'twe' include files.  Add 
 3236:        code to check if they exising in /usr/include/sys to use those
 3237:        in preference to ones added here
 3238: 
 3239:   [EM] Very preliminary support attempt for 3Ware controllers under 
 3240:        FreeBSD. Also, switched 'escalade_type/escalade_port' to
 3241:        'controler_type/controller_port' and moved away from 
 3242:        'tryata/tryscsi' to using new 'controller*' variables to 
 3243:        determine which controller type (ATA/SCSI/3Ware) to use.
 3244: 
 3245:   [GK] Added initscript support for Darwin.
 3246: 
 3247:   [CF] Windows smartd: Added ability to run smartd as a windows service,
 3248:        including new commands "smartd install ..." and "smartd remove"
 3249:        to install and remove the service registry entry.
 3250: 
 3251:   [BA] smartd: warn user if -s regexp regular expression contains
 3252:        characters other than 0123456789.*()|+?[-]{}:=SLCO since such
 3253:        characters are 'suspicous' and may indicate a poorly formed
 3254:        regexp.  Extended regular expression gurus: can this list be
 3255:        reduced somewhat?
 3256: 
 3257:   [CF] Fixed bug in Windows smartd: Missing close of config file when
 3258:        configuration is reloaded by smartd daemon.
 3259: 
 3260:   [CF] Windows smartd: Added mail warning feature using the "Blat"
 3261:        (http://blat.sourceforge.net/) mailer as a default.
 3262: 
 3263:   [PW] Added Maxtor DiamondMax Plus 5120 Ultra ATA 33 series and TOSHIBA
 3264:        MK3017GAP to knowndrives table.
 3265: 
 3266:   [CF] Added fixes to build smartmontools on old Linux systems
 3267:        (libc < 6, Kernel 2.0.x).
 3268: 
 3269:   [BA] Added ATA minor version identity strings for latest ATA specification
 3270:        updates: ATA/ATAPI-7 T13 1532D revision 4a and ATA/ATAPI-6 published,
 3271:        ANSI INCITS 361-2002
 3272: 
 3273:   [PW] Added Hitachi Travelstar 5K80 family and Fujitsu MHTxxxxAH family to
 3274:        knowndrives table.
 3275: 
 3276:   [EM] Fix up compilation under FreeBSD < 5.x
 3277: 
 3278:   [PW] Added QUANTUM FIREBALL EX3.2A and missing Western Digital Caviar SE
 3279:        drives to knowndrives table.
 3280: 
 3281:   [BA] Modified Hitachi Travelstar 80GN family regexp in drive database.
 3282:        Thanks to [GK/CF] for problem & solution.
 3283: 
 3284:   [GK] Added os_darwin.[ch]
 3285: 
 3286:   [PW] Added the following drives to the knowndrives table: IBM Travelstar
 3287:        48GH, 30GN, and 15GN family; IBM Deskstar 37GP and 34GXP family;
 3288:        Western Digital WDC WD272AA; Maxtor DiamondMax D540X-4D family;
 3289:        TOSHIBA MK2016GAP, MK2018GAP, MK2018GAS, MK2023GAS; and
 3290:        QUANTUM FIREBALL ST3.2A
 3291: 
 3292:   [BA] smartd/smarctl now print build HOST/OS information as part
 3293:        of startup slogan.  This should make it slightly easier to
 3294:        read bug reports from users.
 3295: 
 3296:   [RZ] Fixed the DEVICESCAN to do what it was supposed to do - give
 3297:        error message unless scanning is in progress.  
 3298: 
 3299:   [BA] Update documentation to describe 3ware character devices. Better
 3300:        error detection for missing/malfunctioning devices behind 3ware
 3301:        controllers. Now pack 3ware ioctl structures explicitly.
 3302: 
 3303:   [BA] For ATA devices that support LBA mode, print capacity as part
 3304:        of smartctl --info
 3305: 
 3306:   [RZ] Made DEVICESCAN quiet about non-existing devices unless debug
 3307:        is on.
 3308: 
 3309:   [DG] treat "unit attention" SCSI warning as try again in some contexts
 3310:        (test unit ready and mode sense)
 3311: 
 3312:   [BA] on drives that store max/min rather than min/max, get order
 3313:        correct in printing temp.
 3314: 
 3315:   [BA] fixed typo in 'smartctl -h' output.  Thanks to Gabor Z. Papp.
 3316: 
 3317:   [BA] linux: clean-up to 3ware/AMCC support; dynamically create
 3318:        or fix /dev/tw[ae][0-15] device node entries if they don't
 3319:        exist or are incorrect. One can now use the character devices
 3320:        /dev/twe[0-15] OR /dev/sd? for 3ware 6000/7000/8000 series
 3321:        cards.  One must use /dev/twa[0-15] for 3ware 9000 series cards.
 3322:        Note that selective self-tests now work via /dev/tw[ae] devices.
 3323:        Next step: documentation.
 3324: 
 3325:   [BA] linux: experimental "support" for 3ware/AMCC 9000 series
 3326:        controllers that use the 3w-9xxx driver.  This will be in a
 3327:        state of flux for a few days.  Note that this requires the
 3328:        character interface /dev/twa[0-15].
 3329: 
 3330:   [DG] linux: extend general SCSI OS interface to use the SG_IO ioctl. If
 3331:        not available, use the older SCSI_IOCTL_SEND_COMMAND ioctl.
 3332: 
 3333:   [KS] Solaris/x86: fixed system identification problem in configure
 3334:        script.  Thanks to Stuart Swales.
 3335: 
 3336: smartmontools 5.32
 3337: 
 3338:   [BA] Update link to revised/updated IBM Deskstar Firmware
 3339: 
 3340:   [CF] Cygwin & Windows: Added missing ASPI manager initialization
 3341:        with GetASPI32SupportInfo(). Thanks to Nikolai SAOUKH for pointing
 3342:        this out and providing a patch.
 3343: 
 3344:   [BA] modified smartd init script to work on whitebox (thanks to
 3345:        Michael Falzon)
 3346: 
 3347:   [BA] removed (reverted) additional Attribute definitions from
 3348:        http://smart.friko.pl/attributes.php.  All (or most?) of these
 3349:        appear to be return code values for the WD Digital Life Guard Utility.
 3350: 
 3351:   [PW] Added Seagate Medalist 17242, 13032, 10232, 8422, and 4312 to
 3352:        knowndrives table.  Added missing Seagate U Series 5 drives.
 3353: 
 3354:   [PW] Added the following QUANTUM models to knowndrives table:
 3355:        FIREBALL EX6.4A, FIREBALLP AS10.2, FIREBALLP AS40.0, FIREBALL CR4.3A,
 3356:        FIREBALLP LM15, FIREBALLP LM30, and FIREBALLlct20 30
 3357: 
 3358:   [PW] Added missing Western Digital Protege drives to knowndrives table.
 3359: 
 3360:   [PW] Added Maxtor DiamondMax 40 ATA 66 series and DiamondMax 40 VL Ultra
 3361:        ATA 100 series to knowndrives table.
 3362: 
 3363:   [PW] Added the following Hitachi/IBM drives to knowndrives table:
 3364:        HITACHI_DK14FA-20B, Travelstar 40GNX series, Travelstar 4LP series,
 3365:        and Travelstar DK23XXB series.  Added the missing Travelstar 80GN
 3366:        drives.
 3367: 
 3368:   [PW] Added Fujitsu MPB series and MPG series to knowndrives table.  Added
 3369:        the missing Fujitsu MHSxxxxAT drives.
 3370: 
 3371:   [KS] Solaris: added workaround for dynamic change of time-zone.
 3372: 
 3373:   [KS] Solaris: fixed problem that autogen.sh cannot detect absence of
 3374:        auto* tools.
 3375: 
 3376:   [BA] smartd: added time-zone bug information to man page. 
 3377:        Reverted CF code for _WIN32 case. 
 3378: 
 3379:   [CF] Cygwin & Windows: Added better error messages on IDE/ATA device
 3380:        open error.
 3381: 
 3382:   [BA] added additional Attribute definitions from
 3383:        http://smart.friko.pl/attributes.php
 3384: 
 3385:   [BA] smartd: reworked TimeZone bug workaround so it is only invoked
 3386:        for glibc.  Note: this might not be right -- a similar bug may
 3387:        exist in other platform's libcs.
 3388: 
 3389:   [DG] SCSI smartmontools documentation updated [2004/5/6]. See:
 3390:        http://smartmontools.sourceforge.net/smartmontools_scsi.html
 3391: 
 3392:   [CF] Windows: Fixed reset of TZ=GMT in glibc timezone bug workaround.
 3393: 
 3394: smartmontools 5.31
 3395: 
 3396:   [DG] move SCSI device temperature and start-stop log page output
 3397:        (smartctl) into --attributes section (was in --info section).
 3398: 
 3399:   [GG] change default installation location to /usr/local
 3400: 
 3401:   [CF] Cygwin smartd: Fixed crash on access of SCSI devices after fork().
 3402: 
 3403:   [PW] Added TOSHIBA MK4018GAS and the following Maxtor drive families
 3404:        to knowndrives table: DiamondMax D540X-4G, Fireball 541DX,
 3405:        DiamondMax 3400 Ultra ATA, DiamondMax Plus 6800 Ultra ATA 66.
 3406: 
 3407:   [PW] Added missing Maxtor DiamondMax 16, DiamondMax D540X-4K, and
 3408:        DiamondMax Plus 45 Ulta ATA 100 drives to knowndrives table.
 3409: 
 3410:   [PW] Added ExcelStor J240, Hitachi Travelstar 80GN family, Fujitsu
 3411:        MHTxxxxAT family, and IBM Deskstar 25GP and 22GXP families to
 3412:        knowndrives table.
 3413: 
 3414:   [CF] Cygwin smartd: Added workaround for missing SIGQUIT via keyboard:
 3415:        To exit smartd in debug mode, type CONTROL-C twice.
 3416: 
 3417:   [BA] smartctl: printing of the selective self-test log is now
 3418:        controlled by a new option: -l selective
 3419: 
 3420:   [BA] Added entries for Samsung firmware versions -25 to -39 based
 3421:        on latest info about firmware bug fixes.
 3422: 
 3423:   [PW] Added Seagate U Series X family, Seagate U8 family, and Seagate
 3424:        Medalist 8641 family to knowndrives table.
 3425: 
 3426:   [CF] smartd: Added exit values 5/6 for missing/unreadable config file.
 3427: 
 3428:   [BA] smartd: now monitor the Current Pending Sector count (Attribute 197)
 3429:        and the Offline Pending Sector Count (Attribute 198).  Log a
 3430:        warning (and send an email, if so configured) if the raw count
 3431:        is nonzero.  These are controlled by new Directives: -C and -U.
 3432:        Currently they are enabled by default.
 3433: 
 3434:   [CF] Added option -c FILE, --configfile=FILE to smartd to specify
 3435:        an alternate configuration FILE or '-' for standard input.
 3436: 
 3437:   [KS] configure.in now searches for -lnsl and -lsocket for Solaris.
 3438: 
 3439:   [CF] Win32/native smartd: Added thread to combine several syslog output
 3440:        lines into one single event log entry.
 3441: 
 3442:   [CF] Win32 smartd: Added DEVICESCAN for SCSI/ASPI devices.
 3443: 
 3444:   [GG] Use gethostbyname() the get the DNS domain since getdomainname() 
 3445:        returns the NIS domain when sending mails from smartd.
 3446: 
 3447:   [GG] smartd.init.in: pass smartd_opts to smartd on startup, read distribution
 3448:        specific configuration files if found
 3449: 
 3450:   [SS] smartctl: added NetBSD support for Selective Self-tests.
 3451: 
 3452:   [BA] smartd.conf example configuration file now has all examples
 3453:        commented out except for 'DEVICESCAN'.
 3454: 
 3455:   [CF] Win32/native smartd: Added ability to display warning "emails"
 3456:        as message box by "-m msgbox" directive. With "-m sysmsgbox",
 3457:        a system modal (always on top) message box is shown.
 3458: 
 3459:   [BA] smartctl: printing of self-test log for disks that support
 3460:        Selective self-testing now shows the status of the (optional)
 3461:        read-scan after the selective self test.  Also, changed format
 3462:        in printing self-test log to print failing LBA in base 10 not
 3463:        base 16 (more compatible with kernel error messages).  Also,
 3464:        in printing SMART error log, print timestamps in format
 3465:        days+hours+minutes+seconds.
 3466: 
 3467:   [CF] Win32 smartd: Added ability to log to stdout/stderr
 3468:        (-l local1/2). Toggling debug console still works
 3469:        if stdout is redirected.
 3470: 
 3471:   [BA] smartctl: selective self-test log, print current status
 3472:        in a  more detailed way.  Allow writing of selective self-test
 3473:        log provided that no other self-test is underway.
 3474: 
 3475:   [BA] Linux: eliminated dependency on kernel tree hdreg.h.
 3476: 
 3477:   [BA] smartctl: -l selftest option now prints Selective self-test
 3478:        log in addition to the normal self-test log.
 3479:        Added additional options (-t pending, -t afterselect) to
 3480:        control remaining Selective Self-test capabilities.  Tested
 3481:        with several Maxtor disks. Modified error message printing
 3482:        so that munged option messages print at the end not the
 3483:        start of output.
 3484: 
 3485:   [CF] Added daemon support to Win32 native version of smartd.
 3486:        The daemon can be controlled by commands similar to initd
 3487:        scripts: "smartd status|stop|reload|restart|sigusr1|sigusr2".
 3488: 
 3489:   [CF] Added minor support for option "-l local[0-7]" to Win32 native
 3490:        (not Cygwin) version of smartd. If specified, the log output
 3491:        is written to file "./smartd[1-7]?.log" instead of event log.
 3492: 
 3493:   [BA] Added Selective Self-test to smartctl (-t selective,M-N).
 3494:        Currently only supported under Linux; Solaris, NetBSD, FreeBSD
 3495:        and Windows developers must add WRITE LOG functionality to
 3496:        os_*.c
 3497: 
 3498:   [BA] Added workaround for an annoying glibc bug: if you change
 3499:        timezones, (eg, flying with a laptop from USA to Europe)
 3500:        localtime() does not notice this in a running
 3501:        executable, so time that appears in the system log (syslog!)
 3502:        will be incorrect.  See
 3503:        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48184
 3504:        for additional examples of this bug.
 3505: 
 3506:   [DG] Set explicit timeouts for SCSI commands (most default to 6 seconds).
 3507:        Previously a 0 second timeout was meant to be interpreted as a 
 3508:        default timeout but the FreeBSD port had a problem in this area.
 3509: 
 3510:   [CF] Fixed un-thread-safe exit signal handler for Win32
 3511: 
 3512:   [BA] Fixed un-thread-safe exit signal handler pointed out
 3513:        by CF.
 3514: 
 3515:   [BA] Changed configure script to eliminate warnings under
 3516:        Solaris from sys/int_type.h conflicts with int64.h
 3517:        Added header files for umask to smartd.c.
 3518: 
 3519:   [BA] Man page format change from Werner LEMBERG.  " " changed to \&
 3520: 
 3521:   [CF] Added os_win32/syslogevt.* event message file tool for Win32
 3522:        smartd (native+cygwin). May also be useful for other cygwin
 3523:        programs writing to syslog().
 3524: 
 3525:   [CF] Added Win32 version of smartd
 3526: 
 3527:   [CF] Merged RELEASE_5_26_WIN32_BRANCH
 3528: 
 3529:   [BA] Made some changes to man page markup suggested by
 3530:        Richard Verhoeven to work around bugs in man2html.
 3531:        Tested not to break anything under Linux and Solaris.
 3532: 
 3533:   [CF] Moved PrintOut() from utility.c to smart{ctl,d}.c to avoid
 3534:        syslog() output of smartctl.
 3535: 
 3536:   [BA] Grew worried that some time-zone names could be very long (eg,
 3537:        Mitteleuropaische Zeit) and put date string lengths into a
 3538:        single macro in utility.c
 3539: 
 3540:   [EM] Updated os_freebsd.c to handle older versions of FreeBSD in a 
 3541:        more appropriate/obvious fashion.
 3542: 
 3543:   [EM] Modified autogen.sh as FreeBSD installs automake 1.7 as 
 3544:        'automake17' and NOT 'automake-1.7'
 3545: 
 3546: smartmontools 5.30
 3547: 
 3548:   [PW] Added QUANTUM FIREBALLlct15 30, QUANTUM FIREBALLlct20 40, and
 3549:        Maxtor 6Y060P0 (DiamondMax Plus 9 60GB) to knowndrives table.
 3550: 
 3551:   [PW] Added Maxtor MaXLine II family to knowndrives table (thanks to
 3552:        Brett Russ for submitting the patch).
 3553: 
 3554:   [BA] Added remaining read/write commands to detailed list of
 3555:        error log commands that have text descriptions of problem
 3556:        printed.  For commands that support it, print number of failed
 3557:        sectors at problem LBA.
 3558: 
 3559:   [BA] Made SuSE section of smartd init script more SuSE 9 compatible.
 3560:        Thanks to Hans-Peter Jansen.
 3561: 
 3562:   [CF] Windows smartd: Added IDE/ATA device scan
 3563:        Added windows device names to smartctl.8.in, smartd.8.in
 3564:    
 3565:   [BA] smartctl/smartd: user-provided '-F samsung' and '-F samsung2'
 3566:        command line options/Directives did NOT over-ride preset values
 3567:        unless user specified '-P ignore'.  Now they will always over-ride
 3568:        preset values from the database.
 3569: 
 3570:   [BA] Added error decoding for a few more READ and WRITE commands.
 3571: 
 3572:   [PW] Added Maxtor MaXLine Plus II, Western Digital Caviar SE (Serial ATA)
 3573:        series, Hitachi Deskstar 7K250 series, and Ultra ATA 66 models of
 3574:        the Maxtor DiamondMax Plus 40 series to knowndrives table.
 3575: 
 3576:   [BA] Added Maxtor Diamondmax 250 GB drives to database.  Note that
 3577:        these model numbers are not listed in Maxtor documentation, but
 3578:        they exist.
 3579: 
 3580:   [BA] Removed the 'contact developers' phrase from the Samsung disk
 3581:        warning messages.
 3582: 
 3583:   [PW] Added TOSHIBA MK2017GAP, IBM Deskstar 14GXP and 16GP series,
 3584:        Fujitsu MPC series, Seagate Barracuda ATA III family, and missing
 3585:        Seagate Barracuda U Series drives to knowndrives table
 3586: 
 3587:   [BA] smartd: wrong loglevel for message: Configuration file
 3588:        /etc/smartd.conf parsed.  Changed to LOG_INFO from LOG_CRIT.
 3589:        Thanks to  Emmanuel CHANTREAU for the report.
 3590: 
 3591:   [CF] Checked in development version of windows code base.
 3592: 
 3593: smartmontools 5.29 (note: there was NO 5.28 release)
 3594: 
 3595:   [BA] smartd: configure script did not set correct directory to search for
 3596:        smartd.conf based on --prefix argument to ./configure.  Thanks to
 3597:        GG for identifying the problem and fix.
 3598: 
 3599:   [BA] make clean now removes man pages (generated from *.in) files as well
 3600:        as object files.
 3601: 
 3602:   [EM] Correct copying of sense data in FreeBSD SCSI implementation. Thanks
 3603:        to Sergey Svishchev for noticing the bug.
 3604: 
 3605:   [BA] On solaris, wrong warning message if no ATA support.  Warning message
 3606:        concerns 3ware controller, not ATA.
 3607: 
 3608:   [SS] Added SCSI support for NetBSD.
 3609: 
 3610:   [BA] on big-endian linux machines, fixed interpretation of HDIO_GET_IDENTITY
 3611:        to correctly identify ATAPI bit (was byte swapped).  This should
 3612:        eliminate some SYSLOG noise if user queries a packet device (eg, CD
 3613:        ROM or DVD reader).
 3614: 
 3615:   [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives with
 3616:        A5AA/A6AA firmware.  Thanks to Gerald Schnabel.
 3617: 
 3618:   [PW] Added Toshiba TOS MK3019GAXB SUN30G to knowndrives table
 3619: 
 3620:   [PW] Added Western Digital Caviar AC12500, AC24300, AC25100, AC36400,
 3621:        and AC38400 to knowndrives table
 3622: 
 3623:   [BA] When printing ATA error log, print the LBA at which READ
 3624:        or WRITE commands failed.
 3625: 
 3626:   [BA] Changed syntax of error message in smartctl
 3627: 
 3628:   [BA] Added versioning info (-V options to smartd/smartctl) for
 3629:        Solaris ATA module.
 3630: 
 3631: smartmontools 5.27
 3632: 
 3633:   [KS] Added ATA/IDE support for Solaris/SPARC (ATA/IDE not yet for
 3634:        Solaris/x86).
 3635: 
 3636:   [BA] 3ware controllers: documented that one can monitor any of the
 3637:        physical disks from any of the 3ware /dev/sd? logical devices.
 3638:        Better warnings if querying a disk that does not exist.
 3639: 
 3640:   [PW] Added Hitachi Travelstar DK23DA series, Maxtor DiamondMax Plus 40
 3641:        series, Western Digital Caviar WDxxxAA, WDxxxBA, and WDxxxAB series
 3642:        to knowndrives table
 3643: 
 3644:   [BA] missing 'pragma pack' on ATA IDENTIFY DEVICE structure may have
 3645:        caused odd or incorrect results on 64-bit machines.
 3646: 
 3647:   [BA] smartctl/smartd allow inspection of self-test and error logs even
 3648:        if disk firmware claims that these don't exist.  This is needed
 3649:        for some Maxtor disks whose firmware does not indicate log support
 3650:        even though the disk DOES support it.
 3651: 
 3652:   [BA] Improved porting instructions and documentation in os_generic.c
 3653: 
 3654:   [PW] Add Western Digital Caviar WD136AA and SAMSUNG SP40A2H (RR100-07
 3655:        firmware) to knowndrives table.
 3656: 
 3657:   [EM] FreeBSD:	remove extra definition of FreeNonZero
 3658: 
 3659:   [BA] smartctl: the -q silent option was printing output for some
 3660:        error conditions.  Fixed.  Will rename relevant variables to help
 3661:        avoid these errors in the future.
 3662: 
 3663:   [SS] NetBSD port added.
 3664: 
 3665:   [BA] more sensible error messages for devfs and devfs-like systems.
 3666:        Instead of saying that the DIRECTORY does not exist, say that
 3667:        the DEVICE does not exist.
 3668: 
 3669:   [BA] smartd: added -n Directive, to prevent disk spin-up depending
 3670:        upon the power mode (SLEEP, STANDBY, or IDLE).
 3671: 
 3672:   [PW] Added Maxtor DiamondMax 20 VL series, Fujitsu MPF series,
 3673:        Maxtor DiamondMax 36 series, Maxtor DiamondMax 4320 series, and
 3674:        Maxtor DiamondMax 536DX series to knowndrives table.
 3675: 
 3676:   [BA] many warning messages now give the file name AND VERSION
 3677: 
 3678:   [BA] smartd: when the user provides multiple address recipients
 3679:        to the '-m' Directive in a comma-delineated list, the commas
 3680:        are stripped out before passing the list of addresses to the
 3681:        mailer program. (Thanks to Calin A. Culianu for pointing this out
 3682:        and providing a patch.)
 3683: 
 3684:   [BA] smartd: when the '-M exec path' Directive is used, any stdout OR
 3685:        stderr output from the executable "path" is assumed to indicate a
 3686:        problem, and is echoed to SYSLOG.
 3687: 
 3688:   [BA] Added all missing IBM/Hitachi Deskstar 180GXP models to knowndrives
 3689:        table.
 3690: 
 3691:   [PW] Added some missing IBM/Hitachi Deskstar 120GXP models to knowndrives
 3692:        table.
 3693: 
 3694:   [PW] Added IBM Travelstar 14GS to knowndrives table.
 3695: 
 3696:   [PW] Modified knowndrives table to match entire Hitachi Travelstar
 3697:        DK23BA and DK23EA series of drives (thanks to Norikatsu Shigemura
 3698:        for submitting the patch).
 3699: 
 3700:   [PW] Added some missing Fujitsu MPE series drives to knowndrives table.
 3701: 
 3702:   [PW] Added TOSHIBA MK4019GAX, TOSHIBA MK6409MAV, and QUANTUM
 3703:        FIREBALLlct15 20 to knowndrives table.
 3704: 
 3705:   [EM] Fixup example command output for FreeBSD
 3706: 
 3707:   [PW] Added Maxtor DiamondMax 80 family to knowndrives table.
 3708: 
 3709:   [EM] Catch up FreeBSD code to switch PROJECTHOME to PACKAGE_HOMEPAGE
 3710:        macros.
 3711: 
 3712:   [BA] smartd: now watches stdout/stderr when trying to run mail, mailx
 3713:        or mail warning script, and reports any output to SYSLOG.  This
 3714:        gives a clearer error message if something is wrong.
 3715: 
 3716:   [BA] smartd: Solaris init script modified to accomodate grep that
 3717:        lacks '-q' quiet option.  Also check for running process to kill
 3718:        on stop.
 3719: 
 3720:   [PW] Added some missing Seagate Barracuda 7200.7 and 7200.7 Plus drives
 3721:        to knowndrives table.
 3722: 
 3723:   [PW] Added Maxtor DiamondMax Plus 60 family and Seagate U Series 5 20413
 3724:        to knowndrives table.
 3725: 
 3726:   [BA] smartd: under Solaris, made default mailer be 'mailx' not
 3727:        'mail', since Solaris 'mail' does not accept a '-s' argument.
 3728:        A workaround for Solaris users of earlier versions is to
 3729:        have '-M exec /bin/mailx' in their smartd.conf config file.
 3730: 
 3731:   [DG] some SCSI controllers don't like odd length transfers so make
 3732:        sure LOG SENSE transfers are rounded up to an even number when
 3733:        and odd length is reported (i.e. there is a double fetch, the
 3734:        first to find the length, the second gets the data)
 3735: 
 3736:   [BA] smartd man pages: under Solaris, correct section numbers in the
 3737:        'See also' section.
 3738: 
 3739:   [KS/BA] smartd man page: describe how to set Solaris syslog.conf
 3740:        file to catch all messages.  Give correct Solaris SYSLOG default
 3741:        path /var/adm/messages in man pages.
 3742: 
 3743:   [BA] smartd: incorporated Debian startup script submitted by user.
 3744: 
 3745:   [BA] smartctl: modified printing of self-test log entry number.  Seagate
 3746:        firmware can leave 'holes' in the self-test log while a test is
 3747:        actually running.  We now print entry numbers consistently in this
 3748:        case, not assuming that entries are contiguous.
 3749: 
 3750:   [PW] Added QUANTUM FIREBALL CX10.2A and Western Digital Caviar AC23200L
 3751:        to knowndrives table.
 3752: 
 3753:   [PW] Added QUANTUM FIREBALLlct20 20 to knowndrives table.
 3754: 
 3755:   [PW] Added Maxtor DiamondMax Plus D740X family to knowndrives table.
 3756: 
 3757:   [PW] Added IBM Travelstar 32GH, 30GT, and 20GN family to knowndrives
 3758:        table.
 3759: 
 3760:   [BA] Slackware init script modified to search for /etc/slackware-version
 3761:        rather than /etc/slackware-release.
 3762: 
 3763:   [PW] Added Seagate Barracuda ATA II family and TOSHIBA MK4019GAXB to
 3764:        knowndrives table.
 3765: 
 3766:   [GG] explain howto use autoreconf in autogen.sh
 3767: 
 3768:   [KS] Makefile.am/configure.in: changed manual page sections for
 3769:        Solaris.
 3770: 
 3771:   [BA] smartd: reduced number of scheduled self-test messages if
 3772:        test already run in current hour.
 3773: 
 3774:   [PW] Added Maxtor DiamondMax Plus 8 family to knowndrives table.
 3775: 
 3776:   [BA] linux: check for linux/hdreg.h.  If it's there, use it. If
 3777:        not, provide the necessary definitions ourselves.
 3778: 
 3779:   [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives
 3780:        with TXAOA5AA firmware
 3781: 
 3782:   [PW] Added IBM Travelstar 25GS, 18GT, and 12GN family to knowndrives
 3783:        table.
 3784: 
 3785:   [PW] Added IBM/Hitachi Travelstar 60GH & 40GN family to knowndrives
 3786:        table.
 3787: 
 3788:   [BA] smartd: made '-s' Directive more efficient.  Now store
 3789:        compiled regex, and re-use.  If device lacks certain self-test
 3790:        capabilities, track it and don't try again.
 3791: 
 3792:   [BA] smartd: made memory allocation for device lists completely
 3793:        dynamic (eliminating compile-time maximum length constants).
 3794: 
 3795:   [PW] Removed warning for SAMSUNG SP0802N with TK100-23 firmware
 3796: 
 3797:   [PW] Added Seagate Barracuda ATA IV family to knowndrives table.
 3798: 
 3799:   [BA] smartd: reduce per-device memory footprint by making
 3800:        mail-warning info dynamically allocated.  Also remove
 3801:        potential memory leak if use has -m Directive twice and
 3802:        keeps reloading the config file (highly unlikely this would
 3803:        ever be noticed!)  
 3804: 
 3805:   [DG] smartd: added SCSI scheduled self-tests (Background
 3806:        short or extended).
 3807: 
 3808:   [BA] smartd: can now run scheduled offline immediate and
 3809:        self-tests.  See man page and -s Directive for details.
 3810: 
 3811:   [GG] don't include manpages in make-dist-tarball.
 3812: 
 3813:   [BA] smartctl: on-line examples given with -h are now correct
 3814:        for solaris and linux, but wrong for freebsd.  Ed?
 3815: 
 3816:   [BA] smartd: man page now explains device scanning for solaris as
 3817:        well as linux and freebsd.
 3818: 
 3819:   [BA] smartd/smartctl: man pages now report correct CVS tag release
 3820:        date, and executables '-V' options reports more build info.
 3821: 
 3822: smartmontools 5.26
 3823: 
 3824:   [BA] Improved user messages that appear from 'make install'
 3825: 
 3826:   [PW] Removed warning for SAMSUNG SP1213N with firmware TL100-23
 3827: 
 3828:   [BA] incorporated SuSE init script from user.
 3829: 
 3830:   [DG] if SCSI device is read only, then open it read only.
 3831: 
 3832:   [BA] when compiled on non-supported system (NOT linux, freebsd or solaris) then
 3833:        the run-time error messages now clearly say 'your system is not supported'
 3834:        and give clear directions.
 3835: 
 3836:   [BA] ./configure script now works correctly on SuSE linux boxes
 3837: 
 3838:   [BA] minor improvements to man pages
 3839: 
 3840:   [BA] simplified detection of packet (ATAPI, CD) devices.
 3841: 
 3842:   [BA] init script (redhat, mandrake, yellowdog) now uses correct
 3843:        strings for translation and is slightly more standard.
 3844: 
 3845:   [DG] smartctl: output scsi Seagate vendor pages for disks (not tapes)
 3846: 
 3847: smartmontools 5.25
 3848: 
 3849: Note: there was no '5.24' release. From this point on, even numbered
 3850: releases will be 'stable' ones and odd numbered releases will be
 3851: unstable/testing/development ones.
 3852: 
 3853:   [DG] smartd/smartctl: changed scsiClearControlGLTSD() to
 3854:        scsiSetControlGLTSD() with an 'enabled' argument so '-S on'
 3855:        and '-S off' work for SCSI devices (if changing GLTSD supported).
 3856: 
 3857:   [BA] smartd/smartctl: wired in scsiClearControlGLTSD(). Could still
 3858:        use a corresponding Set function.  Left stubs for this purpose.
 3859: 
 3860:   [DG] scsicmds: added scsiClearControlGLTSD() [still to be wired in]
 3861: 
 3862:   [BA] smartctl: make SCSI -T options behave the same way as the
 3863:        ATA ones.
 3864: 
 3865:   [DG] smartctl: output scsi transport protocol if available
 3866: 
 3867:   [DG] scsi: stop device scan in smartd and smartctl if badly formed
 3868:        mode response [heuristic to filter out USB devices before we
 3869:        (potentially) lock them up].
 3870: 
 3871:   [BA] smartd: deviceclose()->CloseDevice(). Got rid of SCSIDEVELOPMENT
 3872:        macro-enabled code.  Added -W to list of gcc specific options to
 3873:        always enable. Made code clean for -W warnings.
 3874: 
 3875:   [PW] Added Maxtor DiamondMax VL 30 family to knowndrives table.
 3876: 
 3877:   [DG] scsi: add warning (when '-l error' active) if Control mode page
 3878:        GLTSD bit is set (global disable of saving log counters)
 3879: 
 3880:   [DG] scsi: remember mode sense cmd length. Output trip temperature
 3881:        from IE lpage (IBM extension) when unavailable from temp lpage.
 3882: 
 3883:   [BA] smartd: for both SCSI and ATA now warns user if either
 3884:        the number of self-test errors OR timestamp of most
 3885:        recent self-test error have increased.
 3886: 
 3887:   [DG] smartctl: output Seagate scsi Cache and Factory log pages (if
 3888:        available) when vendor attributes chosen
 3889: 
 3890:   [DG] smartd: add scsiCountFailedSelfTests() function.
 3891: 
 3892:   [DG] Do more sanity checking of scsi log page responses.
 3893: 
 3894:   [BA] smartd: now warns user if number of self-test errors has
 3895:        increased for SCSI devices.
 3896: 
 3897:   [BA] smartd: warn user if number of ATA self-test errors increases
 3898:        (as before) OR if hour time stamp of most recent self-test
 3899:        error changes.
 3900: 
 3901:   [DG] More checks for well formed mode page responses. This has the side
 3902:        effect of stopping scans on bad SCSI implementations (e.g. some
 3903:        USB disks) prior to sending commands (typically log sense) that
 3904:        locks them up.
 3905: 
 3906:   [PW] Added Western Digital Caviar family and Caviar SE family to
 3907:        knowndrives table.
 3908: 
 3909:   [BA] smartd: added -l daemon (which is the default value if -l
 3910:        is not used).
 3911: 
 3912:   [PW] Added Seagate Barracuda ATA V family to knowndrives table.
 3913: 
 3914:   [BA] smartd: added additional command line argument -l FACILITY
 3915:        or --logfacility FACILITY.  This can be used to redirect
 3916:        messages from smartd to a different file than the one used
 3917:        by other system daemons.
 3918: 
 3919:   [PW] Added Seagate Barracuda 7200.7, Western Digital Protege WD400EB,
 3920:        and Western Digital Caviar AC38400 to knowndrives table.
 3921: 
 3922:   [BA] smartd: scanning should now also work correctly for
 3923:        devfs WITHOUT traditional links /dev/hd[a-t] or /dev/sd[a-z].
 3924:   
 3925:   [PW] Added Maxtor 4W040H3, Seagate Barracuda 7200.7 Plus,
 3926:        IBM Deskstar 120GXP (40GB), Seagate U Series 20410,
 3927:        Fujitsu MHM2100AT, MHL2300AT, MHM2150AT, and IBM-DARA-212000
 3928:        to knowndrives table.
 3929: 
 3930:   [PW] Added remaining Maxtor DiamondMax Plus 9 models to knowndrives
 3931:        table.
 3932: 
 3933:   [EM] smartd: If no matches found, then return 0, rather than an error
 3934:        indication, as it just means no devices of the given type exist.
 3935:        Adjust FreeBSD scan code to mirror Linux version.
 3936: 
 3937:   [BA] smartd: made device scan code simpler and more robust. If
 3938:        too many devices detected, warn user but scan as many
 3939:        as possible.  If error in scanning, warn user but don't
 3940:        die right away.
 3941: 
 3942:   [EM] smartd: To keep as consistent as possible, migrate FreeBSD
 3943:        devicescan code to also use glob(3). Also verified clean 
 3944:        compile on a 4.7 FreeBSD system.
 3945: 
 3946:   [BA] smartd: Modified device scan code to use glob(3). Previously
 3947:        it appeared to have trouble when scanning devices on an XFS
 3948:        file system, and used non-public interface to directory
 3949:        entries. Problems were also reported when /dev/ was on an
 3950:        ext2/3 file system, but there was a JFS partition on the same
 3951:        disk.
 3952: 
 3953:   [BA] Clearer error messages when device scanning finds no suitable
 3954:        devices.
 3955: 
 3956:   [EM] FreeBSD:	Fixup code to allow for proper compilation under 
 3957:        -STABLE branch.
 3958: 
 3959: smartmontools 5.23
 3960: 
 3961:   [BA] smartd: didn't close file descriptors of ATA packet devices
 3962:        that are scanned. Fixed.
 3963: 
 3964:   [BA] Added reload/report targets to the smartmontools init script.
 3965:        reload: reloads config file
 3966:        report: send SIGUSR1 to check devices now
 3967: 
 3968: smartmontools 5.22
 3969: 
 3970:   [EM] Fix compile issues for FreeBSD < 5-CURRENT.
 3971: 
 3972:   [PW] Added Fujitsu MHM2200AT to knowndrives table.
 3973: 
 3974:   [BA] To help catch bugs, clear ATA error structures before all
 3975:        ioctl calls.  Disable code that attempted to time-out on SCSI
 3976:        devices when they hung (doesn't work).
 3977:  
 3978:   [BA] Documented STATUS/ERROR flags added by [PW] below.
 3979: 
 3980:   [BA] Improved algorithm to recognize ATA packet devices. Should
 3981:        no longer generate SYSLOG kernel noise when user tries either
 3982:        smartd or smartctl on packet device (CD-ROM or DVD).  Clearer
 3983:        warning messages from smartd when scanning ATA packet device.
 3984: 
 3985:   [PW] Added TOSHIBA MK4025GAS to knowndrives table.
 3986: 
 3987:   [PW] Added a textual interpretation of the status and error registers
 3988:        in the SMART error log (ATA).  The interpretation is
 3989:        command-dependent and currently only eight commands are supported
 3990:        (those which produced errors in the error logs that I happen to
 3991:        have seen).
 3992: 
 3993:   [BA] added memory allocation tracking to solaris code.
 3994:        Fixed solaris signal handling (reset handler to default
 3995:        after first call to handler) by using sigset. Added
 3996:        HAVE_SIGSET to configure.in
 3997: 
 3998:   [CD] solaris port: added SCSI functionality to solaris
 3999:        stubs.
 4000: 
 4001:   [BA] smartd: attempt to address bug report about smartd
 4002:        hanging on USB devices when scanning:
 4003:        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107615
 4004:        Set a timeout of SCSITIMEOUT (nominally 7 seconds) before
 4005:        giving up.
 4006: 
 4007:   [EM] smartd: DEVICESCAN will follow links in a devfs filesystem and
 4008:        make sure the end point is a disc.  Update documentation, added
 4009:        note about FreeBSD scanning
 4010: 
 4011:   [BA] smartd: DEVICESCAN also looks for block devices in
 4012:        /dev.  Updated documentation.  Now scans for up to
 4013:        20 ATA devices /dev/hda-t rather than previous 12
 4014:        /dev/hda-l.
 4015: 
 4016:   [EM] smartd: mirror the FreeBSD DEVICESCAN logic for Linux,
 4017:        so that smartd now scans only devices found in /dev/. Also,
 4018:        make utility memory functions take a line number and file so
 4019:        that we report errors with the correct location.
 4020:  
 4021:   [GG] add a note about Debian bug #208964 to WARNINGS.
 4022: 
 4023:   [BA] smartctl: -T verypermissive option broken.  Use
 4024:        -T verpermissive until the next release, please.
 4025: 
 4026:   [BA] Syntax mods so that code also compiles on Solaris using
 4027:        Sun Workshop compiler.  Need -xmemalign 1i -xCC flags
 4028:        for cc.
 4029: 
 4030: smartmontools 5.21
 4031: 
 4032:   [DK] Changed configure.in so -Wall is only included if gcc
 4033:        is used (this is a gcc specific flag) and -fsignedchar
 4034:        is not used at all (this is a gcc specific compiler 
 4035:        flag).
 4036: 
 4037:   [BA] Modifications so that code now compiles under solaris. Now
 4038:        all that's needed (:-) is to fill in os_solaris.[hc].  Added
 4039:        os_generic.[hc] as guide to future ports.  Fixed -D option
 4040:        of smartd (no file name).  Modified -h opt of smartd/smartctl
 4041:        to work properly with solaris getopt().
 4042: 
 4043:   [EM] Update MAN pages with notes that 3ware drives are NOT supported
 4044: 	under FreeBSD. Cleanup FreeBSD warning message handling.
 4045: 
 4046:   [EM] FreeBSD only: Fix first user found bug....I guess I was making
 4047:        the wrong assumption on how to convert ATA devnames to
 4048:        channel/unit numbers.
 4049:   
 4050:   [EM] Allow for option --enable-sample to append '.sample' to installed
 4051: 	smartd.conf and rc script files. Also, let rc script shell setting
 4052: 	be determined by configure
 4053: 
 4054:   [EM] Minor autoconf update to include -lcam for FreeBSD
 4055: 
 4056:   [EM] Add conditional logic to allow FreeBSD to compile pre-ATAng.
 4057: 	-- note, not tested
 4058: 	Add some documentation to INSTALL for FreeBSD.
 4059: 
 4060:   [EM] Implement SCSI CAM support for FreeBSD.  NOTE: I am not an expert
 4061: 	in the use of CAM.  It seems to work for me, but I may be doing
 4062: 	something horribly wrong, so please exercise caution.
 4063: 
 4064:   [EM] Switch over to using 'atexit' rather than 'on_exit' routine. This also
 4065:   	meant we needed to save the exit status elsewhere so our 'Goodbye'
 4066: 	routine could examine it.
 4067: 
 4068:   [EM] Move the DEVICESCAN code to os specific files. Also moved some of the
 4069: 	smartd Memory functions to utility.c to make available to smartctl.
 4070: 
 4071:   [EM] Code janitor work on os_freebsd.c.
 4072: 
 4073:   [EM] Added os_freebsd.[hc] code.  Additional code janitor
 4074:        work.
 4075: 
 4076:   [BA] Code janitor working, moving OS dependent code into
 4077:        os_linux.[hc].
 4078: 
 4079:   [GG] conditionally compile os_{freebsd,linux}.o depending on
 4080:        host architecture
 4081: 
 4082:   [PW] Print estimated completion time for tests
 4083: 
 4084:   [BA] Added -F samsung2 flag to correct firmware byte swap.
 4085:        All samsung drives with *-23 firmware revision string.
 4086: 
 4087: smartmontools 5.20
 4088: 
 4089:   [GG] Fixed broken Makefile.am (zero length smartd.conf.5
 4090:        was being created), fix broken uninstall/distcheck targets
 4091: 
 4092:   [FM] Improved Slackware init script added to /etc/smartd.initd
 4093: 
 4094: smartmontools 5.19 [NOTE CHANGE OF RELEASE NUMBERING]
 4095: 
 4096:   [BA] smartctl: added '-T verypermissive' option which is
 4097:        equivalent to giving '-T permissive' many times.
 4098: 
 4099:   [BA] Try harder to identify from IDENTIFY DEVICE structure
 4100:        if SMART supported/enabled.  smartd now does a more
 4101:        thorough job of trying to assess this before sending
 4102:        a SMART status command to find out for sure.
 4103: 
 4104:   [BA] smartctl: it's now possible to override the program's
 4105:        guess of the device type (ATA or SCSI) with -d option.
 4106: 
 4107:   [BA] try hard to avoid sending IDENTIFY DEVICE to packet
 4108:        devices (CDROMS).  They can't do SMART, and this generates
 4109:        annoying syslog messages. At the same time, identify type
 4110:        of Packet device.
 4111: 
 4112:   [BA] smartctl: Can now use permissive option more
 4113:        than once, to control how far to go before giving up.
 4114: 
 4115:   [BA] smartd: if user asked to monitor either error or self-test
 4116:        logs (-l error or -l selftest) WITHOUT monitoring any of the
 4117:        Attribute values, code will SEGV.  For 5.1-18 and earlier,
 4118:        a good workaround is to enable Auto offline (-o on).
 4119: 
 4120:   [BA] smartctl: If enable auto offline command given, update auto
 4121:        offline status before printing capabilities.
 4122: 
 4123:   [GG] Make autotools build the default, remove autotools.diff
 4124: 
 4125:   [GG] Add auto{conf,make} support, not enabled by default. 
 4126: 
 4127:   [BA] Eliminated #include <linux/hdreg.h> from code. This
 4128:        should simplify porting to solaris, FreeBSD, etc. The
 4129:        only linux-specific code is now isolated to three routines,
 4130:        one for SCSI, one for Escalade, one for ATA.
 4131: 
 4132: smartmontools 5.1-18
 4133: 
 4134:   [BA] smartd: fixed serious bug - Attributes not monitored unless
 4135:        user told smartd to ignore at least one of them!
 4136: 
 4137: smartmontools 5.1-17
 4138: 
 4139:   [BA] Default runlevels for smartd changed from 3 and 5 to
 4140:        2, 3, 4, and 5.
 4141: 
 4142:   [BA] Removed as much dynamic memory allocation as possible from
 4143:        configuration file parsing. Reloading config file, even in
 4144:        presence of syntax errors etc. should not cause memory leaks.
 4145: 
 4146:   [PW] It is no longer permissible for the integer part (if any) of
 4147:        arguments to --report and --device to be followed by non-digits.
 4148:        For example, the "foo" in --report=ioctl,2foo was previously
 4149:        ignored, but now causes an error.
 4150: 
 4151:   [BA] smartd: added -q/--quit command line option to specify
 4152:        under what circumstances smartd should exit.  The old
 4153:        -c/--checkonce option is now obsoleted by this more
 4154:        general-purpose option.
 4155: 
 4156:   [BA] smartd now responds to a HUP signal by re-reading its
 4157:        configuration file /etc/smartd.conf.  If there are
 4158:        errors in this file, then the configuration file is
 4159:        ignored and smartd continues to monitor the devices that
 4160:        it was monitoring prior to receiving the HUP signal.
 4161: 
 4162:   [BA] Now correctly get SMART status from disks behind 3ware
 4163:        controllers, thanks to Adam Radford. Need 3w-xxxx driver
 4164:        version 1.02.00.037 or later. Previously the smartmontools
 4165:        SMART status always returned "OK" for 3ware controllers.
 4166: 
 4167:   [BA] Additional work on dynamic memory allocation/deallocation.
 4168:        This should have no effect on smartctl, but clears that way
 4169:        for smartd to dynamically add and remove entries.  It should
 4170:        also now be easier to modify smartd to re-read its config
 4171:        file on HUP (which is easy) without leaking memory (which is
 4172:        harder). The philosophy is that memory for data structures in
 4173:        smartd is now allocated only on demand, the first time it
 4174:        is needed.
 4175: 
 4176:   [BA] smartd: finished cleanup.  Now use create/rm functions for
 4177:        cfgentries and dynamic memory allocation almost everywhere.
 4178:        Philosophy: aggresively try and provoke SEGV to help find
 4179:        bad code.
 4180: 
 4181:   [BA] Added SAMSUNG SV0412H to knowndrives table.
 4182: 
 4183:   [BA] smartd: if DEVICESCAN used then knowndrives table might not set
 4184:        the -v attributes correctly -- may have been the same for all
 4185:        the drives.  Cleaned up some data structures and memory
 4186:        allocation to try and ensure segvs if such problems are 
 4187:        introduced again.
 4188: 
 4189:   [BA] Now allow -S on and -o on for the 3ware device type.  For these
 4190:        commands to be passed through, the stock 3ware 3w-xxxx driver
 4191:        must be patched (8 lines).  I'll post a patch on the smartmontools
 4192:        home page after it's been tested by a few other people and 3ware
 4193:        have had a chance to look it over.
 4194: 
 4195: smartmontools-5.1-16
 4196: 
 4197:   [BA] smartd - can now monitor ATA drives behind 3ware controllers.
 4198: 
 4199:   [BA] smartd - changed some FATAL out of memory error messages from
 4200:        syslog level LOG_INFO to LOG_CRIT.
 4201: 
 4202:   [BA] smartctl - added code to look at ATA drives behind 3ware RAID
 4203:        controllers using the 3w-xxxx driver.  Note that for technical
 4204:        reasons related to the 3w-xxxx driver, the "Enable Autosave",
 4205:        "Enable Automatic Offline" commands are not implemented.
 4206:        I will add this to smartd shortly.
 4207: 
 4208:   [BA] smartd - modified sleep loop, so that smartd no longer comes
 4209:        on the run queue every second.  Instead, unless interrupted,
 4210:        it sleeps until the next polling time, when it wakes up. Now
 4211:        smartd also tries to wake up at exactly the right
 4212:        intervals (nominally 30 min) even if the user has been sending
 4213:        signals to it.
 4214: 
 4215:   [GG] add Fujitsu MHN2300AT to vendoropts_9_seconds.
 4216: 
 4217:   [EB] Fujitsu change in knowndrives ... match the whole MPD and
 4218:        MPE series for vendoropts_9_seconds.
 4219: 
 4220:   [BA] smartd bug, might cause segv if a device can not be opened. Was
 4221:        due to missing comma in char* list.  Consequence is that email
 4222:        failure messages might have had the wrong Subject: heading for
 4223:        errorcount, FAILEDhealthcheck, FAILEDreadsmartdata, FAILEDreadsmarterrorlog,
 4224:        FAILEDreadsmartsefltestlog, FAILEDopendevice were all displaced by
 4225:        one.  And FAILEDopendevice might have caused a segv if -m was being
 4226:        used as a smartd Directive.
 4227: 
 4228: smartmontools-5.1-15
 4229: 
 4230:   [BA] Cleaned up smartmontools.spec so that upgrading, removing
 4231:        and other such operations correctly preserve running behavior
 4232:        and booting behavior of smartd.
 4233: 
 4234:   [BA] Improved formatting of ATA Error Log printout, and added
 4235:        listing of names of commands that caused the error. Added
 4236:        obsolete ATA-4 SMART feature commands to table, along with
 4237:        obsolete SFF-8035i SMART feature command.
 4238: 
 4239:   [PW] Added atacmdnames.[hc], which turn command register &
 4240:        feature register pairs into ATA command names.
 4241: 
 4242:   [BA] Added conveyance self-test.  Some code added for selective
 4243:        self-tests, but #ifdefed out.
 4244: 
 4245:   [BA] Modified smartd exit status and log levels.  If smartd is
 4246:        "cleanly" terminated, for example with SIGTERM, then its
 4247:        exit messages are now logged at LOG_INFO not LOG_CRIT
 4248: 
 4249:   [BA] Added Attribute IDs  (Fujitsu) 0xCA - 0xCE.  This is decimal
 4250:        202-206. Added -v switches for interpretation of Attributes
 4251:        192, 198 and 201. 
 4252: 
 4253:   [BA] Made smartmontools work with any endian order machine for:
 4254:        - SMART selftest log
 4255:        - SMART ATA error log
 4256:        - SMART Attributes values
 4257:        - SMART Attributes thesholds
 4258:        - IDENTIFY DEVICE information
 4259:        - LOG DIRECTORY
 4260:        Smartmontools is now free of endian bias and works correctly
 4261:        on both little- and big-endian hardware.  This has been tested by
 4262:        three independent PPC users on a variety of ATA and SCSI hardware.
 4263: 
 4264:   [DG] Check that certain SCSI command responses are well formed. If
 4265:        IEC mode page response is not well formed exit smartctl. This
 4266:        is to protect aacraid. smartd should ignore a aacraid device.
 4267: 
 4268: smartmontools-5.1-14
 4269: 
 4270:   [BA] smartctl: added column to -A output to show if Attributes are
 4271:        updated only during off-line testing or also during normal
 4272:        operation.
 4273: 
 4274: smartmontools-5.1-13
 4275: 
 4276:   [BA] smartd: attempt to enable/disable automatic offline testing even
 4277:        if the disk appears not to support it.  Now the same logic
 4278:        as smartctl.
 4279: 
 4280:   [BA] Added definition of Attribute 201, soft read error rate.
 4281: 
 4282:   [BA] Added IBM/Hitachi IC35L120AVV207-1 (GXP-180) and corresponding
 4283:        8MB Cache GXP-120 to drive database.
 4284: 
 4285:   [BA] smartd: if DEVICESCAN Directive used in smartd.conf, and
 4286:        -I, -R or -r Directives used in conjunction with this, got
 4287:        segv errors.  Fixed by correcting memory allocation calls.
 4288: 
 4289:   [BA] smartd: enable automatic offline testing was broken due
 4290:        to cut-and-paste error that disabled it instead of
 4291:        enabling it.  Thanks to Maciej W. Rozycki for pointing
 4292:        out the problem and solution.
 4293: 
 4294:   [BA] Fixed "spelling" of some Attribute names to replace spaces
 4295:        in names by underscores. (Fixed field width easier for awk
 4296:        style parsing.)
 4297: 
 4298:   [BA,GF] Added mods submitted by [GF] to support Attribute 193 being
 4299:        load/unload cycles. Add -v 193,loadunload option, useful for
 4300:        Hitachi drive DK23EA-30, and add this drive to knowndrive.c
 4301:        Add meaning of attribute 250 : Read error retry rate
 4302: 
 4303: smartmontools-5.1-12
 4304: 
 4305:   [BA] Added another entry for Samsung drives to knowndrive table.
 4306: 
 4307:   [DG] Refine SCSI log sense command to do a double fetch in most cases
 4308:        (but not for the TapeAlert log page). Fix TapeAlert and Self Test
 4309:        log page response truncation.
 4310: 
 4311:   [PW] Added 'removable' argument to -d Directive for smartd.  This indicates
 4312:        that smartd should continue (rather than exit) if the device does not 
 4313:        appear to be present.
 4314: 
 4315:   [BA] Modified smartmontools.spec [Man pages location] and
 4316:        smartd.initd [Extra space kills chkconfig!] for Redhat 6.x
 4317:        compatibility (thanks to Gerald Schnabel).
 4318: 
 4319: smartmontools-5.1-11
 4320: 
 4321:   [EB] Add another Fujitsu disk to knowndrives.c
 4322: 
 4323:   [GG] match for scsi/ and ide/ in case of devfs to exclude false postives
 4324: 
 4325:   [BA] If SCSI device listed in /etc/smartd.conf fails to open or do
 4326:        SMART stuff correctly, or not enough space
 4327:        to list all SCSI devices, fail with error unless
 4328:        -DSCSIDEVELOPMENT set during compile-time.
 4329: 
 4330:   [BA] Added automatic recognition of /dev/i* (example: /dev/ide/...)
 4331:        as an ATA device.
 4332: 
 4333:   [DG] Add "Device type: [disk | tape | medium changer | ...] line to
 4334:        smartctl -i output for SCSI devices.
 4335: 
 4336:   [PW] Fixed bug in smartd where test email would be sent regularly (for
 4337:        example, daily if the user had specified -M daily) instead of just
 4338:        once on startup.
 4339: 
 4340:   [KM] More TapeAlert work. Added translations for media changer
 4341:        alerts. TapeAlert support reported according to the log page
 4342:        presence. ModeSense not attempted for non-ready tapes (all
 4343:        drives do not support this after all). Get peripheral type from
 4344:        Inquiry even if drive info is not printed. Add QUIETON()
 4345:        QUIETOFF() to TapeAlert log check.
 4346: 
 4347:   [BA] Stupid bug in atacmds.c minor_str[] affected ataVersionInfo().
 4348:        Two missing commas meant that minor_str[] had two few elements,
 4349:        leading to output like this:
 4350:        Device Model:     Maxtor 6Y120L0
 4351:        Serial Number:    Y40BF74E
 4352:        Firmware Version: YAR41VW0
 4353:        Device is:        Not in smartctl database [for details use: -P showall]
 4354:        ATA Version is:   7
 4355:        ATA Standard is:  9,minutes
 4356:                          ^^^^^^^^^
 4357:        Missing commas inserted.
 4358: 
 4359:   [BA] Fixed smartd bug.  On device registration, if ATA device did
 4360:        not support SMART error or self-test logs but user had asked to
 4361:        monitor them, an attempt would be made to read them anyway,
 4362:        possibly generating "Drive Seek" errors.  We now check that
 4363:        the self-test and error logs are supported before trying to
 4364:        access them the first time.
 4365: 
 4366:   [GG/BA] Fixed bug where if SMART ATA error log not supported,
 4367:        command was tried anyway. Changed some error printing to use
 4368:        print handlers.
 4369: 
 4370:   [GG] Makefile modifications to ease packaging
 4371: 
 4372:   [DG] Did work for TapeAlerts (SCSI). Now can detect /dev/nst0 as a
 4373:        SCSI device. Also open SCSI devices O_NONBLOCK so they don't
 4374:        hang on open awaiting media. The ATA side should worry about
 4375:        this also: during a DEVICESCAN a cd/dvd device without media
 4376:        will hang. Added some TapeAlert code suggested by Kai Makisara.
 4377: 
 4378: smartmontools-5.1-10
 4379: 
 4380:   [PW] Extended the -F option/Directive to potentially fix other firmware
 4381:        bugs in addition to the Samsung byte-order bug.  Long option name is
 4382:        now --firmwarebug and the option/Directive accepts an argument
 4383:        indicating the type of firmware bug to fix.
 4384: 
 4385:   [BA] Fixed a bug that prevented the enable automatic off-line
 4386:        test feature from enabling.  It also prevented the enable Attribute
 4387:        autosave from working.  See CVS entry for additional details.
 4388: 
 4389:   [PW] Modified the -r/--report option (smartctl and smartd) to allow the
 4390:        user to specify the debug level as a positive integer.
 4391: 
 4392:   [BA] Added --log directory option to smartctl.  If the disk
 4393:        supports the general-purpose logging feature set (ATA-6/7)
 4394:        then this option enables the Log Directory to be printed.
 4395:        This Log Directory shows which device logs are available, and
 4396:        their lengths in sectors.
 4397: 
 4398:   [PW] Added -P/--presets option to smartctl and -P Directive to smartd.
 4399: 
 4400:   [GG] Introduce different exit codes indicating the type of problem
 4401:        encountered for smartd.
 4402: 
 4403:   [DG] Add non-medium error count to '-l error' and extended self test
 4404:        duration to '-l selftest'. Get scsi IEs and temperature changes
 4405:        working in smartd. Step over various scsi disk problems rather
 4406:        than abort smartd startup.
 4407: 
 4408:   [DG] Support -l error for SCSI disks (and tapes). Output error counter
 4409:        log pages.
 4410: 
 4411:   [BA] Added -F/--fixbyteorder option to smartctl.  This allows us to read
 4412:        SMART data from some disks that have byte-reversed two- and four-
 4413:        byte quantities in their SMART data structures.
 4414: 
 4415:   [BA] Fixed serious bug: the -v options in smartd.conf were all put
 4416:        together and used together, not drive-by-drive.
 4417: 
 4418:   [PW] Added knowndrives.h and knowndrives.c.  The knowndrives array
 4419:        supersedes the drivewarnings array.
 4420: 
 4421:   [GG] add {-p,--pidfile} option to smartd to write a PID file on
 4422:        startup. Update the manpage accordingly.
 4423: 
 4424:   [DG] Fix scsi smartd problem detecting SMART support. More cleaning
 4425:        and fix (and rename) scsiTestUnitReady(). More scsi renaming.
 4426: 
 4427:   [BA] Fixed smartd so that if a disk that is explictily listed is not
 4428:        found, then smartd will exit with nonzero status BEFORE forking.
 4429:        If a disk can't be registered, this will also be detected before
 4430:        forking, so that init scripts can react correctly.
 4431: 
 4432:   [BA] Replaced all linux-specific ioctl() calls in atacmds.c with
 4433:        a generic handler smartcommandhandler().  Now the only routine
 4434:        that needs to be implemented for a given OS is os_specific_handler().
 4435:        Also implemented the --report ataioctl. This provides 
 4436:        two levels of reporting.  Using the option once gives a summary
 4437:        report of device IOCTL transactions.  Using the option twice give
 4438:        additional info (a printout of ALL device raw 512 byte SMART
 4439:        data structures).  This is useful for debugging.
 4440: 
 4441:   [DG] more scsi cleanup. Output scsi device serial number (VPD page
 4442:        0x80) if available as part of '-i'. Implement '-t offline' as
 4443:        default self test (only self test older disks support).
 4444: 
 4445:   [BA] Changed crit to info in loglevel of smartd complaint to syslog
 4446:        if DEVICESCAN enabled and device not found.
 4447: 
 4448:   [BA] Added -v 194,10xCelsius option/Directive. Raw Attribute number
 4449:        194 is ten times the disk temperature in Celsius.
 4450: 
 4451:   [DG] scsicmds.[hc] + scsiprint.c: clean up indentation, remove tabs.
 4452:        Introduce new intermediate interface based on "struct scsi_cmnd_io"
 4453:        to isolate SCSI generic commands + responses from Linux details;
 4454:        should help port to FreeBSD of SCSI part of smartmontools.
 4455:        Make SCSI command builders more parametric.
 4456: 
 4457: smartmontools-5.1-9
 4458:   
 4459:   [BA] smartctl: if HDIO_DRIVE_TASK ioctl() is not implemented (no
 4460:        kernel support, then try to assess drive health by examining
 4461:        Attribute values/thresholds directly.
 4462: 
 4463:   [BA] smartd/smartctl: added -v 200,writeerrorcount option/Directive
 4464:        for Fujitsu disks.
 4465: 
 4466:   [BA] smartd: Now send email if any of the SMART commands fails,
 4467:        or if open()ing the device fails.  This is often noted
 4468:        as a common disk failure mode.
 4469: 
 4470:   [BA] smartd/smartctl: Added -v N,raw8 -v N,raw16 and -v N,raw48
 4471:        Directives/Options for printing Raw Attributes in different
 4472:        Formats.
 4473: 
 4474:   [BA] smartd: Added -r ID and -R ID for reporting/tracking Raw
 4475:        values of Attributes.
 4476: 
 4477:   [BA] smartd/smartctl: Changed printing of spin-up-time attribute
 4478:        raw value to reflect current/average as per IBM standard.
 4479: 
 4480:   [BA] smartd/smartctl: Added -v 9,seconds option for disks which
 4481:        use Attribute 9 for power-on lifetime in seconds.
 4482: 
 4483:   [BA] smartctl: Added a warning message so that users of some IBM
 4484:        disks are warned to update their firmware.  Note: we may want
 4485:        to add a command-line flag to disable the warning messages.
 4486:        I have done this in a general way, using regexp, so that we
 4487:        can add warnings about any type of disk that we wish...
 4488: 
 4489: smartmontools-5.1-7
 4490: 
 4491:   [BA] smartd: Created a subdirectory examplescripts/ of source
 4492:        directory that contains executable scripts for the -M exec PATH
 4493:        Directive of smartd.
 4494: 
 4495: smartmontools-5.1-5
 4496: 
 4497:   [BA] smartd: DEVICESCAN in /etc/smartd.conf
 4498:        can now be followed by all the same Directives as a regular
 4499:        device name like /dev/hda takes.  This allows one to use
 4500:        (for example):
 4501:        DEVICESCAN -m root@example.com
 4502:        in the /etc/smartd.conf file.
 4503: 
 4504:   [BA] smartd: Added -c (--checkonce) command-line option. This checks
 4505:        all devices once, then exits.  The exit status can be
 4506:        used to learn if devices were detected, and if smartd is
 4507:        functioning correctly. This is primarily for Distribution
 4508:        scripters.
 4509: 
 4510:   [BA] smartd: Implemented -M exec Directive for
 4511:        smartd.conf.  This makes it possible to run an
 4512:        arbitrary script or mailing program with the
 4513:        -m option.
 4514: 
 4515:   [PW] smartd: Modified -M Directive so that it can be given
 4516:        multiple times.  Added -M exec Directive.
 4517: 
 4518: smartmontools-5.1-4
 4519: 
 4520:   [BA] Fixed bug in smartctl pointed out by Pierre Gentile.
 4521:        -d scsi didn't work because tryata and tryscsi were
 4522:        reversed -- now works on /devfs SCSI devices.
 4523: 
 4524:   [BA] Fixed bug in smartctl pointed out by Gregory Goddard
 4525:        <ggoddard@ufl.edu>.  Manual says that bit 6 of return
 4526:        value turned on if errors found in smart error log.  But
 4527:        this wasn't implemented.
 4528: 
 4529: smartmontools-5.1-3
 4530: 
 4531:   [BA] Modified printing format for 9,minutes to read
 4532:        Xh+Ym not X h + Y m, so that fields are fixed width.
 4533: 
 4534:   [BA] Added Attribute 240 "head flying hours"
 4535: 
 4536: smartmontools-5.1.1
 4537: 
 4538:   [BA] As requested, local time/date now printed by smartctl -i
 4539: 
 4540:   [PW] Added "help" argument to -v for smartctl
 4541: 
 4542:   [PW] Added -D, --showdirectives option to smartd
 4543: 
 4544:   [DG] add '-l selftest' capability for SCSI devices (update smartctl.8)
 4545: 
 4546:   [BA] smartd,smartctl: added additional Attribute modification option
 4547:        -v 220,temp and -v 9,temp.
 4548: 
 4549:   [PW] Renamed smartd option -X to -d
 4550: 
 4551: START OF SMARTMONTOOLS 5.1 series
 4552: 
 4553: smartmontools-5.0.50
 4554: 
 4555:   [PW] Changed smartd.conf Directives -- see man page
 4556: 
 4557:   [BA/DG] Fixed uncommented comment in smartd.conf
 4558: 
 4559:   [DG] Correct 'Recommended start stop count' for SCSI devices
 4560: 
 4561:   [PW] Replaced smartd.conf directive -C with smartd option -i
 4562: 
 4563:   [PW] Changed options for smartctl -- see man page.
 4564: 
 4565:   [BA] Use strerror() to generate system call error messages.
 4566: 
 4567:   [BA] smartd: fflush() all open streams before fork().
 4568: 
 4569:   [BA] smartctl, smartd simplified internal handling of checksums
 4570:   for simpler porting and less code.
 4571: 
 4572: smartmontools-5.0.49
 4573: 
 4574:   [PW] smartd --debugmode changed to --debug
 4575: 
 4576:   [BA] smartd/smartctl added attribute 230 Head Amplitude from
 4577:   IBM DPTA-353750.
 4578: 
 4579:   [PW] Added list of proposed new options for smartctl to README.
 4580: 
 4581:   [PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is
 4582:   defined and uses getopt() otherwise.  This is controlled by CPPFLAGS in
 4583:   the Makefile.
 4584: 
 4585:   [BA] smartd: Fixed a couple of error messages done with perror()
 4586:   to redirect them as needed.
 4587: 
 4588: smartmontools-5.0.48
 4589: 
 4590:   [BA] smartctl: The -O option to enable an Immediate off-line test
 4591:   did not print out the correct time that the test would take to
 4592:   complete.  This is because the test timer is volatile and not
 4593:   fixed.  This has been fixed, and the smartctl.8 man page has been
 4594:   updated to explain how to track the Immediate offline test as it
 4595:   progresses, and to further emphasize the differences between the
 4596:   off-line immediate test and the self-tests.
 4597: 
 4598:   [BA] smartd/smartctl: Added new attribute (200) Multi_Zone_Error_Rate
 4599: 
 4600:   [BA] smartctl: modified so that arguments could have either a single -
 4601:   as in -ea or multiple ones as in -e -a.  Improved warning message for
 4602:   device not opened, and fixed error in redirection of error output of
 4603:   HD identity command.
 4604: 
 4605:   [PW] smartd: added support for long options.  All short options are still
 4606:   supported; see manpage for available long options.
 4607: 
 4608:   [BA] smartctl.  When raw Attribute value was 2^31 or larger, did
 4609:   not print correctly.
 4610: 
 4611: smartmontools-5.0.46
 4612: 
 4613:   [BA] smartd: added smartd.conf Directives -T and -s.  The -T Directive
 4614:   enables/disables Automatic Offline Testing.  The -s Directive
 4615:   enables/disables Attribute Autosave. Documentation and
 4616:   example configuration file updated to agree.
 4617: 
 4618:   [BA] smartd: user can make smartd check the disks at any time
 4619:   (ie, interrupt sleep) by sending signal SIGUSR1 to smartd.  This
 4620:   can be done for example with:
 4621:   kill -USR1 <pid>
 4622:   where <pid> is the process ID number of smartd.
 4623: 
 4624:   [EB] scsi: don't trust the data we receive from the drive too
 4625:   much. It very well might have errors (like zero response length).
 4626:   Seen on Megaraid logical drive, and verified in the driver source.
 4627: 
 4628:   [BA] smartd: added Directive -m for sending test email and
 4629:   for modifying email reminder behavior.  Updated manual, and sample
 4630:   configuration file to illustrate & explain this.
 4631: 
 4632:   [BA] smartd: increased size of a continued smartd.conf line to
 4633:   1023 characters.
 4634: 
 4635:   [BA] Simplified Directive parsers and improved warning/error
 4636:   messages.
 4637: 
 4638: smartmontools-5.0.45
 4639: 
 4640:   [EB] Fixed bug in smartd where testunitready logic inverted
 4641:   prevented functioning on scsi devices.
 4642:   The bug in question only affects smartd users with scsi devices.
 4643:   To see if your version of smartd has the testunitready() bug, do
 4644:      smartd -V
 4645:   If the version of the module smartd.c in a line like:
 4646:      Module: smartd.c      revision: 1.66   date: 2002/11/17
 4647:   has a revision greater than or equal to 1.30, and less than or equal to
 4648:   1.64, then your version of the code has this problem.
 4649:   This problem affected releases starting with RELEASE_5_0_16 up to and
 4650:   including RELEASE_5_0_43.
 4651: 
 4652:   [BA] Added testunitnotready to smartctl for symmetry with smartd.
 4653: 
 4654:   [SB] added Czech descriptions to .spec file
 4655:   [SB]  corrected comment in smartd.conf example
 4656: 
 4657:   [BA] Changed way that entries in the ATA error log are printed,
 4658:   to make it clearer which is the most recent error and
 4659:   which is the oldest one.
 4660: 
 4661:   NOTE: All changes made prior to this point were done by Bruce Allen
 4662:   [BA] although several of them had been suggested by earlier postings
 4663:   by Stanislav Brabec [SB].
 4664: 
 4665: smartmontools-5.0.43
 4666: 
 4667:   Changed Temperature_Centigrade to Temperature_Celsius.
 4668:   The term "Centigrade" ceased to exist in 1948.  (c.f
 4669:   http://www.bartleby.com/64/C004/016.html).
 4670: 
 4671: smartmontools-5.0.42
 4672: 
 4673:   Modified SCSI device check to also send warning emails if
 4674:   requested in directives file.
 4675: 
 4676:   Added a new smartd configuration file Directive: -M ADDRESS.
 4677:   This sends a single warning email to ADDRESS for failures or
 4678:   errors detected with the -c, -L, -l, or -f Directives.
 4679: 
 4680: smartmontools-5.0.38
 4681: 
 4682:   Modified perror() statements in atacmds.c so that printout for SMART
 4683:   commands errors is properly suppressed or queued depending upon users
 4684:   choices for error reporting modes.
 4685: 
 4686:   Added Italian descriptions to smartmontools.spec file.
 4687: 
 4688:   Started impementing send-mail-on-error for smartd; not yet enabled.
 4689: 
 4690:   Added -P (Permissive) Directive to smartd.conf file to allow SMART
 4691:   monitoring of pre-ATA-3 Rev 4 disks that have SMART but do not have
 4692:   a SMART capability bit.
 4693:  
 4694:   Removed charset encodings from smartmontools.spec file for non-English
 4695:   fields.
 4696: 
 4697: smartmontools-5.0.32
 4698: 
 4699:   Added manual page smartd.conf.5 for configuration file.
 4700: 
 4701:   smartctl: Missing ANSI prototype in failuretest(); fixed.
 4702: 
 4703:   smartctl: Checksum warnings now printed on stdout, or are silent,
 4704:   depending upon -q and -Q settings.
 4705: 
 4706: smartmontools-5.0.31
 4707: 
 4708:   Changed Makefile so that the -V option does not reflect file state
 4709:   before commit!
 4710: 
 4711:   smartctl: added new options -W, -U, and -P to control if and how the
 4712:   smartctl exits if an error is detected in either a SMART data
 4713:   structure checksum, or a SMART command returns an error.
 4714: 
 4715:   modified manual page to break options into slightly more logical
 4716:   categories.
 4717: 
 4718:   reformatted 'usage' message order to agree with man page ordering
 4719: 
 4720:   modified .spec file so that locale information now contains
 4721:   character set definition.   Changed pt_BR to pt since we do not use any
 4722:   aspect other than language.  See man setlocale.
 4723: 
 4724: smartmontools-5.0.30
 4725:   smartctl: added new options -n and -N to force device to be ATA or SCSI
 4726:   smartctl: no longer dies silently if device path does not start/dev/X
 4727:   smartctl: now handles arbitrary device paths
 4728: 
 4729: smartmontools-5.0.29
 4730:   Modified .spec file and Makefile to make them more compliant with
 4731:   the "right" way of doing things.
 4732: 
 4733: smartmontools-5.0.26
 4734:   Fixed typesetting error in man page smartd.8
 4735: 
 4736:   Removed redundant variable (harmless) from smartd.c
 4737: 
 4738: smartmontools-5.0.25
 4739: 
 4740:   Added a new directive for the configuration file.  If the word
 4741:   DEVICESCAN appears before any non-commented material in the
 4742:   configuration file, then the confi file will be ignored and the
 4743:   devices wil be scanned.
 4744: 
 4745: smartmontools-5.0.24
 4746: 
 4747:     Note: it has now been confirmed that the code modifications between
 4748:     5.0.23 and 5.0.24 have eliminated the GCC 3.2 problems.  Note that
 4749:     there is a GCC bug howerver, see #8404 at
 4750:     http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&cmd=query
 4751:     http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8404
 4752: 
 4753:       Added new Directive for Configuration file:
 4754:       -C <N> This sets the time in between disk checks to be <N>
 4755:       seconds apart.  Note that  although  you  can  give
 4756:        this Directive multiple times on different lines of
 4757:        the configuration file, only the final  value  that
 4758:        is  given  has  an  effect,  and applies to all the
 4759:        disks.  The default value of <N> is 1800  sec,  and
 4760:        the minimum allowed value is ten seconds.
 4761: 
 4762:     Problem wasn't the print format. F.L.W. Meunier <0@pervalidus.net>
 4763:     sent me a gcc 3.2 build and I ran it under a debugger.  The
 4764:     problem seems to be with passing the very large (2x512+4) byte
 4765:     data structures as arguments.  I never liked this anyway; it was
 4766:     inherited from smartsuite.  So I've changed all the heavyweight
 4767:     functions (ATA ones, anyone) to just passing pointers, not hideous
 4768:     kB size structures on the stack.  Hopefully this will now build OK
 4769:     under gcc 3.2 with any sensible compilation options.
 4770: 
 4771: smartmontools-5.0.23
 4772: 
 4773:     Because of reported problems with GCC 3.2 compile, I have gone
 4774:     thorough the code and explicitly changed all print format
 4775:     parameters to correspond EXACTLY to int unless they have to be
 4776:     promoted to long longs.  To quote from the glibc bible: [From
 4777:     GLIBC Manual: Since the prototype doesn't specify types for
 4778:     optional arguments, in a call to a variadic function the default
 4779:     argument promotions are performed on the optional argument
 4780:     values. This means the objects of type char or short int (whether
 4781:     signed or not) are promoted to either int or unsigned int, as
 4782:     appropriate.]
 4783: 
 4784: smartmontools-5.0.22
 4785: 
 4786:     smartd, smartctl now warn if they find an attribute whose ID
 4787:     number does not match between Data and Threshold structures.
 4788: 
 4789:     Fixed nasty bug which led to wrong number of arguments for a
 4790:     varargs statement, with attendent stack corruption.  Sheesh!
 4791:     Have added script to CVS attic to help find such nasties in the
 4792:     future.
 4793: 
 4794: smartmontools-5.0.21
 4795: 
 4796:     Eliminated some global variables out of header files and other
 4797:     minor cleanup of smartd.
 4798: 
 4799: smartmontools-5.0.20
 4800: 
 4801:     Did some revision of the man page for smartd and made the usage
 4802:     messages for Directives 100% consistent.
 4803: 
 4804: smartmontools-5.0-19
 4805: 
 4806:     smartd: prints warning message when it gets SIGHUP, saying that it
 4807:     is NOT re-reading the config file.
 4808: 
 4809:     smartctl: updated man page to say self-test commands -O,x,X,s,S,A
 4810:     appear to be supported in the code.  [I can't test these,  can anyone
 4811:     report?]
 4812: 
 4813: smartmontools-5.0-18
 4814: 
 4815:     smartctl: smartctl would previously print the LBA of a self-test
 4816:     if it completed, and the LBA was not 0 or 0xff...f However
 4817:     according to the specs this is not correct.  According to the
 4818:     specs, if the self-test completed without error then LBA is
 4819:     undefined.  This version fixes that.  LBA value only printed if
 4820:     self-test encountered an error.
 4821: 
 4822: smartmontools-5.0-17
 4823: 
 4824:     smartd has changed significantly. This is the first CVS checkin of
 4825:     code that extends the options available for smartd.  The following
 4826:     options can be placed into the /etc/smartd.conf file, and control the
 4827:     behavior of smartd.
 4828:     Configuration file Directives (following device name):
 4829:     -A     Device is an ATA device
 4830:     -S     Device is a SCSI device
 4831:     -c     Monitor SMART Health Status
 4832:     -l     Monitor SMART Error Log for changes
 4833:     -L     Monitor SMART Self-Test Log for new errors
 4834:     -f     Monitor for failure of any 'Usage' Attributes
 4835:     -p     Report changes in 'Prefailure' Attributes
 4836:     -u     Report changes in 'Usage' Attributes
 4837:     -t     Equivalent to -p and -u Directives
 4838:     -a     Equivalent to -c -l -L -f -t Directives
 4839:     -i ID  Ignore Attribute ID for -f Directive
 4840:     -I ID  Ignore Attribute ID for -p, -u or -t Directive
 4841:     #      Comment: text after a hash sign is ignored
 4842:     \      Line continuation character
 4843: 
 4844:     cleaned up functions used for printing CVS IDs.  Now use string
 4845:     library, as it should be.
 4846: 
 4847:     modified length of device name string in smartd internal structure
 4848:     to accomodate max length device name strings
 4849: 
 4850:     removed un-implemented (-e = Email notification) option from
 4851:     command line arg list.  We'll put it back on when implemeneted.
 4852: 
 4853:     smartd now logs serious (fatal) conditions in its operation at
 4854:     loglevel LOG_CRIT rather than LOG_INFO before exiting with error.
 4855: 
 4856:     smartd used to open a file descriptor for each SMART enabled
 4857:     device, and then keep it open the entire time smartd was running.
 4858:     This meant that some commands, like IOREADBLKPART did not work,
 4859:     since the fd to the device was open.  smartd now opens the device
 4860:     when it needs to read values, then closes it.  Also, if one time
 4861:     around it can't open the device, it simply prints a warning
 4862:     message but does not give up.  Have eliminated the .fd field from
 4863:     data structures -- no longer gets used.
 4864: 
 4865:     smartd now opens SCSI devices as well using O_RDONLY rather than
 4866:     O_RDWR.  If someone can no longer monitor a SCSI device that used
 4867:     to be readable, this may well be the reason why.
 4868: 
 4869:     smartd never checked if the number of ata or scsi devices detected
 4870:     was greater than the max number it could monitor.  Now it does.
 4871: 
 4872: smartmontools-5.0-16
 4873: 
 4874:     smartd on startup now looks in the configuration file /etc/smartd.conf for
 4875:     a list of devices which to include in its monitoring list.  See man page
 4876:     (man smartd) for syntax.
 4877: 
 4878:     smartd: close file descriptors of SCSI device if not SMART capable
 4879:     Closes ALL file descriptors after forking to daemon.
 4880: 
 4881:     added new temperature attribute (231, temperature)
 4882: 
 4883:     smartd: now open ATA disks using O_RDONLY
 4884: 
 4885: smartmontools-5.0-11
 4886: 
 4887:     smartd now prints the name of a failed or changed attribute
 4888:     into logfile, not just ID number
 4889: 
 4890:     Changed name of -p (print version) option to -V
 4891: 
 4892:     Minor change in philosophy: if a SMART command fails or the device
 4893:     appears incapable of a SMART command that the user has asked for,
 4894:     complain by printing an error message, but go ahead and try
 4895:     anyway.  Since unimplemented SMART commands should just return an
 4896:     error but not cause disk problems, this should't cause any
 4897:     difficulty.
 4898: 
 4899:     Added two new flags: q and Q.  q is quiet mode - only print: For
 4900:     the -l option, errors recorded in the SMART error log; For the -L
 4901:     option, errors recorded in the device self-test log; For the -c
 4902:     SMART "disk failing" status or device attributes (pre-failure or
 4903:     usage) which failed either now or in the past; For the -v option
 4904:     device attributes (pre-failure or usage) which failed either now
 4905:     or in the past.  Q is Very Quiet mode: Print no ouput.  The only
 4906:     way to learn about what was found is to use the exit status of
 4907:     smartctl.
 4908: 
 4909:     smartctl now returns sensible values (bitmask).  See smartctl.h
 4910:     for the values, and the man page for documentation.
 4911: 
 4912:     The SMART status check now uses the correct ATA call.  If failure
 4913:     is detected we search through attributes to list the failed ones.
 4914:     If the SMART status check shows GOOD, we then look to see if their
 4915:     are any usage attributes or prefail attributes have failed at any
 4916:     time.  If so we print them.
 4917: 
 4918:     Modified function that prints vendor attributes to say if the
 4919:     attribute has currently failed or has ever failed.
 4920: 
 4921:     -p option now prints out license info and CVS strings for all
 4922:     modules in the code, nicely formatted.
 4923: 
 4924:     Previous versions of this code (and Smartsuite) only generate
 4925:     SMART failure errors if the value of an attribute is below the
 4926:     threshold and the prefailure bit is set.  However the ATA Spec
 4927:     (ATA4 <=Rev 4) says that it is a SMART failure if the value of an
 4928:     attribute is LESS THAN OR EQUAL to the threshold and the
 4929:     prefailure bit is set.  This is now fixed in both smartctl and
 4930:     smartd.  Note that this is a troubled subject -- the original
 4931:     SFF 8035i specification defining SMART was inconsistent about
 4932:     this.  One section says that Attribute==Threshold is pass,
 4933:     and another section says it is fail.  However the ATA specs are
 4934:     consistent and say Attribute==Threshold is a fail.
 4935: 
 4936:     smartd did not print the correct value of any failing SMART attribute.  It
 4937:     printed the index in the attribute table, not the attribute
 4938:     ID. This is fixed.
 4939: 
 4940:     when starting self-tests in captive mode ioctl returns EIO because
 4941:     the drive has been busied out.  Detect this and don't return an eror
 4942:     in this case.  Check this this is correct (or how to fix it?)
 4943:  
 4944:     fixed possible error in how to determine ATA standard support
 4945:     for devices with no ATA minor revision number.
 4946: 
 4947:     device opened only in read-only not read-write mode.  Don't need R/W 
 4948:     access to get smart data. Check this with Andre.
 4949: 
 4950:     smartctl now handles all possible choices of "multiple options"
 4951:     gracefully.  It goes through the following phases of operation,
 4952:     in order: INFORMATION, ENABLE/DISABLE, DISPLAY DATA, RUN/ABORT TESTS.
 4953:     Documentation has bee updated to explain the different phases of
 4954:     operation.  Control flow through ataPrintMain()
 4955:     simplified.
 4956: 
 4957:     If reading device identity information fails, try seeing if the info
 4958:     can be accessed using a "DEVICE PACKET" command.  This way we can
 4959:     at least get device info.
 4960: 
 4961:     Modified Makefile to automatically tag CVS archive on issuance of
 4962:     a release
 4963: 
 4964:     Modified drive detection so minor device ID code showing ATA-3 rev
 4965:     0 (no SMART) is known to not be SMART capable.
 4966: 
 4967:     Now verify the checksum of the device ID data structure, and of the
 4968:     attributes threshold structure.  Before neither of these
 4969:     structures had their checksums verified.
 4970: 
 4971:     New behavior vis-a-vis checksums.  If they are wrong, we log
 4972:     warning messages to stdout, stderr, and syslog, but carry on
 4973:     anyway.  All functions now call a checksumwarning routine if the
 4974:     checksum doesn't vanish as it should.
 4975: 
 4976:     Changed Read Hard Disk Identity function to get fresh info from
 4977:     the disk on each call rather than to use the values that were read
 4978:     upon boot-up into the BIOS.  This is the biggest change in this
 4979:     release.  The ioctl(device, HDIO_GET_IDENTITY, buf ) call should
 4980:     be avoided in such code.  Note that if people get garbled strings
 4981:     for the model, serial no and firmware versions of their drives,
 4982:     then blame goes here (the BIOS does the byte swapping for you,
 4983:     apparently!)
 4984:     
 4985:     Function ataSmartSupport now looks at correct bits in drive
 4986:     identity structure to verify first that these bits are valid,
 4987:     before using them.
 4988:     
 4989:     Function ataIsSmartEnabled() written which uses the Drive ID state
 4990:     information to tell if SMART is enabled or not.  We'll carry this
 4991:     along for the moment without using it.
 4992: 
 4993:     Function ataDoesSmartWork() guaranteed to work if the device
 4994:     supports SMART.
 4995: 
 4996:     Replace some numbers by #define MACROS
 4997: 
 4998:     Wrote Function TestTime to return test time associated with each
 4999:     different type of test.
 5000: 
 5001:     Thinking of the future, have added a new function called
 5002:     ataSmartStatus2().  Eventually when I understand how to use the
 5003:     TASKFILE API and am sure that this works correctly, it will
 5004:     replace ataSmartStatus().  This queries the drive directly to
 5005:     see if the SMART status is OK, rather than comparing thresholds to
 5006:     attribute values ourselves. But I need to get some drives that fail
 5007:     their SMART status to check it.
 5008: 
 5009: 
 5010: smartmontools-5.0-10
 5011:     Removed extraneous space before printing in some error messages
 5012:     Fixed additional typos in documentation
 5013:     Fixed some character buffers that were too short for their contents.
 5014: 
 5015: smartmontools-5.0-9
 5016: 
 5017:     Put project home path into all source files near the top
 5018:     Corrected typos in the documentation
 5019:     Modified Makefile so that Mandrake Cooker won't increment version number
 5020:     (unless they happen to be working on my machine, which I doubt!)
 5021: 
 5022: smartmontools-5.0-8:
 5023: 
 5024:     For IBM disks whose raw temp data includes three temps. print all
 5025:     three
 5026: 
 5027:     print timestamps for error log to msec precision
 5028: 
 5029:     added -m option for Hitachi disks that store power on life in
 5030:     minutes
 5031: 
 5032:     added -L option for printing self-test error logs
 5033: 
 5034:     in -l option, now print power on lifetime, so that one can see
 5035:     when the error took place
 5036: 
 5037:     updated SMART structure definitions to ATA-5 spec
 5038: 
 5039:     added -p option
 5040: 
 5041:     added -f and -F options to enable/disable autosave threshold
 5042:     parameters
 5043: 
 5044:     changed argv parsing to use getops -- elminate buffer overflow
 5045:     vulnerability
 5046: 
 5047:     expanded and corrected documentation
 5048: 
 5049:     fixed problem with smartd.  It did not actually call
 5050:     ataSmartEnable()!  Since the argument was left out, the test
 5051:     always suceeded because it evaluated to a pointer to the function.
 5052: 
 5053:     smartd: closed open file descriptors if device does not support
 5054:     smart. Note: this still needs to be fixed for SCSI devices
 5055: 
 5056: 
 5057: smartmontools-5.0-0  STARTED with smartsuite-2.1-2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>