diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 2346 | ||||
-rw-r--r-- | ChangeLog-5.0-6.0 | 5235 | ||||
-rw-r--r-- | ChangeLog-6.0-7.0 | 3856 |
3 files changed, 11437 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..f33806f --- /dev/null +++ b/ChangeLog @@ -0,0 +1,2346 @@ +$Id: ChangeLog 5530 2023-08-01 11:00:21Z chrfranke $ + +2023-08-01 Christian Franke <franke@computer.org> + + smartmontools 7.4 + +2023-07-31 Christian Franke <franke@computer.org> + + drivedb.h: + - Apacer AS340/350 SSDs: Rename, add AS350 (#1444). + - Phison Driven SSDs: Corsair Force LE (#1348), Patriot Ignite, + PNY CS* 500GB. + - Phison Driven OEM SSDs: Hoodisk (GH issues/195), Kingmax (#1699). + - Silicon Motion based SSDs: Mushkin *-LT variant. + - SK hynix SATA SSDs: Add attribute 249 (GH pull/107), remove + duplicate regex. + +2023-07-30 Christian Franke <franke@computer.org> + + drivedb.h: + - ATP SATA III aMLC M.2 2242/80 SSDs: Rename, add 2280 (#1717). + - Silicon Motion based SSDs: ADATA SU630 (#1713), LITEON LCH (#1727), + NFORCE SSZS13 (#1707), ONDA S-12 (#1698), Patriot P210. + - Silicon Motion based OEM SSDs: Intenso (#1700, #1706, #1732), + Netac Z Slim (#1656), SPCC M.2 SSD (#1662). + - USB: Netac Z Slim (0x0dd8:0x0562) (#1656). + - USB: ASMedia ASM2364 (0x174c:0x2364). + +2023-07-29 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Samsung Portable SSD T7 Shield (0x04e8:0x61fb) (#1730, #1733) + - USB: ASMedia ASM1352-PM (0x174d:0x1352) (GH/pull 181) + - USB: JMicron JMS578 (0xab12:0x34cd) (#1737) + +2023-07-25 Christian Franke <franke@computer.org> + + nvmeprint.cpp: Add JSON support for '-l error' and '-l selftest'. + +2023-07-24 Christian Franke <franke@computer.org> + + man pages: Set svn:eol-style=LF to be compatible with Cygwin sed. + + man pages: Use CW font only if troff is used. + This silences a related warning from groff. + + smartd.cpp: Don't write Copyright line to syslog. + This prevents that logfile analyzers need an extra suppression rule + (Red Hat Bugzilla 673758 and 1162741). + utility.cpp, utility.h: Enhance 'format_version_info()' accordingly. + smartctl.cpp: Adjust function call. + + nvmeprint.cpp: Add NVMe 2.0 capability flags. + + ataidentify.cpp, ataprint.cpp: ACS-4/5/6 enhancements. + + smartd.cpp: Don't write attrlog if ATA attributes were not read. + Improvement of original fix r5116. + + os_win32/update-smart-drivedb.ps1.in: Fix typo, update help text. + + smartd.conf: Align help text with 'smartd -D' output. + + smartd.conf, smartd.conf.5.in: Remove outdated examples. + + smartd.conf: Remove SVN Id string + (Debian 54_remove-Id-from-smartd.conf.diff). + + smartd.conf, smartd.conf.5.in: Add examples for '-d cciss,N' on Linux + (based on Debian 61_cciss-doc.patch). + + smartctl.8.in: Minor rework of '-a' and '-x' sections. + Merge duplicate info about TapeAlert. + Note that admin rights are not needed for Windows NVMe driver. + Note that the NVMe error log is not persistent. + + smartctl.8.in, smartd.conf.5.in: Update sections '-d usbasm1352r' + and '-d usbjmicron'. + + smartd.conf.5.in: Remove example for deprecated '-d intelliprop,N'. + + smartctl.8.in, smartd.conf.5.in: Fix typos. + + man pages: Silence harmless warnings from 'mandoc -T lint'. + Fix bogus bold font setting (Debian Bug 1041295). + + man pages: Add release numbers to EXPERIMENTAL notes. + Keep notes of previous release 7.3. + +2023-07-16 Christian Franke <franke@computer.org> + + os_win32/installer.nsi: Rework InstType names, default to x86_64. + 64-bit executables are now archived in 'bin' directory, 32-bit + executables in 'bin32'. Update links to NSIS examples. + + configure.ac: Don't fail if libcap-ng or libsystemd libs are missing. + No appropriate library may be provided if 'LDFLAGS=-static' is used. + + Makefile.am: Add *.cmd and *.ps1 to Windows checksum*.txt files. + + configure.ac: Fix 'makensis' search for 64-bit Cygwin and MSYS2. + Makefile.am: Remove conditional 'OS_WIN32_NSIS'. + +2023-07-10 Christian Franke <franke@computer.org> + + utility.cpp: Add workaround for limited 'TZ' support of MSVCRT + version of 'tzset()'. + + utility.cpp, os_win32/syslog_win32.cpp: Use '_localtime64_s()' on + Windows to avoid conflict with C11 variant of 'localtime_s()' + (cppcheck 2.11: uninitvar false positive). + + os_win32/syslog_win32.cpp: Replace tabs. + Use declaration statements. Update comments. + + dev_interface.cpp: Don't pass local buffer address to caller + (cppcheck 2.11: autoVariables). + + scsiprint.cpp: Remove unused code, remove unused variable + (cppcheck 2.11: knownConditionTrueFalse, unusedVariable). + + smartd.cpp: Print SCSI Inquiry error code. + Silences 'Dead nested assignment' report from clang analyzer. + +2023-07-08 Christian Franke <franke@computer.org> + + CI: Move docker base image from ubuntu:18.04 to debian:12. + Update Dockerfile and .circleci/config.yml accordingly. + +2023-07-02 Christian Franke <franke@computer.org> + + cppcheck.sh: Mark cppcheck 2.11 as tested. + Adjust suppress options and defines. + +2023-06-27 Oleksij Samorukov <samm@os2.kiev.ua> + + CI: build darwin packages for arm64/x86_64, drop i386 support + +2023-06-26 Christian Franke <franke@computer.org> + + ataprint.cpp, farmprint.cpp, scsiprint.cpp: Unify FARM related + messages. + +2023-06-25 Christian Franke <franke@computer.org> + + smartctl.cpp: Don't include '-l farm' in '-x'. + Suggest it if supported. + + ataprint.cpp: Suggest '-x' option if only '-a' is used. + ataprint.h, smartctl.cpp: Add 'ata_print_options.a_option' flag. + + scsiata.cpp: Suppress NO DATA commands for '-d usbasm1352r,N' device + type. + Test results from GH issues/167 suggest that these commands are not + supported or require different parameters. + +2023-06-13 Christian Franke <franke@computer.org> + + utility.h: Fix check for __USE_MINGW_ANSI_STDIO. + Recent versions of MinGW-w64 define __USE_MINGW_ANSI_STDIO=0 if + disabled. + + configure.ac: Don't define __USE_MINGW_ANSI_STDIO if UCRT is used. + + configure.ac: Disable ASLR workarounds for newer versions of + MinGW-w64. + + configure.ac: Skip _FORTIFY_SOURCE support check if 'nm' is missing. + + configure.ac: MinGW: Fail if 'windres' is missing, warn if 'windmc' + is missing. + + Makefile.am: Allow MinGW builds also if the 'windmc' tool is missing. + + smartd.cpp: Always notify READY=1 to systemd before 'exit(0)'. + The prevents that systemd reports the service as failed if no device + is present and '-q *nodev0*' is used (Debian Bug 1029210). + Log the exit status also if exiting during first pass. + +2023-05-30 Christian Franke <franke@computer.org> + + nvmecmds.cpp, nvmprint.cpp: Also suppress NVMe Namespace IEEE EUI-64 + info if '-q noserial' is specified. + smartctl.8.in: Update '-q noserial' documentation. + + smartd.cpp: Don't report new non-device related errors as critical + (#1222). + smartd.conf.5.in: Document new functionality. + +2023-05-29 Christian Franke <franke@computer.org> + + Add error messages for NVMe status values. + dev_interface.cpp: Add message to 'set_nvme_err()'. + nvmecmds.cpp, nvmecmds.h: Add functions 'nvme_status_*()'. + nvmeprint.cpp: Add message to '-l error' output (related: #1300). + +2023-03-21 Douglas Gilbert <dgilbert@interlog.com> + + tweak to suppress a warning from gcc/g++ 9.3 + +2023-03-15 Douglas Gilbert <dgilbert@interlog.com> + + expand functionality of json::str2key() . It's job is to convert + a C string to a JSON name in "snake" format. That format is lower + case alphanumeric with all other characters replaced by + an '_' (underscore). This change further removes all leading and + trailing underscores plus repeated underscores within the name are + compressed to a single underscore. In the degenerate case, for + example a string like "!@#$" (i.e. no alphanumeric characters), a + single underscore is output (but is most likely an error). Typical + example: "$Output power (mW)" is converted to "output_power_mw". + +2023-03-14 Christian Franke <franke@computer.org> + + farmprint.cpp, os_freebsd.cpp: Use 'snprintf()' instead of + 'sprintf()'. + + farmprint.cpp: Avoid unneeded copy of json::ref. + +2023-03-13 Christian Franke <franke@computer.org> + + cppcheck.sh: Mark cppcheck 2.10 as tested. + + farmprint.cpp: Fix loop conditions which may result in infinite + loops (GH code-scanning/312 - 315: Comparison of narrow type with + wide type in loop condition). + + Fix MSVC builds. + os_win32/vc*/smartctl.vcxproj*: Add new FARM files. + scsicmds.cpp: Remove unneeded <unistd.h>. + + farmprint.cpp: Increase buffer size of 'worldWideName' + (GH code-scanning/316 and 317: Potentially overrunning write). + Use 'snprintf()' instead of 'sprintf()'. + +2023-03-13 Michael Cordle <michael.a.cordle@seagate.com> + + Large update adding pulling and parsing of Seagate's vendor-specific + Field Access Reliability Metrics (FARM) log to supported ATA and SCSI + drives (GH pull/180). + Running smartctl with '-l farm' will print the top predictive metrics + from FARM for drive health monitoring. Can be printed with plain-text + or JSON ('-j'). FARM can also be printed with '-a' and '-x', but no + error messages will be printed, unlike '-l farm'. + + farmcmds.h: Add structures to store FARM data. + farmcmds.cpp: Add functions to pull FARM data from drive. + farmprint.h: Add function declarations for printing FARM data. + farmprint.cpp: Add function definitions for printing FARM data. + ataprint.h: Add checking FARM command-line option. + ataprint.cpp: Add checking if drive is Seagate and supports FARM. + scsiprint.h: Add checking FARM command-line option. + scsiprint.cpp: Add checking if drive is Seagate and supports FARM. + smartctl.cpp: Add command-line option parsing for FARM. + smartctl.8.in: Add '-l farm' description to manual. + Makefile.am: Add new FARM files. + AUTHORS: Add myself and Natan Lidukhover to list of contributors. + +2023-02-17 Steven Song <steven.song@3snic.com> + + os_linux.cpp: Fix CK_COND issue for SATA disk and use C++11 or + later structure initialization (#1694). + +2023-02-14 WHR <whr@rivoreo.one> + + atacmds.cpp: fix a logical error in function ataReadExtSelfTestLog + where it failed to byte-swap timestamp values on big-endian + platforms except in the first log entry (#1696). + +2023-02-11 Douglas Gilbert <dgilbert@interlog.com> + + more RSOC work (see 2023-01-11 patch). Simplify + scsiPrintMain(). Use Read capacity (16) if RSOC + says it is supported; previously often tried + Read capacity (10) first. A small cleanup after + report from clang++ --analyze + +2023-02-10 Douglas Gilbert <dgilbert@interlog.com> + + correct SPC-6 proposed version number [-->0xd] + +2023-02-10 Douglas Gilbert <dgilbert@interlog.com> + + cleanup for previous commit [add smartctl support + for SCSI General statistics and performance log page]. + +2023-02-10 Douglas Gilbert <dgilbert@interlog.com> + + add smartctl support for SCSI General statistics and + performance log page. Add a little more RSOC work (see + 2023-01-11 patch) for detecting if SCSI log subpages + are supported. Change NULL to nullptr in scsi*.cpp + source files. + +2023-02-09 Douglas Gilbert <dgilbert@interlog.com> + + address issue #168 from smt/smt at github. Choose option 1. + from Christian's response to that issue. + +2023-02-05 Christian Franke <franke@computer.org> + + configure.ac: Define _FORTIFY_SOURCE=3 if supported. + + dev_intelliprop.cpp: Disable '-d intelliprop,N' and print + deprecation message. + Add '-d intelliprop,N,force' to use this device type anyhow. + dev_interface.cpp: Update help text. + smartctl.8.in, smartd.conf.5.in: Update related documentation. + +2023-02-03 Christian Franke <franke@computer.org> + + nvmecmds.cpp: Fix segfault after read of NVMe error log on + big endian hosts (GH issues/172, regression from r5121). + + Thanks to Niklas Schnelle for the bug report. + +2023-01-28 Christian Franke <franke@computer.org> + + configure.ac: Change default for '--with-nvme-devicescan' to + 'yes' on Darwin and FreeBSD. Keep 'no' on NetBSD. + Update related warnings. + + configure.ac: Remove unneeded 'if'. Update some message texts. + Remove '--without-update-smart-drivedb' error message. + + configure.ac: Move C++ option check to make sure that C++11 is + enabled before __USE_MINGW_ANSI_STDIO check. + + configure.ac: Enhance __USE_MINGW_ANSI_STDIO support check. + Don't define __USE_MINGW_ANSI_STDIO if already predefined. + + configure.ac: Rework C++ option check, also warn if C++17 is + unsupported. + +2023-01-26 Christian Franke <franke@computer.org> + + examplescripts/Example7: Fix check of parameter count + (GH issues/169). + +2023-01-24 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven SSDs: SVM2S46128GNPI51UF (#1393), + Goodram IRDM PRO (#1556). + - Phison Driven OEM SSDs: SPCC Solid State Disk/SBFMT1.3. + - SSSTC ERX GD/CD Series SSDs: Rename, Add ER3-9, AF* (#1599, #1672). + - USB: HP Personal Media Drive (0x03f0:0x070c) (#1680). + - USB: Packard Bell Carbon (0x0766:0x0017) (#1325) + - USB: Freecom FHD-2 Pro (0x07ab:0xfc85). + - USB: JMicron newer firmware (0x152d:0x2509/0x0107) (GH issues/159). + - USB: PNY (0x154b:0x8001). + +2023-01-23 Christian Franke <franke@computer.org> + + utility.cpp: Add MinGW-w64 version to '-V' output. + Simplify detection of C++ version string, add C++20. + + scsiata.cpp: Add '-d usbasm1352r,N' device type for ASM 1352R USB + bridges (GH issues/167). + dev_interface.cpp: Update help text. + smartctl.8.in, smartd.conf.5.in: Document new option. + + scsiata.cpp: Use 'str_starts_with()' and 'set_err_np()' where + possible. + +2023-01-11 Douglas Gilbert <dgilbert@interlog.com> + + experiment with using the SCSI REPORT SUPPORTED OPERATION + CODES (RSOC) command on disks (not tape units) that report + SPC-4 or later compliance in their standard INQUIRY response. + The main usage currently is to use RSOC to find out if + either of the READ DEFECT commands are supported. The code + to check RSOC is only wired for smartctl (i.e. not smartd). + If this causes problems, please report them to me. + +2023-01-10 Douglas Gilbert <dgilbert@interlog.com> + + address smartctl SCSI json issue (exception) reported by + Taylor Vent to the smartmontools mailing list on 2023-01-09. + Plus some minor cleanups. + +2023-01-10 Douglas Gilbert <dgilbert@interlog.com> + + further cleanup associated with SCSI debug move. + +2023-01-07 Douglas Gilbert <dgilbert@interlog.com> + + fix regression around dStrHex compatibility with pout() call + introduced in previous commit. Credit to Christian Franke + for the C++11 (and later) solution using lambas. + +2023-01-02 Douglas Gilbert <dgilbert@interlog.com> + + start moving SCSI debug into scsi_pass_through_yield_sense() + in scsicmds.cpp . Previously was replicated across OS transports. + Add dStrHexFp() that writes to a FILE pointer; idea is to send + debug info to a file (rather than stdout/stderr and using + redirection). The 'is_ascii' argument of dStrHexFp() now takes + a negative value which strips off the leading address on hex + lines. That is easier to parse IMO. + +2023-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2022-12-31 Christian Franke <franke@computer.org> + + smartd.cpp: Add '-M always' directive (#1018, GH issues/153). + If specified, warning reminder emails are sent upon each check. + smartd_warning.sh.in, os_win32/smartd_warning.cmd: Handle + SMARTD_NEXTDAYS=0. + smartd.conf.5.in: Document the new directive. + + smartd.cpp: Rework handling of warning reminder emails. + Add scoped enum. Limit '-M diminishing' delay to 32 days. + smartd.conf.5.in: Document the new limit. + +2022-12-17 Christian Franke <franke@computer.org> + + json.cpp: Don't print JSON strings in UTF-8 if invalid sequences are + present. Print informal hex string "\\xXX" for unexpected chars. + +2022-12-16 Christian Franke <franke@computer.org> + + os_linux.cpp: Disable '-d marvell' and print deprecation message. + Add '-d marvell,force' to use this device type anyhow. + smartctl.8.in, smartd.conf.5.in: Update '-d marvell' documentation. + + os_linux.cpp: Use 'set_err_np()' where possible. + + dev_interface.cpp, dev_interface.h: Add 'set_err_np()'. + +2022-12-05 Christian Franke <franke@computer.org> + + smartctl.8.in: Fix '-d sssraid' documentation syntax. + smartd.conf.5.in: Add '-d sssraid' documentation. + + os_linux.cpp: Build fix for r5420. + +2022-12-05 Steven Song <steven.song@3snic.com> + + Add SSSRAID (3SNIC RAID Controller) support on Linux (#1653). + +2022-11-22 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows 10 and 11 22H2 build numbers. + +2022-11-09 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven SSDs: Kingston SSDNow S200 (#1491), + Patriot Burst *GB (#1664). + - Silicon Motion based SSDs: Kingston KC600 mSATA (#1442). + - Silicon Motion based OEM SSDs: KingSpec KSM. + - USB: VIA VL717 (0x2109:0x0717) (GP/pull 151). + +2022-11-01 Christian Franke <franke@computer.org> + + drivedb.h: + - Intel 730 and DC S35x0/3610/3700 Series SSDs: *C variant (#1655), + *E (Dell Europe) variant (#1647). + - Toshiba MG10ACA... Enterprise Capacity HDD. + +2022-10-17 Douglas Gilbert <dgilbert@interlog.com> + + https://github.com/smartmontools/smartmontools/pull/140 + which is related to issue 139 applied by hand with some cosmetic + changes. Credit to github user 'ThunderEX'. Cleans up possible + corruption issue with the the SCSI Error Counter and Non medium + Error log pages. + +2022-10-09 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Extend Apacer SSDs regexp based on ticket #1657 + - Swap Bad_Blk_Ct_Erl/Lat values in drivedb for "Phison Driven SSDs" (#1642) + - Add Micron 5400 SSDs (#1630) + - Add WDC HC570/HC670 (#1648) + +2022-09-18 Christian Franke <franke@computer.org> + + os_win32.cpp: Add IOCTL_STORAGE_PROTOCOL_COMMAND for NVMe self-tests. + + Add NVMe self-test support to smartctl (#894). + Supported options: '-l selftest', '-t short', '-t long' and '-X'. + +2022-08-15 Christian Franke <franke@computer.org> + + ataprint.cpp: Print error count even if error log index is invalid. + +2022-08-07 Christian Franke <franke@computer.org> + + drivedb.h: + - Silicon Motion based SSDs: J&A LEVEN JS600 more sizes (#1603), + Mushkin MKNSSDTR*-3DL (#1596), TEAMGROUP CX2, Transcend 452K + (#1391), Transcent 830S, Transcend MTS400I (#1588), + UMAX 2242 (#1564). + - Silicon Motion based OEM SSDs: GUDGA GIM, KingFast + (#1532, GH pull/109), ORTIAL, RX7 (#1494), T-FORCE (#1536), + Verbatim Vi550 S3 (#1629). + +2022-08-06 Christian Franke <franke@computer.org> + + examplescripts/Example8: Use 'command -v' builtin instead of 'which'. + + Detect accidental use of smartd_warning script in '-M exec'. + smartd.cpp: Set SMARTD_SUBJECT to empty. + smartd_warning.sh.in, os_win32/smartd_warning.cmd: Abort if + SMARTD_SUBJECT is already nonempty. + + smartd.cpp, popen_as_ugid.cpp: Don't use 'getdtablesize()'. + This function is declared 'legacy' since SUS 1997 and no longer part + of POSIX since 2004. Use 'sysconf(_SC_OPEN_MAX)' instead. + This fixes build on android (GH issues/142). + +2022-08-06 themylogin <themylogin@gmail.com> + + smartd.cpp: Also prevent systemd unit startup timeout in + `CheckDevicesOnce` (GH pull/141). + +2022-08-06 Christian Franke <franke@computer.org> + + drivedb.h: + - Samsung based SSDs: SM843TN *960HCGP (#1624), PM881 + (GH/pull 119), more PM893 variants (#1616), PM897 (#1559). + - USB: Genesys Logic: Merge entries, add 0x05e3:0x2013. + - USB: ADATA SD600 (0x125f:0xa68a). + +2022-07-16 Douglas Gilbert <dgilbert@interlog.com> + + some spelling fixes with the help of the codespell utility + +2022-06-24 Douglas Gilbert <dgilbert@interlog.com> + + drivedb.h: + - WDC WUH722020BLE6L4 + +2022-06-07 themylogin <themylogin@gmail.com> + + smartd.cpp: Prevent systemd unit startup timeout when registering + many devices (GH pull/138). + +2022-05-30 Douglas Gilbert <dgilbert@interlog.com> + + [SCSI]: rework scsiGetIEString() so it should now output + all asc=0xb||0x5d strings defined in spc6r06.pdf . These + are the strings associated with "Informational Exceptions". + This should address ticket #1614 . + +2022-05-28 Douglas Gilbert <dgilbert@interlog.com> + + [SCSI]: more work for calling REPORT SUPPORTED OPERATION + CODES [RSOC] command. + +2022-05-27 Douglas Gilbert <dgilbert@interlog.com> + + [SCSI]: prepare for calling REPORT SUPPORTED OPERATION + CODES [RSOC] command (and several others that use an + additional "service action" code to identify them). For + SCSI devices >= SPC-4 plan to call the RSOC command and + cache its result. Use that cache to determine if + commands like GET PHYSICAL ELEMENT STATUS are supported. + +2022-05-26 Christian Franke <franke@computer.org> + + INSTALL: Update ./configure description and Windows info. + + Drop legacy ATA support for Solaris SPARC. + configure.ac: Fail if '--with-solaris-sparc-ata' is specified. + Makefile.am: Remove os_solaris_ata.s and os_solaris.h. + os_solaris.cpp: Remove WITH_SOLARIS_SPARC_ATA sections. + os_solaris_ata.s, os_solaris.h: Remove files. + INSTALL: Update documentation. + +2022-05-22 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven SSDs: Kingston RBU-SNSx180S3 (#1335, #1389) + - Phison Driven OEM SSDs: SPCC Solid State Disk/SBFD00.3 + - USB: Samsung Portable SSD T7 (0x04e8:0x4001) (GH pull/102) + - USB: Intrinsix (0x0578:0x0578) + - USB: Logitec LGB-4BNHUC (0x0789:0x0296) (GH pull/123) + - USB: Apricorn EZ-UP3 (0x0984:0x0320) (#1565) + - USB: ADATA ED600 (0x125f:0xa76a) (#1613) + - USB: ICY BOX IB-256WP (0x1e1d:0x20a0) + - USB: VIA VL700 (0x2109:0x0700) + + ataprint.cpp: Print Master Password ID if set to non-default value. + +2022-05-22 Eaton Zveare <eaton@eaton-works.com> + + ataprint.cpp: Add master_password_id to ata_security json output + (GH pull/134). + +2022-05-08 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Silicon Motion based SSDs: TS32GMSM360 (#1579) + - Seagate Enterprise Capacity 3.5 HDD: ST4000NM0245-1Z2107 + (#1592) Patch by Conrad Kostecki + +2022-05-08 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Crucial/Micron Client SSDs: CT4000MX500SSD1 (#1610) + - Western Digital Gold: WDC WD161KRYZ-01AGBB0 (#1608) New family + variant 'CMR' dropped, entry moved to 'Western Digital Gold' and + patterns from file product-brief-wd-gold-hdd.pdf also added there. + +2022-05-02 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Western Digital Ultrastar (He10/12): WDC WD120EDAZ-11F3RA0 (#1409) + - Western Digital Ultrastar (He10/12): WDC WD80EDAZ-11TA3A0 (#1455) + - Western Digital Gold (CMR): WDC WD161KRYZ-01AGBB0 (#1570) + +2022-05-01 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Silicon Motion based SSDs: TS128GMSA370I (#1554) + - Western Digital Red: WDC WD160EMFZ-11AFXA0(#1469) + - Western Digital Red: WDC WD140EFFX-68VBXN0 (#1477) + +2022-05-01 Christian Franke <franke@computer.org> + + cppcheck.sh: Suppress getpw*Called, getgr*Called, remove ftimeCalled. + Add *_RELEASE_* defines to silence ConfigurationNotChecked. + + configure.ac: Add URL to AC_INIT, remove PACKAGE_HOMEPAGE. + Require autoconf >= 2.64. + Replace PACKAGE_HOMEPAGE with PACKAGE_URL in all files. + +2022-04-30 Christian Franke <franke@computer.org> + + INSTALL: Update info about MSVC builds. + + os_win32/vc14, os_win32/vc15: Drop project files for MSVC14/15. + + Makefile.am: Update config-vc and *clean-vc targets for MSVC16/17. + + os_win32/vc17: Copy from vc16 and change for MSVC17 (VS2022). + + os_win32/vc16/*: Add configurations Debug-static and Release-static. + + Makefile.am: Windows: Ensure that advapi32 is linked before kernel32. + This keeps backward compatibility with old versions of Windows if + recent versions of MinGW-w64 are used. + + Makefile.am: config-vc: Remove HAVE___INT128 from generated config.h. + + Makefile.am: Support 'svnversion' with CR/LF instead of LF output. + + dev_jmb39x_raid.cpp: Enhance LBA range from 33-62 to 1-255 (#1594). + smartctl.8.in: Update related documentation. + +2022-04-27 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Western Digital Ultrastar He10/12: WDC WD140EDGZ-11B2DA2, + WDC WD140EDGZ-11B1PA0 (#1585) + - Western Digital Purple (Pro): WDC WD121PURP-85B5SY0 (#1587) + +2022-04-26 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Samsung based SSDs: SAMSUNG MZ7L33T8HBLT-00A07 (#1563) + - Samsung based SSDs: SAMSUNG MZ7L3240HCHQ-00A07 (#1555) + - WD Blue / Red / Green SSDs: WDC WDS400T1R0A-68A4W0 (#1601) + +2022-04-25 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Western Digital Black: WDC WD4005FZBX-00K5WB0 (#1582) + - Western Digital Red: WDC WD40EFZX-68AWUN0 (#1583) + - Western Digital Red: WDC WD20EFZX-68AWUN0 (#1589) + +2022-04-24 Christian Franke <franke@computer.org> + + drivedb.h: Innodisk 1IE3/3IE3/3ME3/3IE4/3ME4 SSDs: Ensure that + opening and closing brackets are in the same line (#1495). + + update-smart-drivedb.in: Unify syntax of command substitutions. + + update-smart-drivedb.in: Don't use 'let' which is bash specific. + + update-smart-drivedb.in: Don't use semicolon in sed scripts. + This also fixes a syntax error if sed requires ';' before '}'. + +2022-04-23 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Western Digital Gold: WDC WD1005VBYZ-02RRWB2, WDC WD2005VBYZ-02RRWB2 (#938) + - Western Digital Gold: WDC WD140EDFZ-11A0VA0 (#1394) + +2022-04-22 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Marvell based SanDisk SSDs: SanDisk SDSSDH3 1T00 (#1590) + - Merge two entries into new group 'Seagate IronWolf (Pro) 125 SSDs' + +2022-04-22 Christian Franke <franke@computer.org> + + smartctl.cpp: Add 'smartctl.pre_release' boolean to JSON output. + + drivedb.h: + - Phison Driven SSDs: PNY ELITE (#1573) + - USB: PNY (0x154b:0xf009) (#1573) + +2022-04-22 Felix Buehl <felix.buehl@febit.systems> + + drivedb.h: + - Seagate IronWolf 125 SSDs (#1584) (GH pull/131) + +2022-04-17 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - USB: Buffalo MiniStation Cobalt drive (0x0411:0x0157) (#1597) + - Phison Driven SSDs: KINGSTON SM2280S3G2120G (#989) + +2022-03-28 Douglas Gilbert <dgilbert@interlog.com> + + os_linux.cpp [Linux only]: remove support from generic part + for the SCSI_IOCTL_SEND_COMMAND ioctl. Default to the SG_IO_V3 + interface which is now (lk 5.17, 2022) much more widely + supported. The SCSI_IOCTL_SEND_COMMAND ioctl is still in + the Linux kernel but has been deprecated for a long time. + Some old vendor specific code still uses that ioctl, two + instances: m_escalade_type==AMCC_3WARE_678K and -d marvell + +2022-03-04 Christian Franke <franke@computer.org> + + configure.ac: Add "pre-" also on man pages. + + smartd.8.in: Attribute logs use local time since smartmontools 7.1. + + smartctl.8.in, smartd.conf.5.in, update-smart-drivedb.8.in: + Remove EXPERIMENTAL notes for features added before 7.2. + +2022-03-02 Christian Franke <franke@computer.org> + + do_release: Add '--nocheck' option. + Changes build command from 'make distcheck' to 'make dist'. + + do_release: Add '--checkout' option. + Checks out a new working copy suitable for releases. + +2022-03-01 Christian Franke <franke@computer.org> + + do_release: Comment out release timestamp in configure.ac + immediately after release. + Rework increase of release number. Remove usage of perl. + Ensure that only the number in the AC_INIT line is changed. + + configure.ac: Comment out release timestamp. + Set related environment vars only if timestamp is set. + utility.cpp: Add "pre-" or "pre-release" if release + timestamp is not set. Don't print empty timestamp. + +2022-02-28 Douglas Gilbert <dgilbert@interlog.com> + + utility.cpp: the previous patch bumped the version number + to 7.4 which probably won't be released for another + 10 to 12 months. Alter the product strings to add either + "pre-release" or just "pre-" in front of release to help + stop users thinking they are using (released) version 7.4 + until it actually is released. + N.B. When the release actually is performed, this patch + should be reversed (and then put back in after the release, + for the next cycle). + +2022-02-28 Christian Franke <franke@computer.org> + + smartmontools 7.3 + +2022-02-27 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.cpp scsiprint.cpp and others: route all SCSI pass + through calls in scsicmds.cpp via the renamed function: + scsi_pass_through_yield_sense() which will absorb up to + three pending Unit Attentions [see ticket 179]. Use + aggregate initialization (e.g. 'uint8_t b[32] = {};') to + bypass the need for many memset() calls. + +2022-02-26 Douglas Gilbert <dgilbert@interlog.com> + + ataprint.cpp: add suggestion when 'Read Device Identity + failed: xxx' error generated to look at + --device-type=TYPE variants. May help with USB-C connected + NVMe enclosures (e.g. with M-2 modules inside) + +2022-02-26 Christian Franke <franke@computer.org> + + configure.ac: Print 'deprecated' warning for '--with-signal-func'. + +2022-02-25 Douglas Gilbert <dgilbert@interlog.com> + + NEWS: update for changes in previous commit + +2022-02-25 Douglas Gilbert <dgilbert@interlog.com> + + smartctl.cpp, scsiprint.cpp: extend --log=defects option so it + works for the SCSI Pending Defects log page (similar to ATA log + page of same name). Add --log=envrep option to output + Environmental Reporting log page (e.g. temperature(s) and + relative humidiy). Add: --log=zdevstat option to output Zone + block device statistics log page. Updated smartctl.8.in for the + above changes. Ran 'spellintian * | grep -v duplica' on source + using Ubuntu 20.04 LTS with Canadian English as the locale. + Fixed reported spelling errors. + +2022-02-23 Christian Franke <franke@computer.org> + + configure.ac, update-smart-drivedb.*: Use RELEASE_7_3_DRIVEDB for + drivedb.h updates. + + Create new branch RELEASE_7_3_DRIVEDB. + +2022-02-22 Christian Franke <franke@computer.org> + + os_win32/update-smart-drivedb.ps1.in: Set console encoding. + Otherwise redirection to gpg occasionally starts with a BOM. + + os_win32/update-smart-drivedb.ps1.in: Unify path syntax. + + do_release: Update code signing key id. + + smartd.cpp: Ensure that '--warn-as-user=restricted' failure is + visible in syslog. + + smartd.cpp: Add '-q *nodev0*' option variants. + These change the exit status to 0 if there are no devices + to monitor. + smartd.8.in: Document new functionality. + +2022-02-20 Douglas Gilbert <dgilbert@interlog.com> + + smartctl.cpp, scsiprint.cpp: implement the change to + TapeAlert handling documented in the previous commit. + Add --log=tapealert option to explicitly fetch the + Tape Alert log page. Tweak some tape-specific formatting. + +2022-02-19 Douglas Gilbert <dgilbert@interlog.com> + + smartctl.8.in: proposed change to TapeAlert handling. No code + has changed, just the smartctl manpage. Please review. If + rejected just reverse this commit. + +2022-02-19 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven (OEM) SSDs: Remove duplicate options. + - SK hynix SATA SSDs: S31 (#1517), SC210 *3AMNB*, SC300 *32MND*, + SC313 HFS*, SC401, SH920. + - Western Digital Ultrastar DC HC530: WUH721414ALE604 (#1458). + - Western Digital Ultrastar DC HC550: More variants (#1547). + - Western Digital Ultrastar DC HC560 (#1548). + - Western Digital Ultrastar DC HC650 (#1549). + - Western Digital Red Pro: WD102KFBX (#1543). + - Western Digital Gold: WD141KRYZ (#1433, #1470). + +2022-02-18 Christian Franke <franke@computer.org> + + Allow one to specify a separate install location for drivedb.h. + This prevents that update-smart-drivedb overwrites the package + installed file (Debian Bug 976696, Ubuntu Bug 1893202). + + configure.ac, Makefile.am: Add '--with-drivedbinstdir' option. + update-smart-drivedb.in: Add '--install' option. + update-smart-drivedb.8.in: Document new functionality. + smartctl.8.in, smartd.8.in: Adjust path names. + +2022-02-16 Douglas Gilbert <dgilbert@interlog.com> + + smartctl.cpp: add new --log=tapedevstat to print out SCSI + Tape (SSC) Device Statistics log page. '-a' does not include + this log page, but '-x' does. May add new --log= option + soon (probably 'tapealert' which must be invoked explicitly); + manpage needs updating + +2022-02-09 Alex Samorukov <samm@os2.kiev.ua> + + Remove cppcheck 2.7 warning as we are using it now on our CI builds + +2022-02-02 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Fix regexp quoting. + + os_linux.cpp: Enhance device scan range to '/dev/sdzz'. + smartd.8.in: Update related documentation. + +2022-02-01 Christian Franke <franke@computer.org> + + autogen.sh: automake 1.16.3-5 work. + + os_win32/update-smart-drivedb.nsi: Remove, no longer used. + Makefile.am: Remove related targets. + + os_win32/installer.nsi: Install update-smart-drivedb.ps1. + Delete update-smart-drivedb.exe. Remove outdated delete commands. + + os_win32/update-smart-drivedb.ps1.in: New drivedb.h update script. + It verifies the downloaded drive database with GnuPG (#752). + Makefile.am: Add new file. + +2022-01-29 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: fix issue with Zoned block device + statistics lpage specific to the WDC DC HC650 + SAS ZBC disk. Visible with smartctl -x + +2022-01-28 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.cpp,scsiprint.cpp: the "Long (extended) + Self-test duration" at the end of smartctl -a output + comes from a 16 bit field holding seconds. If the + value is 0xffff the spec now says to consult the + Extended Inquiry VPD page which has a similar field + but the unit is minutes. Tweak the output if the + duration exceeds 14400 seconds: calculate hours + in brackets [normally minutes]. Reason: my 20 TB + disk reports 38.7 hours to do a long self-test! + +2022-01-16 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: my tape drive gives a nuisance TapeAlert + warning after each power cycle. With '-xj' output this + leads a JSON array with a lot of 'null' entries. Change + the JSON indexing so it is compact and add a + 'descriptor_idx' attribute if the position is important + to the end user. In the case of TapeAlert the relative + position is the degree of seriousness. Change TapeAlert + 'code' name to 'parameter_code'. + +2022-01-16 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: small cleanup on (tape) device + statistics lpage (plain and json) + +2022-01-09 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp, add smartctl -x output (plain+json) for + the (tape) device statistics lpage and the Zoned block + device statistics lpage. Listed under -l background + option (may need new option(s)). + +2022-01-14 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Add xerrorlba flag to the WD Caviar Black (#1558) family + smartd.service: add comment about virtualisation + +2022-01-09 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp, scsicmds.h/.cpp: do some preliminary + work to fetch the Zoned block device characteristics + VPD page if it is present + +2022-01-08 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: adjust json::str2key() calls as requested + +2022-01-08 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: add json for the Start stop cycle counter + log page. Rejig some of the other SCSI json. + +2022-01-07 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: remove jsonify_name() and use + json::str2key() where required. No user space + visible changes. + +2022-01-07 Alex Samorukov <samm@os2.kiev.ua> + drivedb.h: + - Add L3 EVO SSD (#1354) + - Add INTEL SSDSCKKF512G8 SATA 512GB (#1244) + - Extend regexp for the Sandisk SD9SB8W series (#1112) + +2022-01-06 Christian Franke <franke@computer.org> + + json.cpp, json.h: Allows one to use any string for object keys. + Convert to final key with new public function 'json::str2key()'. + Rename related variables from 'key' to 'keystr'. + +2022-01-06 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - SanDisk SSD PLUS 2000GB/UP4504RL (#1503) + - Western Digital PiDrive Foundation Edition (#1007) + - Fixed Supermicro SATA DOM (SuperDOM) entry (#1380) + - Extended regexp to support WDC WD40NDZM-59A8KS1 (#1474) + - Seagate FreePlay HDD (#1405) + +2022-01-05 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: prefix most SCSI specific JSON + top level names with 'scsi_'. Add SCSI self + test JSON plus a few corrections. + +2022-01-05 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: add Lexar 128GB SSD (#1529) + +2022-01-05 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: first cut at adding json to the + self-test log page. + scsicmds.h/.cpp: add scsi_get_sense_key_str() + helper to fetch SCSI sense key as a C string + +2022-01-04 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: printf() spotted in + scsiPrintPendingDefectsLPage() by Yannick Hemery. + Changed to jout(). + +2022-01-03 Douglas Gilbert <dgilbert@interlog.com> + + utility.h: overload jsonify_name() to take a C + string or a std::string. Use in scsiprint.cpp + to add more json support. + +2022-01-03 Christian Franke <franke@computer.org> + + json.h: Allows one to use std::string for object keys. + +2022-01-02 Douglas Gilbert <dgilbert@interlog.com> + + utility.h: add free functions jsonify_name() and + jsonify_name_s() to lessen the repetition of names + that are very similar. May not save code but reduces + the chance of naming errors. Use jsonify_name() in + scsiprint.cpp as use of concept. + +2022-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2022-01-01 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: add more json support: SAS transport + settings (partial) and some tape drive. Please review. + +2021-12-29 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: add more json support: logical_unit_id, + protection_type and lb_provisioning + +2021-12-29 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: applied patch proposed by Yannick Hemery at: + https://github.com/yhemery/smartmontools/commit/ + cf8462bbf395386c239ea587a26777f2de44f8d6 [note: that url has + been line wrapped]. It is to cope with a Samsung SAS SSD that + considers the "Supported log pages" log page [0x0,0x0] and + the "Supported log pages and subpages" log page [0x0,0xff] + as two sub-inventories that must be merged (i.e. a set + union) rather than [0x0,0xff] being a superset of [0x0,0x0]. + Samsung seems to be alone in that interpretation. + +2021-12-21 Douglas Gilbert <dgilbert@interlog.com> + + experimental: add support for printing the SCSI Environmental + Reporting log (sub)page [0xd,0x1] via the -l scttemp option + and select it when '-x' is given. Also generate json output. + Outputs temperature and relative humidity current values and + various min/max values. Manpage has not been updated as this + may not be the best way to hook this in. + +2021-12-21 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: fix listing of subpages as proposed by Yannick + Hemery <yannick.hemery@corp.ovh.com> in smt's github pull/122 + +2021-12-18 Christian Franke <franke@computer.org> + + smartd.cpp: Windows: Add new option '--warn-as-user=restricted'. + If specified, the warning script is run with a restricted access + token. + + os_win32/popen_win32.cpp, os_win32/popen.h: Add new functions + 'popen_as_restr_user()' and 'popen_as_restr_check()' and a TEST + program. + + smartd.8.in: Document new functionality. + +2021-12-16 Christian Franke <franke@computer.org> + + smartd.cpp: Add new option '--capabilities=mail'. + It initializes the capability bounding set for the exim MTA. + This is based on 'smartmontools-7.2-capnotify.patch' from the + Fedora Package (Red Hat Bugzilla 1954015). + + No longer suppress mail notification if '--capabilities' is used. + Log a related hint instead if the warning script fails. + + smartd.8.in: Document new functionality. + +2021-12-15 Christian Franke <franke@computer.org> + + smartd.cpp: Allow use of '--warn-as-user' with '--capabilities'. + +2021-12-13 Christian Franke <franke@computer.org> + + smartd.cpp: Add ability to run warning script as non-privileged user. + User could be specified with new option '-u, --warn-as-user'. + + popen_as_ugid.cpp, popen_as_ugid.h: New files with popen() wrapper + function. It allows one to change uid/gid and also prevents that + unneeded file descriptors are inherited by the child process. + + configure.ac, Makefile.am: Enable new functionality for all OS with + POSIX API. + + smartd.8.in: Document new functionality. + +2021-12-12 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Add usage error messages, add '-h' option. + +2021-12-11 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Allow a directory in the argument of '-t'. + + update-smart-drivedb.in: Add missing long options. + + update-smart-drivedb.in: Allow update from local files or other URLs. + Location could be specified with new options '--file' and '--url' + (#1426). Check VERSION information to prevent downgrades. + Allow override with new option '--force'. + update-smart-drivedb.8.in: Document new functionality. + + update-smart-drivedb.in: Rename some variables. + +2021-11-29 Christian Franke <franke@computer.org> + + smartctl.cpp: Fix possible buffer overflow (#1546). + An overflow of 1-2 bytes occurred only if the '-n' option + was specified with an invalid argument. + +2021-11-28 Christian Franke <franke@computer.org> + + smartd.cpp: Fix write of ATA attributes to state files. + Regression from r5256. + +2021-11-27 Christian Franke <franke@computer.org> + + smartd.cpp: Don't write 'smartd -D' output to syslog on syntax error. + + smartd.cpp: Add ability to specify different check intervals (#336). + The new directive '-c i=N, -c interval=N' overrides the command line + option '-i N, --interval=N' for specific devices. + smartd.8.in, smartd.conf.5.in: Document new directive. + + smartd.cpp: Use some C++11 features. + + smartd.cpp: Add missing 'CloseDevice()' after NVMe error. + +2021-11-24 Alex Samorukov <samm@os2.kiev.ua> + + megaraid (Linux, FreeBSD): relax RAID matching for the LSI PERC RAID + controller. Reported by alex@alexburke.ca. + drivedb.h: add "PLEXTOR PX-512M8VC +" (GH #108) + +2021-11-23 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: extend Intel regexp to support S4520 (GH #112) + +2021-11-22 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: initial support of the direct MegaRaid access using + '-d megaraid' option. Code is initially based on Linux version but adopted to + be compatible with FreeBSD IOCTL-s. + +2021-11-13 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in: Remove EXPERIMENTAL notes for features + added before 7.1. + + smartd.cpp: Allow one to disable preconfigured state/log files with + '-'. The previous method required to specify the '-s' and '-A' options + with empty strings as arguments. This does not work conjunction with + shell variable expansion (GH issues/115). + smartd.8.in: Document new option argument. + +2021-11-08 Yannick Hemery <yannick.hemery@corp.ovh.com> + + scsicmds.cpp: Retry on UNIT ATTENTION when fetching capacity (#1303). + + If a UNIT ATTENTION is raised when READ CAPACITY (16) is called, + smartctl might wrongly assume that the drive only supports READ + CAPACITY (10), and return an invalid drive size / block size as a + result. + +2021-11-06 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Add '-q' option to suppress info messages. + (GH issues/110). + update-smart-drivedb.8.in: Document new option. + + update-smart-drivedb.in: Stop the gpg-agent started by gpg. + Retry if removal of temp gpg home directory fails. + This prevents dangling agents and temp directories on NFS (#1542). + +2021-11-01 Christian Franke <franke@computer.org> + + os_linux.cpp: Add missing permission bits to mknod() calls. + This fixes access to '-d aacraid' and '-d megaraid' devices from + smartd if '--capabilities' is used (GH issues/113). + Thanks to Michal Hlavinka for finding the root of the problem. + +2021-10-31 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows 10, 11 and Server 2022 21H2 build + numbers. + +2021-10-23 Christian Franke <franke@computer.org> + + Don't pass possible command escapes to the 'mail' command (#1535). + + The 'mail' command from GNU mailutils < 3.13 processes '~! COMMAND' + even if used non-interactively (https://savannah.gnu.org/bugs/?60937). + + smartd.cpp: Sanitize device identify information which is passed to + SMART_DEVICEINFO environment variable and written to syslog. + + smartd_warning.sh.in: Abort script if a message line begins with a + possible command escape. + + Thanks to 0x3l leox14@protonmail.com for reporting this security issue. + +2021-09-14 Christian Franke <franke@computer.org> + + drivedb.h: + - Silicon Motion based SSDs: Mushkin Source-II (#1509). + - Western Digital Ultrastar DC HC550 (#1460). + - Toshiba MG08ACA... Enterprise Capacity HDD: 14TB. + - Toshiba N300/MN NAS HDD: Rename, add HDWG480, + - Seagate BarraCuda 3.5 (SMR): Attribute 9. + - Seagate IronWolf: Attribute 240. + MN series (#1510, #1511). + - USB: LaCie d2 PROFESSIONAL (0x059f:0x10b8) (#1502). + - USB: JMicron JMS576 (0x152d:0x0576) (#1428). + +2021-09-04 Christian Franke <franke@computer.org> + + os_win32.cpp: Disable broken aacraid support until #1515 is fixed. + Print explanatory error message. Add 'force' flag to try anyway. + +2021-08-27 Christian Franke <franke@computer.org> + + os_win32.cpp: aacraid: Fix crash on transfer size > 880 bytes (#1515). + +2021-08-21 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows 10 21H1 build number. + + configure.ac: Add '-Werror=return-type' if supported. + G++ >= 8.0 assumes that control never reaches the end of a + non-void function (GCC Bugzilla 96181). + +2021-06-26 Christian Franke <franke@computer.org> + + ataidentify.cpp, ataprint.cpp: ACS-5 enhancements. + + ataprint.cpp: Don't set bit 2 of exit status if ATA output registers + are missing but attributes are available (#1441, GH issues/98). + +2021-06-06 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron Client SSDs: MTFDDAK256TDL-* (#1490). + - Innodisk 1IE3/3IE3/3ME3/3IE4/3ME4 SSDs: Rename, add 1IE3, 3IE4. + - Samsung based SSDs: 870 EVO, 860 QVO (#1457), + 883 DCT 1.92/3.84TB (#1452), CM871 MZ7LF192HCGS (#1475), + PM841 MZMTD128HAFV, PM851 MZNTE512HMJH (GH issues/87). + - SSSTC ER2 GD/CD Series SSDs: *A variant (#1484). + - Xmore Industrial SATA SSDs (based on patch from #1364). + - Toshiba MG09ACA... Enterprise Capacity HDD. + +2021-06-04 Christian Franke <franke@computer.org> + + Rework 'get_timer_usec()', use a C++11 clock if possible. + dev_interface.cpp, dev_interface.h, os_win32.cpp: Move function ... + utility.cpp, utility.h: ... to here. + configure.ac: Remove related checks. + + ataprint.cpp, nvmeprint.cpp: Add JSON values 'smart_support.*' to + keep consistency with scsiprint.cpp. + +2021-05-02 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: continue JSON work + +2021-04-14 Phillip Schichtel <phillip@schich.tel> + + os_linux.cpp: Only require '-d cciss,N' if hpsa devices are in + RAID mode. + +2021-04-09 Alex Samorukov <samm@os2.kiev.ua> + + os_openbsd.cpp: fix SAT autodetection for the sd* devices (#1467) + +2021-03-24 Martin Ziemer <horrad@horrad.de> + + os_openbsd.cpp: Apply conversion to seconds for timeouts in + scsi_pass_through (#1466). + + os_openbsd.cpp: Use correct devicename for autodetection (#1465). + +2021-03-08 Christian Franke <franke@computer.org> + + drivedb.h: + - Toshiba MG04ACA... Enterprise HDD: Rename, merge entries, + add *NY variant (GH issues/90). + - Toshiba MG05ACA... Enterprise Capacity HDD (#1327). + - Toshiba MG08ACA... Enterprise Capacity HDD. + - Toshiba N300 NAS HDD (#1143, #1236, #1251, #1323). + - Toshiba P300 (CMR): Rename. + - Toshiba P300 (SMR) (#1430). + - Toshiba X300: HDWF180 (#1277), 10-16TB. + +2021-03-02 Christian Franke <franke@computer.org> + + smartd_warning.sh.in: Fix handling of multiple email addresses + in conjunction with plugin scripts (#1454). + Pass modified SMARTD_ADDRESS also to all plugin scripts. + Provide original value as SMARTD_ADDRESS_ORIG. + Exit immediately if a script is missing. + smartd.conf.5.in: Document error handling and SMARTD_ADDRESS_ORIG. + +2021-02-14 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin.cpp: implement APM set feature, based on hdparm macOS sources + +2021-02-09 Christian Franke <franke@computer.org> + + configure.ac: Include required library functions in check for + '-fstack-protector' (#1439). + + Print drive database version in smartctl and smartd. + knowndrives.cpp, knowndrives.h: Parse VERSION string. + ataprint.cpp: Print version. Remove '-P showall' help string. + smartd.cpp: Print version. + +2021-02-07 Christian Franke <franke@computer.org> + + Makefile.am: 'check' target now also checks the built-in database. + + smartctl.cpp: Fix 'optopt' range check + (cppcheck 2.3: invalidFunctionArg). + + scsiprint.cpp: Silence cppcheck 2.3 'unreadVariable' warning. + + scsiata.cpp: Remove unused function 'has_usbcypress_pass_through()'. + + Improve reproducibility if SOURCE_DATE_EPOCH if set (GH pull/89). + configure.ac: Define SOURCE_DATE_EPOCH in CPPFLAGS. + utility.cpp: Print SOURCE_DATE_EPOCH value if specified. + Don't include configure arguments then. + cppcheck.sh: Silence related 'ConfigurationNotChecked' message. + + Always add timestamp to JSON output (#1436). + Move non-JSON timestamp output to common function. + +2021-02-01 Christian Franke <franke@computer.org> + + Silence more cppcheck 2.3 warnings. + + Add C++11 'override' specifier where applicable (cppcheck: missingOverride). + + os_freebsd.cpp, os_linux.cpp: Replace deprecated bcopy() and bzero() + (cppcheck: bcopyCalled, bzeroCalled). + + cppcheck.sh: Add '-c' option. + Remove suppress: bcopyCalled, bzeroCalled, missingOverride. + Mark cppcheck 1.86, 2.2 and 2.3 as tested. + + json.h: suppress cppcheck: noExplicitConstructor. + + ataprint.cpp, ataprint.h, smartctl.cpp: Optionally exit immediately + if '-n POWERMODE' option is not supported (#1381). + smartctl.8.in: Document new STATUS2 Parameter for '-n POWERMODE'. + +2021-01-27 Christian Franke <franke@computer.org> + + json.cpp, json.h: Add support for nested braced-init-lists. + + json.cpp, json.h: Use some C++11 features. Align output functions. + +2021-01-24 Christian Franke <franke@computer.org> + + ataprint.h, nvmeprint.h, scsiprint.h: Use C++11 in-class member + initializers. + + Drop C++98 restriction, allow C++11. + configure.ac: Enable C++11. Fail if no option found. + Disable C++14 if possible. Warn if no C++14 option found. + + configure.ac: Remove defunct '--with-working-snprintf'. + + scsiprint.cpp: Reduce scope of 'powerlimit' + (cppcheck 1.85: variableScope). + +2021-01-24 Simon Fairweather <simon.n.fairweather@gmail.com> + + scsiprint.cpp: Move VPD page process to after new powermode processing + added in r5131 to resolve #1413 of Seagate drives spinning up when + -n standby is selected. Simplify code for VPD pages. + +2021-01-23 Christian Franke <franke@computer.org> + + Makefile.am: Enhance config-vc and *clean-vc targets for MSVC15/16. + + os_win32/vc16: Copy from vc15 and change for MSVC16 (VS2019). + + os_win32/vc15: Copy from vc14 and change for MSVC15 (VS2017). + + os_win32/vc14/smart*.vcxproj*: Add missing files. + Suppress warnings for regex/regex.c. + +2021-01-20 Christian Franke <franke@computer.org> + + ataprint.cpp, ataprint.h, smartctl.cpp: Rework sct_erc variables. + Fix handling of '-l scterc*,p' if both get and set are used. + + smartctl.cpp: Change '-l scterc,r' to '-l scterc,reset'. + Make ',p' case sensitive. Simplify parsing of 'scterc...'. + smartctl.8.in: Change documentation accordingly. + +2021-01-17 Christian Franke <franke@computer.org> + + drivedb.h: + - Bump branch VERSION to 7.3. + - USB: Realtek RTL9211 (0x0bda:0x9211, 0x2eb9:0x9211). + - USB: ASMedia ASM2362 (0x174c:0x2362). + + scsinvme.cpp: Add '-d sntasmedia' device type for ASMedia ASM2362 + USB to NVMe bridges (#1221). + dev_interface.cpp: Update help text. + smartctl.8.in, smartd.conf.5.in: Document new option. + + Thanks to Demian from Sabrent. + +2021-01-15 Christian Franke <franke@computer.org> + + smartctl.8.in: Add EXPERIMENTAL note for new '-l scterc' variants. + +2021-01-15 Jeremy Bauer <jeremy.bauer@wdc.com> + + Add support for SCT Error Recovery Timer features added in ACS-4 + (#1427). + '-l scterc[,R,W],p' option gets/sets the persistent power-on values. + '-l scterc,r' option restores to the manufacturer's default values. + +2021-01-15 Zhenwei Pi <pizhenwei@bytedance.com> + + nvmeprint.cpp: Add bit 5 of SMART/Health 'Critical Warning' byte + (NVMe 1.4). + +2021-01-10 Christian Franke <franke@computer.org> + + drivedb.h: Add VERSION information to trunk and all branches (#1424). + +2021-01-06 Christian Franke <franke@computer.org> + + drivedb.h: + - Seagate BarraCuda 3.5: Split into ...(CMR) and ...(SMR). + - Seagate Exos 7E8 (#1415). + - Western Digital Blue (SMR): 4TB. + - USB: ADATA HV610 (0x125f:0xa21a) (#1417). + +2021-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2020-12-30 Christian Franke <franke@computer.org> + + smartmontools 7.2 + +2020-12-30 Christian Franke <franke@computer.org> + + configure.ac, update-smart-drivedb.in: Use RELEASE_7_2_DRIVEDB for + drivedb.h updates. + + Create new branch RELEASE_7_2_DRIVEDB. + +2020-12-29 Christian Franke <franke@computer.org> + + drivedb.h: + - Micron 5100 Pro / 52x0 / 5300 SSDs: 5300HC. + - Samsung based SSDs: PM871 MZY* (#1384), 870 QVO (#1388). + - Silicon Motion based SSDs: ADATA IMSS332 (#1399), + ADATA SU650NS38 (#1386), JAJS600M1TB (#1414), NFN025SA31T. + - Silicon Motion based OEM SSDs: Dogfish, + Intenso portable (GH issues/81, GH pull/82), + Intenso Sata III (#1412), KingDian S280 (#1402). + - SK hynix SATA SSDs: SC300 (#1407). + - Hitachi Travelstar 5K500.B: *SA02 (#1408). + - Fix '-v' comments. Remove trailing whitespace. + + scsinvme.cpp: Realtek: Limit NVMe log transfer size to 512 bytes. + +2020-12-21 Christian Franke <franke@computer.org> + + smartctl.8.in: Add EXPERIMENTAL notes for SCSI variants of + '-n POWERMODE' and '-s standby,...'. Fix syntax. + + update-smart-drivedb.in: Add 'Accept-Encoding' HTTP header when + curl is used. This avoids caching problems with svn URL. + + update-smart-drivedb.in: Print output of 'gpg --import' if '-v' is + specified. + + update-smart-drivedb.in: Extend expiration year of current database + signing key from 2020 to 2025 (#1278). + +2020-12-20 Christian Franke <franke@computer.org> + + configure.ac: Use AC_CONFIG_HEADERS instead of obsolete + AC_CONFIG_HEADER. This silences a warning from new autoconf 2.70. + Print 'deprecated' warning for '--with-solaris-sparc-ata'. + + drivedb.h: + - Intel X25-E SSDs: IBM OEM (#1401). + - Seagate BarraCuda 3.5: 12TB + - Seagate Exos X16: 10TB (#1406, GH issues/63), 12TB. + - Seagate Archive HDD: Rename to ...(SMR) (#1392). + - Seagate BarraCuda, Enterprise Capacity, Exos, IronWolf: + Add attributes 18, 200. + - Seagate IronWolf Pro 125 SSDs (#1396). + - Unify indentation. + +2020-12-15 Douglas Gilbert <dgilbert@interlog.com> + + smartctl: expand -s option with standby,now and standby,off (or + standby,0) to include SCSI. Modified code from Simon Fairweather + found in github pull #72. As per my 20201205 patch, this + area (i.e. SCSI power conditions including START and STOP) needs + to be revisited; leave that until after the 7.2 release. + +2020-12-14 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: add Sony HD-E1B (#1410) + +2020-12-12 Alex Samorukov <samm@os2.kiev.ua> + + Add automake 1.16.2 to the list of tested versions + os_freebsd.cpp: number of minor patches from Christian Franke + +2020-12-05 Douglas Gilbert <dgilbert@interlog.com> + + smartctl: expand -n option to include SCSI. Code from Simon + Fairweather. Still thinking about how to handle SCSI "stopped" + state which requires the user to send a SCSI command to restart. + +2020-12-04 Christian Franke <franke@computer.org> + + nvmeprint.cpp: Print Log Page Attributes. Print NVMe 1.4 features. + + nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp: Fix check for LPO support. + +2020-12-03 Christian Franke <franke@computer.org> + + nvmeprint.cpp: Print NVMe version. + + nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp: Limit NVMe log transfer size + to one page. This should fix device or kernel crashes on '-l error' + if log has more than 64 entries (#1404, Debian Bug 947803). + + nvmeprint.cpp: Read only requested number of entries from NVMe + Error Information Log. + +2020-11-23 Christian Franke <franke@computer.org> + + smartd.cpp: Allow one to specify a delay limit for staggered + self-tests. + smartd.conf.5.in: Document new functionality. + +2020-11-21 Christian Franke <franke@computer.org> + + smartd.cpp: Add staggered self-tests (#310). + smartd.conf.5.in: Document new functionality. + +2020-11-17 Dmitriy Potapov <atomsk+oss@google.com> + + smartd.cpp: Don't write attrlog when device is skipped due to idle or + standby mode, or if attributes were not read for any other reason + (GH pull/75). + +2020-11-09 Christian Franke <franke@computer.org> + + smartd.cpp: Resolve symlinks before device names are checked for + duplicates (#1390). + dev_interface.cpp, dev_interface.h: Add 'get_unique_dev_name()' + and 'is_raid_dev_type()' to support platform specific modifications. + smartd.conf.5.in: Document new functionality. + +2020-11-07 Christian Franke <franke@computer.org> + + json.cpp, json.h: Add YAML support. + smartctl.cpp: Add '--json=y' option. + smartctl.8.in: Document new option. + + smartctl.8.in, smartd.conf.5.in: Remove EXPERIMENTAL notes for + features added before 7.0. + update-smart-drivedb.8.in: Add missing EXPERIMENTAL note. + +2020-11-01 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven SSDs: KINGSTON OM4P0S3* (#1374), OMSP0S3* (#1375). + - InnoDisk iCF 9000 / 1SE2 Cards: Rename entry. Add 1SE2 H (#1351). + - Marvell based SanDisk SSDs: 2TB SDSSDH3 (GH issues/67, GH pull/69), + WD Blue SSD WDS100T2B0A (#1378). + - SanDisk based SSDs: SDSA6GM*. + - Toshiba 2.5" HDD MK..76GSX/GS001A (GH pull/58). + - Toshiba L200 (CMR), Toshiba L200 (SMR) (#1228, patch from #1377). + - Western Digital Blue: Apple OEM (#1385). + - Western Digital Scorpio Blue Serial ATA: 320 GB (patch from #888). + + os_win32.cpp: Decode Windows 10 20H2 and Server 2004, 20H2 + build numbers. + +2020-10-29 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: skip SCSI subenclosure devices on scan (#1299) + +2020-10-24 Christian Franke <franke@computer.org> + + drivedb.h: + - HGST Travelstar Z5K1000: *B*610 variant. + - Hitachi Travelstar 7K320: HITACHI*SA60 variant (#983). + - Hitachi/HGST Deskstar 5K4000: Rename entry. Add HGST (#1060). + - HGST Deskstar NAS: 8TB. + - Hitachi/HGST Ultrastar 5K3000 (#1055). + - Hitachi Ultrastar 7K3000: Variant without vendor name (#1361). + - Hitachi/HGST Ultrastar 7K4000: Variant without vendor name (#1361). + - HGST Ultrastar HC310/320 (#1157, #1365). + +2020-10-19 Christian Franke <franke@computer.org> + + drivedb.h: + - ATP SATA III aMLC M.2 2242 SSD (based on patch from #1366). + - Silicon Motion based OEM SSDs: TCSUNBOW X3 (#1349), + KingDian S370 (#1350), LDLC (#1353), Lenovo. + - SSSTC ER2 GD/CD Series SSDs (based on patch from #1376). + +2020-10-15 Christian Franke <franke@computer.org> + + drivedb.h: + - Apacer SSDs (based on patch from #1202). + - Crucial/Micron MX500 SSDs (FW <= M3CR032): Remove entry (#1227). + - Crucial/Micron Client SSDs: Rename entry. Fix name of attribute 127. + This prevents false 'Currently unreadable (pending) sectors' warnings + from smartd (#1227, #1294, #1311, #1336). + - Intel 730 and DC S35x0/3610/3700 Series SSDs: *H* variant (#1363). + - Samsung based SSDs: 883 DCT (#1373). + + os_win32.cpp: Fix removal of trailing blanks. + Silence misleading -Wstring-compare warning from g++ 10.2.0 + (GCC Bugzilla 97336). + +2020-10-09 Christian Franke <franke@computer.org> + + scsiprint.cpp: Don't print 'Accumulated power on time' if no + option is specified (GH issues/65, regression from r5075). + Fix setting of 'any_output' (regression from r4188). + + Based on patch from GH pull/66. + +2020-10-06 Christian Franke <franke@computer.org> + + Remove all occurrences of the throw() specifier. + This specifier is deprecated since C++11. + +2020-09-27 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Add '--branch' option. + Select signing key accordingly. + update-smart-drivedb.8.in: Document new option. + +2020-09-20 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron BX/MX1/2/3/500, M5/600, 11/1300 SSDs: BX500 2TB, + 1100 with version suffix (#1178), 1300 without prefix (#1369). + - Micron 5100 Pro / 52x0 / 5300 SSDs: Add attribute 246. + - Phison Driven SSDs: Kingston A400 M.2 (#1362), + Kingston OCP0S3* (#1370), Kingston OM8P0* (#1371). + - Kingston SSDNow UV400/500: UV500 M.2 (#1347). + - SAMSUNG SpinPoint N3U-3 (USB): Rename. + - USB: Samsung S1 Mini (0x04e8:0x2f06) (Debian Bug 964032). + +2020-09-19 Christian Franke <franke@computer.org> + + ataprint.cpp: Report unavailable TRIM command only for SSDs. + +2020-08-23 Christian Franke <franke@computer.org> + + drivedb.h: DEFAULT entry: Limit attribute 231 (Temperature_Celsius) + to HDDs. Various SSDs use this attribute for a different purpose. + + drivedb.h: + - Micron 5100 Pro / 52x0 / 5300 SSDs: Rename, add 5210 (#1356), + 5300 *TDT variant (#1355) + - Phison Driven SSDs: SSD Smartbuy 64GB and other sizes (#1359) + - Indilinx Barefoot_2/Everest/Martini based SSDs: OCZ-OCTANE (#1360) + - Marvell based SanDisk SSDs: Ultra 3D 4TB (#1358) + - Silicon Motion based SSDs: ACPI SED2QII-LP, Transcend 230 + - Western Digital Gold: WD102KRYZ (#1357) + +2020-08-22 Christian Franke <franke@computer.org> + + smartd.service.in: Don't start smartd in virtualized environments + (GH issues/62). + +2020-08-22 Marko Hauptvogel <marko.hauptvogel@googlemail.com> + + smartd.service.in: Remove obsolete 'StandardOutput=syslog'. + +2020-07-11 Christian Franke <franke@computer.org> + + scsiprint.cpp: Add JSON values 'power_on_time.{hours,minutes}' to + 'smartctl -a' output. Add missing pout() -> jout() replacements. + +2020-07-10 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: Add "Accumulated power on time" entry to + 'smartctl -a' output. Previously this was only output + when the '-x' option was given, together with other + fields in the Background scan results log page. Now + with the '-a' option "Accumulated power on time" is + printed just before the "Manufactured in week ..." line. + +2020-07-06 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: Attempted fix to tickets 1272, 1331 and 1346 + The difficulty is handling SCSI log _sub_-pages that hold + info about SSDs and newer hard drives, against older + devices (20 year old disks?) that do many and varied + things when asked to list supported sub-pages. Add a + heuristic and change some naming. + +2020-06-24 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin.cpp: Fix NVMe log support, handle error codes, + remove SMARTReadData call + os_darwin.h: Cleanup, remove all private functions + +2020-06-23 Harry Mallon <hjmallon@gmail.com> + + os_darwin.cpp, os_darwin.h: Add support for NVMe logs. + smartctl.8.in: Update related documentation. + +2020-06-20 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron BX/MX1/2/3/500, M5/600, 11/1300 SSDs: Rename, + add 1300 + - Plextor M3/M5/M6/M7 Series SSDs: Rename, *M6G variant, *M7CV (#991) + - Silicon Motion based SSDs: ADATA SU650 (#1243), ADATA SU655 + - Seagate IronWolf Pro: 16TB (#1341) + - USB: Toshiba (0x0930:0xa002) + - USB: ADATA HD330 (0x125f:0xa83a) + - USB: AkiTio NT2 (0x2ce5:0x0014) + + os_solaris.cpp: Suggest '-d sat' if '-d ata' is specified. + +2020-06-18 Christian Franke <franke@computer.org> + + scsiprint.cpp: Fix JSON value 'scsi_grown_defect_list'. + + Thanks to Ryan Allgaier for the bug report. + +2020-06-05 Alex Samorukov <samm@os2.kiev.ua> + + os_netbsd.cpp: fix timeout handling + os_openbsd.cpp (based on Marek Benc GH request): + - Migrate to the new API (#102) + - Fix for the ATA registries on the BE arc (GH PR #56) + - Fix timeout handling (GH PR #56) + +2020-06-01 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX500 SSDs: Detect firmware <= M3CR032 (#1336) + - Micron 5100 Pro / 5200 / 5300 SSDs: Rename, add 5300 (#1326) + - Phison Driven SSDs: Corsair Force LE200 + - JMicron/Maxiotek based SSDs: Rename, add KingSpec NT + - Plextor M3/M5/M6 Series SSDs: *M6V variant + - Seagate IronWolf: *VN001 variant (GH pull/55) + - WD Blue / Red / Green SSDs: Rename, add WD Red SA500 (#1321) + - Western Digital Blue Mobile: re-add WD10JPZX (removed in r5054) + - USB: OWC Mercury Elite Pro Quad (0x1e91:0xa4a7) (patch from #1337) + + os_win32.cpp: Decode Windows 10 2004 build number. + +2020-05-25 Christian Franke <franke@computer.org> + + ataprint.cpp: Print TRIM Command support info. + Print Zoned Device Capabilities if reported. + May also be useful to detect SMR HDDs (#1313). + +2020-05-24 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven SSDs: GIGABYTE GP-GSTFS31, + KINGSTON DC450R/DC500M/DC500R 7.68TB (#1329), PNY CS900 (#1281) + - Intel 320 Series SSDs: HP OEM (#1332) + - JMicron based SSDs: ADATA SP600NS34 (GH pull/53), + ADATA OEM IM2S3138E* (#1298) + - Plextor M3/M5/M6 Series SSDs: allow extra space (#1293) + - Samsung based SSDs: 860 EVO 4TB, 850/860 PRO 2/4TB (#1316) + - Marvell based SanDisk SSDs: SDSSDA-* + - Silicon Motion based SSDs: Corsair Force LX (#1320) + - WD Blue and Green SSDs: WDBNCE* (#1129) + + drivedb.h: Add separate entries for WDC SMR drives (#1313). + - Western Digital Blue (SMR) + - Western Digital Black (SMR) + - Western Digital Red: Move WD60EFAX to ... + - Western Digital Red (SMR): ... here, add 2TB, 3TB, 4TB + - Western Digital Blue Mobile: Move WD[12]0SPZX to ... + - Western Digital Blue Mobile (SMR): ... here + +2020-04-23 Christian Franke <franke@computer.org> + + drivedb.h: USB: Realtek RTL9210 (0x0bda:0x9210) + + scsinvme.cpp: Add '-d sntrealtek' device type for Realtek RTL9210 + USB to NVMe bridges (#1315). + dev_interface.cpp: Update help text. + smartctl.8.in, smartd.conf.5.in: Document new option. + + Thanks to Plugable Support for providing a NVMe enclosure. + +2020-04-05 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX500 SSDs: Detect also older firmware (#1311) + - Silicon Motion based SSDs: Add attributes 159 and 231 (#1304) + - Seagate BarraCuda 3.5: Rename, merge entries, + add ST2000DM008 (#1179, #1252, #1286), ST10000DM0004 + - Seagate Exos X14: ST12000NM0538 (#1256) + - Seagate Exos X16 (#1291, #1301) + - Seagate Skyhawk (#1039) + +2020-04-04 Christian Franke <franke@computer.org> + + dev_jmb39x_raid.cpp: Add '-d jms56x,...' device type for protocol + variant used by JMS562 USB to SATA RAID bridges (#1314). + dev_interface.cpp: Parse '-d jms56x*[+TYPE]' option, update help text. + smartctl.8.in, smartd.conf.5.in: Document new option. + +2020-03-29 Christian Franke <franke@computer.org> + + drivedb.h: + - Western Digital Ultrastar He10/12: Rename, add He12 + (#1308, GH issues/51) + - Western Digital Ultrastar DC HC530 (#1257) + - Western Digital Green: WD5000AZRX (#1072) + - Western Digital Red: WD120EMFZ (GH issues/49) + - Western Digital Purple: WD*PURZ, WD80PUZX (#1057) + - Western Digital Gold: WD6003FRYZ + - Western Digital Blue Mobile: Rename, re-add WD10JPVX + (removed in r4991) + - Western Digital Elements / My Passport (USB, AF): + WD10SMZW (#1088), WD50NDZW + +2020-03-28 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs: CT1000BX500SSD1, + MTFDDAK* (#1276) + - Kingston SSDNow UV400/500: Rename, add UV500 (#1126) + - Silicon Motion based SSDs: KingDian S100/200, Kingdian S280 1TB, + Kingston KC600 (#1304), Transcend MTS420S (#1280), + Transcend 360S (#1282) + - Seagate IronWolf Pro: ST4000NE001 + - Western Digital RE3 Serial ATA: WD*BYS-* variant + - Western Digital Gold: WD4003FRYZ (#1289), WD8004FRYZ (#1287) + - USB: 0x0860:0x0001 (#1295) + - USB: JMicron (0x152d:0x1337) (#1296) + - USB: Corsair SSD & HDD Cloning Kit (0x0984:0x0301) (#1307) + +2020-03-25 Christian Franke <franke@computer.org> + + smartd.cpp: Set 'SMARTD_DEVICETYPE=auto' if DEVICESCAN is used + without '-d TYPE' directive (GH issues/52). + +2020-03-05 Christian Franke <franke@computer.org> + + Silence some cppcheck 1.85 warnings. + nvmeprint.cpp, smartd.cpp: knownConditionTrueFalse. + scsicmds.cpp, scsiprint.cpp: variableScope. + scsicmds.h: Remove unused function supported_vpd_pages::num_pages(). + + cppcheck.sh: Remove no longer used HAVE_*NTDDDISK_H defines. + +2020-03-01 Christian Franke <franke@computer.org> + + dev_intelliprop.cpp, dev_interface.cpp, dev_interface.h: Move option + parsing to get_intelliprop_device(). Move this function to class + smart_interface. + dev_intelliprop.h: Remove file. + Makefile.am, os_win32/vc14/smart*.vcxproj*: Remove old file. + + configure.ac: Fail if '--without-working-snprintf' is specified. + utility.cpp, utility.h: Remove support for pre-C99 snprintf(). + + os_win32.cpp: Remove backward compatibility fixes for include files + of very old versions of Cygwin, MinGW and MSVC. + configure.ac, Makefile.am: Remove check for DDK include files. + +2020-02-25 Christian Franke <franke@computer.org> + + Silence some warnings from g++ 9.2: + atacmds.cpp: -Waddress-of-packed-member. + os_win32.cpp: -Wcast-function-type. + smartd.cpp: -Wformat-truncation. + +2020-02-25 Fabrice Fontaine <fontaine.fabrice@gmail.com> + + configure.ac: fix stack-protector detection. + Use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE to check for + stack-protector availability as some compilers could missed the + needed library (-lssp or -lssp_nonshared) at linking step. + +2020-01-11 Christian Franke <franke@computer.org> + + dev_jmb39x_raid.cpp: Add '-d jmb39x-q,...' device type for JMB39x + protocol variant used by QNAP-TR004 NAS (#1283). + dev_interface.cpp: Update help text. + smartctl.8.in, smartd.conf.5.in: Document '-q' suffix. + +2020-01-02 Christian Franke <franke@computer.org> + + configure.ac: Use 'uname -n' if 'hostname' is not available + (GH PR 44). Remove check for SVN < 1.7. + +2020-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2019-12-30 Christian Franke <franke@computer.org> + + smartmontools 7.1 + +2019-12-29 Christian Franke <franke@computer.org> + + smartctl.8.in: Add info about AMD Windows RAID driver. + Fix some font changes. + + os_win32/installer.nsi: Delete old ChangeLog-5.0-6.0 on update + installs. Remove outdated delete commands. + + scsicmds.cpp: Remove never needed include of atacmds.h. + + ataprint.cpp, smartd.cpp: Silence 'multiplication overflow' warning + from lgtm. + + ataprint.cpp: Fix size of Device Statistics value. + + os_win32.cpp: CSMI: Detect missing ATA output registers. + +2019-12-28 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX500 SSDs: New entry to handle bogus + attribute 197 (#1227) + - Phison Driven SSDs: Kingston DC450R (#1249), + Patriot Flare, Blast, Blaze (#830), Burst (#1182) + - Silicon Motion based SSDs: Patriot P200, TC-Sunbow X3 (#1261), + Team Group L5Lite 3D T253TD variant + - Seagate IronWolf: ST6000VN0033 (#1273) + - Western Digital Red: WD60EFAX (#1274) + - USB: Samsung (0x04e8:0x8003) + - USB: JMicron JMS561 (0x152d:0xa561) + + do_release: Update code signing key id. + +2019-12-13 Christian Franke <franke@computer.org> + + smartd.conf.5.in: Fix very old comment about man2html bug. + + smartctl.8.in, smartd.conf.5.in, update-smart-drivedb.8.in: + Remove EXPERIMENTAL notes for features added before 6.6. + Fix typos. + + update-smart-drivedb.in: If signature verification fails, always + print GPG error message regardless of '-v' option. + + os_win32.cpp: Decode Windows 10 1909 and Server 1909 build number. + Fix IRST version in comment. + +2019-12-10 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Fix SanDisk SSD Plus matching pattern (GH PR 43) + +2019-12-06 Christian Franke <franke@computer.org> + + drivedb.h: + - Hitachi Ultrastar A7K1000: HITACHI* variant (#1255) + - Seagate IronWolf: *0008 variant (#1262) + - WD Blue and Green SSDs: *2G* variant, allow extra space + - USB: Unknown (0x0850:0x0031) + - USB: ADATA (0x125f:0xa37a) (#1264) + +2019-12-06 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Extend Micron 5100 attributes (#1270) + +2019-12-05 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Add Toshiba MQ04UBD200 (#1106) + - Add LITEON LCH SSD (#1124) + +2019-12-04 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - hynix SC311 SSD (#1267) + - Seagate Mobile HDD (#1118) + - Kingston SSDNow UV400 (#848, GH: 7) + - Add another PM841 definition (GH: 30) + - Add Seagate Barracuda Pro Compute family + - Extend WD Blue regexp + - Extend Seagate Mobile HDD regexp + - Add Seagate Exos X14 + +2019-11-24 Christian Franke <franke@computer.org> + + Add '-d jmb39x,N[,sLBA][,force][+TYPE]' device type for SATA drives + behind a JMicron JMB39x RAID port multiplier (#705). + dev_jmb39x_raid.cpp: New file, based on JMraidcon by Werner Johansson. + dev_interface.cpp: Parse '-d jmb39x*[+TYPE]' option. + dev_interface.h: Add get_jmb39x_device(). + smartctl.8.in, smartd.conf.5.in: Document new option. + Makefile.am, os_win32/vc14/smart*.vcxproj*: Add new file. + + Thanks to Karl McMurdo for providing access to a machine for testing. + +2019-11-22 Christian Franke <franke@computer.org> + + atacmds.cpp: Fix bogus errno message in debug output. + Print original IDENTIFY DEVICE error if IDENTIFY PACKET DEVICE + also fails. + + cciss.cpp: Fix segfault on transfer size > 512 bytes. + Replace printf() and fprintf() with pout(). + +2019-10-19 Christian Franke <franke@computer.org> + + scsiprint.cpp: Silence 'value never read' warning from clang + analyzer. + + Avoid usage of asctime(), ctime(), gmtime(), and localtime(). + Use thread-safe *_r() or *_s() variants instead. + utility.cpp, utility.h: Add wrapper function for localtime_*(). + smartd.cpp: Attribute logs now use local time instead of UTC. + +2019-10-16 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: improve Innodisk 3TG6 record (patch by GH user Shaing) + +2019-10-15 Christian Franke <franke@computer.org> + + os_win32.cpp: CSMI: Add workaround for AMD RAID drivers which return + incomplete and incorrect drive information in CSMI_SAS_PHY_INFO + (GH issues/39). + + Thanks to GH user 'Shine-' for original patch and testing. + +2019-10-05 Christian Franke <franke@computer.org> + + ataprint.cpp: Set JSON value 'power_on_time.hours' if raw value + also contains milliseconds (#1165). + +2019-10-04 Christian Franke <franke@computer.org> + + configure.ac: Don't check for _FORTIFY_SOURCE if it is a + compiler preset. + +2019-10-03 Christian Franke <franke@computer.org> + + configure.ac: Define _FORTIFY_SOURCE=2 if supported. + +2019-10-01 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: + - in scsiGetSupportedLogPages() the code assumes if the + device supports the "Supported Log pages and subpages" + log page then that will supersede the "Supported Log + pages" log page. However in tickets #1225 and #1239 + different Samsung SAS SSDs seem to have a dummy + response to the '... and subpages' variant log page + and a correct response to the shorter (and older) + variant. Change code so the '... and subpages' + variant is ignored if its response is shorter than + the other variant's response. This code change needs to + be tested on real Samsung SAS SSDs, preferably by the + reporters of tickets #1225 and #1239 . + +2019-09-30 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: + - in scsiPrintGrownDefectListLen() change to silently bypass + if defect list type is 6 since it means "vendor specific". + On recent SAS SSDs it seems to mean: we (the manufacturer) + are not going to give you any more information about this + SSD's internal format. + +2019-09-28 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven SSDs: Goodram CX400, Goodram Iridium Pro, + Goodram IRIDM (#1136, #1212), MyDigital BP4, PS3110-S10C (#1075), + SSM28256GPTCB3B + - Phison Driven OEM SSDs: Intenso SATA III, Silicon Power A55 + - Silicon Motion based SSDs: Rename, sort, add Cervoz M305 (#1097), + Drevo X1 (#949), Drevo X1 Pro (#936), J&A LEVEN JS500 (#998), + KingDian S280, OWC Envoy Pro (#1168), Ramsta S800 (#1158), + TC-Sunbow M3, Zheino M3 + - Silicon Motion based OEM SSDs: New entry with FW detection: + Intenso SSD, Intenso SATA III High (#1005), KingFast F6M (#968), + Silicon Power M.2 2280 M55 (#978), SuperMicro DM032-SMCMVN1 (#1172), + - USB: OWC Envoy Pro (0x1e91:0xa2a5) (#1168) + +2019-09-27 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven OEM SSDs: Hoodisk (#1231) + - Innodisk 3IE2/3ME2/3MG2/3SE2/3TG6 SSDs: Rename, + add 3TG6 (GH pull/40) + - Marvell based SanDisk SSDs: X600, Ultra 3D 1024G, + Plus (#1120, #1160) + - USB: LaCie P9230 (0x059f:0x1053) (#1235) + - USB: Toshiba Stor.E D10 (0x0939:0x0b13) + - USB: Atech (0x1234:0x5678) (#1234) + + os_win32.cpp: Enhance CSMI_SAS_PHY_INFO debug output. + Print all nonempty entries. + +2019-08-20 Christian Franke <franke@computer.org> + + drivedb.h: + - SiliconMotion based SSDs: ADATA SU800 (#954, #1214), SU900 (#996), + Transcend 430S (#1229) + - USB: JMicron JMS576 (0x152d:0x1576) + - USB: PNY (0x154b:0x5678) + +2019-08-13 Christian Franke <franke@computer.org> + + drivedb.h: Phison Driven SSDs: Fix typo, add DC500 attributes (#1176) + +2019-08-12 Christian Franke <franke@computer.org> + + ataprint.cpp: Add ACS-5 major version and latest ACS-4 minor version. + + drivedb.h: + - Apacer AS340 (based on patch from #1209) + - Phison Driven SSDs: Kingston DC500R/M (#1176) + - USB: Unknown (0x0850:0x0003) + +2019-08-08 Christian Franke <franke@computer.org> + + os_linux.cpp: Add more debug output to 'get_usb_id()'. + + json.cpp, json.h: Make 'json::ref::~ref()' non-inline to decrease + code size. Remove some extra ';'. + + os_win32/wtssendmsg.c: Fix parsing of numeric options. + Fix reading message from stdin pipe or console. + +2019-08-07 Christian Franke <franke@computer.org> + + os_win32/wtssendmsg.c: Don't convert '\r\n' in message read from + stdin as it is also written to event log. Add '-t' and '-w' option. + + smartd.cpp: Increase size of email message buffer to avoid truncation + if device name is very long (#1217). + +2019-08-04 Christian Franke <franke@computer.org> + + examplescripts/Example8: Try mail and mailx first, then fall back to + sendmail. + examplescripts/README: Update documentation. + + json.cpp, json.h: Suppress extra spaces in '--json=cg' output. + + linux_nvme_ioctl.h: Replace with current version from Linux kernel + sources (include/uapi/linux/nvme_ioctl.h fadccd8 2019-02-20). + This version adds Linux-syscall-note to its GPL-2.0 (only) license. + This should fix the GPL-2.0-or-later licensing problem (#1226). + +2019-07-01 Christian Franke <franke@computer.org> + + Replace all ASSERT_*() macros with STATIC_ASSERT(). + static_assert.h: New file with STATIC_ASSERT() macro using C++11 + static_assert() if available. + Makefile.am, os_win32/vc14/smart*.vcxproj*: Add new file. + + os_win32/vc14/smart*.vcxproj*: Add missing scsinvme.cpp. + +2019-06-28 Christian Franke <franke@computer.org> + + smartd.cpp: Reset scheduled_test_next_check time if system clock + has been adjusted to the past. + Use LOG_INFO instead of LOG_CRIT for related message. + + examplescripts/Example6: Update from Fedora package 7.0-5.fc31. + + examplescripts/Example[78]: New scripts using /usr/sbin/sendmail + to send email (Ubuntu Bug 1833331). + Makefile.am, examplescripts/README: Add new scripts. + +2019-06-19 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows 10 1903 and Server 1903 build number. + Allow drive letters as device names for Windows 10 NVMe driver. + Check for unsupported nonzero NVMe CDW11..15. + + smartctl.8.in: Fix typo introduced 15 years ago in r1789. + + drivedb.h: + - Unify some 'Host_Reads/Writes_*' attribute names + - JMicron based SSDs: Transcend SSD340K, SSD740 + - Samsung based SSDs: PM863a Dell OEM (#1200) + - Toshiba MG06ACA... Enterprise Capacity HDD (#1023, #1099) + - Toshiba MG07ACA... Enterprise Capacity HDD (#1023, #1175) + - WD Blue and Green SSDs: Variants without trailing -* (#1198) + - USB: JMicron JMS583 [NVMe] (0x152d:0x0583): Remove '#please_try' + - USB: Transcend (0x8564:0x7000) (GH issues/32) + +2019-06-17 Christian Franke <franke@computer.org> + + os_win32.cpp: Clear ProtocolDataRequestSubValue for NVMe Get Log Page + commands because newer drivers pass this value as CDW12 (LPOL) to the + drive. This fixes log page access for NVMe 1.2.1+ drives (#1201). + + Thanks to Vikram Manja for bug report and testing. + +2019-06-12 Christian Franke <franke@computer.org> + + os_netbsd.cpp: Fix device scan crash on empty name list. + Fix a memory leak introduced 15 years ago in r1434. + + Thanks to Alexander Nasonov for bug report and testing. + +2019-05-21 Christian Franke <franke@computer.org> + + smartd.conf.5.in: Update list of directives which affect '-m'. + This also fixes a typo introduced 15 years ago in r1658 + (GH issues/24). + + drivedb.h: + - Intel 53x and Pro 1500/2500 Series SSDs: Rename, add Pro 1500 *A4H + variant (#1194) + - Western Digital Red: WD100EFAX (#986, #1029) + - Western Digital Red Pro: *003* and *FFBX variants (#1085, #1192), + WD101KFBX (#1030, #1189) + +2019-05-21 Erwan Velu <e.velu@criteo.com> + + drivedb.h: Intel DC S3110 Series SSDs (GH pull/35) + +2019-04-30 Christian Franke <franke@computer.org> + + os_linux.cpp: Fix '/dev/megaraid_sas_ioctl_node' open check + (cppcheck 1.85: resourceLeak). + Reduce variable scope (cppcheck 1.85: variableScope). + Remove unused variable (cppcheck 1.85: unreadVariable). + + cppcheck.sh: New script to run cppcheck with predefined settings. + Makefile.am: Add new script to tarball. Add 'cppcheck' target. + +2019-04-22 Christian Franke <franke@computer.org> + + drivedb.h: + - Apacer SDM... Series SSD Module: Rename, split into separate entries + for SDM4 and SMD5*, add SMD5A-M variant (based on patch from #1183) + - Intel 545s Series SSDs: *2KW* variant (#1185) + - SK hynix SATA SSDs: *G39MND* variant, *G39TND* variant (#1146), + *G3[2E]FEH* variant (based on patch from #1181) + - USB: JMicron JMS578 (0x0080:0x0578) + - USB: Unknown (0x0080:0xa0001) (#852) + +2019-03-31 Christian Franke <franke@computer.org> + + drivedb.h: + - Swissbit X-600m Series Industrial mSATA SSD (patch from #1177) + - Samsung based SSDs: SM863a *JP variant (#1105), SM863a Dell OEM (#1151) + - Marvell based SanDisk SSDs: Ultra 3D (#1091, #1166, #1173) + - WDC HGST Ultrastar He10: WD100EMAZ (#1152) + - WD Blue and Green SSDs: Blue 3D NAND (#1162, #1169) + - USB: VIA VL716 (0x2109:0x0716) + +2019-03-18 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - add Intel 545s Series SSDs (PR #26) + +2019-03-13 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - add Seagate Nytro SATA SSD and Seagate IronWolf 110 SATA SSD (PR #25) + +2019-03-10 Christian Franke <franke@computer.org> + + configure.ac: Pass '-pie' option directly to MinGW linker. + This adds relocation info which is needed for ASLR (#1170). + Document ASLR related issues of MinGW-w64 toolchain. + + Makefile.am: Remove 'Type=notify' from smartd.service if + libsystemd-dev is not available. + +2019-01-11 Christian Franke <franke@computer.org> + + update-smart-drivedb.8.in: Add missing definition of '.Sp' macro. + + json.cpp, json.h: Add extra setter for char pointers. + Prevent nullptr exceptions if JSON mode is not enabled. + + ataprint.cpp: Fix bogus exception on unknown form factor value + (#1154, regression from r4640). + +2019-01-01 Alex Samorukov <samm@os2.kiev.ua> + + FreeBSD: use "fetch" as default download tool + os_freebsd.cpp: fix build on FreeBSD 12, fix nvme on Big Endian hosts + (patch from the bugtracker) + +2019-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2018-12-30 Christian Franke <franke@computer.org> + + Rename old ChangeLog to ChangeLog-6.0-7.0. + Remove ChangeLog-5.0-6.0 from DOCDIR but keep in tarball. + Start new ChangeLog. + +2018-12-30 Christian Franke <franke@computer.org> + + smartmontools 7.0 diff --git a/ChangeLog-5.0-6.0 b/ChangeLog-5.0-6.0 new file mode 100644 index 0000000..2ae327c --- /dev/null +++ b/ChangeLog-5.0-6.0 @@ -0,0 +1,5235 @@ +CHANGELOG for smartmontools 5.0 to 6.0 + +$Id: ChangeLog-5.0-6.0 5333 2022-02-26 00:15:22Z dpgilbert $ + +Maintainers / Developers Key (alphabetic order): +[AS] Alex Samorukov +[BA] Bruce Allen +[OB] Oliver Bock +[EB] Erik Inge Bolsø +[SB] Stanislav Brabec +[PC] Peter Cassidy +[MC] Matthieu Castet +[YD] Yuri Dario +[CD] Casper Dik +[CF] Christian Franke +[GF] Guilhem Frézou +[DG] Douglas Gilbert +[GG] Guido Guenther +[JPH] Jordan Powell Hargrave +[JH] Joerg Hering +[GK] Geoff Keating +[DK] Dr. David Kirkby +[DL] Dan Lukes +[KM] Kai Mäkisara +[EM] Eduard Martinescu +[FM] Frédéric L. W. Meunier +[GP] Gabriele Pohl +[AR] Adam Radford +[KS] Keiji Sawada +[MS] Manfred Schwarb +[TS] Tomas Smetana +[DS] David Snyder +[SS] Sergey Svishchev +[PW] Phil Williams +[LW] Leon Woestenberg +[SZ] Shengfeng Zhou +[RZ] Richard Zybert + +<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + +smartmontools 6.0 2012-10-10 + + [CF] do_release: Fix for minor rev number 0. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Corsair Force 115GB + - Hitachi Ultrastar 7K4000 + - Seagate Barracuda 7200.7 and 7200.7 Plus: IBM OEM variants + - Western Digital Caviar Black (AF) + + [CF] man pages: Update introduction. Update ATA standards. + Remove some outdated info. + + [CF] man pages: Unify license headers. + + [CF] smartctl: Do not abort SCT status output on unknown temperature + history format version. + + [CF] smartctl: Remove duplicate note about selective self-test log + version. + + [CF] smartctl: Add '-l devstat' to '-x, --xall' output. + + [CF] smartctl: Rework ATA error messages and 'not supported' messages. + Avoid misleading warnings on unsupported features (ticket #182). + Avoid duplicate error messages. + + [CF] atacmds.h: Remove nonexistent functions. + + [CF] Windows installer: Add support for /S(ilent) install/uninstall. + + [CF] Windows installer: Update examples. Remove some doc shortcuts. + + [CF] Prepare release 6.0. Change Copyright output line. + Change AUTHORS sections on man pages. + + [CF] smartctl: Rework "ATA Version" output. Print major and minor + revision in one output line. Remove "ATA Standard" line. + + [CF] drivedb.h updates: + - Add firmware warnings for various Seagate series (ticket #239): + DiamondMax 23, Barracuda 7200.12, 7200.14 (AF), LP, Green (AF) + - Seagate Barracuda 7200.14 (AF): 2.5TB + + [CF] drivedb.h updates: + - SandForce Driven SSDs: SanDisk Extreme + - Indilinx Everest/Martini based SSDs: OCZ-VERTEX4, + fix Attribute 232 + - STEC Mach2 CompactFlash Cards + - Toshiba 2.5" HDD MK..55GSX: *55GSXF variants + - Western Digital VelociRaptor (AF) + + [CF] Windows: Remove EXPERIMENTAL notes for 64-bit version. + + [CF] autogen.sh: automake 1.11.6 and 1.12.3 are OK. + + [CF] smartctl: Fix '--identify' for big-endian CPUs. + + [CF] ataidentify.cpp: Document some older (now obsolete) features. + + [CF] ataidentify.cpp: Add some recent ACS-3 features. + + [CF] smartctl: Support '-l sataphy' also for Packet interface devices. + + [CF] atacmds.cpp: Add new ATA ACS-3 minor revision. + + [CF] smartctl: Print SATA version and speed in '-i' output. + + [CF] drivedb.h: Minor reordering of Seagate entries. + + [CF] drivedb.h: Use "AF" for Advanced Format (4KiB LPS). + + [CF] drivedb.h updates: + - Seagate Barracuda SpinPoint F3 + - SAMSUNG SpinPoint F3 RE + - Seagate Barracuda 7200.12: ST3750525AS + - Seagate Barracuda 7200.14 (AF): change name, add -v options + - Western Digital Red (AF) + - USB: Seagate Backup Plus USB 3.0 (0x0bc2:0xa013) (ticket #235) + - USB: Seagate Backup Plus Desktop USB 3.0 (0x0bc2:0xa0a4) + + [CF] os_win32.cpp: Add support for SAS disks behind Areca SAS + controllers. This includes SAS/SATA autodetection. + + Patch was provided by Hank Wu from Areca. + + [CF] ataidentify.cpp: Add some recent SATA features. + + [CF] smartctl: Add '--identify[=wnvb]' option. + Add new source files ataidentify.h/cpp. + + [CF] Makefile.am: Reformat lists of sources. + + [CF] Do not print HDD/SSD specific default attribute names if identify + data reports SSD/HDD device. + + [CF] drivedb.h updates: + - Intel 320 and 710 Series SSDs: Set '-F nologdir' + - Seagate Barracuda ES.2: Set '-F xerrorlba' + + [CF] Create branches RELEASE_5_4[0-3]_DRIVEDB with last drivedb.h file + compatible with smartmontools 5.4[0-3]. + + [CF] drivedb.h updates: + - SAMSUNG SpinPoint M40/60/80: HM120IC + - USB: Oxford (0x0928:0x0010) + - USB: Seagate External Drive/Cypress (0x0bc2:0x0503) + - USB: 0x1f75:0x0888 is Innostor IS888 + + [CF] smartctl: Print nominal media rotation rate in '-i' output (ATA). + + [CF] knowndrives.cpp: Fix missing '-F xerrorlba' in '-P show' output. + + [CF] os_win32.cpp: Use WMI to get serial number if + IOCTL_STORAGE_QUERY_PROPERTY is used. + + [CF] os_win32.cpp: Remove more Win9x/ME/NT4 specific code: ATA drive + number, GetDevicePowerState() handling. + + [CF] Add '-F xerrorlba' option/directive. + + [CF] Rework '-F' option handling. Add support for multiple '-F' options + and directives. + + [CF] Makefile.am: Fix typo in ACLOCAL_AMFLAGS. + + [CF] smartd.cpp: MailWarning(): Move variable declarations, use sizeof() + instead of numbers. + + [CF] smartd.cpp: Rework dnsname(). Print "[None]" instead of "[Unknown]" + if domain is not set. Print NIS domain only if supported. + + [CF] Windows smartd: Use gethostname/gethostbyname() from winsock. + Remove os_win32/hostname_win32.*. + + [CF] smartd: Include device identify info in warning emails (ticket #185). + Add SMARTD_DEVICEINFO environment variable. + + [CF] Add '-F nologdir' option/directive. + Prevents freeze of some Intel SSDs (ticket #214). + + [CF] smartd: Don't log ignored -W directive as critical. + + [CF] drivedb.h updates: + - Smart Storage Systems Xcel-10 SSDs: Move entry, change name + - Samsung: Remove very old and already commented out entries + - Seagate Momentus XT (Adv. Format) + - WD My Passport: 3 -> 2 entries, add 2TB + - USB: Imation (0x0718:0x1000) (ticket #231) + - USB: Initio (0x13fd:0x1040): unsupported + - USB: ASMedia USB 3.0 (0x174c:0x55aa): unsupported -> -d sat + - USB: PQI H560 (0x3538:0x0902) (ticket #232) + + [CF] smartctl: Override SMART disabled state with '-T permissive'. + + [CF] os_win32/daemon_win32.cpp: Drop remaining WinNT4 compatibility. + + [CF] Windows smartd: Add smartd.conf directives '-m console', + '-m active', '-m connected'. Send warning messages via + WTSSendMessage(). Remove use of MessageBox() which does no + longer work for services since Vista/2008. + + [CF] Fix 'smartctl -P show'. Regression from r3249. + + [CF] smartd.cpp: Fix setting of temporary environment in MailWarning(). + Stack space was passed to putenv() but variable was not unset + before return. Very old bug introduced 2003 in r1114. + + [CF] smartd.cpp: Add fflush() to support redirection of debug output + (Debian bug 681349). + + [CF] os_generic.cpp: Add missing int64.h (Debian bug 619208) + This obsoletes Debian patch fix-generic.diff. + + [CF] cciss.cpp: Fix build on GNU/kFreeBSD (Debian bug 676142). + This obsoletes Debian kfreebsd.patch. + + [CF] Windows: Drop backward compatibility with WinNT4. + + [CF] Windows: Drop backward compatibility with Win9x/ME. + +smartmontools 5.43 2012-06-30 + + [CF] drivedb.h USB updates: + - Toshiba Canvio Basics (0x0480:0xa006) + - A-DATA DashDrive (0x125f:0xa94a) + + [CF] drivedb.h: Hitachi Travelstar 7K500: *A362/3 variants + + [CF] Windows: Add Windows Server 2012 to get_os_version_str(). + + [CF] drivedb.h updates: + - Sandforce Driven SSDs: OWC Mercury Electra 3/6G SSD + - Seagate Momentus SpinPoint M8 + - Hitachi Deskstar 5K4000 + - Toshiba 2.5" HDD MK..61GSYN + - Seagate Barracuda (SATA 3Gb/s, 4K Sectors): 1TB, *DM003-* variant + + [CF] smartctl.8.in: Note performance impact of self-tests. + + [CF] os_win32.cpp: Add support for older Areca drivers which used a + different target id. Patch was provided by Hank Wu from Areca. + + [CF] smartctl.8.in: Add info about HP Smart Array controllers. + Original patch was provided by Don Brace from HP. + + [CF] os_freebsd.cpp: add SAT autodetection to '-d cciss,N' device type + (ticket #202). + Add missing freebsd_areca_device::m_encnum (regression from r3542). + Patch was provided by Don Brace from HP. + + [CF] os_linux.cpp: add SAT autodetection to '-d cciss,N' device type + (ticket #202). + + [CF] Makefile.am: FIXHTML modified for newer man2html versions. + + [CF] autogen.sh: automake 1.11.5 is OK. + + [CF] man pages: Minor updates and syntax fixes. + + [CF] smartd.service.in: Add ExecReload and StandardOutput. + Make EnvironmentFile optional (ticket #194). + + [CF] drivedb.h USB updates: + - HP Desktop HD BD07 (0x03f0:0xbd07) + - Iomega Prestige Desktop USB 3.0 (0x059b:0x0070) + - Prolific PL2507 (0x067b:0x2507): unsupported -> -d usbjmicron,0 + - WD My Passport USB 3.0 (0x1058:0x0748) + - WD My Book Essential USB 3.0 (0x1058:0x1140) + - Sharkoon SATA QuickDeck Pro (0x1f75:0x0888): unsupported + - Hitachi Touro Desk (0x4971:0x1015) + + [CF] Move function str_starts_with() to utility.h. + + [CF] smartctl.8.in, smartd.conf.5.in: Note required Areca SAS firmware version. + + [CF] INSTALL, smartctl.8.in: Announce OS X SAT SMART Driver (ticket #25). + + [CF] Add smart_device::is_syscall_unsup(). + + [CF] os_win32.cpp: Avoid ENOTSUP which is not provided by some versions + of MinGW. + + [DG] os_linux.cpp: Fix scsi pass-through SG_INFO_CHECK mask logic + (ticket #225) + + [CF] drivedb.h updates: + - Sandforce Driven SSDs: OCZ-NOCTI + - Intel 330 Series SSDs (ticket #227) + + [CF] smartctl.8.in, smartd.conf.5.in: Document '-d areca N[/E]' support + for Windows. + + [CF] os_win32.cpp: Add help text and error messages for '-d areca,N[/E]'. + + [CF] os_win32.cpp win_areca_device: Disable full 48-bit ATA support. + Add missing set_err() calls. Remove unused function and parameter. + + [CF] os_win32.cpp: Add support for SATA disks behind Areca SATA and SAS + controllers. Requires '-d areca,N[/E]' as type and '[/dev/]arcmsrX' + as device name. + + Patch was provided by Hank Wu from Areca. + + [CF] Windows installer: Make name of checksum file 32-/64-bit specific. + + [CF] Windows installer: Add support for combined 32-/64-bit installer. + + [CF] Windows installer: Drop support for UBCD4Win. + + [AS] os_freebsd.cpp: sync Areca code with linux version by adding optional + enclosure number. + + [CF] smartctl.8.in, smartd.conf.5.in: Add brief doc for '-d areca N/E'. + + [CF] os_linux.cpp: Add optional enclosure number to '-d areca' option. + This adds support for SATA disks behind Areca SAS controllers. + + Patch was provided by Hank Wu from Areca. + + [CF] smartctl: Add log addresses and statistics value from ACS-3 revision 2. + + [CF] drivedb.h updates: + - Crucial/Micron RealSSD C300/C400/m4: m4 512GB + - Indilinx Everest/Martini based SSDs: OCZ-PETROL + - SAMSUNG SpinPoint F4 EG (AFT): Fix link + - Seagate Momentus 4200.2: ST960812A + - Seagate Momentus 5400.2: ST960821A (from 4200.2) + - Seagate Barracuda 7200.12: ST3500413AS + - Western Digital RE3 Serial ATA: WD7502ABYS + - Western Digital AV-GP: WD....AV[CD]S, split entry + - Western Digital AV-GP (Adv. Format): WD10EU[CR]X + + [CF] autogen.sh: Set svn:eol-style=LF to be compatible with Cygwin bash. + + [CF] autogen.sh: automake 1.11.3 is OK. + + [CF] drivedb.h updates: + - Sandforce Driven SSDs: Smart Storage Systems XceedSTOR, + XceedIOPS2, Xcel-200 + - Smart Storage Systems XceedSecure2 SSDs + - Smart Storage Systems XceedUltraX/Adtron A25FBX SSDs + - Smart Storage Systems Adtron A25FB 2xN SSDs + - Smart Storage Systems Adtron A25FB 3xN SSDs + Original patch was provided by Rusty Carruth + + [CF] drivedb.h updates: + - Remove outdated IBM links + - Update all links to Seagate Knowledge Base + - Hitachi Deskstar 7K1000.D + + [CF] drivedb.h USB update: + - Seagate Expansion External (0x0bc2:0x3332) (ticket #223) + + [CF] drivedb.h USB updates: + - Samsung Story Station (0x04e8:0x5f05) + - Toshiba STOR.E (0x0930:0x0b1b) + + [CF] smartctl: Add options '-f hex' and '-f hex,[id|val]' to print + attribute IDs and/or values as hex. + + [CF] smartd.8.in: Fix signal name (Debian bug 661801). + + [CF] Add 'raw56', 'hex56', 'raw24(raw8)' attribute print formats. + Change default for Power_On_Hours to 'raw24(raw8)'. + This provides more reasonable output for SandForce based devices + missing in drivedb.h. + + [CF] configure.in, Makefile.am: Support new SVN 1.7 working copy format. + + [CF] drivedb.h update: + - Intel 520 Series SSDs: Add units to attributes 241, 242, 249. + + [AS] drivedb.h: fixed identifier for Seagate SV35 series. + + [CF] Print command duration in ATA debug output. + Add smart_interface::get_timer_usec(). + + [CF] drivedb.h updates: + - SandForce Driven SSDs: G.SKILL Phoenix Pro + - Intel 520 Series SSDs + - SAMSUNG SpinPoint F4 EG: Update firmware download link + + [CF] drivedb.h updates: + - Add comment with default settings. + - Samsung based SSDs: Fix attribute 240 + + [CF] Windows: Add Win8 to get_os_version_str(). + + [CF] Windows: Remove MSVC specific pragma, disable warning in project file. + + [CF] Add '-d sat,auto[,N]' option for controller independent SAT detection. + + [CF] dev_interface.h: Replace this_is_ata/scsi(*) by hide_ata/scsi(bool). + + [CF] smartctl: Allow '-d test' in conjunction with other '-d TYPE' options. + + [AS] FreeBSD: sync init script with one from ports repository. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: ADATA S510 + - JMicron based SSDs: Toshiba THNSNC128GMLJ + - Samsung based SSDs: 830 Series + - Hitachi Deskstar E7K1000 + - Hitachi Ultrastar A7K1000: Fix name, allow trailing characters + - Hitachi Ultrastar A7K2000: Remove duplicate entry + - Toshiba 2.5" HDD MK..55GSX + - Western Digital AV-GP: WD..EURS variants + + [CF] drivedb.h USB updates: + - Buffalo MiniStation HD-PCTU2 (0x0411:0x01d9) (ticket #211) + - Philips SDE3273VC/97 (0x0471:0x2021) (ticket #212) + - Samsung M2 Portable 3.0 (0x04e8:0x60c5) + - Iomega GDHDU2 (0x059b:0x0475) + - LaCie minimus USB 3.0 (0x059f:0x104a) + - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a5) + - Maxtor BlackArmor Portable (0x0d49:0x7550) + - WD My Passport Essential SE USB 3.0 (0x1058:0x0742) + - Initio (0x13fd:0x1e40) + - Verbatim External Hard Drive 2TB (0x18a5:0x022a) + - Hitachi Touro Desk (0x4971:0x1011) + + [CF] smartd: Add smartd.conf directive '-e' to set ATA settings on + startup: aam, apm, lookahead, security-freeze, standby, wcache. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Corsair Force GT + - Indilinx Barefoot based SSDs: Corsair Nova + - SAMSUNG SpinPoint M8 + - Seagate SV35.5 + + [CF] smartctl: Change short option for '--set' from '-e' to '-s'. + Keep backward compatibility with short option for '--smart'. + + [CF] smartctl: Print description of APM level. + + [CF] smartctl: Add option '-e standby,[N|off|now]' to set standby timer + or standby mode. + + [CF] smartctl: Add options '-g security' and '-e security-freeze' to + get/freeze ATA security settings. + + [CF] smartctl: Add options '-g/e lookahead' and '-g/e wcache' to get/set + read look-ahead and write cache feature. + + [CF] smartctl: Add options '-g aam' and '-e aam,[N|off]' to get/set + ATA Automatic Acoustic Management feature. Add '-g all'. + + [CF] os_win32.cpp: Prevent warnings from gcc option -Wformat-security. + + [CF] smartctl: Add options '-g, --get apm' and '-e, --set apm,[N|off]' + to get/set ATA Advanced Power Management feature. + Original patch was provided by Marcus Sorensen. + + [AS] os_freebsd.cpp - do not skip ATA devices from cam list. Starting from + FreeBSD 9.0 such devices are exported ONLY as camdev`s, so DEVICESCAN + was broken. Its possible to get duplicates now on some old systems. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Add OCZ Solid 3, OCZ Deneva 2 C/R + - Seagate Momentus 5400.7 + + [CF] Happy New Year! Update copyright year in version info. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Add Patriot Pyro + - Intel 320 Series SSDs: Fix 40GB + - Seagate Barracuda XT: Add 4TB + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Add Corsair Force 3 + - Hitachi Travelstar 5K320: Add SA00 and SA02 models + - Western Digital Caviar SE SATA: Add 300GB + + [CF] Cygwin smartd: Remove SIGQUIT workaround, no longer needed with + current Cygwin tty emulation. + + [CF] smartd: Disable auto standby also after start of scheduled + self-test. + + [CF] smartd: Add smartd.conf DEFAULT directive. Allows one to set default + settings for multiple devices. + + [CF] smartd: Re-enable auto standby if smartd.conf is re-read. + + [AS] drivedb.h update: Seagate Barracuda (SATA 3Gb/s, 4K Sectors) + + [AS] drivedb.h update: Seagate Constellation ES.2 (SATA 6Gb/s) + + [CF] drivedb.h updates: + - Sandforce Driven SSDs: Add OCZ Vertex 3 Max IOPS (ticket #209) + - Seagate ST1.2 CompactFlash (found in ticket #125) + + [CF] Fix GPL version reported by '-V' option. + Now reports GPLv2+ which is consistent with file headers. + Patch was provided by Stanislav Brabec. + + [CF] drivedb.h updates: + - Sandforce Driven SSDs: Add OCZ Deneva 2 Async variant, 60GB, 480GB + - Indilinx Martini based SSDs: OCZ VERTEX-PLUS only + + [CF] smartd: Add '-l offlinests,ns' and '-l selfteststs,ns' directives. + dev_interface: Add smart_interface::disable_system_auto_standby(). + os_win32.cpp: Implement disable_system_auto_standby(). + + [CF] dev_interface: Let smart_interface::set_err() return false. + + [CF] drivedb.h updates: + - SAMSUNG SpinPoint M8U (USB) + - Toshiba 3.5" HDD MKx002TSKB: Fix typo + + [CF] smartctl: Print average temperature from SCT status only if + value is reasonable. Field is not part of ATA-8. + + [CF] smartd: Report ignored '-r' and '-R' directives. + + [CF] smartctl: Use 16-bit value (ATA-8) for extended self-test polling + time if 8-bit value is 0xff (ticket #207). + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Add OCZ-REVODRIVE3, OCZ Z-DRIVE R4 + - Hitachi Travelstar Z7K320 + - Toshiba 2.5" HDD MK..56GSY + - Toshiba 2.5" HDD MKx002TSKB + - Seagate U9 + - Seagate U*: sort entries, unify names, remove duplicate + - Seagate Constellation ES (SATA 6Gb/s) + - Seagate DB35 + - Seagate DB35.2 + - Western Digital Scorpio Black: Add 500GB + - Western Digital Scorpio Black (Adv. Format) + + [CF] drivedb.h USB updates: + - Samsung S2 (0x04e8:0x1f05) + - Toshiba Stor.E (0x0939:0x0b16) (ticket #206) + - Seagate FreeAgent (0x0bc2:0x5040) + - Initio/Thermaltake BlacX (0x13fd:0x0840) + + [DG] [SCSI] smartd: skip non-storage devices (e.g. SES devices) + + [AS] drivedb.h updates: Added Seagate SV35 Series + + [CF] smartctl: Don't start ATA self-test if another test is already + running (ticket #40). Add option '-t force' to allow override. + + [CF] atacmds.h: Remove bogus ataSmart*Test*() prototypes. + + [CF] Define __attribute_format_printf() for functions with printf() style + arguments. Allow MinGW build with __USE_MINGW_ANSI_STDIO enabled. + + [CF] Makefile.am: Replace sed compound command in MAN_FILTER. + This fixes build on Solaris (ticket #203). + + [AS] os_freebsd.cpp: Dereference symlinks before guess of device type + (problem reported by email). + + [CF] drivedb.h USB updates: + - LG Mini HXD5 (0x043e:0x70f1) + - Freecom/Intel (0x07ab:0xfc8e) + - Dura Micro (0x0c0b:0xb001) (Debian bug 643928) + - Initio 6Y120L0 (0x13fd:0x1150): unsupported + + [CF] drivedb.h USB update: + - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a1): + Revert to -d sat,12 (ticket #151). + + [AS] os_freebsd.cpp - fixed crash on FreeBSD9-RC1 caused by r225950 + + [AS] smartctl.8 - added information about -d areca on FreeBSD + + [AS] os_freebsd.cpp: backport quirks for the LSI controllers with SATA + disks to the FreeBSD. Tested with DELL Perc/6i controller. + + [AS] os_freebsd.cpp: disable SAT autodetection on megaraid controllers + + [AS] drivedb.h update: + - Hitachi Ultrastar 7K2000 + + [CF] drivedb.h update: + - Seagate Momentus XT: Add bug warning for firmware SD24 and SD25 + + [CF] Don't include pkg-config macros in aclocal.m4, copy to m4/pkg.m4 + instead. Allow builds from SVN without pkg-config installed + but prevent 'make dist' when pkg-config support is missing. + + [CF] Move automake --foreign option from autogen.sh to configure.in. + This fixes autoreconf support. + + [CF] Replace COPYING file with current (2010-03-24) version from + http://www.gnu.org/licenses/gpl-2.0.txt + +smartmontools 5.42 2011-10-20 + + [CF] Windows installer: Add install dir to PATH in CMD shortcut. + + [CF] drivedb.h updates: + - SAMSUNG SpinPoint MP5 + - Seagate Barracuda 7200.11: Change warning text, Seagate + apparently released fixed firmware without changing version + number (Debian bug 632758) + - Western Digital RE4 GP + - Western Digital VelociRaptor: Add 150GB, 300GB LHX variants + - Western Digital Scorpio Blue Serial ATA (Adv. Format): + Add 1TB JPVT variant + + [CF] drivedb.h USB update: + - WD Elements SE USB 3.0 (0x1058:0x1042) + + [CF] Windows installer: Rework to support UAC. + Replace *-run.bat files by runcmd?.exe wrappers. + Run drive menu entries elevated (ticket #173). + + [CF] smartctl.8.in: Add example script which prints all status bits + (ticket #191). + + [CF] Cygwin smartd: Remove '--service' option, update man page. + + [CF] smartd: Require absolute path name also for '-p' option. + Allow relative path names for '-A', '-s', '-p' in Windows + version only. + + [CF] smartd: Log model family from drive database if known. + + [CF] drivedb.h update: + - SMART Xcel-10 2.5 SATA SSD: Shorten names, + document supported default attributes. + + [CF] smartctl -P showall: Report error if attribute name is too long. + + [AS] freebsd: use system ciss header if available, it is added + to the base system by recent commit. + + [CF] smartd.conf.5.in: Update Windows 'msgbox' info. + Add missing IF/ENDIF for Solaris and Windows. + + [CF] man pages: Remove reference to T13 web site. It does no + longer provide links to the ATA documents. + + [CF] smartctl: Replace '-t scttempint,N[,p]' option + by '-l scttempint,N[,p]'. + + [CF] drivedb.h USB update: + - Oxford (0x0928:0x0000): unsupported, see + https://bugs.freedesktop.org/show_bug.cgi?id=24951 + + [CF] Minor cleanup to prevent warnings from new gcc 4.6 options + -Wunused-but-set-parameter/variable. + + [CF] Windows smartd: Fix format string for 64-bit version. + + [CF] Remove EXPERIMENTAL notes for features already present in 5.40. + + [CF] smartctl: Add new log addresses from ACS-3 revision 1. + + [CF] smartctl: Print ATA ACS-x versions properly (ticket #183). + + [CF] smartctl: Add option '-l devstat[,PAGE]', + print ATA Device Statistics log pages (ticket #106). + + Thanks to David Boreham for providing access to a machine for testing. + + [AS] man pages: trivial man page syntax fixes (ticket #199) + + [CF] drivedb.h update: + - SMART Xcel-10 2.5 SATA SSD: Fix syntax error (ticket #200) + + [AS] drivedb.h update: + - SMART Xcel-10 2.5 SATA SSD + + [DG] [SCSI] document 'ssd' list option in man page and smartctl usage. + + [CF] Windows: Fix device type detection for Intel ICHxR RAID Volumes. + + [CF] smartd: Resend warning emails if problem reappears (ticket #167). + + [CF] smartd: Add separate directives '-l offlinests' and '-l selfteststs' + to enable tracking of status changes. Disable '-l offlinests' by + default to avoid misleading messages (see Debian bug 636078). + + [CF] drivedb.h updates: + - Crucial/Micron RealSSD C300/C400: Add m4 series (ticket #192) + - SandForce Driven SSDs: Add OCZ-AGILITY3 + - Indilinx Barefoot based SSDs: Add RENICE Z2 + - Intel 710 Series SSDs + + [CF] Windows smartd: Fix quoting of service command line. + + [CF] Cygwin smartd: Remove FreeConsole() after fork(). + No longer needed for recent versions of Cygwin DLL. + + [CF] smartd: Add some sleep() time after machine standby mode. + Some drivers (Intel ICHxR Windows driver) report failures if + pass-through is accessed immediately after wake up. + + [AS] -d hpt on linux/freebsd - increased max channel number to 16, + fixed documentation. + (see http://permalink.gmane.org/gmane.linux.utilities.smartmontools/7846) + + [AS] os_linux.cpp - disabling SMART WRITE LOG SECTOR command on + megaraid interface for SATA disks. + + [AS] os_freebsd.cpp: -l scterc was broken on FreeBSD, fixed for atacam and + ata drivers (bug #198). + + [CF] drivedb.h updates: + - Crucial/Micron RealSSD C300/C400: Add C400 + - SandForce Driven SSDs: Add Kingston HyperX, + OCZ-REVODRIVE, OCZ Deneva 2 + - Intel X18-M/X25-M/X25-V G2 SSDs: Add 120GB + - Hitachi Travelstar 7K200: Match capital letters also + - Hitachi Ultrastar 7K3000 + - Seagate Barracuda Green: Add ST2000DL001-* (ticket #195) + - WD My Passport Essential SE: Add WD10TMVW-* + + [CF] drivedb.h USB updates: + - Seagate FreeAgent GoFlex USB 3.0 (0x0bc2:0x5071) (ticket #195) + - Seagate FreeAgent GoFlex Desk USB 3.0 (0x0bc2:0x50a1): + Enable -d sat,16 (ticket #151). + - Oyen Digital MiniPro USB 3.0 (0x0dc4:0x020a) (ticket #193) + - WD My Passport Essential SE USB 3.0 (0x1058:0x0740) + + [CF] Windows: Add MSVC10 support, remove MSVC8 project files. + + [DG] [SCSI] smartctl output Solid State Media (SSD) percentage used + endurance indicator. Add '-l ssd', useful for SATA SSDs? + + [CF] atacmds.cpp: Rework search for temperature min/max values + in attributes 190/194. This fixes temperature tracking + for recent WDC drives. + + [CF] drivedb.h USB updates: + - LaCie rikiki USB 3.0 (0x059f:0x1057) + - Freecom Mobile Drive XXS (0x07ab:0xfc88) + - WD Elements SE (0x1058:0x1023) + + [CF] drivedb.h updates: + - Indilinx Barefoot based SSDs: Add G.Skill Falcon + - JMicron based SSDs (JMF61x): Add Kingston SSDNow V100 Series + - Transcend CompactFlash Cards: Add 8, 16GB + - Toshiba 1.8" HDD MD..29GSG + - SAMSUNG SpinPoint M7U + - Western Digital Caviar Green (Adv. Format): Add SATA 6Gb/s variants + - Western Digital My Passport USB: Shorten names + + [DG] [SCSI] smartd initial log entry for each drive now shows INQUIRY + strings and optionally the LU (logical unit) id and capacity + + [AS] os_freebsd.cpp: fixed return type in autodetect_smart_device. + + [CF] drivedb.h USB updates: + - WD My Book Essential (0x1058:0x0910, Debian bug 633724) + - Atech (0x11b0:0x6298) + + [CF] drivedb.h update: + - Seagate Barracuda ES.2: Add Dell firmware versions (ticket #189) + + [CF] drivedb.h updates: + - Seagate Maxtor DiamondMax 21: Add STM380215AS + - Seagate Barracuda 7200.12: Add ST3250312AS, ST31000524AS + - Toshiba 2.5" HDD MK..50GACY + - Toshiba 2.5" HDD MK..76GSX + + [AS] smartd.8 - removed configuration file information from this manual, + added reference to smartd.conf.5. + + [AS] smartd.conf.5 - added more platform-specific sections, corrected "areca" + device information, corrected sample configuration. + + [AS] os_freebsd.cpp: detecting access to /dev/mfidX devices to show help (#97) + + [CF] Update configure options in INSTALL file, remove outdated info. + + [CF] int64.h: Remove outdated uint64_to_double() workaround for MSVC6. + + [CF] os_win32/update-smart-drivedb.nsi: Add support for /S(ilent) option. + + [CF] configure.in: Don't search for initddir and systemdsystemunitdir + when cross-compiling. + + [CF] Makefile.am: Use same syntax also for ENABLE_* man page sections. + + [CF] Add experimental support for platform-specific man pages. + + [CF] Windows: Move '-I os_win32' from configure.in to Makefile.am. + + [CF] configure.in: Fix check for __attribute__((packed)). + + [CF] drivedb.h USB update: + - Verbatim Portable Hard Drive (0x18a5:0x0214) + + [CF] drivedb.h update: + - SandForce Driven SSDs: Add OWC Mercury Extreme Pro RE (ticket #168) + + [CF] os_linux.cpp: Let MegaRAID autodetect_open() fail for SATA devices. + MegaRAID SAT layer has serious bugs as reported by AS. + + [AS] os_freebsd.cpp: Implement 48bit support for the new "atacam" + interface. Tested on FreeBSD 8.2 and works fine. + + [CF] os_win32.cpp: Fix USB ID detection if two devices with the same + name exist (ticket #178). + + [AS] os_freebsd.cpp: including ciss headers to the base, we can not rely + on the header sources in the build time. Also this file was changed + last time > 2 yrs. ago and it is unlikely that it will be changed in + the feature. This will fix FreeBSD PR 150235. + + [AS] drivedb.h update: Added Samsung Story Station 3.0 USB. + + [AS] os_linux.cpp: Areca code converted to the new interface. + Patch is based on os_freebsd.cpp patch and is not tested yet. + + [AS] os_freebsd.cpp: Areca code converted to the new interface. + + [AS] os_freebsd.cpp: Added support for the Areca RAID controllers. + Support is basesd on Linux code, but using IOCTL on areca control + device instead of SCSI commands to talk with the drives. Hardware + access was provided by Andrej Binder. + + [CF] Don't use isprint() for ASCII character check as it may be affected + by setlocale(). + + [AS] os_freebsd.cpp: Remove all referenced to the FreeBSD 5.0. + It is unsupported for a very long time and probably will not compile + and work anyway. Also this will fix bug #154. + +smartmontools 5.41 2011-06-09 + + [MS] drivedb.h: revert attribute 190 to default for Samsung SSD controllers, + some 470 series SSDs seem to have some temperature information at + this location. + + [MS] drivedb.h update: + add attribute details for Samsung controllers, centralize entries + + [MS] drivedb.h update: + add attribute details for JMicron JMF61x controllers + + [CF] drivedb.h update: + - SandForce Driven SSDs: Add OCZ DENEVA + + [CF] os_win32.cpp: Ignore vendor ID "ATA" if returned by + IOCTL_STORAGE_QUERY_PROPERTY. + + [CF] Add ATA NCQ commands to error register decoding. + + [CF] Re-enable '--with-initscriptdir=auto' as default. + Change search for initddir and systemdsystemunitdir such that + default ./configure does never overwrite system files. + + [MS] drivedb.h update: + disentangle Transcend SSD versions + + [MS] drivedb.h update: + add attribute details for Crucial C300 + + [MS] smartd.initd.in: + fix for debian, cleanup. Based on patch of CF. + + [AS] --with-initscriptdir default changed to "no" from "auto" to avoid + filesystem pollution. + + [MS] drivedb.h cleanup: + harmonize family names, add AF information into name + + [MS] drivedb.h update: + - OCZ Vertex 3 + - Seagate Barracuda Green 1TB variant + + [CF] Windows: Avoid '%n' printf format specifier because it is always + disabled in recent versions of msvcrt.dll. This fixes truncation + of smartd warning email (ticket #174). + + [MS] smartd.initd.in: + cleanup, provide targets "reload" and "report" for all platforms + + [CF] drivedb.h update: + - JMicron based SSD (JMicron JMF602?): rename from + Kingston SSDNow V Series, move Transcend IDE and SATA + entries to here. + + [CF] Support ':BYTEORDER' for all attribute print formats. + + [CF] drivedb.h update: + - Kingston SSDNow V Series SSDs (ticket #171) + + [CF] Increase size of drive database option parse buffer + to allow long '-v N,FORMAT:BYTEORDER,NAME' options. + + [MS] drivedb.h update: + - Western Digital Scorpio Blue Advanced Format variants + + [MS] drivedb.h update: + correct typo for Cowon iAudio X5 + + [MS] drivedb.h USB updates: + - Maxtor OneTouch 200GB (unsupported) + - LaCie Little Disk + + [AS] FreeBSD: Added native rc.conf style script to the package. + Modifications to the configure script to use correct template and + path. + + [AS] freebsd_os.cpp: + Fix memory leak in the ata detection code (added free()) + Using bzero in cam code to clear structure (fixing varnish varning) + + [MS] drivedb.h update: + Kingston SSDNow S100 Series + + [MS] drivedb.h USB update: + - Samsung S1 Portable + - LaCie rikiki USB 3.0 + - Seagate FreeAgent GoFlex USB 3.0 + - Cowon iAudio X5 + - Oxford OXU921DS chip (unsupported) + + [CF] Windows: Add debug output of SCSI sense data. + + [CF] Add 'smartd.service' file for systemd. + Add configure option '--with-systemdsystemunitdir'. + Disable initd script if systemd is used. + + [MS] drivedb.h update: + - Western Digital AV-25 family + + [MS] drivedb.h update: + JMicron based SSDs: Add + Kingston SSDNow V, Kingston SSDNow V+100, TOSHIBA THNS128GG4BBAA, + APPLE SSD TS*, ADATA S596 Turbo + + [CF] drivedb.h update: + - Intel 510 Series SSDs (ticket #170) + + [CF] smartctl: Don't issue SMART DISABLE command to 3ware controllers + when the port number was not specified (ticket #165). + + [CF] Use get_errmsg() from device instead of errno or syserror() for + printing error messages. + + [MS] drivedb.h updates: + - G.Skill FALCON II SSD (Indilinx) + - HP 250GB SATA disk VB0250EAVER + - SAMSUNG SpinPoint M5 HM160HC + - SAMSUNG SpinPoint MT2 HM100UI + - SAMSUNG HM100UX + - Hitachi Deskstar 5K3000 Series + - Seagate Barracuda Green (Adv. Format) + - Seagate Barracuda XT 3TB variant + - Western Digital RE4 Serial ATA family + - Western Digital Caviar Green WD20EACS + - Western Digital Caviar Black family, SATA 3.0 variants + - QUANTUM FIREBALLlct20 10 + - QUANTUM FIREBALLP AS60.0 + + [CF] drivedb.h update: + - SandForce Driven SSDs: Add more OCZ SF-1200 and SF-1500 based drives + + Thanks to Sudhir Verman from OCZ Technology for providing this info. + + [CF] drivedb.h USB updates: + - Seagate Expansion External (0x0bc2:0x3300) (Debian bug 621411) + - ASMedia USB 3.0 (0x174c:0x55aa) (unsupported) + + [CF] smartctl.8.in: Clarify '-t vendor,N' (ticket #169). + Update Intel info (ticket #168). + + [CF] drivedb.h update: + - Intel 320 Series SSDs (ticket #168) + + [CF] smartctl: Always print sector size in '-i' output (ticket #166). + + [CF] os_linux.cpp: Shorten version string. + + [CF] smartctl: Add option '-f brief' to select new attribute output + format. This format includes additional attribute flags + (ticket #109) and fits in 80 columns (ticket #158). + This format is now the default for '-x'. + + [CF] smartd: Log changes of offline data collection status if + '-l selftest' is specified. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Add ADATA S599 64GB, + OWC Mercury Extreme Pro + - Kingston branded X25-V SSDs (ticket #156) + - Transcend SATA Solid State Drive: Truncate attribute name + + [CF] drivedb.h USB updates: + - LaCie (0x059f:0x1029) (ticket #153) + - WD My Book Office Edition (0x1058:0x1101) + - JMicron USB 3.0 (0x152d:0x0539) + + [CF] drivedb.h USB update: + - Verbatim Pocket Hard Drive (0x18a5:0x0227) (ticket #159) + + [CF] drivedb.h update: + - SAMSUNG SpinPoint N3U-3 (USB, 4KiB LLS) (ticket #159) + + [CF] Add support for ATA Long Logical Sectors (LLS) (ticket #159). + + [DG] [SCSI] smartctl: (re-)use capacity formatting in utility.cpp + + [CF] configure.in: Remove '-Wno-format' for MinGW. + Recent MinGW versions support MSVCRT printf format strings. + + [CF] Print ATA disk capacity with SI prefix. + Add/move capacity formatting to utility.cpp + + [CF] Add error messages if ATA pass-through does not return required + ATA output registers (for SMART RETURN STATUS, GET POWER MODE). + This prevents misleading 'SMART Status command failed' messages + (see ticket #155). + + [CF] Fix WWN support check for older ATA-7 disks. + + [DG] [SCSI] smartctl: add 'Logical Unit id' from the Device + Identification VPD page (0x83) + + [DG] [SCSI] smartctl: add 'User Capacity' (disk size) in human + readable form + + [CF] smartctl, smartd: Print World Wide Name (WWN) of ATA device. + + [CF] smartctl: Print more specific error message if IDENTIFY DEVICE + failed (ticket #61). Add check for empty IDENTIFY data. + + [CF] Windows installer: Add help message box. + + [CF] Windows installer: Request admin rights, select 'All Users' + section. This fixes shortcut removal under Vista and later. + Add '/SO' option to select components for unattended install. + Patch was provided by József Fejes. + + [CF] Windows: Add update-smart-drivedb.nsi NSIS script to build + drivedb.h update tool. + + [CF] Windows: Move search for NSIS compiler from Makefile.am to + configure.in. + + [CF] update-smart-drivedb.in: Move DRIVEDB_BRANCH name creation + from script to configure.in. + + [CF] os_linux.cpp: Replace printf() by pout(). Disable unused + function dumpdata(). + + [CF] Windows: Include CSMI (for Intel RAID) in default DEVICESCAN. + + [CF] configure.in: Remove info messages about old defaults. + + [CF] drivedb.h: Set unneeded USB bcdDevice patterns to empty. + + [CF] Rework USB ID drivedb search. Stop search at first matching + entry with empty bcd_device pattern. + + [CF] Move handling of '-F swapid' from formatting to identity read + function. Remove unneeded 'fix_swapped_id' parameters. + + [CF] smartd: Log warning from drive database if present. + smartctl: Do not search drive database twice. + + [MS] drivedb.h USB updates: + - Samsung S2 Portable variant (0x04e8:0x1f08) + - Lacie rikiki (0x059f:0x102a) + - Toshiba Stor.E Steel series (0x0930:0x0b11) + - Super Top generic enclosure (0x14cd:0x6116) + + [CF] Let constructor of regular_expression throw on error by default. + + [CF] smartd: Preserve last selective self-test span in '.state' file + and use it if the selective self-test log was cleared (ticket #88). + + [CF] smartctl --scan-open: Make output compatible with smartd.conf + (ticket #108). Fix possible crash if autodetect_open() returns + new object. + + [CF] do_release: Re-add signing of tarball. + + [CF] os_linux.cpp: Change '-d sat' to '-d sat,12' for USB only if + kernel is older than 2.6.29. Add kernel release to version info. + + [CF] smartd: Add '-l scterc,READTIME,WRITETIME' directive (ticket #150). + + [CF] smartctl: Fix exit status of '-l xerror' and '-l xselftest' + (ticket #144). + + [CF] smartd: Use '-M daily' as default if state persistence is enabled. + This avoids that emails are suppressed forever (ticket #35). + + [CF] smartd: Log identify information of each ATA device. + + [CF] smartd: Disable '-C' and '-U' monitoring if raw values are + very large (ticket #148). + + [CF] smartd: Write reserved attribute byte to '.state' file + (ticket #118). + + [MS] drivedb.h USB updates: + - Seagate FreeAgent Go Flex Desk USB 3.0 + - Toshiba Canvio 500GB + + [MS] drivedb.h USB updates: + - Freecom HD 500GB (0x07ab:0xfcda) + - Generic JMicron adapter (0x152d:0x2337) + - RaidSonic ICY BOX IB-110StU3-B (0x1759:0x500[02]) + - Connectland BE-USB2-35BP-LCM (0x040d:0x6204) + - Freecom Classic HD 120GB (0x07ab:0xfccd) + - OCZ THROTTLE OCZESATATHR8G (0x152d:0x0602) + - Vantec NST-400MX-SR (0x1a4a:0x1670) + - Intenso Memory Station 2.5" (0x13fd:0x1840) + + [CF] Don't report failed self-tests outdated by a newer successful + extended self-test as errors (ticket #147). + This affects smartctl exit status and smartd syslog output and + warning email. Only implemented for ATA. + + [CF] os_linux.cpp: Don't use buffer of size PATH_MAX for the result + of realpath(). This also fixes compilation on Debian Lenny. + + [CF] smartd man pages: Add some missing [ATA only]. + + [CF] os_linux.cpp: Dereference symlinks before guess of device type + (ticket #146). Minor rework of autodetect_smart_device(). + + [CF] smartctl -l scterc: Don't get ERC if only set is requested. + This prevent misleading error messages if ATA output registers + are not supported. + + [CF] Windows: Prevent warnings from gcc 4.5.1. + + [CF] os_netbsd.cpp, os_openbsd.cpp: Add missing <errno.h> + + [CF] os_freebsd.cpp: Add missing <errno.h> + + [CF] dev_legacy.cpp: Add missing <errno.h> + + [CF] Linux megaraid: Fix pass-through of non-data ATA commands + (ticket #149). + Only reject commands which require ATA output registers. + + [CF] configure.in: Remove '-fno-strict-aliasing' from CXXFLAGS. + This reverts r2992 (see ticket #23). + + [CF] Linux megaraid: Avoid strict-aliasing warnings. + Patch was provided by Stanislav Brabec (2009-06-03). + + [MS] Make functions without prototypes static. + + [MS] Remove unnecessary includes, move inclusion of errno.h from scsicmds.h + to the appropriate *.cpp files. Add cciss.h to cciss.cpp. + + [MS] os_linux.cpp: rename variables to please "-Wshadow" + utility.cpp: remove unused variable "start" + os_win32/syslogevt.c: plug resource leak + + [CF] Rename variables to prevent warnings if '-Wshadow' is set. + Remove unnecessary includes. Fix some comments. + + [CF] drivedb.h updates: + - Intel X18-M/X25-M/X25-V G2 SSDs: Add firmware bug warning + - Samsung SpinPoint M6 + - Samsung SpinPoint M7E (AFT) + - Samsung PM800 SSDs + - Samsung PM810 (470 series) SSDs + + [CF] Windows: Add experimental CSMI support for disks behind Intel Matrix + RAID driver. Accessed through new device names '/dev/csmi[0-9],N'. + Experimental DEVICESCAN can be enabled by '-d csmi'. + + [MS] - ataprint.cpp: adjust print format for insanely large + offline data collection times (e.g. WD drives). + - getopt: change config.h #include format from angle brackets to quotes + + [MS] drivedb.h update: + - Fujitsu MJA2 BH series + - Toshiba MK..59GSXP series (Adv. Format) + - Toshiba MK..59GSM series (Adv. Format) + - Western Digital Caviar Blue SATA 3.0 variants + - Seagate Barracuda XT + + [CF] smartctl: Print help message if no option is specified (ticket #39). + Don't issue any other ATA command if only '-n POWERMODE' is specified. + + [CF] smartd: Output multiple lines via separate syslog(3) calls + (ticket #135). + + [CF] smartctl: Add new ATA minor revisions and log addresses from ACS-2 + revision 4a. Replace runtime asserts by compile time asserts. + + [CF] smartd: Remove "default: /var/log/messages" hint from warning mail. + This obsoletes Debian patch 60_remove-redhatism.diff. + + [CF] Windows: Include USB devices in DEVICESCAN (ticket #116). + + [CF] Windows: Use direct WMI access to detect USB IDs (ticket #115). + This replaces 'wmic' runs and speeds up USB detection. + + [CF] configure.in: Rework platform-specific settings. + + [CF] configure.in: Remove some no longer used settings: + -lselinux (duplicate), NEED_SOLARIS_ATA_CODE, OS_FREEBSD. + + [CF] Makefile.am: Remove SUBDIRS. Recursive targets are no longer used. + + [CF] Use log directory to check for old error and self-test log + support (ticket #89). + + [CF] drivedb.h USB update: + - WD My Book Essential 3TB USB 3.0 + + [CF] Fix usb header includes for DragonFly BSD (ticket #141). + + [CF] smartctl: Print physical and logical sector sizes (ticket #62). + + [CF] drivedb.h updates: + - Fujitsu MHT: Add AC variant + - Fujitsu MHW2 AC + - Samsung SpinPoint T166: Needs '-v 197,increasing' + - Seagate Barracuda 7200.11: Add firmware SD81 as buggy + - WD Scorpio Blue EIDE: Add 320GB + + [CF] drivedb.h USB updates: + - Samsung S2 Portable (ticket #136) + - Move Verbatim 0x152d:0x2351 to JMicron section + + [AS] drivedb.h updates: + - Verbatim Portable Hard Drive eSATA & USB 2.0 Combo 500GB + + [CF] Happy New Year! Update copyright year in version info. + + [CF] drivedb.h updates: + - Hitachi Deskstar 7K3000 + - Hitachi Travelstar 7K320: Add ...362 variant + - Seagate Maxtor DiamondMax 21: Add STM3250310AS + - Toshiba 2.5" HDD MK..65GSX + - WD Caviar Green (Adv. Format): Add 750GB, 2.5TB, 3TB + + [CF] drivedb.h USB updates: + - Micron USB SSD (unsupported, ticket #133) + - Samsung G2 Portable (ticket #132) + - Samsung Story Station 3.0 (ticket #130) + - Seagate FreeAgent GoFlex (ticket #131) + + [CF] update-smart-drivedb.in: Add workaround for OpenBSD shell bug: + 'set -e; if eval false; ...' aborts script (ticket #128). + + [CF] update-smart-drivedb.in: Add platform specific download tools: + 'fetch' on FreeBSD (ticket #127), 'ftp' on OpenBSD. + + [CF] drivedb.h USB updates: + - JMicron 0x152d:0x2509 + - WD My Passport 0730 + + [CF] drivedb.h updates: + - Samsung SpinPoint F3 EG: Add 2TB + - SandForce Driven SSDs: Add ADATA S599, SuperTalent TeraDrive CT + - Seagate Constellation (SATA) + - Seagate Constellation ES (SATA) + - WDC My Passport: Add WD5000BMVW + + [CF] drivedb.h update: + - Samsung SpinPoint F4 EG: Add 1.5TB, update firmware bug warning. + + [DG] [SCSI] Fix log page sanity check problem if the DS bit set + in response. Caused '-l background' to fail. + + [CF] drivedb.h updates: + - Samsung SpinPoint F4 EG: Warning about bad blocks + + [CF] update-smart-drivedb.in: Replace ERE by BRE. Script does no + longer require GNU sed (Ticket #126). + + [DG] In '-r ioctl' show vendor specific SCSI commands as such rather + than 'unknown'. + + [CF] Add check for CompactFlash Signature in ATA IDENTIFY data. + This avoids that older CF microdrives are detected as ATAPI + devices (Ticket #125). + + [CF] drivedb.h updates: + - Apple SSDs TS* + - Crucial RealSSD C300 Series + - Kingston SSDNow V Series + - Indilinx Barefoot based SSDs: Add OCZ-ONYX + - SandForce Driven SSDs: Add OCZ VERTEX2-PRO + - Transcend CompactFlash Cards: Add TS4GCF133 + + [CF] Windows installer: Add missing quotes in smartctl-run.bat + and smartd-run.bat (Ticket #124). + + [CF] OpenBSD: Fix DEVICESCAN for OpenBSD >= 4.8 (Ticket #123). + + [CF] daemon_win32.cpp: Remove duplicate assignment (Ticket #120). + + [CF] Makefile.am: Do not overwrite existing smartd.conf file + (Ticket #122). If smartd.conf exists and differs from the + default then smartd.conf.sample is installed instead + If smartd.conf.sample exists on uninstall then smartd.conf is + preserved. + + [CF] Linux megaraid: Fix segfault on non-data commands (Ticket #78). + The /dev/megaraid_sas_ioctl_node driver does not allow + sge_count = 1 and sgl[0].iov_len = 0. + + [CF] Remove EXPERIMENTAL notes for features already present + in 5.39. + + [CF] Rework '-d TYPE' documentation on man pages. + + [CF] drivedb.h updates: + - Seagate Maxtor DiamondMax 21: Add 80GB + - Western Digital Caviar Black: Add 1TB/64MB + + [CF] drivedb.h USB updates: + - iRiver iHP-120/140 (Ticket #119) + - ASMedia ASM1051 + + [CF] Makefile.am: Handle examplescripts in main Makefile. + Remove 'examplescripts/Makefile.am'. + + [CF] configure.in: New option '--with-exampledir' allows one to change + path of 'DOCDIR/examplescripts' directory. + (Debian package uses '/usr/share/doc/smartmontools/examples') + + [CF] Replace global 'con->dont_print/...' variables by 'printing_is_*'. + Remove global 'con'trol pointer. Remove file 'extern.h'. + + [CF] Replace global 'con->reportata/scsiioctl' variables by '*_debugmode'. + + [CF] Replace global 'con->conservative/permissive' variables by + 'failuretest_*'. Move failuretest() function to smartctl.cpp. + + [CF] Remove unused CONTROLLER_* defines. + + [CF] Remove unused controller support from dev_legacy adapter module. + + [CF] Make 'debugmode' variable local to smartd.cpp. + +smartmontools 5.40 2010-10-16 + + [CF] examplescripts/Example3: Use stdin to pass message to 'wall' + command (ticket #114). + + [CF] smartd: Fix setting of SMARTD_DEVICE and SMARTD_DEVICETYPE + environment variables (ticket #113). + Regression was introduced by rework of smartd data structures. + SMARTD_DEVICE is now set to the plain device name. + SMARTD_DEVICETYPE is now set to 'auto' if no '-d' directive is + specified. Smartctl now accepts '-d auto' for this purpose. + + [CF] Remove "Lifetime" from Min/Max temperature attribute output + (ticket #111). Interval is device specific. + + [CF] configure.in: Print resource/message compiler info for Windows only. + + [CF] FreeBSD: Rework get_dev_names_cam() to support more than 26 devices. + + [CF] drivedb.h updates: + - Seagate Barracuda 7200.10: Add 360GB + - USB: Iomega MDHD-UE + Patch provided by Rob Marissen. + + [DL] Standby mode not detected properly on FreeBSD (ticket #91). + + [MS] os_linux.cpp: fix "gcc -flto" build error by including stddef.h + + [CF] drivedb.h update: + - Indilinx Barefoot based SSDs: Add OCZ-VERTEX 1199 and -TURBO + + [CF] TODO file: Move open entries to tickets #106, #107, #108, #109, #110. + Remove outdated entries. + + [CF] drivedb.h USB update: + - SunPlus 0x04fc:0x0c05 + + [CF] drivedb.h update: + - SandForce Driven SSDs: Add Corsair Force, fix typo + + [CF] Print hex values of unknown self-test type or status. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Fix regex for Unigen UG99SGC + - Seagate Momentus XT series + - Quantum Bigfoot: Add 12.7GB + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Add 11 attributes of new FW, + add Unigen UG99PGC + - WD AV ATA family: Add 250GB, 320GB + - WD AV SATA family + + [CF] Windows: Build syslogevt.exe with MinGW. Now possible because + binutils provides windmc. + + [CF] Makefile.am: Remove install message about smartd startup. + It might be misleading because it is not correct for all platforms. + + [CF] configure.in: Minor fix of '--enable-drivedb' new defaults + detection. + + [CF] Update links, configure and OS info in INSTALL file. + Replace tabs by spaces. + + [CF] configure.in: Fix '--enable-sample' and '--with-selinux'. + Fix obsolete use of AC_DEFINE(). + + [CF] drivedb.h updates: + - IBM Deskstar 60GXP, 40GV & 75GXP: Update link (ticket #99) + - Seagate Barracuda 7200.12: Add ST31000523AS and others + - WD Caviar Black: Add 2TB + - WD VelociRaptor: Add 6 Gb/s models + + [CF] Windows installer: Fix smartctl-run.bat for drive menu (ticket #31). + + [CF] Windows: Create md5/sha1/sha256 checksums of the binaries. + Add checksums.txt file to binary distribution. + + [CF] Windows: Include drivedb.h into binary distribution. + + [CF] drivedb.h updates: + - Intel X18-M/X25-M/X25-V G2: Add X25-V 40GB + - Transcend CompactFlash Cards + + [CF] drivedb.h updates: + - Seagate Momentus 7200 FDE.2: Add ST9160414ASG + - Seagate Pipeline HD 5900.1 and 5900.2 + Based on patch provided by Marcin Falkiewicz. + + [CF] Remove unused variable 'reportbug'. + + [CF] Make function PrintOut() local to smartd.cpp, remove it from + smartctl.cpp. + + [CF] Windows: Improve compatibility with MinGW variants. + Add configure check for DDK include files. + Drop support for '-mno-cygwin' from old Cygwin gcc. + + [AS] smartctl.8.in minor update: adding FreeBSD ahci/scsi device hints + + [CF] Fix build if SVN Id keywords are not expanded (ticket #94). + + [CF] Windows: Remove "." from DLL search path to prevent DLL + preloading attacks. + + [CF] drivedb.h USB update: + - JMicron 0x152d:0x0551 (ticket #95) + Add note about port multipliers to smartctl man page. + + [CF] drivedb.h updates: + - SandForce Driven SSDs: Add Unigen drives + - Indilinx Barefoot based SSDs: Add ASAX Leopard Hunt II + + [CF] drivedb.h update: + - Intel X18-M/X25-M G2: Add names of timed workload attributes. + Document attribute clear command '-t vendor,0x40' on smartctl + man page. + + Thanks to Artem Danielov from Intel for providing the + required information and drives for testing. + + [CF] drivedb.h update: + - SandForce Driven SSDs: Add OCZ drives with form factor info. + + [CF] drivedb.h update: + - Intel X25-E, X18-M/X25-M (add X18-M, update attributes) + + [CF] configure.in: '--enable-drivedb' is now the default. + + [CF] drivedb.h update: + - Indilinx Barefoot based SSDs + (combine and update 5 SSD entries using this controller) + + [CF] drivedb.h update: + - SandForce Driven SSDs (Demo Drive, OCZ-Agility2/Vertex2/Vertex-LE) + + Thanks to Jeremy Werner (jwerner@sandforce.com) from SandForce for + providing the required information and a demo drive for testing. + + [CF] drivedb.h update: + - Add 1.5TB drive to SAMSUNG SpinPoint F3 EG series + + [CF] Add print formats '-v ID,msec24hour32' and '-v ID,raw24/raw32'. + Used by SSDs with SandForce controller. + + [CF] Allow SMART threshold entries at positions different from + attribute table. This fixes attribute output for recent + SSDs with SandForce controller. + + [CF] smartctl: Add option '-t vendor,N' to issue ATA + command SMART EXECUTE OFF-LINE IMMEDIATE with + a vendor specific subcommand. + + [CF] drivedb.h update: + - SAMSUNG SpinPoint V80 series (ticket #85) + + [CF] Linux: Support SATA drives on LSI 3ware 9750 controllers. + Patch provided by Victor Payno (ticket #86). + Modified to avoid duplicate code. + + [CF] drivedb.h update: + - SAMSUNG SpinPoint M7 series + + [CF] drivedb.h USB update: + - Buffalo JustStore Portable HD-PVU2 + + [CF] drivedb.h USB updates: + - Iomega LDHD-UP (ticket #83) + - WD Elements Desktop 2TB + - Maxtor OneTouch (0x0d49:0x7300) + + [MS] drivedb.h updates: + - Intel X25-M SSD first Generation + - ExcelStor J8160 + - OCZ Agility2 + + [CF] drivedb.h updates: + - Transcend Solid State Drives (ticket #80) + + [CF] drivedb.h USB update: + - LaCie Rugged Hard Drive + + [CF] smartctl: Add options '--scan, --scan-open'. + + [CF] Windows: Use also VendorId from IOCTL_STORAGE_QUERY_PROPERTY. + + [CF] smartd: Change defaults of '-C' and '-U' directives to 0 (disabled) + if attribute name is changed by '-v 19[78],...' directive. + + [CF] configure.in: Fix include path for MinGW. + + [CF] Move 'posix/reg*' to 'regex/reg*'. + Add configure check for regex. + + [MS] cciss.cpp: avoid redefining be32toh + megaraid.h: replace use of undefined preprocessor macro BITS_PER_LONG + by union construct (thanks to [DL]). + Add assert for sizeof(ptr_t) == 8 (thanks to [CF]). + + [CF] Makefile.am: Add os_qnxnto.* to EXTRA_smart*_SOURCES. + + [MS] drivedb.h update: + - WD My Passport Essential SE 1TB variant (USB interface) + + [CF] Use getopt_long() from getopt/getopt* if necessary. + Add missing cast to os_qnxnto.cpp. + This fixes build on QNX (ticket #1). + Thanks to Stefan (stevestereo) for testing. + + [CF] drivedb.h update: + - WD Caviar Green (Adv. Format) family + + [CF] drivedb.h USB update: + - Verbatim External Hard Drive 47519 + + [DL] Fix regression in smartctl option '-t select,M-N' which prevents + that more than one test span can be specified (ticket #75). + + [CF] drivedb.h updates: + - Add raw64 attributes 1, 210-213 to all SSD drives with + 64-bit attribute format. + + [CF] Support smartd '-l xerror' also for disks which use reserved + byte as log index. + + [CF] Fix initialization of values missing in smartd '.state' files. + + [CF] Add smartd directive '-l xerror' to check error count from + the Extended Comprehensive SMART Error Log (ticket #34). + + [CF] Fix max number of cciss devices, 128 devices are supported + again (ticket #49). Regression was introduced during migration + to new interface. + + [CF] Update man pages (include Debian patch + 60_remove-redhatism.diff and Debian Bug 570892). + + [CF] Add SVN revision number to man pages. + + [CF] Windows: Read default drivedb.h and smartd.conf from exe + directory instead of current directory. + + [CF] drivedb.h update: + - SAMSUNG SpinPoint M series + + [CF] Replace runtime check of byte ordering by compile time check. + + [CF] drivedb.h USB updates: + - ALi M5621 (unsupported) + - LaCie with JMicron (ticket #69) + - JMicron (0x2352) + - Enable 48-bit commands for Hitachi drive + + [CF] Read USB ID info from drivedb.h (ticket #44). + + [CF] Create branch RELEASE_5_39_DRIVEDB with last drivedb.h file + compatible with smartmontools 5.39[.1]. + + [MS] drivedb.h updates: + - WD Raptor 80GB variant + - correct Regex for some WD AV-GP variants + - Hitachi Ultrastar A7K2000 + - Hitachi Travelstar 5K500.B + - Hitachi Deskstar 7K1000.C + - adjust naming of Hitachi Travelstar and Deskstar drives + + [CF] Move 'posix/getopt*' to 'getopt/getopt*'. Can be used for + platforms with regex() but without getopt_long() (QNX, ticket #1). + + [CF] smartd '-l selftest' directive: Print info if error count + decreased. Avoid misleading warning if error count decreased + to zero (ticket #67). + + [CF] smartctl: Rework ataPrintMain(). Issue ATA SMART commands only if + necessary. Improve handling of SMART STATUS command failure when + ATA output registers are missing (ticket #27). + + [CF] USB ID updates: + - A-DATA SH93 + - Hitachi/SimpleTech 1TB + + [CF] configure.in: Print configuration summary. + + [CF] smartctl -l xselftest,selftest: Print old log if extended self-test + log index is out of range. Workaround for bad log data from Intel + X25-M G2 (ticket #66). + + [CF] USB ID updates: + - LaCie Desktop Hard Drive + - Prolific PL2507 (unsupported) + - Seagate FreeAgent Go FW + - WD My Book Essential + + [CF] Linux: Add '/dev/sd[a-c][a-z]' to smartd DEVICESCAN. + + [CF] smartd: Other config entries may precede DEVICESCAN. + Very first step towards a more flexible device scanning. + + [CF] Windows: Use '.win64' in names of 64-bit binary packages. + Use correct 'strip' program when cross-compiling. + + [CF] Add update script to make targets 'dist' and 'clean', + set +x permission, update svn:ignore. + + [CF] Add 'update-smart-drivedb' script (ticket #59). + The script updates the drive database from SVN. + It is installed if '--enable-drivedb' is configured. + + [MS] drivedb.h updates: + - Seagate Medalist 1720 + - SuperTalent UltraDrive GX SSD + - Intel X25-M SSD + + [CF] Makefile.am: Fix unix2dos and makensis parameters to allow + one to build the Windows installer on Linux also. + + [CF] Makefile.am: Use a separate build rule for each man page to + avoid compatibility problems with BSD make. + + [AS] drivedb.h updates: + - Fujitsu MHZ2 BK series + + [MS] drivedb.h updates: + - SAMSUNG SpinPoint F3 series + - SAMSUNG SpinPoint F3 EG series + - SAMSUNG SpinPoint M5 series + - Western Digital Caviar Green 6400AADS + - more Western Digital VelociRaptor variants + + [AS] FreeBSD: disable 48-bit commands in the ata_pass_through interface, + there is no 48-bit support in the IOCATAREQUEST ioctl. + + [CF] smartctl: Add option '-l scterc[,READTIME,WRITETIME]' to get/set + the SCT Error Recovery Control time limit (ticket #50). + + Patch was provided by Richard Gregory: + http://www.csc.liv.ac.uk/~greg/projects/erc/ + Modified for new ata_pass_through() interface. + Linux HPT fixes omitted for now. + + [CF] Fix SCT temperature table commands on big endian CPUs. + + [MS] drivedb.h updates: + - more Seagate Momentus 5400.6 drives + - HP 500GB drive MM0500EANCR + + [CF] Windows: Cleanup I/O-control declarations, rely on include + files if possible. + + [CF] Windows: Compile fixes for 64-bit exe (EXPERIMENTAL). + Update build info in INSTALL file. + + [CF] drivedb.h update: + - Patriot Torqx SSD (patch provided by Gianpaolo Cugola) + + [CF] Makefile.am: Avoid duplication of man page filter script. + + [CF] smartd: Add option '-C, --capabilities' if libcap-ng is available + (ticket #45). + Support is added if libcap-ng is found during build. This can + be overridden by configure option '--with-libcap-ng=[auto|yes|no]'. + + Based on Debian patch: + http://patch-tracker.debian.org/patch/series/view/smartmontools/5.39-3/62_lowcap.patch + Modified to fix regression (ticket #41, Debian bug 564876). + + [CF] Bugfix release 5.39.1. + + [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used + (ticket #37). For some reason, this happens if the SCSI/SAT + device is opened with O_RDWR instead of O_RDONLY. + + [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release + (ticket #43). + + [CF] Add USB IDs of Seagate FreeAgent Go, Seagate Expansion Portable + and WD My Passport (IDE). + + [CF] autogen.sh: Fix version regexp, allow automake 1.11.1. + + [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13). + Detects (S)ATA devices behind a standard SAT layer + (Vendor ID: "ATA "), but not USB bridges with SAT support. + Only added for backward compatibility with 5.38. + No longer needed as 'DEVICESCAN' without '-d' includes these devices. + + [CF] Add USB ID of Seagate FreeAgent Desktop. + + [CF] smartd: Fix directive '-l selftest' (ticket #36) + Regression was introduced with r2773. + + [CF] smartd: Don't disable attribute tracking if read thresholds fails. + Windows: Don't return dummy thresholds if IOCTL_STORAGE_QUERY_PROPERTY + or 3ware CLI is used to read SMART data. + + [CF] Windows: Print warning if admin rights are missing. + + [CF] Replace some 'EXIT(status)' calls by 'return status'. + Remove unnecessary casts from 'nonempty()' calls. + + [CF] Windows: Set ata_device::ata_identify_is_cached() return value + according to I/O-control actually used. + + [CF] Print ATA output registers if SMART status command returns bogus + register values. + + [CF] Windows: Don't return false ATA version info if IDENTIFY data + is build from IOCTL_STORAGE_QUERY_PROPERTY result or from 3ware CLI + output. + smartctl: Handle missing info about ATA version in '-i' output. + + [CF] smartctl: Don't print log directory if '-q errorsonly' is specified. + + [CF] smartctl: Fix option '-q, --quietmode' (ticket #11). + Regression was introduced with r2807. + + [CF] drivedb.h update: + - SAMSUNG SpinPoint F2 EG series + + [CF] Add USB ID of Samsung Story Station. + + [MS] drivedb.h update: + - Hitachi Travelstar 5K320: some EA models miss last 2 "0" + in model string + - Seagate Barracuda LP series + + [CF] drivedb.h update: + - Crucial M225 SSD + + [CF] drivedb.h updates: + - WDC Scorpio Blue Serial ATA (640GB, 750GB, 1TB) + - WDC My Passport Essential SE + + [CF] Add USB ID of Toshiba PX1270E-1G16. + + [CF] Happy New Year! Update copyright year in version info. + + [CF] drivedb.h update: + - SAMSUNG SpinPoint M40/60/80 series + + [CF] Add direct access to 48-bit LBA register in 'ata_in/out_regs_48bit'. + + [DL] drivedb.h updates: + - WDC My Passport Essential/USB (capacity 250GB, 400GB & 500GB) + + [DL] -r ataioctl,2: print text representation of data also (ticket #32) + + [DL] FreeBSD: freebsd_ata_device::ata_pass_through implemented (part of ticket #18) + + [CF] drivedb.h updates: + - Hitachi Travelstar 7K320 (ticket #28) + - Hitachi Travelstar 7K500 + + [DL] -l gpllog,...: print text representation of data also (ticket #30) + + [DL] FreeBSD: check reallocf() result for failures + + [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger + + [CF] Makefile.am: 'make check' now tests the syntax of drivedb.h. + + [CF] Cygwin: Open drive database files in text mode. + + [CF] Cygwin: Check for 'syslogd' and 'syslog-ng' in initd script. + + [CF] Windows: Disable Win9x/ME specific code if no longer supported + by compiler. + + [CF] Add '-v ID,FORMAT:BYTEORDER[,NAME]' to specify byte order + of attribute raw value. + + [CF] configure.in: Change --with-docdir default from + 'PREFIX/share/doc/smartmontools-VERSION' to + 'DATADIR/doc/smartmontools' to make it consistent with + --docdir option added in autoconf 2.6x (ticket #24). + Autoconf 2.5x is still supported. + + [CF] Move drive database entries from 'knowndrives.cpp' to new file + 'drivedb.h'. This allows one to update the drive database from SVN + if installation was configured with '--enable-drivedb'. + Remove the Makefile target to create 'drivedb.h'. + + [CF] do_release: Add support to release from a dir below 'branches'. + Accept partial checkouts. + +smartmontools 5.39.1 2010-01-28 + + [CF] Linux: Fix spin-up of SATA drive if '-n standby' is used + (ticket #37). For some reason, this happens if the SCSI/SAT + device is opened with O_RDWR instead of O_RDONLY. + + [CF] Windows: Fix parsing of 'tw_cli' output for 3ware 9.5.x release + (ticket #43). + + [CF] Linux: Allow smartd 'DEVICESCAN -d sat' (ticket #13). + Detects (S)ATA devices behind a standard SAT layer + (Vendor ID: "ATA "), but not USB bridges with SAT support. + Only added for backward compatibility with 5.38. + No longer needed as 'DEVICESCAN' without '-d' includes these devices. + + [CF] smartd: Fix directive '-l selftest' (ticket #36) + Regression was introduced with r2773. + + [CF] smartctl: Don't print log directory if '-q errorsonly' is specified. + + [CF] smartctl: Fix option '-q, --quietmode' (ticket #11). + Regression was introduced with r2807. + + [CF] Happy New Year! Update copyright year in version info. + + [DL] FreeBSD: check reallocf() result for failures + + [AS] FreeBSD: fixing crash on kFreeBSD (#29), patch provided by Petr Salinger + + [CF] do_release: Add support to release from a dir below 'branches'. + Accept partial checkouts. + +smartmontools 5.39 2009-12-09 + + [CF] do_release: Commit CHANGELOG and NEWS also. Allows one to review changes. + + [CF] Linux: Add workaround for Adaptec series 2, 5 and 5Z controllers + with firmware >= 17380. Patch was provided by Phil Wilson, see: + http://linux.adaptec.com/2009/07/24/using-smartmontools-538-with-series-255z-controllers-with-firmware-17380-onwards + + [CF] configure.in: Add '-fno-strict-aliasing' to CXXFLAGS if supported. + This suppresses gcc 4.4.1 warnings on Linux and avoids possible + unsafe optimizations (ticket #23). + Patch was provided by Manfred Schwarb. + + [CF] Avoid truncation of configure arguments in '-V' output. + + [AS] Added USB IDs of WD Passport USB Portable + + [CF] Linux: Fix segfault in 3ware interface (ticket #22). + + [MS] knowndrives.cpp updates: + - Hitachi Deskstar 7K2000 + - Seagate Momentus 7200 FDE.2 series + + [CF] Add USB ID of WD My Passport 070A. + knowndrives.cpp update: + - WD My Passport hard drive (USB interface) + + [CF] smartd: Write 'worst' attribute value to '.state' file also. + This allows one to use state persistence with 'raw64' attributes. + + [CF] Rework ATA SMART attribute check in smartctl and smartd. + smartd: Ignore normalized attribute value and threshold + if 'raw64' or 'hex64' format is selected. + + [CF] Add USB IDs of Iomega LPHD080-0, 2 Genesys Logic bridges and + Initio 316000. + + [MS] knowndrives.cpp update: Hitachi Travelstar 5K320 series + + [CF] smartctl: Ignore normalized attribute value and threshold + if 'raw64' or 'hex64' format is selected. + + [CF] knowndrives.cpp updates: + - add OCZ-Vertex raw64 attributes + - add OCZ-Agility + Thanks to Marcin Marszalek for the patch. + + [CF] Add '-v ID,hex*' print formats. Fix '-v N,FORMAT,NAME' parsing. + + [CF] Add '-v ID,raw64[,...]' print format based on a patch provided + by Marcin Marszalek. + + [CF] Add '-v ID,RAW_FORMAT[,ATTR_NAME]' option. This allows one to add new + attributes without the need to enhance the '-v' option. + Rework attribute name and raw value formatting. + + [CF] Fix auto_ptr initialization in linux_scsi_device::autodetect_open(). + + [CF] Remove duplicate function smart_device_list::add(). + Replace calls with push_back(). + + [MS] attribute update: + trim attribute names to 23 chars + + [CF] Add smart pointer class template to manage device object pointers. + Remove related 'delete' calls and 'try/catch' blocks. + + [CF] do_release: Replace generation of '*.asc' by '*.md5' and '*.sha1'. + + [MS] attribute updates: + - change attributes 202,204,205 to the meanings as found in wdidle3.exe + retain old entries as comments (possible Fujitsu use) + - add attribute 240 as found in Fujitsu MHY2xxxBH + + [MS] attributes updates: + - attributes 225, 232 and 233 for Intel X25-E SSD + - non-conflicting attributes extracted from wdidle3.exe + (thanks to Franc Zabkar and Dan Lukes) + + [CF] Update Windows and ./configure info in INSTALL file. + + [CF] Update 'do_release' script for SVN. + + [MS] knowndrives.cpp updates: + - Western Digital MyPassport Essential hard drive (USB interface) + - Seagate Momentus 7200.4 series + - Western Digital Raptor X + - Intel X25-E SSD + + [CF] knowndrives.cpp updates: + - New Seagate 7200.11 firmware version + - Update IBM link + + [CF] smartctl: Use printf() instead of pout() for exception error + messages to avoid access to bogus 'con->dont_print'. + + [CF] smartd: Add missing help texts for '-A', '-B' and '-s'. + + [CF] Add missing check for log page 0x11 support to smartctl + '-l sataphy' option. + + [CF] Add USB ID of Freecom Hard Drive XS. + + [AS] Linux: Autodetect DELL PERC and MegaRAID controllers. + Hiding debug messages coming from megaraid code. + + [AS] Linux: Fixed SATA drives support on megaraid device (see ticket #15). + + [AS] FreeBSD: Removed all old detection code, moving everything to + the objects. Now we are using CAM/ATA enumerators to guess device + type. + + [AS] FreeBSD: Added autodetection for the ada disks (untested). + Code for USB device detection refactored. + + [AS] FreeBSD: cam_get_umassno rewritten using XPT_PATH_INQ + + [AS] FreeBSD: do not open/close cam device on every request for SCSI + disks. Use com->camdev both for SCSI and ATAPICAM. + + [AS] FreeBSD: added support for the ada disks, based on agapon patch + + [CF] Add names for attributes 184 and 188, see ticket #17. + + [CF] configure.in: Change configure date syntax. + Add message to '-mno-cygwin' option check. + + [GK] Add names for some attributes used in MLC flash drives: + 175, 176, 177, 181, 182 + + [CF] Windows: Check support of gcc '-mno-cygwin' option in configure. + This option has been removed in Cygwin gcc 4.x. Update INSTALL + instructions accordingly. + + [CF] Increase SCSI_TIMEOUT_DEFAULT from 6 to 20 seconds to avoid + timeouts when a disk spins up from standby mode. + + [CF] Add USB ID of AcomData 504 (OnSpec USB bridge). + + [AS] Correcting manual pages (FreeBSD related) + + [AS] FreeBSD: fix FTBFS on GNU/kFreeBSD (reported by derevko). + + [AS] FreeBSD: Add USB autodetection to smartd DEVICESCAN directive. + + [CF] Add USB ID of Myson Century CS8818, add some comments. + + [CF] Return info strings from 'smart_interface::get_*()' functions as + 'std::string' instead of 'const char *'. Static buffers are no + longer needed. + + [SZ] FreeBSD: Fix highpoint type detection and ioctl failed for parameter + error. + + [CF] Linux: Add USB autodetection to smartd DEVICESCAN directive. + + [CF] Add USB IDs of Maxtor Basics Desktop and ISD-300A1. + + [AS] Use malloc() to ensure that the read buffer lands on a single + page. This avoids some bugs seen on LSI controllers under + FreeBSD. + + [CF] Add missing help text for '-d usb*' options. + + [CF] Linux: Dereference '/dev/disk/by-*/*' symlink before device type + autodetection. + + [AS] FreeBSD: Support SATA disks attached to a SAS controller (based on + patch from freebsd ports tree). + + [AS] FreeBSD: Added FreeBSD 8 libusb2 device autodetecion, new + configure check for -lusb. + + [AS] FreeBSD: Added USB device autodetection and fixed -d switch behavior. + + [AS] FreeBSD: Migrate os_freebsd.cpp to new interface. + + [CF] Fix max number of 3ware devices, 128 devices are supported again. + Regression was introduced during migration to new interface. + Thanks to Michael Holweg for the problem report. + + [CF] Windows installer: Add 'DisplayVersion' to uninstall registry key. + + [MS] knowndrives.cpp updates: + - Marvell SSD SD88SA024BA0 + - Fujitsu MHZ2 BH series + - Fujitsu MHZ2 BJ series + - Seagate Maxtor DiamondMax 23 + - WD Caviar Green: Add some 32MB cache variants + - relax OCZ-Vertex pattern + + [CF] Add USB ID of Verbatim FW/USB160. + + [CF] Fix data type bug in checksum test for multi sector logs. + + [CF] Add USB ID of Seagate FreeAgent Go. + + [MS] Add experimental feature to log attribute values at each check + cycle (ATA only), activated with the smartd option + "-A PREFIX" / "--attributelog=PREFIX". + Introduce configure options "--enable-attributelog" and + "--with-attributelog=PREFIX" to enable feature by default. + + [DG] [SAT] Heads up about a non backwardly compatible change + introduced in draft SAT-2 (sat2r8b.pdf) that will break our + existing SAT processing code. Action needed if change stands. + + [MS] smartd.cpp: Adjust umask + + [CF] Makefile.am: Remove 'uninstall-docsDATA' target to fix + 'make distcheck' with automake 1.11. The 'make uninstall' + of examplescripts fails if docdir does no longer exist. + + [CF] Remove 'scsiata.h'. The 'scsiata.cpp' module now implements + parts of 'dev_interface.h'. + + [CF] smartctl: Don't report an attribute as failed if threshold is 0. + + [CF] Print only one warning on checksum errors in multi sector log. + Remove casts from calls of checksum(). + + [DG] minor changes to SCSI background scan strings + + [MS] knowndrives.cpp updates: + - Fujitsu MHW2 BJ series + - WD Caviar Black family + + [MS] Makefile.am: Make creation of svnversion.h independent of + locale settings + + [CF] Require to specify PORT parameter of '-d usbjmicron' if two disks + are connected. + + [CF] smartctl: Limit default number of printed entries for + '-l xerror' to 8, for '-l xselftest' to 25. + + [CF] smartctl: Fix number of entries in '-l xselftest' output. + + [CF] Add USB IDs of a SunplusIT bridge, three WD drives, and an + unsupported Iomega drive. + + [CF] Makefile.am: Use 'svnversion' instead of 'svn info' to get + the revision number. This also checks for mixed and modified + working copies. + + [CF] Remove CVS Id strings from '-V, --version' output. + + [CF] Update CONTRIBUTORS section on man pages. + + [CF] Makefile.am: 'make maintainer-clean' now removes also files + generated by './autogen.sh'. + + [CF] Invalidate 'do_release' script, it needs some rework for SVN. + + [CF] Update documentation files for SVN. + + [CF] Rename trunk/sm5 to trunk/smartmontools. + + [CF] Print SVN revision number instead of time in version info line. + Get SVN revision number from svn (if available) or guess from + Id strings. Rename generated file to svnversion.h. + + [CF] Makefile.am: Modify generation of cvsversion.h for SVN. + + [GP] Convert CVS repository to SVN. + + [CF] smartd: Fix size of monitor flag array from previous commit. + + [CF] Makefile.am: Add missing 'megaraid.h'. + + [CF] smartd: Add '!' flag to '-r' and '-R' directives. If specified, + message is logged as LOG_CRIT and warning mail is sent if + attribute normalized or raw value changes. + + [CF] Replace global 'con->...' variables used for selective self-tests + by local variables. + + [GK] Add names for some attributes used in Samsung MLC drives: + 178-180 & 183 + + [CF] smartctl: Add option '-x, --xall' to print all info including + extended SMART logs and non-SMART info. + + [CF] smartctl: Add '-l xerror,error' and '-l xselftest,selftest' to print + the old logs if the extended logs are not supported. + + [MS] knowndrives.cpp updates: + - Western Digital AV-GP series + - Transcend Solid-State Drive and Transcend Solid-State Drive V series + - Seagate Momentus 5400.5 series + + [CF] Disable 48-bit ATA commands for JMicron USB bridges by default + because these commands do not work with all devices. + Add '-d usbjmicron,x' to enable 48-bit commands. + Thanks to Alexander Shaduri for the problem report. + + [CF] smartd: Don't ignore the '-n' directive when a self-test is + scheduled. Start the self-test later when the disk is active + again. + + [DG] SCSI (SAS): implement '-l sasphy,reset' (reset part was stub + prior to this) + + [DG] add 'ATA, SCSI command sets and SAT' section to smartctl.8 . + [SCSI] add 'number of background medium scans' field + + [DG] SCSI (SAS): add '-l sasphy' and '-l sasphy,reset' into smartctl + to output SAS device phy information (from the Protocol specific + log page) + + [CF] autogen.sh: Remove 'CYGWIN=check_case:strict', this does no + longer work on Cygwin 1.7. Print warning if Automake version + cannot handle case insensitive filesystems. + + [CF] Remove '#define TRUE/FALSE', use 'bool' and 'true/false'. + + [CF] Add 'options' parameter to SCSI printing routine. Move global + 'con->...' smartctl variables to 'options' parameters of + printing routines. + + [CF] Windows: Remove outdated entry about undocumented system calls + from WARNINGS file. + + [CF] Print General Purpose Logs even if GPL feature bit is missing. + Needed for some older disks which implement READ LOG EXT but + do not report the GPL feature set. + Change order of the extended log outputs ('-l xerror', + '-l xselftest', '-l sataphy'). Extended logs are now printed + before their old versions. + + [CF] autogen.sh: automake 1.10.2 and 1.11 are OK. + + [CF] Fix syntax error in prototype of 'safe_snprintf()'. + Thanks to Alexander Shaduri for bug report and patch. + + [DG] SCSI: Fetch load-unload cycle counts. + + [CF] Windows: Add Win-7 and Win2008 to get_os_version_str(). + + [CF] smartd: Fix '-M test' directive in conjunction with '-s' option. + Thanks to Matthias Becher for the problem report. + + [MS] knowndrives.cpp updates: + - Add Seagate Barracuda 7200.12 series + - Add Seagate Momentus 5400.4 series + - Add Hitachi Deskstar 7K1000.B series + - Add Transcend SSD TS32GSSD25-M + - Add OCZ Vertex 1199 + + [CF] knowndrives.cpp updates: + Add Samsung S250 series. + Add '-v 198,increasing' to Samsung P80. + Replace '#if/#endif' by comment to fix configure option + '--enable-drivedb'. + + [CF] knowndrives.cpp update: + Add Seagate 7200.11 with 'CC' firmware which is unaffected + by the bug. Thanks to Bas Mevissen for the patch. + + [CF] Replace global 'con->...' variables used for drive presets + by local variables. + + [CF] Simplify '-v' vendor attribute option parsing. + Add '-v 197,increasing' and '-v 198,increasing' options + to specify that an uncorrectable count is never reset. + This modifies the printed attribute names and smartd's + default setting of '-C' and '-U' directives. + Both '-v' options can also be preset in the drive database. + + [CF] Add '+' modifier to smartd '-C' and '-U' directives. + If specified, a warning is only printed if the raw value + increases. + + [CF] Add smartctl option '-l xselftest[,NUM]' to print + ATA SMART Extended Self-test Log (GP Log 0x07). + + [CF] Add experimental option '-d usbsunplus' for drives behind + SunplusIT USB bridges. Tested on WinXP with SPIF215(?) in + TrekStor DataStation maxi m.u.. Many thanks to SunplusIT + tech support for providing the required information. + + [CF] Windows: Provide a non-console version of smartctl.exe + as smartctl-nc.exe. This prevents that a new console is + opened when smartctl is run from a GUI program with + stdio redirected. + Used by GSmartControl (http://gsmartcontrol.berlios.de/). + + [CF] Remove support for platforms without getopt_long() in + smartctl.cpp and smartd.cpp. If getopt_long() is missing, + ./configure aborts with an explanatory message. + For now, short option help texts are only removed from + os_linux.cpp and os_win32.cpp. HAVE_GETOPT_LONG is still + defined in config.h. + + [CF] Add smartctl '-d test' option to print the result of the + device type detection. + + [CF] Enhance USB device type autodetection, use bcdDevice if known. + Add Cypress CY7C68300B/C (AT2LP) to the table. + + [CF] Linux: Add experimental USB device type autodetection. + Uses USB ID info found through symlink "/sys/block/sdX/device". + + [CF] Windows: Add experimental USB device type autodetection. + Uses WMI command line tool 'wmic' to query USB ID. + + [CF] Add function smart_interface::get_usb_dev_type_by_id() to map + USB vendor:product IDs to '-d type' names. Can be used by + platform dependent layer to autodetect USB devices if ID of + USB bridge is known. + + [CF] smartd: Log changes of self-test execution status if + '-l selftest'is specified. + + [CF] knowndrives.cpp update: + Samsung SpinPoint F1 RE series + + [MS] knowndrives.cpp update: + Seagate Momentus 5400.6 series + + [CF] Add forgotten SCSI sense checks to class usbjmicron_device. + + [CF] Add new SMART STATUS check command for JMicron USB bridges. + Should support also older chip versions and prevents a race + condition. + + [CF] Windows: Fix win_scsi_device::scsi_pass_through() for single byte + data transfers. Required for JMicron SMART STATUS check. + + [MS] knowndrives.cpp update: + Add Hitachi Travelstar C4K60 family (1.8" slim drives) + + [MS] Workaround for huge raw values of attribute 9, needed + for Hitachi Travelstar C4K60. For the Power_On_Minutes case, + clip the display to 4 bytes and show the remaining part, + if existent, in parens. + + [CF] Add experimental option '-d usbjmicron[,PORT]' for drives + behind JMicron USB bridges. Tested on WinXP with JM20336 in + AixCase AIX-ESU35CD. Many thanks to JMicron tech support + for providing the required information. + + [MS] knowndrives.cpp update: + Add WD Caviar Green 8MB and 32MB cache variants, stretch to 2TB. + + [CF] knowndrives.cpp updates: Add more entries for Samsung P80 disks + with old and unknown firmware. Remove old entries which would + match any new Samsung model reusing old firmware version number. + + [CF] Windows: Add a workaround for missing multi-sector support + for ATA READ LOG EXT command. + + [CF] Fix Extended Comprehensive Error Log index base. + Add workaround for Samsung disks using reserved byte as index. + + [CF] knowndrives.cpp updates: Update bug warnings for + Seagate 7200.11, ES.2 and DiamondMax 22. Add new entries + for fixed firmware versions. + + [CF] Add smartctl option '-l xerror[,NUM]' to print + ATA SMART Extended Comprehensive Error Log (GP Log 0x03). + + [MS] knowndrives.cpp update: + Added remaining WD Scorpio Blue SATA II drives + + [CF] Minor fix to remove ID 0 from 'smartctl -l sataphy ...' output. + + [CF] knowndrives.cpp updates: Add warnings about possible firmware + bugs to Seagate 7200.11, ES.2 and DiamondMax 22 entries. + + [CF] knowndrives.cpp updates: Add Samsung SpinPoint F1 series. + + [CF] Windows: Fix return value of scsi_pass_through(). Regression + was introduced during migration to new interface. SAT over USB + now works on XP (both '-d sat,12' and '-d sat,16'). + + [MS] knowndrives.cpp updates: + - Added Western Digital RE2-GP family + - Added Hitachi Travelstar E5K160 family + - Allow uppercase variants of Hitachi 5K160 drives + + [CF] Fix smartctl crash on '-l directory,[gs]'. Allows one to override + missing GPL feature bit or missing log dir entry with + '-T permissive' option. + + [SZ] os_freebsd.cpp, os_freebsd.h updates: + Support HighPoint RocketRAID controller under FreeBSD + + [MS] knowndrives.cpp updates: + - Added Western Digital RE3 32MB cache variants + - Added WD Caviar Green 32MB cache variant (WD10EADS) + - Added WD Scorpio Black family + + [DG] Accept half healthy (and half unhealthy) indication from the + SMART RETURN STATUS. This makes allowance for SAT implementations + (e.g. via USB) that truncate the SCSI sense buffer to 18 bytes. + This truncation causes the SMART RETURN STATUS indication to be + half health or unhealthy. If the half indication is used, then + warn if '-r ioctl' is given. + + [MS] knowndrives.cpp updates: + - Added Apple SSD + - Added Seagate U8 family + + [DL] os_freebsd.cpp: + Added support for CHECK_POWER_MODE and WRITE_LOG commands + + [MS] knowndrives.cpp update: + There seem to exist WD Raptors with SATA II interface, add them. + + [MS] knowndrives.cpp updates: + - Added remaining Seagate Barracuda 7200.11 drives + - Added HP 1TB SATA disk + + [MS] knowndrives.cpp updates: + - Added Maxtor 92040U6 (DiamondMax Plus 6800) + - Added Seagate Maxtor DiamondMax 21 500GB version + - Added QUANTUM FIREBALLlct15 22 + - Added QUANTUM FIREBALL CR6.4A + - Added QUANTUM FIREBALLP LM20.4 + - Added SUN branded Toshiba MK4019GAX + - Added TOSHIBA MK1016GAP and relatives: MK1[05]1[67]GAP + - Added Western Digital WD800AB and WD2500AB + - Some Hitachi 7K160 drives have garbage at end of name: permit it + + [CF] Add smartd '-n powermode,N' directive parameter to limit the + number of skipped checks. Thanks to Michal Hlavinka for the patch. + + [MS] knowndrives.cpp updates: + - Added Hitachi Endurastar J4K30/N4K30 + - Added Hitachi Travelstar 4K120 series + - Some Hitachi 7K80 drives have garbage at end of name: permit it + - IBM Travelstar 6GN series + + [MS] knowndrives.cpp updates: + - Added Quantum Fireball ST4300A + - Added Asus-Phison SSD (solid state disk) + - Added Seagate DB35.3 Series + - Added remaining disks of the Seagate SV35.2 Series + + [MS] Fix trivial compile error with "-pedantic" + + [MS] Workaround for huge raw values of Reallocated_Sector_Ct and + Reallocated_Event_Ct for newer Fujitsu disks (only the lower + 16 bits seem to be meaningful). Clip the display to 16 bits + and show the remaining part, if existent, in parens. Patch by [CF]. + + [CF] smartd DEVICESCAN: Fix autodetection of SAT devices. + Thanks to Stanislav Brabec for bug report and testing. + + [MS] knowndrives.cpp update: + Convert file to full string regex: remove "^$" from pattern + + [MS] knowndrives.cpp updates: + - Added Seagate Momentus 5400 PSD series (hybrid drives) + - Added Seagate Momentus 7200.3 series + - Added Hitachi Deskstar 7K250 (SUN branded) + - There are Hitachi Travelstar 5K250 drives with capital "HITACHI" + - Correct regex for Maxtor VL 30 drives + + [CF] Add configure options '--enable-savestates' and + '--with-savestates=PREFIX' to enable smartd persistence + ('-s' option) by default. + + [CF] smartd: Add '-s ([cnr]/../.././..)' directive to run scheduled + selective self-tests. Useful to perform full tests of large disks + not running 24x7. + + [CF] Allows one to read local drive database entries from optional file + '${sysconfdir}/smart_drivedb.h'. + Add configure options '--enable-drivedb' and '--with-drivedbdir=DIR'. + If specified, drive database is read from '${drivedbdir}/drivedb.h'. + (default '${prefix}/share/smartmontools/drivedb.h'). This file + is build from knowndrives.cpp. + + [MS] knowndrives.cpp updates: + - Added 640GB variants of Western Digital AAKS and AACS drives + - Added Western Digital AV ATA family + - Added 160GB variant of Hitachi P7K500 + - Added 500GB variant of Hitachi 7K1000 + - Some cleanup for Quantum disks + - Added Seagate Maxtor DiamondMax 22 family + + [CF] Use full string match for regexp in drive database. + + [CF] Add option '-d sat+TYPE' to use SAT with controllers which + require option '-d TYPE'. Should work with '-d sat+megaraid,N'. + As a side effect, '-d usbcypress+TYPE' is also supported. + + [CF] Add parser to read drive database from a file. Add '-B' option + to smartctl and smartd to specify database file name. File syntax + is identical to the C/C++ syntax used to inialize the internal + database array. + + [CF] New syntax for drive database: Specify presets by strings + with '-v' and '-F' options. Use empty strings instead of NULL. + + [JPH] Added Linux support for viewing disks behind MegaRAID + controllers + + [CF] smartd: Improve min/max temperature recording in conjunction + with '-s' option. + + [CF] Add a wrapper class for FILE *. + + [CF] smartd: Add experimental support for state persistence (ATA only). + Add option '-s' to specify path prefix for state files. + Rework scheduled self-test detection to support persistence. + If any test schedules are within downtime, the highest priority + test is run after next startup. + + [CF] Remove casts from 'format_ata_string()' calls. + + [CF] Minor changes to fix errors and warnings from Cygwin gcc 4.3.0. + + [CF] smartd: Remove SCSITIMEOUT code. According to smartd.h 1.54 CVS log + from 2003-10-27, it did never work. + + [CF] Remove dependencies ataprint.cpp and scsiprint.cpp from smartd. + Move common ATA functions from ataprint.cpp to atacmds.cpp. + Module scsiprint.cpp was apparently never used in smartd. + + [CF] Move smartd local declarations from smartd.h and utility.h to + smartd.cpp. Remove smartd.h. + + [CF] Fixed extra '\n' in "Offline data collection status" output. + Thanks to Alexander Shaduri for the patch. + + [CF] smartd: Separate device configuration data from device state data. + Use references instead of pointers for configuration and state data. + + [CF] Add const-correctness and static to ATA support functions. + + [CF] Add a wrapper class for regex. + + [CF] Simplify 'create_vendor_attribute_arg_list()'. + + [CF] smartd: Rework of main data structures. Remove explicit memory + allocations, use STL containers and structs with value semantics + instead. Remove old malloc/free based memory management helper + functions unless old interface is still in use. + + [CF] Linux: Cleanup device scan, remove name list, create objects directly. + + [CF] Linux: Cleanup smart_device::open(), type strings are no longer used. + + [CF] Remove CONTROLLER_* defines and variables unless old interface + is still in use. + + [CF] Linux: Migrate 3ware interface to 'ata_pass_through()'. + Multi-sector support is not complete yet. 48-bit commands + possibly work. + WARNING: Not tested, please review code before first test! + + [CF] Linux: Migrate os_linux.cpp to new interface. + + [CF] Add direct access to 16-bit registers in 'ata_in/out_regs_48bit'. + + [CF] Add 'ata_cmd_is_ok()' parameter check, + remove 'ata_pass_through_28/48bit()' functions. + + [CF] Add CVS date/time from cvsversion.h to man pages also. + + [CF] Add configure option '--with-os-deps='os_module.o ...' to specify + alternate OS interface modules. Useful for testing during migration. + + [CF] Remove declarations of 'optarg', 'optind', ..., include <unistd.h> + instead. This fixes 'auto-importing' linker warnings on Cygwin. + + [CF] Add '-l sataphy[,reset]' to print SATA Phy Event Counters. + + [CF] Add '-l gplog,ADDR[,FIRST[-LAST|+SIZE]]' and '-l smartlog,...' + to dump any log page accessible via GP or SMART read log commands. + + [CF] Enhance '-l directory' to print both GP and SMART Log directories. + Add '-l directory[,gs]' modifiers to select GP or SMART log. + Enhance 'ata_cmd_in' parameter struct for 48-bit commands. + + [CF] Windows: Add full ATA pass through support including 48-bit commands. + + [CF] Windows: Migrate os_win32.cpp to new interface. + + [CF] SAT: Add full ATA pass through support including 48-bit commands. + + [MS] knowndrives.cpp update + - Added FUJITSU MHZ2250BS G2 and family + + [MS] knowndrives.cpp updates + - Added Maxtor DiamondMax 60 94098H6 + - Added Maxtor DiamondMax 1280 84000A6 and family + - Added Maxtor DiamondMax VL 30 31536H2 (ATA100) and family + - Some Seagate Barracuda 7200.9 have garbage at end of name: permit it + - Added Seagate Barracuda ATA ST320430A and family + - Regression from previous checkin: add WD RE2 WD...0ABYS again + - Added WD RE3 WD5002ABYS and family + - Added Quantum Fireball CR13.0A + - Added Hitachi Travelstar 5K250 HTS542525K9SA00 and family + - Added WD AC420400D and add whole range of AC.... which + have 5400rpm or higher (i.e. PIO-only drives omitted) + + [MS] knowndrives.cpp updates + - WD: Separated entries for EIDE and SATA + - WD: Separated entries for Caviar SE, SE16, RE, RE2 + - WD Named: WD Caviar AC series + - WD Renamed: WD Caviar RE/RE2 -> WD RE/RE2 + - WD Renamed: WD Caviar SE/SE16 WD....AA[A-Z][A-Z] -> WD Caviar Blue + - WD Renamed: WD Scorpio WD....BEV[A-Z] -> WD Scorpio Blue + - Added WD Scorpio Blue WD3200BEVT + - Added WD RE2 WD5001ABYS and family + - Added WD Caviar Green WD5000AACS and family + - Added WD VelociRaptor WD3000GLFS and family + - Added Seagate Barracuda ES.2 ST31000340NS and family + - Added Samsung SP80A4H + - Added Maxtor DiamondMax 21 STM3160215AS and STM3320620AS + - Added Seagate Barracuda 7200.7 ST380819AS + - Added Maxtor DiamondMax 10 6B100P0 + - Added Seagate SV35.2 Series + - Added Fujitsu MHY2120BH and family + - Added Fujitsu MHW2080BH PL (PL variant) + - Added Toshiba MK3252GSX and family + + [BA] Fix smartctl bug: when running in silent mode '-q errorsonly' + do not print the Selective Self-test log. Any errors will + ALREADY appear in the SMART Self-test log. + + [CF] Add missing 'const' and other minor fixes to prevent gcc warnings. + + [OB] Added information message about supported Areca firmware versions. + It's displayed in case the ATA device identification fails. + + [CF] Add configuration file for Doxygen. + + [CF] Add new object oriented interface to access ATA and SCSI devices. + smartctl and smartd are modified to use the new classes in + 'dev_interface.{h,cpp}'. The template class in 'dev_tunnelled.h' + is used in 'scsiata.cpp'. The code in 'dev_ata_cmd_set.{h,cpp}' + supports migration from old function 'ata_command_interface()'. + All existing 'os_*.cpp' modules should still work without any changes. + The required adapter classes from 'dev_legacy.cpp' are automatically + added by configure if necessary. + + [BA] Updated smartd and smartctl and smartd.conf man-page documentation + to reflect support for Areca SATA RAID controller cards. + + [OB] Added support for Areca controllers to smartd. Extensive tests + as well as documentation are still pending however. + + [OB] Implemented device locking for Areca controllers in smartctl + + [BA] Fixed selective self-test code. Data structure revision number + may be != 1 if no selective self-test has ever been run. Host + MUST set this value (at least at the first selective self-test + instance). Thanks to Curtis Stevens of WDC for clarification. + + [MC] usbcypress autodetection + + [BA] Starting to commit Areca code. For now just smartctl. + More changes and documentation coming soon. + Need Areca firmware version 1.45 dated 10 June 2008 or later. + May need changes in opening /dev/sg and file locking. + Many thanks to Hank Wu! + + [CF] smartd: Fix too small name buffer for 3ware with >100 devices. + + [JH] now C++ Support for QNX Target + already tested for QNX 6.3.2 on x86 and armle target + + [CF] Allows one to set BUILD_INFO from make command line. + + [CF] Windows: Add MSVC8 support, remove MSVC6 project files. + + [MC] Add usbcypress device support for smartd. + + [CF] Add output of latest CVS date/time stamp to version info. + New file cvsversion.h is generated by Makefile. + Move formatting of version info to utility.cpp. + + [AR] Fix bug in 3ware node creation where nodes would be created + then deleted, then recreated. + + [BA] Add missing CCISS cvs version tags to '-V' printouts. + + [TS] Linux: Ensure the 3ware device nodes are created with a correct + SELinux security context. + + [AR] Add support for up to 128 devices on 3ware controllers. + + [CF] C++: Added new main() with exception handlers, replaced + exit(x) with throw(x), removed global variable 'exitstatus'. + Necessary for future changes, because exit() does not call + any destructors. + + [SS] FreeBSD: plug file descriptor leak in smartd (only happens with + CISS devices). Reported by Vadim Ostranitsyn. + + [SS] FreeBSD: allow smartctl to interact with SCSI /dev/pass devices, + thus enabling it to work with RAID controllers that expose disks + via these devices. From scottl@ via FreeBSD ports. + + [MC] Add usbcypress device support for smartctl. + + [KS] INSTALL on Solaris: updated description to use C++ compiler. + + [KS] configure.in on Solaris: added options for Sun's compiler to + suppress trivial warnings. + + [KS] configure.in on Solaris: added direction to search suitable + libraries for getaddrinfo(). + + [TS] smartd on Linux: remove forgotten return from deviceopen(); + SCSI device descriptors had the FD_CLOEXEC flag unset. + + [CF] Added 'const' to avoid warning on depreciated string constant + to 'char *' conversion. + + [CF] autogen.sh: automake 1.10.1 is OK. Updated message texts. + + [BA] removed smartmontools.spec file (now in CVS Attic). This + was not being used by RH or FC anyhow, and was out of + date and not maintained. + + [BA] smartd on Linux: sets FD_CLOEXEC on the opened device file + descriptor. The descriptor is otherwise leaked to other + applications (mail sender) which may be considered a security + risk and may result in AVC messages on SELinux-enabled systems. + Thanks to: Tomá Smetana" <tsmetana@redhat.com>. + + [BA] smartd: when sending email, to gather information about the + host for the body of the email, eliminate gethostbyname() + in favor of the IPv6-friendly function getaddrinfo() if the + latter is available. Info may be found here + http://udrepper.livejournal.com/16116.html + and here + http://people.redhat.com/drepper/userapi-ipv6.html + Thanks to: Tomá Smetana" <tsmetana@redhat.com>. + + Smartmontools developers: please check that smartd still LINKS + properly on your systems. + + [BA] Fix ugly syntax bug in os_freebsd.cpp. How did this go + undetected for so long?? + +SMARTMONTOOLS STABLE RELEASE 5.38 2008/03/10 + + [KS] Solaris/x86: modified configure.in for Sun's compiler. + + [BA] smartd.initd.in addition from Erwan Velu <erwan@seanodes.com> + + [BA] smartd fixes: + + - On Linux, DEVICESCAN now automatically recognizes SATA devices + behind libata, and SATA devices behind the Marvell driver, and + treats them correctly. + + - On Linux, a '-d sat' or '-d marvell' is automatically added + if libata or the marvell driver are recognized behind a SCSI + device type + + [SS] (Maybe) fix attribute autosave in FreeBSD. + + [SS] Major NetBSD-specific bugfixes: + - handle actual SCSI and ATA errors and not only ioctl() errors; + - set up I/O request properly for AUTO_OFFLINE and AUTOSAVE commands (inspired by + similar change in os_freebsd.cpp); + - handle AUTO_OFFLINE and AUTOSAVE like STATUS_CHECK (like os_linux.cpp does). + + [GG] add kfreebsd gnu support to configure.in + + [BA] Fix auto-offline support in FreeBSD. Thanks to + Cyrus Rahman <crahman@gmail.com> for the patch, and + Eduard Martinescu for blessing it. + + [DG] smartd re-opens "SCSI" devices as ATA devices if a SAT layer is + detected (smartd bug IMO). In Linux this upsets scsi generic + device nodes (e.g. /dev/sg0). Detect the re-open in os_linux.cpp + and set the O_RDWR flag (ATA uses the O_RDONLY flag). + + [CF] Drive database: Added Fujitsu MHW2 BH, Maxtor DiamondMax 17, 20, 21, + Hitachi Travelstar 4K40, 5K120, 7K200, Deskstar 7K160, T7K500, + T7K1000, Toshiba 1.8", Seagate Momentus 5400.3, 5400.3 ED, 7200.2, + Barracuda 7200.11 and ES. + Updated Toshiba 2.5", Seagate Barracuda 7200.9 and 7200.10. + Added missing "(Hitachi )?" to Travelstar entries. + + [CF] Drive database: Added several Western Digital Caviar and Scorpio + drives, added Caviar RE EIDE family. + + [CF] Drive database: Added Samsung P80 series with *-25 firmware. + + [CF] Replaced 'head [-n] -1' by 'sed 1...' in autogen.sh to avoid + portability issues. + + [BA] Fixed autogen.sh script so that it uses 'grep -n 1' if 'grep -1' + fails. Needed for Mac OS X 10.4. Uck. + + [CF] Windows: Added IOCTL_STORAGE_PREDICT_FAILURE. This allows access + to ATA SMART status and data if other calls do not work. + Thanks to Jaroslaw Kowalski for pointing this out. + Added support to use this function without admin rights. + + [CF] Added ATA-8 revision 4c message text. + + [CF] Added compiler.h to cciss_ioctl.h header check to prevent + configure warning. + + [SS] DragonFly support added (using os_freebsd code; untested). + + [CF] smartctl: Fixed ATA identify byte swapping issue on big-endian + platforms. This regression was introduced by the change for + '-F swapid'. Thanks to Matthew Butch for bug report and testing. + + [DG] SAT/SCSI: Improve SAT error processing code. Aborted commands from + ATA devices (typically because SMART was disabled) were not being + properly detected. + + [GG] smartd: wait for the pid file to show up, return an error if it doesn't + + [JH] fix bad return code (get STATUS) for QNX Part + + [JH] initial porting to QNX Neutrino 6.3.2 + need at this time a prerelease devb-eide driver and libcam.so.2 + only tested for X86 Target, but devb-eide and lobcam.so.2 available for X86/ARM + the officional driver coming soon with the next QNX release + create two new source files os_qnxnto.[c..h] + + [CF] smartd: Added option '-n, --no-fork' so that smartd works + better with modern init methods. Thanks to Enrico Scholz + for the patch from 2005-12-24. + + [CF] Windows: Improved ATA/SCSI device type detection and + DEVICESCAN. This also fixes a regression in 3ware DEVICESCAN. + + [CF] smartd: Don't start self tests in first pass to avoid + performance problems during boot. + https://bugzilla.novell.com/show_bug.cgi?id=192591 + + [CF] Fixed regression in SMART STATUS command on Win9x/ME. + + [BA] Fixed 3ware issue with new controllers. Documentation said + that one could address up to 24 disks on a single controller, + but in fact one was limited to 16 disks. This is now fixed: + up to 32 disks can be addressed. Thanks to Adam Radford. + + NOTE1: I have patched the Linux and FreeBSD code but not + modified the Win32 code (it already supports up to 32 disks). + + NOTE2: NOT TESTED ON LINUX. Do not use this on a production box! + I will remove this NOTE2 as soon as some positive test + reports are received. + + NOTE3: NOT TESTED ON FREEBSD. Do not use this on a production box! + I will remove this NOTE3 as soon as some positive test + reports are received. + + [CF] Windows installer: Added explorer drive menu, CMD window, + UBCD4Win plugin, smartd service update and other minor + improvements. + + [CF] Windows: Modified drive letter handling for explorer drive + context menu: try SCSI if type is unknown, allow 'X:\.' syntax. + + [CF] Windows: Added automatic ATA/SCSI device type detection and + SCSI device scanning. The device names '/dev/sdX' and + '/dev/pd<n>' now work for both ATA and SCSI disks. + + [CF] smartctl: Added ability to parse '-r ataioctl,2' output from + stdin ('-') and simulate the ATA commands for testing purposes. + + [BA] SMART Attributes: added 187, 189, more accurate name for 190. + + [CF] Windows: Added drive letters 'X:' as alternate disk device names. + + [CF] smartctl: Added '-F swapid' to fix ATA identify string byte + ordering. Added '-q noserial' to suppress serial number output. + + [CF] Windows: Added '/dev/n?st<n>' as alternate device names for SCSI + tapes. These names are also used by Cygwin's /dev emulation layer. + Thanks to Corinna Vinschen (Cygwin project lead) for pointing this + out. + + [CF] Windows: Added IOCTL_SCSI_MINIPORT_*SMART* for commands not handled + properly by SMART_IOCTL in disk class driver. This allows one to use + READ_LOG, WRITE_LOG and ABORT_SELFTEST even if the driver does not + support ATA_PASS_THROUGH. + + [CF] Added ATA-8 revision 4, fixed WRITE LOG '-r ioctl' output. + + [BA] Updated smartctl and smartd so that they can be used with the latest + 3ware controllers which have 24 ports. Also updated docs. + Thanks to Tim Bell at CERN. + + [GG] bit 4 in smartctl's return code might be set even when the dist check + didn't return "DISK OK" + + [CF] Drive database: added '-F samsung3' for Samsung P80 firmware + BH100-35. + + [SS] Applied patch from Dean Bennett to fix scheduled tests on + Highpoint RAID controllers. + + [BA] Added patch from Tejun Heo http://thread.gmane.org/gmane.linux.ide/13222/focus=13235 + to fix broken auto-offline and auto-save via libata. Very clean fix: does it + "the right way". Thanks Tejun! + + [CF] Added message text for ATA-7 self-test execution status 8 + ("... handling damage"). + + [GG] cciss: support more than 16 disks (patch taken from + http://cciss.sourceforge.net/smartmontools_cciss_more_than_16_drives.patch + and adjusted for smartd) + + [DG] Solaris: [SCSI] add USCSI_RQENABLE flag to uscsi pass-through so + sense buffer is made available. Expand reporting at this level. + + [GK] Darwin: Improve handling of powered-down drives. + + [SS] CCISS physical drive enumeration method changed (incompatibly). + + [CF] Fixed smartd crash on missing '-s' directive argument. + + [SS] Support CCISS on FreeBSD (kernel source is required until FreeBSD PR 109813 + is fixed). + + [DG] SCSI/TAPE: some IBM tape drives don't react properly to a LOG + SENSE with an allocation length of 4; work around for that case. + + [CF] Applied Guido's patch to fix CCISS LUN array bounds check + (openSUSE bug #239956) and remove trailing spaces in + os_linux.cpp. + + [CF] Fixed 64-bit compilation issue in SCT status struct. + + [DG] SAT/SCSI: make real SCSI disks visible to DEVICESCAN in + smartd again. + + [CF] Fixed check of SCT temperature table size. + + [CF] Added ATA-8 draft revisions, added SCT status format 3. + + [CF] Drive database: added Samsung T166 series. + + [CF] ATA: Added ',p' option for '-t scttempint,N' to make + setting persistent. + + [CF] ATA: Added '-t scttempint,N' option to set SCT temperature + logging interval. + + [CF] ATA: Added '-l scttemp[sts,hist]' options to print disk + temperature information and history table provided by + SMART Command Transport (SCT) Feature Set. + + [CF] ATA: Added '-t selective,{redo,next,cont}' commands to + perform tests based on the last ranges still stored on + disk. Added 'N+SIZE' and 'N-max' format for LBA range + specification. + + [CF] Added Min/Max Temperature format used in attribute 190 of + recent Maxtor disks (DiamondMax 20). + + [CF] Linux: Added check for <linux/cciss_ioctl.h> to allow build + (without CCISS support) also when this file is missing. + + [CF] Added -F samsung3 option to correct firmware bug reporting + completed self-tests as still in progress. Thanks to Manfred + Schwarb for the patch. + + [CF] Added missing const specifiers (undetected by gcc 3.4 and 4.X) + to fix compilation with gcc 2.X. + + [CF] Linux: compile fix for SuSE, config.h must be included first. + +smartmontools 5.37 Experimental Release + + [CF] Windows: Added alternate method for (limited) monitoring of + 3ware controllers by parsing the output of CLI or 3DM. + Either "tw_cli" can be run internally ("/dev/tw_cli/cx/py"), + or data can be read from standard input ("/dev/tw_cli/stdin") + or clipboard ("/dev/tw_cli/clip"). + + [DG] Remove linux specific libata detect code; rely on general SAT + code. smartd should now generate a sensible log message for + ATA devices behind a SAT layer on all architectures. + + [BA] Increased max line length MAXLINELEN for /etc/smartd.conf from + 128 to 256 characters to handle long strings in + /dev/disk/by-id. Thanks to Martin Krafft. + + [PW] Drive database: added missing drives from Seagate Momentus 5400.2 + family + + [BA] Finished Christian's fix (next item below) by removing + LINUX_86_64 hack from configure.in. + + [CF] Fixed inclusion of PRI?64 macros from inttypes.h. + + [CF] Windows: Added WRITE LOG to support selective self tests. + + [CF] Fix selective self test log revision number if '-T permissive' + is specified (Tested with Samsung HD401LJ). + + [CF] Windows: Fixed int64 printf format for MinGW runtime. + + [PW] Drive database: added Seagate Barracuda 7200.10 family, Seagate + Momentus 42 family, Maxtor DiamondMax 60 ATA 66 family, Maxtor + DiamondMax 60 ATA 100 family, and Western Digital Caviar Serial + ATA family + + [PW] Drive database: added missing drives from Seagate Barracuda + 7200.9 family, Seagate Barracuda 7200.7 family, Seagate Momentus + 7200.1 family, Toshiba 2.5" HDD family (80 GB and above), Western + Digital Caviar RE Serial ATA family, Hitachi Deskstar 7K80 family, + and Maxtor DiamondMax 4320 Ultra ATA family + + [BA] Linux: compile fix for SuSE. Check for existence + of linux/compiler.h and include in os_linux.h if + present. Thanks to SB. + + [BA] smartd: DEVICESCAN will now pick up SATA/SAT devices + attached to a SCSI device tree via SAT translation. + Note: this is a bit of a hack. I will document it once + I know if this needs to be Linux only or can have more + general application. + + [BA] Added a couple SATA commands to the tables -- thanks DG! + Phil -- how about going through and systematically adding + these new commands to atacmdnames.cpp? + + [BA] Linux s86_64: get rid of some compiler warnings on + x86_64 Linux systems. + + [CF] Windows: Added missing support for READ_LOG, ABORT_SELFTEST + and CHECK_POWER_STATE for 3ware 9000 controllers. Thanks to + Greg de Valois for implementing this new ioctl in the driver. + + [PW] Drive database: added Seagate NL35 SATA family. Thanks to Kai + Harrekilde-Petersen for providing a patch. + + [DG] [SCSI, Windows] add SPT interface for NT and later. New device + names are "pd<n>", "sd<l>" and "tape<n>". + + [PW] Drive database: added Western Digital Scorpio family, Fujitsu MHV + family, Maxtor MaXLine Pro 500 family, and Maxtor DiamondMax 11 + family + + [PW] Drive database: added missing drives from Toshiba 2.5" HDD + (30-60 GB) family, Maxtor DiamondMax 10 family, Seagate Barracuda + 7200.8 family, Fujitsu MHT family, and Maxtor DiamondMax Plus 8 + family + + [SB] Added examplescripts/Example4 using powersave-notify. + + [SB] More temperature monitoring examples in smartd.conf with DEVICESCAN. + + [SB] Minor improvements of SuSE part of init script. + + [CF] Drive database: added Samsung P80 series, P120 series, SP8004H + and T series. + + [GG] Add CCISS (Compaq Smart Array Controller) support with contributions + from Praveen Chidambaram, Douglas Gilbert, Guido Guenther and Frédéric + BOITEUX + + [PW] Drive database: added Hitachi Deskstar T7K250 and Hitachi + Deskstar 7K500 series. Thanks to L. J. Wu for providing a + patch + + [PW] Drive database: added Maxtor MaXLine III family, Seagate U7 + family, Seagate ST34321A, FUJITSU MHM2060AT, FUJITSU MHT2040AS, + Western Digital Caviar SE16 family, IBM Travelstar 4GT family, + QUANTUM FIREBALLP KA9.1, QUANTUM FIREBALL SE4.3A, TOSHIBA + MK1032GAX, TOSHIBA MK4026GAX + + [PW] Drive database: added missing drives from Western Digital Caviar + SE (Serial ATA) and WD Raptor families + + [CF] Windows: Added support for 3ware 9000 controllers using extended + SMART functionality in new 3ware driver. This includes DEVICESCAN + support for at most 2 controllers. Thanks to Greg de Valois from + AMCC/3ware for new driver features, development support and + hardware for testing. + + [SZ] smartd: Support HighPoint RocketRAID controller under GNU/linux + + [DG] [SCSI] First cut for '-l background' to show background scan + results log + + [SZ] smartctl: Support HighPoint RocketRAID controller under GNU/linux + + [KS] C++ compile fixes for Solaris with a few cleanups. + + [BA] C++ compile fixes for Darwin (thanks to CF) + + [CF] Removed old *.c files (now in CVS Attic). + + [CF] Added changes for C++ to platform independent and Windows + related files. + + [BA] Tagged last .c Version with PRE_MOVE_TO_CPP. Copied *.c,v + to *.cpp,v in CVS repository to preserve history of source + files. Removed sm5_Darwin repository. + + [CF] smartctl: Added -n option to skip checks when disk is in + low-power mode. + + [CF] Windows: Added alternate system call for power state check + because the PASS THROUGH calls may spin up the disk. + + [CF] smartd: Modified power state logging to report state changes + instead of standby condition. + + [CF] smartd: Ignore -n directive on scheduled self tests. + + [DG] [SCSI] Make start stop cycle counter log page decoding + more robust + + [DG] Modify smartctl (but not smartd) to detect probable ATA + devices behind a SAT layer. In the absence of an explicit + device type, change to device type 'sat'. + + [DG] Add indication that controller (device) type has been + explicitly set. Preparation for automatic detection of + 'sat' device type unless user specifies a device type. + + [SS] NetBSD: Deliver strings from ata_identify_device properly + on little- and big-endian platforms. + + [BA] Added published ANSI ATA-7 spec to list of recognized ATA + versions. + + [BA] Code janitor: added missing header strings for '-V' option. + + [DG] [SATA] Extend 'sat' device type to allow either 12 or 16 byte + variant of the SAT ATA PASS THROUGH SCSI command. Syntax is + '-d sat,<n>' where <n> can be 0, 12 or 16 . The ',<n>' part + is optional. Currently defaults to 16 byte variant but that + could be made platform or even device dependent. + + [DG] [SATA] Add new 'sat' device type for SATA disks behind a + SCSI to ATA Translation (SAT) Layer (SATL). Uses the ATA + PASS THROUGH (16) SCSI command thence the generic SCSI + passthrough for each platform. + + [CF] Windows: Added script and make targets to create installer + with NSIS (http://nsis.sourceforge.net/) + + [CF] Updated hostname and links for new SourceForge CVS service. + + [CF] smartd: Added '-W' directive to track temperature changes + and warn if temperature limits are reached. + + [CF] Windows: Added IOCTL_ATA_PASS_THROUGH (Win2003, XP SP2) + for commands unsupported by SMART_IOCTL. Added device + specific options to select subset and ordering of the ATA + IOCTLs actually used. These options are specified as + modifiers of the device name (/dev/hd[a-j]:[saic]+) + + [CF] Windows: Added support for drives 4-7 (/dev/hd[e-h]) via + SMARTVSE.VXD on Win9x/ME. Thanks to Dariusz Rzonca for + patch and testing. + + [DG] [SCSI/SATA linux] from lk 2.6.17 SATA disk identification in + libata will change. Expand LibAta detection to see old + identifier and new variant (VPD page 0x83). + + [BA] Identified Attribute 190 for Western Digital disks. This + stores temperature in Celsius, just like Attribute 194. + But it has a failure threshold set to correspond to the + maximum design operating temperature of the disk, which + is 55 Celsius on the WD800JD drives that I studied. + So if this Attribute has 'failed + in the past' this means that the maximum disk operating + temperature has been exceeded. + + [GK] Darwin: Add support for AHCI drivers found in Intel-based Macs. + +smartmontools 5.36 Stable Release + + [BA] Linux: smartd/smartctl issue syntax hints to user if 3ware + disk controller present with EITHER 3ware OR AMCC vendor + name, and user syntax incorrect. + + [BA] Update copyright dates to 2006. + + [DG] [SCSI] Loosen sanity check on Seagate/Hitachi factory information + log page so it is not skipped on recent Seagate SCSI disks. + + [CF] Added command 'smartd -q showtests' to list test schedules. + + [CF] Added command 'smartctl -P showall MODEL [FIRMWARE]' to list + database entries for specific drives and firmware. + + [PW] Automatically set -v 9,minutes and -v 194,unknown for Maxtor + DiamondMax D540X-4G drives. + + [DG] [SCSI] suppress various outputs when data fails sanity checks. + Correct 'last n error events' log page indexing. + + [DG] [SCSI] changed smartctl exit status to reflect any problems in + the most recent 20 self test logs [Leandro Santi] + + [DG] [SCSI] Fix process return value when scsiGetSmartData() fails + in smartctl [Leandro Santi] + + [BA] Updated docs and error message to reflect Linux libata + support for smartmontools starting with the 2.6.15 kernel + series. Also init script support for the 'tinysofa' release. + + [DG] [SCSI] Mask dpofua bit when changing mode pages. Fix failure + of 'smartctl -l error'. + + [EM] Fixed a problem with FreeBSD and 3Ware 'twe' devices + + [CF] Fixed a regexp in knowndrives table, added regexp syntax check + via 'smartctl -P showall'. + + [CF] Cygwin & Windows: Fixed memory leak in function calling + IOCTL_IDE_PASS_THROUGH. Thanks to Fred Schmidt for the problem + report. + + [CF] Cygwin: added cygrunsrv support and commands "install", "remove" + and "status" to smartd.initd. + + [SS] Fix runtime problems on big-engian NetBSD platforms (patch provided + by Martin Husemann) + + [CF] Cygwin smartd: Open smartd.conf in textmode to allow use of + Windows editors. + + [CF] Cygwin smartd: Added option '--service' to allow smartd running + as windows service via cygrunsrv. Useful in conjunction with new + syslogd support added in Cygwin 1.5.15. + + [CF] Windows: Added patch to avoid output of non-ascii timezone names. + + [EM] Incorporate various patches to provide TWE support and support for + multiple 3Ware cards, Power Check Support, and FreeBSD 6.x support. + Thanks to Rudolf Cejka, Frank Behrens, and Jung-uk Kim. + + [DG] Silence gcc 4.0.1 compile warning concerning the difference in + "signedness" in pointer assignments. Changes to SCSI code + and os_linux.c . + + [PW] Additions to knowndrives table: added missing drive from Quantum + Fireball Plus LM series, added QUANTUM BIGFOOT TS10.0A, added + ExcelStor J680 and J880, added Western Digital Caviar RE Serial ATA + series, added missing drives from Western Digital Caviar SE series, + added Seagate Momentus 4200.2 series, added missing drives from + Maxtor DiamondMax 10 series, added Fujitsu MHG and MHH series, and + added Hitachi Travelstar 5K100 series. + + [PW] Additions to knowndrives table: added Fujitsu MHU2100AT, added + Fujitsu M1623TAU, added missing drives from Seagate Barracuda + 7200.8 series, added Seagate Momentus 5400.2 series, and added + QUANTUM FIREBALL CR8.4A. + + [PW] Additions to knowndrives table: added missing drive from Maxtor + MaxLine II series, added Maxtor DiamondMax 2880 Ultra ATA series, + added Maxtor DiamondMax 17 VL series, added Hitachi Deskstar 7K80 + series, and added Hitachi Deskstar 7K400 series. + + [CF] Windows: Fixed unsupported 'smartctl -X' on Win2000/XP by using + IOCTL_IDE_PASS_THROUGH instead. + +smartmontools 5.34 Stable Release [NOTE: never officially released] + + [CF] Cygwin & Windows smartd: Increased SCSI DEVICESCAN range + from ASPI adapter 0-3 to 0-9. Added diagnostic messages. + + [CF] Windows smartd: Added ability to run .bat files via '-M exec' + directive. + + [CF] Cygwin smartd: Added FreeConsole() after fork() to avoid hang + of terminated shell console window. + + [DG] [SCSI] Add code so 'smartctl -A' outputs the number of elements + in the grown defect list. When this number is increasing a + disk has problems. N.B. Similar logic should be added to smartd. + + [CF] Windows smartd: Fixed event handling to allow start of another + smartd process when service is already running. Useful for testing + service configuration changes in debug mode. + + [PW] Added following drives to knowndrives table: Western Digital Raptor + family, Seagate Barracuda 7200.8 family, Maxtor DiamondMax 2160 + Ultra ATA and DiamondMax 10 families, Hitachi Travelstar E7K60 + family, Seagate Medalist 17240, 13030, 10231, 8420, and 4310, + TOSHIBA MK4018GAP and MK6022GAX, ExcelStor Technology J360, and + Western Digital Caviar AC14300. + + [PW] Added missing Fujitsu MHTxxxxAT and Seagate Barracuda 7200.7 drives + to knowndrives table. + + [PW] Added QUANTUM FIREBALLP LM10.2 to knowndrives table. Thanks to + Mike Fleetwood for submitting the patch. + + [KS] Solaris/SPARC: fixed not to disable automatic offline test and + automatic save attributes incorrectly. Thanks to Roy Badami. + + [BA] Linux: smartd init script now recognizes 'trustix' distro. + + [DG] [SCSI] Medium and hardware errors were slipping through + unreported. Fix linux SCSI sense reporting via SG_IO ioctl. + + [DG] [SCSI] Change lba of first failure in selftest output to + decimal (was hex) to conform with ATA output. + + [GK] smartd: Detect most self-test failures even if the hour counter + has wrapped. + + [BA] smartctl: list 'marvell' as option if user give invalid + -d argument + + [CF] Windows: fixed SCSI timeout handling to allow long timeouts + for selftests. + + [CF] Fixed buffer overflow issues in printone() and safe_vsnprintf() + which results in crash on -V option (at least on Windows). + + [DG] [SCSI] Add explicit timeouts to INQUIRY and REQUEST SENSE (that + were missed in an earlier patch). Could have impacted freebsd. + + [DG] When linux detects a sata_via_libata disk suggest that user try + '-d ata' (rather then '-d libata). Anticipate kernel change. + + [YD] Added OS/2 and eComStation platform support. + + [PW] Added Seagate U4 family, Fujitsu MHJ and MHK families, Seagate + Barracuda 5400.1, QUANTUM FIREBALLP KX27.3, QUANTUM FIREBALLP KA10.1, + and ExcelStor J340 to knowndrives table. + + [DG] [SCSI] After report of Hitachi IC35L073UCDY10 disks locking up + on log page 0x7 (last n error events), check log page (and some + others) is supported (via log page 0x0) before probing. + + [CF] Added safe_v?snprintf() for platforms using v?snprintf() + with non standard behaviour on overflow (Windows, old Linux) + + [CF] smartd: Added message if check power mode spins up disk. + + [CF] Windows: Added support for READ_LOG on WinNT4 using undocumented + pseudo SCSI command via IOCTL_SCSI_PASS_THROUGH. + + [CF] smartd: Added ',q' option for '-n' directive to suppress 'skipping + checks' log message. This prevents a laptop disk from spinning up + due to this message. Thanks to Rob MacLachlan and Manfred Schwarb + for pointing out problem & solution. + + [CF] Windows: Added function get_os_version_str() to show OS flavor in + copyright message. + + [CF] Windows: Added function ata_identify_is_cached() to check for outdated + SMART enabled bit in identify data. + + [CF] Windows: Added fix to prevent linkage of smartd specific win32 modules + to smartctl. + + [PW] Added Fujitsu MPG3153AH, Hitachi Endurastar J4K20/N4K20 (formerly + DK23FA-20J), Seagate Momentus family, and Maxtor Fireball 3 family + to knowndrives table. + + [PW] Added missing Maxtor DiamondMax 16, Seagate Barracuda ATA IV, and + Western Digital Caviar WDxxxAA/WDxxxBA drives to knowndrives table. + + [CF] Windows: Added ATA check power mode for smartd -n directive. + + [CF] Windows: Fixed use of new service status flag which causes hang + of smartd service on WinNT4. + + [CF] Windows: Fixed error checking of IOCTL_IDE_PASS_THROUGH (used + for READ_LOG on 2000/XP). Added some diagnostic messages on + -r ataioctl[,2]. Thanks to Manfred Schwarb for bug report and testing. + + [BA] Fixed code bug that made it impossible to enable SMART on + disks with failing health status. This would happen if the + os_*.c author made STATUS and STATUS_CHECK work the same way. + I have corrected this at a higher level; we now handle the + case where STATUS and STATUS_CHECK are identical without + issues. + + [LW] Make os_linux.c/marvell_command_interface() always return 0 on STATUS. + Needed for a disk having bad SMART status. + + [CF] smartctl: Added drive family printing. + + [CF] autogen.sh: Allow automake 1.9, added message if automake + version is unknown. + + [BA] smartctl: use locale-specific separators for printing disk + capacity. Also use AC_CHECK_HEADERS not AC_CHECK_HEADER in + configure.in. + + [BA] clean-up of #include structure so that -V options to smartd + and smartctl work correctly. Please, don't #include header + files into other header files. + +smartmontools 5.33 Experimental Release + + [BA] smartctl: ATA disks, if SMART ATTRIBUTE THRESHOLDS page has ID + errors with some Attributes having NULL IDs, print Attribute + info anyway (but issuing a warning to the user). + + [DG] [SCSI] Decode Last n error events log page; decode track following + and positioning errors [Hitachi] + + [EM] FreeBSD: another tweak, __packed__ introduced in Version 5.0040 + + [EM] Cleaner tweak of fixes for FreeBSD 4.x. + + [EM] Fix compilation errors under FreeBSD 4.x, as it is still using + and old GCC + + [EM] Remove 3ware/FreeBSD specific files and just include pieces we need + + [DG] Add logic in smartd to detect 3ware, Marvell controllers and SATA + disks behind an ATA-SCSI simulator (in Linux). If specific device + types are not given and they are picked in a general SCSI device + scan then warn and skip. + + [GG] insert correct path to smartd into smartd's init script + + [BA] Changed all default paths in documentation to reflect /usr/local as + default path prefix. This affects on-line man pages, primarily. + + [DS] Added support for OpenBSD + + [BA] Added another environment variable SMART_FULLMESSAGE set by + the smartd mailing feature, and modified examplescripts/Example1 + to illustrate it. + + [BA] Fixed potentially misleading messages of the form: + XXX failed: success + + [DG] emit warning if SATA disk detected using libata in Linux; then exit + + [PW] Added Seagate U10 family, Hitachi Travelstar 7K60, Fujitsu MHR2020AT, + and QUANTUM FIREBALLP AS20.5 to knowndrives table. + + [DG] Detect 3ware and Marvell controllers from SCSI INQUIRY vendor string + and suggest usage of appropriate '-d' argument in smartctl. + + [LW] Tested the RELEASE_5_33_WITH_MARVELL_SUPPORT branch on + actual Marvell 88SX5041 hardware, with success. + Merged into HEAD. + + [BA] Fixed nasty DEVICESCAN bug + + [BA] Checked in RELEASE_5_33_WITH_MARVELL_SUPPORT branch with + some Marvell support. + + [BA] Additional modifications of Ed's controller scheme. Fixed + broken 3ware support under linux, problems with scanning + devices in smartd, and other small problems. + + [CF] Added make targets to build formatted man pages (htmlman, txtman), + Windows distribution (dist-win32) and MSVC6 config.h (config-vc6). + + [EM] Minor change to FreeBSD inclusion of 'twe' include files. Add + code to check if they existing in /usr/include/sys to use those + in preference to ones added here + + [EM] Very preliminary support attempt for 3Ware controllers under + FreeBSD. Also, switched 'escalade_type/escalade_port' to + 'controler_type/controller_port' and moved away from + 'tryata/tryscsi' to using new 'controller*' variables to + determine which controller type (ATA/SCSI/3Ware) to use. + + [GK] Added initscript support for Darwin. + + [CF] Windows smartd: Added ability to run smartd as a windows service, + including new commands "smartd install ..." and "smartd remove" + to install and remove the service registry entry. + + [BA] smartd: warn user if -s regexp regular expression contains + characters other than 0123456789.*()|+?[-]{}:=SLCO since such + characters are 'suspicous' and may indicate a poorly formed + regexp. Extended regular expression gurus: can this list be + reduced somewhat? + + [CF] Fixed bug in Windows smartd: Missing close of config file when + configuration is reloaded by smartd daemon. + + [CF] Windows smartd: Added mail warning feature using the "Blat" + (http://blat.sourceforge.net/) mailer as a default. + + [PW] Added Maxtor DiamondMax Plus 5120 Ultra ATA 33 series and TOSHIBA + MK3017GAP to knowndrives table. + + [CF] Added fixes to build smartmontools on old Linux systems + (libc < 6, Kernel 2.0.x). + + [BA] Added ATA minor version identity strings for latest ATA specification + updates: ATA/ATAPI-7 T13 1532D revision 4a and ATA/ATAPI-6 published, + ANSI INCITS 361-2002 + + [PW] Added Hitachi Travelstar 5K80 family and Fujitsu MHTxxxxAH family to + knowndrives table. + + [EM] Fix up compilation under FreeBSD < 5.x + + [PW] Added QUANTUM FIREBALL EX3.2A and missing Western Digital Caviar SE + drives to knowndrives table. + + [BA] Modified Hitachi Travelstar 80GN family regexp in drive database. + Thanks to [GK/CF] for problem & solution. + + [GK] Added os_darwin.[ch] + + [PW] Added the following drives to the knowndrives table: IBM Travelstar + 48GH, 30GN, and 15GN family; IBM Deskstar 37GP and 34GXP family; + Western Digital WDC WD272AA; Maxtor DiamondMax D540X-4D family; + TOSHIBA MK2016GAP, MK2018GAP, MK2018GAS, MK2023GAS; and + QUANTUM FIREBALL ST3.2A + + [BA] smartd/smarctl now print build HOST/OS information as part + of startup slogan. This should make it slightly easier to + read bug reports from users. + + [RZ] Fixed the DEVICESCAN to do what it was supposed to do - give + error message unless scanning is in progress. + + [BA] Update documentation to describe 3ware character devices. Better + error detection for missing/malfunctioning devices behind 3ware + controllers. Now pack 3ware ioctl structures explicitly. + + [BA] For ATA devices that support LBA mode, print capacity as part + of smartctl --info + + [RZ] Made DEVICESCAN quiet about non-existing devices unless debug + is on. + + [DG] treat "unit attention" SCSI warning as try again in some contexts + (test unit ready and mode sense) + + [BA] on drives that store max/min rather than min/max, get order + correct in printing temp. + + [BA] fixed typo in 'smartctl -h' output. Thanks to Gabor Z. Papp. + + [BA] linux: clean-up to 3ware/AMCC support; dynamically create + or fix /dev/tw[ae][0-15] device node entries if they don't + exist or are incorrect. One can now use the character devices + /dev/twe[0-15] OR /dev/sd? for 3ware 6000/7000/8000 series + cards. One must use /dev/twa[0-15] for 3ware 9000 series cards. + Note that selective self-tests now work via /dev/tw[ae] devices. + Next step: documentation. + + [BA] linux: experimental "support" for 3ware/AMCC 9000 series + controllers that use the 3w-9xxx driver. This will be in a + state of flux for a few days. Note that this requires the + character interface /dev/twa[0-15]. + + [DG] linux: extend general SCSI OS interface to use the SG_IO ioctl. If + not available, use the older SCSI_IOCTL_SEND_COMMAND ioctl. + + [KS] Solaris/x86: fixed system identification problem in configure + script. Thanks to Stuart Swales. + +smartmontools 5.32 + + [BA] Update link to revised/updated IBM Deskstar Firmware + + [CF] Cygwin & Windows: Added missing ASPI manager initialization + with GetASPI32SupportInfo(). Thanks to Nikolai SAOUKH for pointing + this out and providing a patch. + + [BA] modified smartd init script to work on whitebox (thanks to + Michael Falzon) + + [BA] removed (reverted) additional Attribute definitions from + http://smart.friko.pl/attributes.php. All (or most?) of these + appear to be return code values for the WD Digital Life Guard Utility. + + [PW] Added Seagate Medalist 17242, 13032, 10232, 8422, and 4312 to + knowndrives table. Added missing Seagate U Series 5 drives. + + [PW] Added the following QUANTUM models to knowndrives table: + FIREBALL EX6.4A, FIREBALLP AS10.2, FIREBALLP AS40.0, FIREBALL CR4.3A, + FIREBALLP LM15, FIREBALLP LM30, and FIREBALLlct20 30 + + [PW] Added missing Western Digital Protege drives to knowndrives table. + + [PW] Added Maxtor DiamondMax 40 ATA 66 series and DiamondMax 40 VL Ultra + ATA 100 series to knowndrives table. + + [PW] Added the following Hitachi/IBM drives to knowndrives table: + HITACHI_DK14FA-20B, Travelstar 40GNX series, Travelstar 4LP series, + and Travelstar DK23XXB series. Added the missing Travelstar 80GN + drives. + + [PW] Added Fujitsu MPB series and MPG series to knowndrives table. Added + the missing Fujitsu MHSxxxxAT drives. + + [KS] Solaris: added workaround for dynamic change of time-zone. + + [KS] Solaris: fixed problem that autogen.sh cannot detect absence of + auto* tools. + + [BA] smartd: added time-zone bug information to man page. + Reverted CF code for _WIN32 case. + + [CF] Cygwin & Windows: Added better error messages on IDE/ATA device + open error. + + [BA] added additional Attribute definitions from + http://smart.friko.pl/attributes.php + + [BA] smartd: reworked TimeZone bug workaround so it is only invoked + for glibc. Note: this might not be right -- a similar bug may + exist in other platform's libcs. + + [DG] SCSI smartmontools documentation updated [2004/5/6]. See: + http://smartmontools.sourceforge.net/smartmontools_scsi.html + + [CF] Windows: Fixed reset of TZ=GMT in glibc timezone bug workaround. + +smartmontools 5.31 + + [DG] move SCSI device temperature and start-stop log page output + (smartctl) into --attributes section (was in --info section). + + [GG] change default installation location to /usr/local + + [CF] Cygwin smartd: Fixed crash on access of SCSI devices after fork(). + + [PW] Added TOSHIBA MK4018GAS and the following Maxtor drive families + to knowndrives table: DiamondMax D540X-4G, Fireball 541DX, + DiamondMax 3400 Ultra ATA, DiamondMax Plus 6800 Ultra ATA 66. + + [PW] Added missing Maxtor DiamondMax 16, DiamondMax D540X-4K, and + DiamondMax Plus 45 Ulta ATA 100 drives to knowndrives table. + + [PW] Added ExcelStor J240, Hitachi Travelstar 80GN family, Fujitsu + MHTxxxxAT family, and IBM Deskstar 25GP and 22GXP families to + knowndrives table. + + [CF] Cygwin smartd: Added workaround for missing SIGQUIT via keyboard: + To exit smartd in debug mode, type CONTROL-C twice. + + [BA] smartctl: printing of the selective self-test log is now + controlled by a new option: -l selective + + [BA] Added entries for Samsung firmware versions -25 to -39 based + on latest info about firmware bug fixes. + + [PW] Added Seagate U Series X family, Seagate U8 family, and Seagate + Medalist 8641 family to knowndrives table. + + [CF] smartd: Added exit values 5/6 for missing/unreadable config file. + + [BA] smartd: now monitor the Current Pending Sector count (Attribute 197) + and the Offline Pending Sector Count (Attribute 198). Log a + warning (and send an email, if so configured) if the raw count + is nonzero. These are controlled by new Directives: -C and -U. + Currently they are enabled by default. + + [CF] Added option -c FILE, --configfile=FILE to smartd to specify + an alternate configuration FILE or '-' for standard input. + + [KS] configure.in now searches for -lnsl and -lsocket for Solaris. + + [CF] Win32/native smartd: Added thread to combine several syslog output + lines into one single event log entry. + + [CF] Win32 smartd: Added DEVICESCAN for SCSI/ASPI devices. + + [GG] Use gethostbyname() the get the DNS domain since getdomainname() + returns the NIS domain when sending mails from smartd. + + [GG] smartd.init.in: pass smartd_opts to smartd on startup, read distribution + specific configuration files if found + + [SS] smartctl: added NetBSD support for Selective Self-tests. + + [BA] smartd.conf example configuration file now has all examples + commented out except for 'DEVICESCAN'. + + [CF] Win32/native smartd: Added ability to display warning "emails" + as message box by "-m msgbox" directive. With "-m sysmsgbox", + a system modal (always on top) message box is shown. + + [BA] smartctl: printing of self-test log for disks that support + Selective self-testing now shows the status of the (optional) + read-scan after the selective self test. Also, changed format + in printing self-test log to print failing LBA in base 10 not + base 16 (more compatible with kernel error messages). Also, + in printing SMART error log, print timestamps in format + days+hours+minutes+seconds. + + [CF] Win32 smartd: Added ability to log to stdout/stderr + (-l local1/2). Toggling debug console still works + if stdout is redirected. + + [BA] smartctl: selective self-test log, print current status + in a more detailed way. Allow writing of selective self-test + log provided that no other self-test is underway. + + [BA] Linux: eliminated dependency on kernel tree hdreg.h. + + [BA] smartctl: -l selftest option now prints Selective self-test + log in addition to the normal self-test log. + Added additional options (-t pending, -t afterselect) to + control remaining Selective Self-test capabilities. Tested + with several Maxtor disks. Modified error message printing + so that munged option messages print at the end not the + start of output. + + [CF] Added daemon support to Win32 native version of smartd. + The daemon can be controlled by commands similar to initd + scripts: "smartd status|stop|reload|restart|sigusr1|sigusr2". + + [CF] Added minor support for option "-l local[0-7]" to Win32 native + (not Cygwin) version of smartd. If specified, the log output + is written to file "./smartd[1-7]?.log" instead of event log. + + [BA] Added Selective Self-test to smartctl (-t selective,M-N). + Currently only supported under Linux; Solaris, NetBSD, FreeBSD + and Windows developers must add WRITE LOG functionality to + os_*.c + + [BA] Added workaround for an annoying glibc bug: if you change + timezones, (eg, flying with a laptop from USA to Europe) + localtime() does not notice this in a running + executable, so time that appears in the system log (syslog!) + will be incorrect. See + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48184 + for additional examples of this bug. + + [DG] Set explicit timeouts for SCSI commands (most default to 6 seconds). + Previously a 0 second timeout was meant to be interpreted as a + default timeout but the FreeBSD port had a problem in this area. + + [CF] Fixed un-thread-safe exit signal handler for Win32 + + [BA] Fixed un-thread-safe exit signal handler pointed out + by CF. + + [BA] Changed configure script to eliminate warnings under + Solaris from sys/int_type.h conflicts with int64.h + Added header files for umask to smartd.c. + + [BA] Man page format change from Werner LEMBERG. " " changed to \& + + [CF] Added os_win32/syslogevt.* event message file tool for Win32 + smartd (native+cygwin). May also be useful for other cygwin + programs writing to syslog(). + + [CF] Added Win32 version of smartd + + [CF] Merged RELEASE_5_26_WIN32_BRANCH + + [BA] Made some changes to man page markup suggested by + Richard Verhoeven to work around bugs in man2html. + Tested not to break anything under Linux and Solaris. + + [CF] Moved PrintOut() from utility.c to smart{ctl,d}.c to avoid + syslog() output of smartctl. + + [BA] Grew worried that some time-zone names could be very long (eg, + Mitteleuropaische Zeit) and put date string lengths into a + single macro in utility.c + + [EM] Updated os_freebsd.c to handle older versions of FreeBSD in a + more appropriate/obvious fashion. + + [EM] Modified autogen.sh as FreeBSD installs automake 1.7 as + 'automake17' and NOT 'automake-1.7' + +smartmontools 5.30 + + [PW] Added QUANTUM FIREBALLlct15 30, QUANTUM FIREBALLlct20 40, and + Maxtor 6Y060P0 (DiamondMax Plus 9 60GB) to knowndrives table. + + [PW] Added Maxtor MaXLine II family to knowndrives table (thanks to + Brett Russ for submitting the patch). + + [BA] Added remaining read/write commands to detailed list of + error log commands that have text descriptions of problem + printed. For commands that support it, print number of failed + sectors at problem LBA. + + [BA] Made SuSE section of smartd init script more SuSE 9 compatible. + Thanks to Hans-Peter Jansen. + + [CF] Windows smartd: Added IDE/ATA device scan + Added windows device names to smartctl.8.in, smartd.8.in + + [BA] smartctl/smartd: user-provided '-F samsung' and '-F samsung2' + command line options/Directives did NOT over-ride preset values + unless user specified '-P ignore'. Now they will always over-ride + preset values from the database. + + [BA] Added error decoding for a few more READ and WRITE commands. + + [PW] Added Maxtor MaXLine Plus II, Western Digital Caviar SE (Serial ATA) + series, Hitachi Deskstar 7K250 series, and Ultra ATA 66 models of + the Maxtor DiamondMax Plus 40 series to knowndrives table. + + [BA] Added Maxtor Diamondmax 250 GB drives to database. Note that + these model numbers are not listed in Maxtor documentation, but + they exist. + + [BA] Removed the 'contact developers' phrase from the Samsung disk + warning messages. + + [PW] Added TOSHIBA MK2017GAP, IBM Deskstar 14GXP and 16GP series, + Fujitsu MPC series, Seagate Barracuda ATA III family, and missing + Seagate Barracuda U Series drives to knowndrives table + + [BA] smartd: wrong loglevel for message: Configuration file + /etc/smartd.conf parsed. Changed to LOG_INFO from LOG_CRIT. + Thanks to Emmanuel CHANTREAU for the report. + + [CF] Checked in development version of windows code base. + +smartmontools 5.29 (note: there was NO 5.28 release) + + [BA] smartd: configure script did not set correct directory to search for + smartd.conf based on --prefix argument to ./configure. Thanks to + GG for identifying the problem and fix. + + [BA] make clean now removes man pages (generated from *.in) files as well + as object files. + + [EM] Correct copying of sense data in FreeBSD SCSI implementation. Thanks + to Sergey Svishchev for noticing the bug. + + [BA] On solaris, wrong warning message if no ATA support. Warning message + concerns 3ware controller, not ATA. + + [SS] Added SCSI support for NetBSD. + + [BA] on big-endian linux machines, fixed interpretation of HDIO_GET_IDENTITY + to correctly identify ATAPI bit (was byte swapped). This should + eliminate some SYSLOG noise if user queries a packet device (eg, CD + ROM or DVD reader). + + [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives with + A5AA/A6AA firmware. Thanks to Gerald Schnabel. + + [PW] Added Toshiba TOS MK3019GAXB SUN30G to knowndrives table + + [PW] Added Western Digital Caviar AC12500, AC24300, AC25100, AC36400, + and AC38400 to knowndrives table + + [BA] When printing ATA error log, print the LBA at which READ + or WRITE commands failed. + + [BA] Changed syntax of error message in smartctl + + [BA] Added versioning info (-V options to smartd/smartctl) for + Solaris ATA module. + +smartmontools 5.27 + + [KS] Added ATA/IDE support for Solaris/SPARC (ATA/IDE not yet for + Solaris/x86). + + [BA] 3ware controllers: documented that one can monitor any of the + physical disks from any of the 3ware /dev/sd? logical devices. + Better warnings if querying a disk that does not exist. + + [PW] Added Hitachi Travelstar DK23DA series, Maxtor DiamondMax Plus 40 + series, Western Digital Caviar WDxxxAA, WDxxxBA, and WDxxxAB series + to knowndrives table + + [BA] missing 'pragma pack' on ATA IDENTIFY DEVICE structure may have + caused odd or incorrect results on 64-bit machines. + + [BA] smartctl/smartd allow inspection of self-test and error logs even + if disk firmware claims that these don't exist. This is needed + for some Maxtor disks whose firmware does not indicate log support + even though the disk DOES support it. + + [BA] Improved porting instructions and documentation in os_generic.c + + [PW] Add Western Digital Caviar WD136AA and SAMSUNG SP40A2H (RR100-07 + firmware) to knowndrives table. + + [EM] FreeBSD: remove extra definition of FreeNonZero + + [BA] smartctl: the -q silent option was printing output for some + error conditions. Fixed. Will rename relevant variables to help + avoid these errors in the future. + + [SS] NetBSD port added. + + [BA] more sensible error messages for devfs and devfs-like systems. + Instead of saying that the DIRECTORY does not exist, say that + the DEVICE does not exist. + + [BA] smartd: added -n Directive, to prevent disk spin-up depending + upon the power mode (SLEEP, STANDBY, or IDLE). + + [PW] Added Maxtor DiamondMax 20 VL series, Fujitsu MPF series, + Maxtor DiamondMax 36 series, Maxtor DiamondMax 4320 series, and + Maxtor DiamondMax 536DX series to knowndrives table. + + [BA] many warning messages now give the file name AND VERSION + + [BA] smartd: when the user provides multiple address recipients + to the '-m' Directive in a comma-delineated list, the commas + are stripped out before passing the list of addresses to the + mailer program. (Thanks to Calin A. Culianu for pointing this out + and providing a patch.) + + [BA] smartd: when the '-M exec path' Directive is used, any stdout OR + stderr output from the executable "path" is assumed to indicate a + problem, and is echoed to SYSLOG. + + [BA] Added all missing IBM/Hitachi Deskstar 180GXP models to knowndrives + table. + + [PW] Added some missing IBM/Hitachi Deskstar 120GXP models to knowndrives + table. + + [PW] Added IBM Travelstar 14GS to knowndrives table. + + [PW] Modified knowndrives table to match entire Hitachi Travelstar + DK23BA and DK23EA series of drives (thanks to Norikatsu Shigemura + for submitting the patch). + + [PW] Added some missing Fujitsu MPE series drives to knowndrives table. + + [PW] Added TOSHIBA MK4019GAX, TOSHIBA MK6409MAV, and QUANTUM + FIREBALLlct15 20 to knowndrives table. + + [EM] Fixup example command output for FreeBSD + + [PW] Added Maxtor DiamondMax 80 family to knowndrives table. + + [EM] Catch up FreeBSD code to switch PROJECTHOME to PACKAGE_HOMEPAGE + macros. + + [BA] smartd: now watches stdout/stderr when trying to run mail, mailx + or mail warning script, and reports any output to SYSLOG. This + gives a clearer error message if something is wrong. + + [BA] smartd: Solaris init script modified to accommodate grep that + lacks '-q' quiet option. Also check for running process to kill + on stop. + + [PW] Added some missing Seagate Barracuda 7200.7 and 7200.7 Plus drives + to knowndrives table. + + [PW] Added Maxtor DiamondMax Plus 60 family and Seagate U Series 5 20413 + to knowndrives table. + + [BA] smartd: under Solaris, made default mailer be 'mailx' not + 'mail', since Solaris 'mail' does not accept a '-s' argument. + A workaround for Solaris users of earlier versions is to + have '-M exec /bin/mailx' in their smartd.conf config file. + + [DG] some SCSI controllers don't like odd length transfers so make + sure LOG SENSE transfers are rounded up to an even number when + and odd length is reported (i.e. there is a double fetch, the + first to find the length, the second gets the data) + + [BA] smartd man pages: under Solaris, correct section numbers in the + 'See also' section. + + [KS/BA] smartd man page: describe how to set Solaris syslog.conf + file to catch all messages. Give correct Solaris SYSLOG default + path /var/adm/messages in man pages. + + [BA] smartd: incorporated Debian startup script submitted by user. + + [BA] smartctl: modified printing of self-test log entry number. Seagate + firmware can leave 'holes' in the self-test log while a test is + actually running. We now print entry numbers consistently in this + case, not assuming that entries are contiguous. + + [PW] Added QUANTUM FIREBALL CX10.2A and Western Digital Caviar AC23200L + to knowndrives table. + + [PW] Added QUANTUM FIREBALLlct20 20 to knowndrives table. + + [PW] Added Maxtor DiamondMax Plus D740X family to knowndrives table. + + [PW] Added IBM Travelstar 32GH, 30GT, and 20GN family to knowndrives + table. + + [BA] Slackware init script modified to search for /etc/slackware-version + rather than /etc/slackware-release. + + [PW] Added Seagate Barracuda ATA II family and TOSHIBA MK4019GAXB to + knowndrives table. + + [GG] explain howto use autoreconf in autogen.sh + + [KS] Makefile.am/configure.in: changed manual page sections for + Solaris. + + [BA] smartd: reduced number of scheduled self-test messages if + test already run in current hour. + + [PW] Added Maxtor DiamondMax Plus 8 family to knowndrives table. + + [BA] linux: check for linux/hdreg.h. If it's there, use it. If + not, provide the necessary definitions ourselves. + + [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives + with TXAOA5AA firmware + + [PW] Added IBM Travelstar 25GS, 18GT, and 12GN family to knowndrives + table. + + [PW] Added IBM/Hitachi Travelstar 60GH & 40GN family to knowndrives + table. + + [BA] smartd: made '-s' Directive more efficient. Now store + compiled regex, and re-use. If device lacks certain self-test + capabilities, track it and don't try again. + + [BA] smartd: made memory allocation for device lists completely + dynamic (eliminating compile-time maximum length constants). + + [PW] Removed warning for SAMSUNG SP0802N with TK100-23 firmware + + [PW] Added Seagate Barracuda ATA IV family to knowndrives table. + + [BA] smartd: reduce per-device memory footprint by making + mail-warning info dynamically allocated. Also remove + potential memory leak if use has -m Directive twice and + keeps reloading the config file (highly unlikely this would + ever be noticed!) + + [DG] smartd: added SCSI scheduled self-tests (Background + short or extended). + + [BA] smartd: can now run scheduled offline immediate and + self-tests. See man page and -s Directive for details. + + [GG] don't include manpages in make-dist-tarball. + + [BA] smartctl: on-line examples given with -h are now correct + for solaris and linux, but wrong for freebsd. Ed? + + [BA] smartd: man page now explains device scanning for solaris as + well as linux and freebsd. + + [BA] smartd/smartctl: man pages now report correct CVS tag release + date, and executables '-V' options reports more build info. + +smartmontools 5.26 + + [BA] Improved user messages that appear from 'make install' + + [PW] Removed warning for SAMSUNG SP1213N with firmware TL100-23 + + [BA] incorporated SuSE init script from user. + + [DG] if SCSI device is read only, then open it read only. + + [BA] when compiled on non-supported system (NOT linux, freebsd or solaris) then + the run-time error messages now clearly say 'your system is not supported' + and give clear directions. + + [BA] ./configure script now works correctly on SuSE linux boxes + + [BA] minor improvements to man pages + + [BA] simplified detection of packet (ATAPI, CD) devices. + + [BA] init script (redhat, mandrake, yellowdog) now uses correct + strings for translation and is slightly more standard. + + [DG] smartctl: output scsi Seagate vendor pages for disks (not tapes) + +smartmontools 5.25 + +Note: there was no '5.24' release. From this point on, even numbered +releases will be 'stable' ones and odd numbered releases will be +unstable/testing/development ones. + + [DG] smartd/smartctl: changed scsiClearControlGLTSD() to + scsiSetControlGLTSD() with an 'enabled' argument so '-S on' + and '-S off' work for SCSI devices (if changing GLTSD supported). + + [BA] smartd/smartctl: wired in scsiClearControlGLTSD(). Could still + use a corresponding Set function. Left stubs for this purpose. + + [DG] scsicmds: added scsiClearControlGLTSD() [still to be wired in] + + [BA] smartctl: make SCSI -T options behave the same way as the + ATA ones. + + [DG] smartctl: output scsi transport protocol if available + + [DG] scsi: stop device scan in smartd and smartctl if badly formed + mode response [heuristic to filter out USB devices before we + (potentially) lock them up]. + + [BA] smartd: deviceclose()->CloseDevice(). Got rid of SCSIDEVELOPMENT + macro-enabled code. Added -W to list of gcc specific options to + always enable. Made code clean for -W warnings. + + [PW] Added Maxtor DiamondMax VL 30 family to knowndrives table. + + [DG] scsi: add warning (when '-l error' active) if Control mode page + GLTSD bit is set (global disable of saving log counters) + + [DG] scsi: remember mode sense cmd length. Output trip temperature + from IE lpage (IBM extension) when unavailable from temp lpage. + + [BA] smartd: for both SCSI and ATA now warns user if either + the number of self-test errors OR timestamp of most + recent self-test error have increased. + + [DG] smartctl: output Seagate scsi Cache and Factory log pages (if + available) when vendor attributes chosen + + [DG] smartd: add scsiCountFailedSelfTests() function. + + [DG] Do more sanity checking of scsi log page responses. + + [BA] smartd: now warns user if number of self-test errors has + increased for SCSI devices. + + [BA] smartd: warn user if number of ATA self-test errors increases + (as before) OR if hour time stamp of most recent self-test + error changes. + + [DG] More checks for well formed mode page responses. This has the side + effect of stopping scans on bad SCSI implementations (e.g. some + USB disks) prior to sending commands (typically log sense) that + locks them up. + + [PW] Added Western Digital Caviar family and Caviar SE family to + knowndrives table. + + [BA] smartd: added -l daemon (which is the default value if -l + is not used). + + [PW] Added Seagate Barracuda ATA V family to knowndrives table. + + [BA] smartd: added additional command line argument -l FACILITY + or --logfacility FACILITY. This can be used to redirect + messages from smartd to a different file than the one used + by other system daemons. + + [PW] Added Seagate Barracuda 7200.7, Western Digital Protege WD400EB, + and Western Digital Caviar AC38400 to knowndrives table. + + [BA] smartd: scanning should now also work correctly for + devfs WITHOUT traditional links /dev/hd[a-t] or /dev/sd[a-z]. + + [PW] Added Maxtor 4W040H3, Seagate Barracuda 7200.7 Plus, + IBM Deskstar 120GXP (40GB), Seagate U Series 20410, + Fujitsu MHM2100AT, MHL2300AT, MHM2150AT, and IBM-DARA-212000 + to knowndrives table. + + [PW] Added remaining Maxtor DiamondMax Plus 9 models to knowndrives + table. + + [EM] smartd: If no matches found, then return 0, rather than an error + indication, as it just means no devices of the given type exist. + Adjust FreeBSD scan code to mirror Linux version. + + [BA] smartd: made device scan code simpler and more robust. If + too many devices detected, warn user but scan as many + as possible. If error in scanning, warn user but don't + die right away. + + [EM] smartd: To keep as consistent as possible, migrate FreeBSD + devicescan code to also use glob(3). Also verified clean + compile on a 4.7 FreeBSD system. + + [BA] smartd: Modified device scan code to use glob(3). Previously + it appeared to have trouble when scanning devices on an XFS + file system, and used non-public interface to directory + entries. Problems were also reported when /dev/ was on an + ext2/3 file system, but there was a JFS partition on the same + disk. + + [BA] Clearer error messages when device scanning finds no suitable + devices. + + [EM] FreeBSD: Fixup code to allow for proper compilation under + -STABLE branch. + +smartmontools 5.23 + + [BA] smartd: didn't close file descriptors of ATA packet devices + that are scanned. Fixed. + + [BA] Added reload/report targets to the smartmontools init script. + reload: reloads config file + report: send SIGUSR1 to check devices now + +smartmontools 5.22 + + [EM] Fix compile issues for FreeBSD < 5-CURRENT. + + [PW] Added Fujitsu MHM2200AT to knowndrives table. + + [BA] To help catch bugs, clear ATA error structures before all + ioctl calls. Disable code that attempted to time-out on SCSI + devices when they hung (doesn't work). + + [BA] Documented STATUS/ERROR flags added by [PW] below. + + [BA] Improved algorithm to recognize ATA packet devices. Should + no longer generate SYSLOG kernel noise when user tries either + smartd or smartctl on packet device (CD-ROM or DVD). Clearer + warning messages from smartd when scanning ATA packet device. + + [PW] Added TOSHIBA MK4025GAS to knowndrives table. + + [PW] Added a textual interpretation of the status and error registers + in the SMART error log (ATA). The interpretation is + command-dependent and currently only eight commands are supported + (those which produced errors in the error logs that I happen to + have seen). + + [BA] added memory allocation tracking to solaris code. + Fixed solaris signal handling (reset handler to default + after first call to handler) by using sigset. Added + HAVE_SIGSET to configure.in + + [CD] solaris port: added SCSI functionality to solaris + stubs. + + [BA] smartd: attempt to address bug report about smartd + hanging on USB devices when scanning: + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107615 + Set a timeout of SCSITIMEOUT (nominally 7 seconds) before + giving up. + + [EM] smartd: DEVICESCAN will follow links in a devfs filesystem and + make sure the end point is a disc. Update documentation, added + note about FreeBSD scanning + + [BA] smartd: DEVICESCAN also looks for block devices in + /dev. Updated documentation. Now scans for up to + 20 ATA devices /dev/hda-t rather than previous 12 + /dev/hda-l. + + [EM] smartd: mirror the FreeBSD DEVICESCAN logic for Linux, + so that smartd now scans only devices found in /dev/. Also, + make utility memory functions take a line number and file so + that we report errors with the correct location. + + [GG] add a note about Debian bug #208964 to WARNINGS. + + [BA] smartctl: -T verypermissive option broken. Use + -T verpermissive until the next release, please. + + [BA] Syntax mods so that code also compiles on Solaris using + Sun Workshop compiler. Need -xmemalign 1i -xCC flags + for cc. + +smartmontools 5.21 + + [DK] Changed configure.in so -Wall is only included if gcc + is used (this is a gcc specific flag) and -fsignedchar + is not used at all (this is a gcc specific compiler + flag). + + [BA] Modifications so that code now compiles under solaris. Now + all that's needed (:-) is to fill in os_solaris.[hc]. Added + os_generic.[hc] as guide to future ports. Fixed -D option + of smartd (no file name). Modified -h opt of smartd/smartctl + to work properly with solaris getopt(). + + [EM] Update MAN pages with notes that 3ware drives are NOT supported + under FreeBSD. Cleanup FreeBSD warning message handling. + + [EM] FreeBSD only: Fix first user found bug....I guess I was making + the wrong assumption on how to convert ATA devnames to + channel/unit numbers. + + [EM] Allow for option --enable-sample to append '.sample' to installed + smartd.conf and rc script files. Also, let rc script shell setting + be determined by configure + + [EM] Minor autoconf update to include -lcam for FreeBSD + + [EM] Add conditional logic to allow FreeBSD to compile pre-ATAng. + -- note, not tested + Add some documentation to INSTALL for FreeBSD. + + [EM] Implement SCSI CAM support for FreeBSD. NOTE: I am not an expert + in the use of CAM. It seems to work for me, but I may be doing + something horribly wrong, so please exercise caution. + + [EM] Switch over to using 'atexit' rather than 'on_exit' routine. This also + meant we needed to save the exit status elsewhere so our 'Goodbye' + routine could examine it. + + [EM] Move the DEVICESCAN code to os specific files. Also moved some of the + smartd Memory functions to utility.c to make available to smartctl. + + [EM] Code janitor work on os_freebsd.c. + + [EM] Added os_freebsd.[hc] code. Additional code janitor + work. + + [BA] Code janitor working, moving OS dependent code into + os_linux.[hc]. + + [GG] conditionally compile os_{freebsd,linux}.o depending on + host architecture + + [PW] Print estimated completion time for tests + + [BA] Added -F samsung2 flag to correct firmware byte swap. + All samsung drives with *-23 firmware revision string. + +smartmontools 5.20 + + [GG] Fixed broken Makefile.am (zero length smartd.conf.5 + was being created), fix broken uninstall/distcheck targets + + [FM] Improved Slackware init script added to /etc/smartd.initd + +smartmontools 5.19 [NOTE CHANGE OF RELEASE NUMBERING] + + [BA] smartctl: added '-T verypermissive' option which is + equivalent to giving '-T permissive' many times. + + [BA] Try harder to identify from IDENTIFY DEVICE structure + if SMART supported/enabled. smartd now does a more + thorough job of trying to assess this before sending + a SMART status command to find out for sure. + + [BA] smartctl: it's now possible to override the program's + guess of the device type (ATA or SCSI) with -d option. + + [BA] try hard to avoid sending IDENTIFY DEVICE to packet + devices (CDROMS). They can't do SMART, and this generates + annoying syslog messages. At the same time, identify type + of Packet device. + + [BA] smartctl: Can now use permissive option more + than once, to control how far to go before giving up. + + [BA] smartd: if user asked to monitor either error or self-test + logs (-l error or -l selftest) WITHOUT monitoring any of the + Attribute values, code will SEGV. For 5.1-18 and earlier, + a good workaround is to enable Auto offline (-o on). + + [BA] smartctl: If enable auto offline command given, update auto + offline status before printing capabilities. + + [GG] Make autotools build the default, remove autotools.diff + + [GG] Add auto{conf,make} support, not enabled by default. + + [BA] Eliminated #include <linux/hdreg.h> from code. This + should simplify porting to solaris, FreeBSD, etc. The + only linux-specific code is now isolated to three routines, + one for SCSI, one for Escalade, one for ATA. + +smartmontools 5.1-18 + + [BA] smartd: fixed serious bug - Attributes not monitored unless + user told smartd to ignore at least one of them! + +smartmontools 5.1-17 + + [BA] Default runlevels for smartd changed from 3 and 5 to + 2, 3, 4, and 5. + + [BA] Removed as much dynamic memory allocation as possible from + configuration file parsing. Reloading config file, even in + presence of syntax errors etc. should not cause memory leaks. + + [PW] It is no longer permissible for the integer part (if any) of + arguments to --report and --device to be followed by non-digits. + For example, the "foo" in --report=ioctl,2foo was previously + ignored, but now causes an error. + + [BA] smartd: added -q/--quit command line option to specify + under what circumstances smartd should exit. The old + -c/--checkonce option is now obsoleted by this more + general-purpose option. + + [BA] smartd now responds to a HUP signal by re-reading its + configuration file /etc/smartd.conf. If there are + errors in this file, then the configuration file is + ignored and smartd continues to monitor the devices that + it was monitoring prior to receiving the HUP signal. + + [BA] Now correctly get SMART status from disks behind 3ware + controllers, thanks to Adam Radford. Need 3w-xxxx driver + version 1.02.00.037 or later. Previously the smartmontools + SMART status always returned "OK" for 3ware controllers. + + [BA] Additional work on dynamic memory allocation/deallocation. + This should have no effect on smartctl, but clears that way + for smartd to dynamically add and remove entries. It should + also now be easier to modify smartd to re-read its config + file on HUP (which is easy) without leaking memory (which is + harder). The philosophy is that memory for data structures in + smartd is now allocated only on demand, the first time it + is needed. + + [BA] smartd: finished cleanup. Now use create/rm functions for + cfgentries and dynamic memory allocation almost everywhere. + Philosophy: aggresively try and provoke SEGV to help find + bad code. + + [BA] Added SAMSUNG SV0412H to knowndrives table. + + [BA] smartd: if DEVICESCAN used then knowndrives table might not set + the -v attributes correctly -- may have been the same for all + the drives. Cleaned up some data structures and memory + allocation to try and ensure segvs if such problems are + introduced again. + + [BA] Now allow -S on and -o on for the 3ware device type. For these + commands to be passed through, the stock 3ware 3w-xxxx driver + must be patched (8 lines). I'll post a patch on the smartmontools + home page after it's been tested by a few other people and 3ware + have had a chance to look it over. + +smartmontools-5.1-16 + + [BA] smartd - can now monitor ATA drives behind 3ware controllers. + + [BA] smartd - changed some FATAL out of memory error messages from + syslog level LOG_INFO to LOG_CRIT. + + [BA] smartctl - added code to look at ATA drives behind 3ware RAID + controllers using the 3w-xxxx driver. Note that for technical + reasons related to the 3w-xxxx driver, the "Enable Autosave", + "Enable Automatic Offline" commands are not implemented. + I will add this to smartd shortly. + + [BA] smartd - modified sleep loop, so that smartd no longer comes + on the run queue every second. Instead, unless interrupted, + it sleeps until the next polling time, when it wakes up. Now + smartd also tries to wake up at exactly the right + intervals (nominally 30 min) even if the user has been sending + signals to it. + + [GG] add Fujitsu MHN2300AT to vendoropts_9_seconds. + + [EB] Fujitsu change in knowndrives ... match the whole MPD and + MPE series for vendoropts_9_seconds. + + [BA] smartd bug, might cause segv if a device can not be opened. Was + due to missing comma in char* list. Consequence is that email + failure messages might have had the wrong Subject: heading for + errorcount, FAILEDhealthcheck, FAILEDreadsmartdata, FAILEDreadsmarterrorlog, + FAILEDreadsmartsefltestlog, FAILEDopendevice were all displaced by + one. And FAILEDopendevice might have caused a segv if -m was being + used as a smartd Directive. + +smartmontools-5.1-15 + + [BA] Cleaned up smartmontools.spec so that upgrading, removing + and other such operations correctly preserve running behavior + and booting behavior of smartd. + + [BA] Improved formatting of ATA Error Log printout, and added + listing of names of commands that caused the error. Added + obsolete ATA-4 SMART feature commands to table, along with + obsolete SFF-8035i SMART feature command. + + [PW] Added atacmdnames.[hc], which turn command register & + feature register pairs into ATA command names. + + [BA] Added conveyance self-test. Some code added for selective + self-tests, but #ifdefed out. + + [BA] Modified smartd exit status and log levels. If smartd is + "cleanly" terminated, for example with SIGTERM, then its + exit messages are now logged at LOG_INFO not LOG_CRIT + + [BA] Added Attribute IDs (Fujitsu) 0xCA - 0xCE. This is decimal + 202-206. Added -v switches for interpretation of Attributes + 192, 198 and 201. + + [BA] Made smartmontools work with any endian order machine for: + - SMART selftest log + - SMART ATA error log + - SMART Attributes values + - SMART Attributes thesholds + - IDENTIFY DEVICE information + - LOG DIRECTORY + Smartmontools is now free of endian bias and works correctly + on both little- and big-endian hardware. This has been tested by + three independent PPC users on a variety of ATA and SCSI hardware. + + [DG] Check that certain SCSI command responses are well formed. If + IEC mode page response is not well formed exit smartctl. This + is to protect aacraid. smartd should ignore a aacraid device. + +smartmontools-5.1-14 + + [BA] smartctl: added column to -A output to show if Attributes are + updated only during off-line testing or also during normal + operation. + +smartmontools-5.1-13 + + [BA] smartd: attempt to enable/disable automatic offline testing even + if the disk appears not to support it. Now the same logic + as smartctl. + + [BA] Added definition of Attribute 201, soft read error rate. + + [BA] Added IBM/Hitachi IC35L120AVV207-1 (GXP-180) and corresponding + 8MB Cache GXP-120 to drive database. + + [BA] smartd: if DEVICESCAN Directive used in smartd.conf, and + -I, -R or -r Directives used in conjunction with this, got + segv errors. Fixed by correcting memory allocation calls. + + [BA] smartd: enable automatic offline testing was broken due + to cut-and-paste error that disabled it instead of + enabling it. Thanks to Maciej W. Rozycki for pointing + out the problem and solution. + + [BA] Fixed "spelling" of some Attribute names to replace spaces + in names by underscores. (Fixed field width easier for awk + style parsing.) + + [BA,GF] Added mods submitted by [GF] to support Attribute 193 being + load/unload cycles. Add -v 193,loadunload option, useful for + Hitachi drive DK23EA-30, and add this drive to knowndrive.c + Add meaning of attribute 250 : Read error retry rate + +smartmontools-5.1-12 + + [BA] Added another entry for Samsung drives to knowndrive table. + + [DG] Refine SCSI log sense command to do a double fetch in most cases + (but not for the TapeAlert log page). Fix TapeAlert and Self Test + log page response truncation. + + [PW] Added 'removable' argument to -d Directive for smartd. This indicates + that smartd should continue (rather than exit) if the device does not + appear to be present. + + [BA] Modified smartmontools.spec [Man pages location] and + smartd.initd [Extra space kills chkconfig!] for Redhat 6.x + compatibility (thanks to Gerald Schnabel). + +smartmontools-5.1-11 + + [EB] Add another Fujitsu disk to knowndrives.c + + [GG] match for scsi/ and ide/ in case of devfs to exclude false positives + + [BA] If SCSI device listed in /etc/smartd.conf fails to open or do + SMART stuff correctly, or not enough space + to list all SCSI devices, fail with error unless + -DSCSIDEVELOPMENT set during compile-time. + + [BA] Added automatic recognition of /dev/i* (example: /dev/ide/...) + as an ATA device. + + [DG] Add "Device type: [disk | tape | medium changer | ...] line to + smartctl -i output for SCSI devices. + + [PW] Fixed bug in smartd where test email would be sent regularly (for + example, daily if the user had specified -M daily) instead of just + once on startup. + + [KM] More TapeAlert work. Added translations for media changer + alerts. TapeAlert support reported according to the log page + presence. ModeSense not attempted for non-ready tapes (all + drives do not support this after all). Get peripheral type from + Inquiry even if drive info is not printed. Add QUIETON() + QUIETOFF() to TapeAlert log check. + + [BA] Stupid bug in atacmds.c minor_str[] affected ataVersionInfo(). + Two missing commas meant that minor_str[] had two few elements, + leading to output like this: + Device Model: Maxtor 6Y120L0 + Serial Number: Y40BF74E + Firmware Version: YAR41VW0 + Device is: Not in smartctl database [for details use: -P showall] + ATA Version is: 7 + ATA Standard is: 9,minutes + ^^^^^^^^^ + Missing commas inserted. + + [BA] Fixed smartd bug. On device registration, if ATA device did + not support SMART error or self-test logs but user had asked to + monitor them, an attempt would be made to read them anyway, + possibly generating "Drive Seek" errors. We now check that + the self-test and error logs are supported before trying to + access them the first time. + + [GG/BA] Fixed bug where if SMART ATA error log not supported, + command was tried anyway. Changed some error printing to use + print handlers. + + [GG] Makefile modifications to ease packaging + + [DG] Did work for TapeAlerts (SCSI). Now can detect /dev/nst0 as a + SCSI device. Also open SCSI devices O_NONBLOCK so they don't + hang on open awaiting media. The ATA side should worry about + this also: during a DEVICESCAN a cd/dvd device without media + will hang. Added some TapeAlert code suggested by Kai Makisara. + +smartmontools-5.1-10 + + [PW] Extended the -F option/Directive to potentially fix other firmware + bugs in addition to the Samsung byte-order bug. Long option name is + now --firmwarebug and the option/Directive accepts an argument + indicating the type of firmware bug to fix. + + [BA] Fixed a bug that prevented the enable automatic off-line + test feature from enabling. It also prevented the enable Attribute + autosave from working. See CVS entry for additional details. + + [PW] Modified the -r/--report option (smartctl and smartd) to allow the + user to specify the debug level as a positive integer. + + [BA] Added --log directory option to smartctl. If the disk + supports the general-purpose logging feature set (ATA-6/7) + then this option enables the Log Directory to be printed. + This Log Directory shows which device logs are available, and + their lengths in sectors. + + [PW] Added -P/--presets option to smartctl and -P Directive to smartd. + + [GG] Introduce different exit codes indicating the type of problem + encountered for smartd. + + [DG] Add non-medium error count to '-l error' and extended self test + duration to '-l selftest'. Get scsi IEs and temperature changes + working in smartd. Step over various scsi disk problems rather + than abort smartd startup. + + [DG] Support -l error for SCSI disks (and tapes). Output error counter + log pages. + + [BA] Added -F/--fixbyteorder option to smartctl. This allows us to read + SMART data from some disks that have byte-reversed two- and four- + byte quantities in their SMART data structures. + + [BA] Fixed serious bug: the -v options in smartd.conf were all put + together and used together, not drive-by-drive. + + [PW] Added knowndrives.h and knowndrives.c. The knowndrives array + supersedes the drivewarnings array. + + [GG] add {-p,--pidfile} option to smartd to write a PID file on + startup. Update the manpage accordingly. + + [DG] Fix scsi smartd problem detecting SMART support. More cleaning + and fix (and rename) scsiTestUnitReady(). More scsi renaming. + + [BA] Fixed smartd so that if a disk that is explictily listed is not + found, then smartd will exit with nonzero status BEFORE forking. + If a disk can't be registered, this will also be detected before + forking, so that init scripts can react correctly. + + [BA] Replaced all linux-specific ioctl() calls in atacmds.c with + a generic handler smartcommandhandler(). Now the only routine + that needs to be implemented for a given OS is os_specific_handler(). + Also implemented the --report ataioctl. This provides + two levels of reporting. Using the option once gives a summary + report of device IOCTL transactions. Using the option twice give + additional info (a printout of ALL device raw 512 byte SMART + data structures). This is useful for debugging. + + [DG] more scsi cleanup. Output scsi device serial number (VPD page + 0x80) if available as part of '-i'. Implement '-t offline' as + default self test (only self test older disks support). + + [BA] Changed crit to info in loglevel of smartd complaint to syslog + if DEVICESCAN enabled and device not found. + + [BA] Added -v 194,10xCelsius option/Directive. Raw Attribute number + 194 is ten times the disk temperature in Celsius. + + [DG] scsicmds.[hc] + scsiprint.c: clean up indentation, remove tabs. + Introduce new intermediate interface based on "struct scsi_cmnd_io" + to isolate SCSI generic commands + responses from Linux details; + should help port to FreeBSD of SCSI part of smartmontools. + Make SCSI command builders more parametric. + +smartmontools-5.1-9 + + [BA] smartctl: if HDIO_DRIVE_TASK ioctl() is not implemented (no + kernel support, then try to assess drive health by examining + Attribute values/thresholds directly. + + [BA] smartd/smartctl: added -v 200,writeerrorcount option/Directive + for Fujitsu disks. + + [BA] smartd: Now send email if any of the SMART commands fails, + or if open()ing the device fails. This is often noted + as a common disk failure mode. + + [BA] smartd/smartctl: Added -v N,raw8 -v N,raw16 and -v N,raw48 + Directives/Options for printing Raw Attributes in different + Formats. + + [BA] smartd: Added -r ID and -R ID for reporting/tracking Raw + values of Attributes. + + [BA] smartd/smartctl: Changed printing of spin-up-time attribute + raw value to reflect current/average as per IBM standard. + + [BA] smartd/smartctl: Added -v 9,seconds option for disks which + use Attribute 9 for power-on lifetime in seconds. + + [BA] smartctl: Added a warning message so that users of some IBM + disks are warned to update their firmware. Note: we may want + to add a command-line flag to disable the warning messages. + I have done this in a general way, using regexp, so that we + can add warnings about any type of disk that we wish... + +smartmontools-5.1-7 + + [BA] smartd: Created a subdirectory examplescripts/ of source + directory that contains executable scripts for the -M exec PATH + Directive of smartd. + +smartmontools-5.1-5 + + [BA] smartd: DEVICESCAN in /etc/smartd.conf + can now be followed by all the same Directives as a regular + device name like /dev/hda takes. This allows one to use + (for example): + DEVICESCAN -m root@example.com + in the /etc/smartd.conf file. + + [BA] smartd: Added -c (--checkonce) command-line option. This checks + all devices once, then exits. The exit status can be + used to learn if devices were detected, and if smartd is + functioning correctly. This is primarily for Distribution + scripters. + + [BA] smartd: Implemented -M exec Directive for + smartd.conf. This makes it possible to run an + arbitrary script or mailing program with the + -m option. + + [PW] smartd: Modified -M Directive so that it can be given + multiple times. Added -M exec Directive. + +smartmontools-5.1-4 + + [BA] Fixed bug in smartctl pointed out by Pierre Gentile. + -d scsi didn't work because tryata and tryscsi were + reversed -- now works on /devfs SCSI devices. + + [BA] Fixed bug in smartctl pointed out by Gregory Goddard + <ggoddard@ufl.edu>. Manual says that bit 6 of return + value turned on if errors found in smart error log. But + this wasn't implemented. + +smartmontools-5.1-3 + + [BA] Modified printing format for 9,minutes to read + Xh+Ym not X h + Y m, so that fields are fixed width. + + [BA] Added Attribute 240 "head flying hours" + +smartmontools-5.1.1 + + [BA] As requested, local time/date now printed by smartctl -i + + [PW] Added "help" argument to -v for smartctl + + [PW] Added -D, --showdirectives option to smartd + + [DG] add '-l selftest' capability for SCSI devices (update smartctl.8) + + [BA] smartd,smartctl: added additional Attribute modification option + -v 220,temp and -v 9,temp. + + [PW] Renamed smartd option -X to -d + +START OF SMARTMONTOOLS 5.1 series + +smartmontools-5.0.50 + + [PW] Changed smartd.conf Directives -- see man page + + [BA/DG] Fixed uncommented comment in smartd.conf + + [DG] Correct 'Recommended start stop count' for SCSI devices + + [PW] Replaced smartd.conf directive -C with smartd option -i + + [PW] Changed options for smartctl -- see man page. + + [BA] Use strerror() to generate system call error messages. + + [BA] smartd: fflush() all open streams before fork(). + + [BA] smartctl, smartd simplified internal handling of checksums + for simpler porting and less code. + +smartmontools-5.0.49 + + [PW] smartd --debugmode changed to --debug + + [BA] smartd/smartctl added attribute 230 Head Amplitude from + IBM DPTA-353750. + + [PW] Added list of proposed new options for smartctl to README. + + [PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is + defined and uses getopt() otherwise. This is controlled by CPPFLAGS in + the Makefile. + + [BA] smartd: Fixed a couple of error messages done with perror() + to redirect them as needed. + +smartmontools-5.0.48 + + [BA] smartctl: The -O option to enable an Immediate off-line test + did not print out the correct time that the test would take to + complete. This is because the test timer is volatile and not + fixed. This has been fixed, and the smartctl.8 man page has been + updated to explain how to track the Immediate offline test as it + progresses, and to further emphasize the differences between the + off-line immediate test and the self-tests. + + [BA] smartd/smartctl: Added new attribute (200) Multi_Zone_Error_Rate + + [BA] smartctl: modified so that arguments could have either a single - + as in -ea or multiple ones as in -e -a. Improved warning message for + device not opened, and fixed error in redirection of error output of + HD identity command. + + [PW] smartd: added support for long options. All short options are still + supported; see manpage for available long options. + + [BA] smartctl. When raw Attribute value was 2^31 or larger, did + not print correctly. + +smartmontools-5.0.46 + + [BA] smartd: added smartd.conf Directives -T and -s. The -T Directive + enables/disables Automatic Offline Testing. The -s Directive + enables/disables Attribute Autosave. Documentation and + example configuration file updated to agree. + + [BA] smartd: user can make smartd check the disks at any time + (ie, interrupt sleep) by sending signal SIGUSR1 to smartd. This + can be done for example with: + kill -USR1 <pid> + where <pid> is the process ID number of smartd. + + [EB] scsi: don't trust the data we receive from the drive too + much. It very well might have errors (like zero response length). + Seen on Megaraid logical drive, and verified in the driver source. + + [BA] smartd: added Directive -m for sending test email and + for modifying email reminder behavior. Updated manual, and sample + configuration file to illustrate & explain this. + + [BA] smartd: increased size of a continued smartd.conf line to + 1023 characters. + + [BA] Simplified Directive parsers and improved warning/error + messages. + +smartmontools-5.0.45 + + [EB] Fixed bug in smartd where testunitready logic inverted + prevented functioning on scsi devices. + The bug in question only affects smartd users with scsi devices. + To see if your version of smartd has the testunitready() bug, do + smartd -V + If the version of the module smartd.c in a line like: + Module: smartd.c revision: 1.66 date: 2002/11/17 + has a revision greater than or equal to 1.30, and less than or equal to + 1.64, then your version of the code has this problem. + This problem affected releases starting with RELEASE_5_0_16 up to and + including RELEASE_5_0_43. + + [BA] Added testunitnotready to smartctl for symmetry with smartd. + + [SB] added Czech descriptions to .spec file + [SB] corrected comment in smartd.conf example + + [BA] Changed way that entries in the ATA error log are printed, + to make it clearer which is the most recent error and + which is the oldest one. + + NOTE: All changes made prior to this point were done by Bruce Allen + [BA] although several of them had been suggested by earlier postings + by Stanislav Brabec [SB]. + +smartmontools-5.0.43 + + Changed Temperature_Centigrade to Temperature_Celsius. + The term "Centigrade" ceased to exist in 1948. (c.f + http://www.bartleby.com/64/C004/016.html). + +smartmontools-5.0.42 + + Modified SCSI device check to also send warning emails if + requested in directives file. + + Added a new smartd configuration file Directive: -M ADDRESS. + This sends a single warning email to ADDRESS for failures or + errors detected with the -c, -L, -l, or -f Directives. + +smartmontools-5.0.38 + + Modified perror() statements in atacmds.c so that printout for SMART + commands errors is properly suppressed or queued depending upon users + choices for error reporting modes. + + Added Italian descriptions to smartmontools.spec file. + + Started implementing send-mail-on-error for smartd; not yet enabled. + + Added -P (Permissive) Directive to smartd.conf file to allow SMART + monitoring of pre-ATA-3 Rev 4 disks that have SMART but do not have + a SMART capability bit. + + Removed charset encodings from smartmontools.spec file for non-English + fields. + +smartmontools-5.0.32 + + Added manual page smartd.conf.5 for configuration file. + + smartctl: Missing ANSI prototype in failuretest(); fixed. + + smartctl: Checksum warnings now printed on stdout, or are silent, + depending upon -q and -Q settings. + +smartmontools-5.0.31 + + Changed Makefile so that the -V option does not reflect file state + before commit! + + smartctl: added new options -W, -U, and -P to control if and how the + smartctl exits if an error is detected in either a SMART data + structure checksum, or a SMART command returns an error. + + modified manual page to break options into slightly more logical + categories. + + reformatted 'usage' message order to agree with man page ordering + + modified .spec file so that locale information now contains + character set definition. Changed pt_BR to pt since we do not use any + aspect other than language. See man setlocale. + +smartmontools-5.0.30 + smartctl: added new options -n and -N to force device to be ATA or SCSI + smartctl: no longer dies silently if device path does not start/dev/X + smartctl: now handles arbitrary device paths + +smartmontools-5.0.29 + Modified .spec file and Makefile to make them more compliant with + the "right" way of doing things. + +smartmontools-5.0.26 + Fixed typesetting error in man page smartd.8 + + Removed redundant variable (harmless) from smartd.c + +smartmontools-5.0.25 + + Added a new directive for the configuration file. If the word + DEVICESCAN appears before any non-commented material in the + configuration file, then the confi file will be ignored and the + devices wil be scanned. + +smartmontools-5.0.24 + + Note: it has now been confirmed that the code modifications between + 5.0.23 and 5.0.24 have eliminated the GCC 3.2 problems. Note that + there is a GCC bug however, see #8404 at + http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&cmd=query + http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8404 + + Added new Directive for Configuration file: + -C <N> This sets the time in between disk checks to be <N> + seconds apart. Note that although you can give + this Directive multiple times on different lines of + the configuration file, only the final value that + is given has an effect, and applies to all the + disks. The default value of <N> is 1800 sec, and + the minimum allowed value is ten seconds. + + Problem wasn't the print format. F.L.W. Meunier <0@pervalidus.net> + sent me a gcc 3.2 build and I ran it under a debugger. The + problem seems to be with passing the very large (2x512+4) byte + data structures as arguments. I never liked this anyway; it was + inherited from smartsuite. So I've changed all the heavyweight + functions (ATA ones, anyone) to just passing pointers, not hideous + kB size structures on the stack. Hopefully this will now build OK + under gcc 3.2 with any sensible compilation options. + +smartmontools-5.0.23 + + Because of reported problems with GCC 3.2 compile, I have gone + thorough the code and explicitly changed all print format + parameters to correspond EXACTLY to int unless they have to be + promoted to long longs. To quote from the glibc bible: [From + GLIBC Manual: Since the prototype doesn't specify types for + optional arguments, in a call to a variadic function the default + argument promotions are performed on the optional argument + values. This means the objects of type char or short int (whether + signed or not) are promoted to either int or unsigned int, as + appropriate.] + +smartmontools-5.0.22 + + smartd, smartctl now warn if they find an attribute whose ID + number does not match between Data and Threshold structures. + + Fixed nasty bug which led to wrong number of arguments for a + varargs statement, with attendent stack corruption. Sheesh! + Have added script to CVS attic to help find such nasties in the + future. + +smartmontools-5.0.21 + + Eliminated some global variables out of header files and other + minor cleanup of smartd. + +smartmontools-5.0.20 + + Did some revision of the man page for smartd and made the usage + messages for Directives 100% consistent. + +smartmontools-5.0-19 + + smartd: prints warning message when it gets SIGHUP, saying that it + is NOT re-reading the config file. + + smartctl: updated man page to say self-test commands -O,x,X,s,S,A + appear to be supported in the code. [I can't test these, can anyone + report?] + +smartmontools-5.0-18 + + smartctl: smartctl would previously print the LBA of a self-test + if it completed, and the LBA was not 0 or 0xff...f However + according to the specs this is not correct. According to the + specs, if the self-test completed without error then LBA is + undefined. This version fixes that. LBA value only printed if + self-test encountered an error. + +smartmontools-5.0-17 + + smartd has changed significantly. This is the first CVS checkin of + code that extends the options available for smartd. The following + options can be placed into the /etc/smartd.conf file, and control the + behavior of smartd. + Configuration file Directives (following device name): + -A Device is an ATA device + -S Device is a SCSI device + -c Monitor SMART Health Status + -l Monitor SMART Error Log for changes + -L Monitor SMART Self-Test Log for new errors + -f Monitor for failure of any 'Usage' Attributes + -p Report changes in 'Prefailure' Attributes + -u Report changes in 'Usage' Attributes + -t Equivalent to -p and -u Directives + -a Equivalent to -c -l -L -f -t Directives + -i ID Ignore Attribute ID for -f Directive + -I ID Ignore Attribute ID for -p, -u or -t Directive + # Comment: text after a hash sign is ignored + \ Line continuation character + + cleaned up functions used for printing CVS IDs. Now use string + library, as it should be. + + modified length of device name string in smartd internal structure + to accommodate max length device name strings + + removed un-implemented (-e = Email notification) option from + command line arg list. We'll put it back on when implemented. + + smartd now logs serious (fatal) conditions in its operation at + loglevel LOG_CRIT rather than LOG_INFO before exiting with error. + + smartd used to open a file descriptor for each SMART enabled + device, and then keep it open the entire time smartd was running. + This meant that some commands, like IOREADBLKPART did not work, + since the fd to the device was open. smartd now opens the device + when it needs to read values, then closes it. Also, if one time + around it can't open the device, it simply prints a warning + message but does not give up. Have eliminated the .fd field from + data structures -- no longer gets used. + + smartd now opens SCSI devices as well using O_RDONLY rather than + O_RDWR. If someone can no longer monitor a SCSI device that used + to be readable, this may well be the reason why. + + smartd never checked if the number of ata or scsi devices detected + was greater than the max number it could monitor. Now it does. + +smartmontools-5.0-16 + + smartd on startup now looks in the configuration file /etc/smartd.conf for + a list of devices which to include in its monitoring list. See man page + (man smartd) for syntax. + + smartd: close file descriptors of SCSI device if not SMART capable + Closes ALL file descriptors after forking to daemon. + + added new temperature attribute (231, temperature) + + smartd: now open ATA disks using O_RDONLY + +smartmontools-5.0-11 + + smartd now prints the name of a failed or changed attribute + into logfile, not just ID number + + Changed name of -p (print version) option to -V + + Minor change in philosophy: if a SMART command fails or the device + appears incapable of a SMART command that the user has asked for, + complain by printing an error message, but go ahead and try + anyway. Since unimplemented SMART commands should just return an + error but not cause disk problems, this shouldn't cause any + difficulty. + + Added two new flags: q and Q. q is quiet mode - only print: For + the -l option, errors recorded in the SMART error log; For the -L + option, errors recorded in the device self-test log; For the -c + SMART "disk failing" status or device attributes (pre-failure or + usage) which failed either now or in the past; For the -v option + device attributes (pre-failure or usage) which failed either now + or in the past. Q is Very Quiet mode: Print no output. The only + way to learn about what was found is to use the exit status of + smartctl. + + smartctl now returns sensible values (bitmask). See smartctl.h + for the values, and the man page for documentation. + + The SMART status check now uses the correct ATA call. If failure + is detected we search through attributes to list the failed ones. + If the SMART status check shows GOOD, we then look to see if their + are any usage attributes or prefail attributes have failed at any + time. If so we print them. + + Modified function that prints vendor attributes to say if the + attribute has currently failed or has ever failed. + + -p option now prints out license info and CVS strings for all + modules in the code, nicely formatted. + + Previous versions of this code (and Smartsuite) only generate + SMART failure errors if the value of an attribute is below the + threshold and the prefailure bit is set. However the ATA Spec + (ATA4 <=Rev 4) says that it is a SMART failure if the value of an + attribute is LESS THAN OR EQUAL to the threshold and the + prefailure bit is set. This is now fixed in both smartctl and + smartd. Note that this is a troubled subject -- the original + SFF 8035i specification defining SMART was inconsistent about + this. One section says that Attribute==Threshold is pass, + and another section says it is fail. However the ATA specs are + consistent and say Attribute==Threshold is a fail. + + smartd did not print the correct value of any failing SMART attribute. It + printed the index in the attribute table, not the attribute + ID. This is fixed. + + when starting self-tests in captive mode ioctl returns EIO because + the drive has been busied out. Detect this and don't return an error + in this case. Check this this is correct (or how to fix it?) + + fixed possible error in how to determine ATA standard support + for devices with no ATA minor revision number. + + device opened only in read-only not read-write mode. Don't need R/W + access to get smart data. Check this with Andre. + + smartctl now handles all possible choices of "multiple options" + gracefully. It goes through the following phases of operation, + in order: INFORMATION, ENABLE/DISABLE, DISPLAY DATA, RUN/ABORT TESTS. + Documentation has bee updated to explain the different phases of + operation. Control flow through ataPrintMain() + simplified. + + If reading device identity information fails, try seeing if the info + can be accessed using a "DEVICE PACKET" command. This way we can + at least get device info. + + Modified Makefile to automatically tag CVS archive on issuance of + a release + + Modified drive detection so minor device ID code showing ATA-3 rev + 0 (no SMART) is known to not be SMART capable. + + Now verify the checksum of the device ID data structure, and of the + attributes threshold structure. Before neither of these + structures had their checksums verified. + + New behavior vis-a-vis checksums. If they are wrong, we log + warning messages to stdout, stderr, and syslog, but carry on + anyway. All functions now call a checksumwarning routine if the + checksum doesn't vanish as it should. + + Changed Read Hard Disk Identity function to get fresh info from + the disk on each call rather than to use the values that were read + upon boot-up into the BIOS. This is the biggest change in this + release. The ioctl(device, HDIO_GET_IDENTITY, buf ) call should + be avoided in such code. Note that if people get garbled strings + for the model, serial no and firmware versions of their drives, + then blame goes here (the BIOS does the byte swapping for you, + apparently!) + + Function ataSmartSupport now looks at correct bits in drive + identity structure to verify first that these bits are valid, + before using them. + + Function ataIsSmartEnabled() written which uses the Drive ID state + information to tell if SMART is enabled or not. We'll carry this + along for the moment without using it. + + Function ataDoesSmartWork() guaranteed to work if the device + supports SMART. + + Replace some numbers by #define MACROS + + Wrote Function TestTime to return test time associated with each + different type of test. + + Thinking of the future, have added a new function called + ataSmartStatus2(). Eventually when I understand how to use the + TASKFILE API and am sure that this works correctly, it will + replace ataSmartStatus(). This queries the drive directly to + see if the SMART status is OK, rather than comparing thresholds to + attribute values ourselves. But I need to get some drives that fail + their SMART status to check it. + + +smartmontools-5.0-10 + Removed extraneous space before printing in some error messages + Fixed additional typos in documentation + Fixed some character buffers that were too short for their contents. + +smartmontools-5.0-9 + + Put project home path into all source files near the top + Corrected typos in the documentation + Modified Makefile so that Mandrake Cooker won't increment version number + (unless they happen to be working on my machine, which I doubt!) + +smartmontools-5.0-8: + + For IBM disks whose raw temp data includes three temps. print all + three + + print timestamps for error log to msec precision + + added -m option for Hitachi disks that store power on life in + minutes + + added -L option for printing self-test error logs + + in -l option, now print power on lifetime, so that one can see + when the error took place + + updated SMART structure definitions to ATA-5 spec + + added -p option + + added -f and -F options to enable/disable autosave threshold + parameters + + changed argv parsing to use getops -- eliminate buffer overflow + vulnerability + + expanded and corrected documentation + + fixed problem with smartd. It did not actually call + ataSmartEnable()! Since the argument was left out, the test + always succeeded because it evaluated to a pointer to the function. + + smartd: closed open file descriptors if device does not support + smart. Note: this still needs to be fixed for SCSI devices + + +smartmontools-5.0-0 STARTED with smartsuite-2.1-2 diff --git a/ChangeLog-6.0-7.0 b/ChangeLog-6.0-7.0 new file mode 100644 index 0000000..6fd2907 --- /dev/null +++ b/ChangeLog-6.0-7.0 @@ -0,0 +1,3856 @@ +$Id: ChangeLog-6.0-7.0 5333 2022-02-26 00:15:22Z dpgilbert $ + +2018-12-30 Christian Franke <franke@computer.org> + + smartmontools 7.0 + +2018-12-29 Christian Franke <franke@computer.org> + + smartctl.8.in: Remove extra quote. + + INSTALL: Update or remove various outdated info. + +2018-12-28 Christian Franke <franke@computer.org> + + configure.ac: Set drivedb.h branch to 7.0. + update-smart-drivedb.in: Update public key block. + update-smart-drivedb.8.in: Update key ID. + + Create new branch RELEASE_7_0_DRIVEDB. + Sign drivedb.h using new key ID 721042C5. + +2018-12-27 Christian Franke <franke@computer.org> + + do_release: Add quotes to AC_INIT regex. + + configure.ac: Update PACKAGE_HOMEPAGE. + + configure.ac: Set release number to 7.0 + + smartctl.cpp: Set JSON format version to 1.0 (#766). + + scsiprint.cpp: Omit JSON values for unavailable counters from + Format Status log page. This ensures that each JSON value always + has the same type. + + drivedb.h: + - SandForce Driven SSDs: Kingston E50 (#756) + - WDC HGST Ultrastar He10 (#959, #997, #1093, #1111) + - Toshiba 2.5" HDD MQ04UBF... (USB 3.0) (#937) + - Seagate Barracuda 7200.10: HP OEM 160GB (#1037) + - Seagate Constellation ES.3: HP OEM 4TB + - Seagate Exos 5E8 (#1058) + - Seagate IronWolf Pro (#1076, GH issues/10, GH issues/14) + - WD Blue and Green SSDs: Rename, add Green (#980, #1073) + +2018-12-20 Donald Pierce <...> + + drivedb.h: + - Dell Certified Intel S3520 Series SSDs (#1147) + - Dell Certified Intel S4x00/D3-S4x10 Series SSDs (#1148) + +2018-12-20 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: Kingston HyperX Fury (#805) + - Phison Driven SSDs: PNY CS2211 (#992) + - JMicron based SSDs: ADATA SX390 (#818), + KingSpec KDM-SA.51-008GMJ (#741) + - SiliconMotion based SSDs: KingSpec KSD, KingSpec T60, + Team Group L5Lite 3D (#1144), Transcend ESD400 + - USB: Transcend ESD400 (0x2174:0x2000) + + smartd.cpp: Remove unneeded '.c_str()' call. Update a comment. + + configure.ac: Use AS_HELP_STRING instead of AC_HELP_STRING + as suggested by autoupdate. Add missing check for 'enableval'. + +2018-12-16 Christian Franke <franke@computer.org> + + smartd.8.in: Don't use empty lines before '.SH' macros. + + smartd.cpp: [_WIN32] Remove check for '-m [sys]msgbox'. + + nvmeprint.cpp: Don't print NSID in SMART/Health Information title + line. This log is always read with broadcast NSID. + +2018-12-16 Giuseppe Iuculano <iuculano@debian.org> + + cciss.cpp: Fix kFreeBSD build (Debian kfreebsd.patch). + + smartd.service.in: Declaring After=syslog.target is unnecessary by + now because syslog is socket-activated and will therefore be started + when needed (Debian removesyslogtarget.patch). + +2018-12-11 Christian Franke <franke@computer.org> + + smartd.conf.5.in: Update DEVICESCAN info and move it up to a + new section. Add section header for DEFAULT SETTINGS. + + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Remove EXPERIMENTAL + notes for features added before 6.5. + + os_linux.cpp: Call realpath() with full /sys/* path instead of + device name (GH pull/23). This fixes detection of hpsa devices + (regression from r4603). + +2018-12-11 Harry Mallon <hjmallon@gmail.com> + + scsinvme.cpp: Fix debug message. + +2018-12-05 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.conf.5.in: Mark '-d sntjmicron' as + EXPERIMENTAL. + + drivedb.h: Enable JMicron JMS583 entry, use an internal -d option. + scsinvme.cpp: Detect this internal -d option and ask user to test + '-d sntjmicron'. + + scsinvme.cpp: Add missing include of config.h. + +2018-12-05 Harry Mallon <hjmallon@gmail.com> + + Add '-d sntjmicron[,NSID]' device type for NVMe drives behind + JMicron USB to NVMe bridges (JMS583). + +2018-12-04 Christian Franke <franke@computer.org> + + os_linux.cpp: Add '-d by-id' option to device scanning. + If specified, scan '/dev/disk/by-id/*' for symlinks to '/dev/sdX' + and remove duplicates. + +2018-12-02 Christian Franke <franke@computer.org> + + drivedb.h: + - Samsung based SSDs: CM851 (#1109), SM863a (#1140) + - SiliconMotion based SSDs: Transcend 420K (GH issues/20), + Transcend 630 (#1038) + - Western Digital Gold: Re-add 8TB *2 variant + - USB: Buffalo HD-PNTU3 (0x0411:0x01e7), HD-LC3 (0x0411:0x027e) + - USB: ADATA NH13 (0x125f:0xa13a), HD710P (0x125f:0xa75a) + - USB: Verbatim External Hard Drive (0x18a5:0x0408) (#1107) + + AUTHORS: Add Harry Mallon. + +2018-12-02 Harry Mallon <hjmallon@gmail.com> + + drivedb.h: USB: LaCie Rugged Mini HDD (0x059f:0x106b) + + Fix many typos. + + ataprint.cpp: Fix Form Factor string with bits set in reserved area + - Happens with APPLE SSD SD0256F + +2018-11-27 Christian Franke <franke@computer.org> + + os_linux.cpp: Add USB ID detection for '/dev/sgN'. + + smartd_warning.sh.in: Fix typo (#1138). + +2018-11-27 Harry Mallon <hjmallon@gmail.com> + + autogen.sh: allow automake 1.16 and 1.16.1. + +2018-11-25 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs: Micron 1100 + alternative ID string (#1131) + - SandForce Driven SSDs: Comay BladeDrive E28 (#823), + MX-DS FUSION (#900), OCZ Deneva 2 *.C (#1119), OCZ-VERTEX3 LT + - Phison Driven SSDs: Kingston A400 with extra space in ID (#801) + - Samsung based SSDs: SM951 *HDGM variant (patch from #1113) + - SiliconMotion based SSDs: KingDian S400 (#1116) + - Western Digital Gold: 1TB, 2TB (#1035, #1047), 8TB (#1033), + 12TB, attribute 22 "Helium_Level" (patch from #1115) + +2018-11-25 Cameron Costa <cameron.costa@intel.com> + + drivedb.h: Intel S4510 M.2 (#1121, #1122, #1123, #1133) + +2018-11-13 Christian Franke <franke@computer.org> + + os_linux.cpp: Drop device scan support for obsolete devfs. + Implement new version of scan_smart_devices(). This avoids + duplicates if multiple '-d TYPE' options are specified. + + dev_interface.cpp, dev_interface.h: Add default implementation for + old version of scan_smart_devices(). + +2018-11-02 Oleksii Samorukov <samm@os2.kiev.ua> + + os_darwin.cpp, os_freebsd.cpp: fix return value in error paths + patch provided by rikard.falkeborn (github) + +2018-11-02 Christian Franke <franke@computer.org> + + json.cpp: Allow UTF-8 characters in strings. + + ataprint.cpp: Add JSON support for '-l defects'. + Add numeric values to JSON 'interface_speed' info. + Replace local 'le*_to_uint()' with 'sg_get_unaligned_le*()'. + + ataprint.cpp, ataprint.h: Remove request to send '-l defects' output. + Remove 'pending_defects_info' flag. + smartctl.cpp, smartctl.8.in: Add '-l defects' to '-x' output. + +2018-10-25 Christian Franke <franke@computer.org> + + json.cpp, json.h: Add 'pretty' print option. + smartctl.cpp, smartctl.8.in: Add '--json=c' option to disable + pretty-printing. + + ataprint.cpp, nvmeprint.cpp, smartctl.cpp: Use const references + for json::ref function parameters. + + json.cpp, json.h: Clean up usage of 'int64_t' and 'long long'. + Use PRI?64 instead of "ll?" in printf() format strings. + This re-enables build on older versions of MinGW. + +2018-10-23 Christian Franke <franke@computer.org> + + json.cpp: Remove extra space after JSON key names. + + json.cpp, json.h: Remove return of self reference from operator=(). + + json.cpp, json.h: Change handling of unsafe and 128-bit integers: + Output as string 'KEY_s' and LE byte array 'KEY_le' if range exceeded + or verbose mode enabled. + smartctl.cpp, smartctl.8.in: Add '--json=v' option. + +2018-10-17 Christian Franke <franke@computer.org> + + os_win32/popen_win32.cpp, os_win32/popen.h: New popen()/pclose() + for Windows. Unlike MSVCRT _popen(), it does not open a new console. + os_win32.cpp: Remove run_cmd(), use popen() instead. + os_win32/daemon_win32.cpp, os_win32/daemon_win32.h: Remove + daemon_spawn(). + smartd.cpp: Remove _WIN32 specific usage of daemon_spawn(), + use generic code with popen() also on Windows. + Place quotes around warning script path on Windows. + Makefile.am, os_win32/vc14/smart*.vcxproj*: Add new files. + +2018-10-17 Rick Chen <juihsiang.chen@gmail.com> + + scsiprint.cpp: Add SCSI information to JSON output as below: + - Drive trip temperature (#1079) + - Error counter log read/write/verify (#1079) + - Grown defect list (#1082) + - Percentage used endurance indicator (#1083) + +2018-10-14 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs: MX500 M.2 + - Samsung based SSDs: Samsung SM841 (#1043), PM841 (#1052), + Samsung 860 EVO (#1034, #1040, #1051, #1059), + Samsung 860 PRO (#1010, #1068, #1102, #1103, #1104), + Samsung Portable SSD T5 (#1050) + - USB: Samsung Portable SSD T5 (0x04e8:0x61f5) (#1050) + + os_darwin.cpp: Add missing braces to SMART RETURN STATUS LBA register + setting. Detected by g++ 7.3 -Wmisleading-indentation. + +2018-10-11 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows 10 1809 and Server 2019 build number. + Move "(64)" to end of version info. + + os_linux.cpp: Fix '-d megaraid' open crash on missing /proc/devices. + There is no /proc/devices on ESXi (see #800) and WSL. + +2018-10-09 Christian Franke <franke@computer.org> + + smartd.cpp: Move code for '--capabilities' to separate functions. + + smartd.cpp: Rework main loop. + + smartctl.cpp, smartd.cpp, os_linux.cpp, os_solaris.cpp: + Replace all uses of EXIT() macro. Use early return where possible, + use throw otherwise. + utility.h: Remove EXIT() macro. + + utility.cpp: Detect more C++ language versions for -V option. + + drivedb.h: + - Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs: Rename, + BX500 (#1095) + - Seagate Samsung SpinPoint F4 EG (AF) (#1090) + - Seagate Momentus 5400.6: Add '-F xerrorlba' (#1094) + - USB: JMicron JM562 (0x152d:0x0562) (IDENTIFY only, see #966) + - USB: VIA VL715 (0x2109:0x0715) (#1098) + +2018-10-09 Anthony D'Atri <anthony.datri@gmail.com> + + drivedb.h: (#1096) + - Samsung based SSDs: Samsung PM863a (#951, #952, #961, #962, #972) + - Intel 730 and DC S35x0/3610/3700 Series SSDs: Dell-flavor S3500 + +2018-10-09 Thomas Niedermeier <tniedermeier@thomas-krenn.com> + + drivedb.h: Samsung PM883 and SM883 (GH pull/19) + +2018-09-27 Christian Franke <franke@computer.org> + + INSTALL: Update list of default ./configure options. + + utility.cpp: Add check of sg_get_unaligned_[bl]e16() and *32 to + check_endianness(). + + utility.cpp, utility.h: Optionally use C++11 'std::regex' instead of + POSIX regex(3). + configure.ac: Add option '--with-cxx11-regex'. + + utility.cpp, utility.h: Simplify 'class regular_expression', remove + unneeded flag parameters, remove unused function. + atacmds.cpp, knowndrives.cpp, os_win32.cpp, smartd.cpp: Adjust usage + accordingly. + + configure.ac, utility.cpp, utility.h: Remove replacement for missing + 'strtoull()'. + + configure.ac: Change default for '--with-nvme-devicescan' to 'yes' + on Linux and Windows. Keep 'no' on FreeBSD, NetBSD and Darwin. + +2018-09-26 Christian Franke <franke@computer.org> + + configure.ac: Print warning if systemd(1) is present but + libsystemd-dev package is missing. + + smartd.cpp: Notify READY=1 to systemd just before first sleep() to + ensure that the signal handlers are set. + + smartd.cpp: Always ignore failure of ATA SMART ENABLE command if + '-T permissive' is specified. Useful for testing on virtual + machines. + +2018-09-21 Christian Franke <franke@computer.org> + + configure.ac, os_linux.cpp: Remove redundant define WITH_SELINUX. + + configure.ac: Check for 'libcap-ng' only on Linux. + Rework __USE_MINGW_ANSI_STDIO test for MinGW runtime. + Print 'deprecated' warning for '--without-working-snprintf'. + + Add systemd(1) notify support to smartd (#1081): + configure.ac: Add option '--with-libsystemd'. + Makefile.am: Add linker flag and man page conditional. + smartd.cpp: If environment variable NOTIFY_SOCKET is set, use + sd_notify(3) to inform the service manager about state changes. + smartd.service.in: Set 'Type=notify'. + smartd.8.in: Document new functionality. + +2018-09-16 Christian Franke <franke@computer.org> + + atacmds.cpp: Avoid possible virtual call in dtor + (cppcheck 1.84: virtualCallInConstructor). + + os_win32.cpp: Use unsigned int for bit shifts + (cppcheck 1.84: shiftTooManyBitsSigned). + + Makefile.am: Set HAVE_WORKING_SNPRINTF also in VC14 config.h. + + os_netbsd.cpp: Add spaces between string literals and macros for + C++11 (g++ -Wliteral-suffix). + + ataprint.cpp: Add JSON support for '-l selective'. + + drivedb.h: Update or remove links in warning messages. + + drivedb.h: Crucial/Micron BX300, MX1/2/3/500, M5/600, 1100 SSDs: + - Rename, + - Crucial BX300 (GH pull/16, #963), + - Crucial MX300 750GB, + - Crucial MX500 (#977, #994, #995, #1004, #1024), + - Micron M500IT (#958), + - Micron 1100 OEM (GH pull/17), + - fix name of attribute 202 and 248. + +2018-09-12 Christian Franke <franke@computer.org> + + ataprint.cpp: Get JSON values 'temperature.op_limit_min/max' from + Device Statistics. + + atacmds.h, ataprint.cpp: Print ACS-4 max operating temperature + from SCT Status. + + Makefile.am: Remove define of 'HAVE_GETOPT_LONG'. + os*.cpp: Remove remaining checks for 'HAVE_GETOPT_LONG'. + + configure.ac: Remove check for 'uname()'. + os_generic.cpp, os_qnxnto.cpp: Remove function 'unsupported()'. + + drivedb.h: + - HGST Deskstar NAS: *6040ALE614 (#935, #1089) + - HGST Ultrastar DC HC520 (He12) (#1086) + +2018-09-12 Anthony D'Atri <anthony.datri@gmail.com> + + drivedb.h: Micron 5100 Pro / 5200 SSDs (#1071) + +2018-09-11 Oleksii Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: Fix build on FreeBSD 12, patch by fernape@ + +2018-09-10 Christian Franke <franke@computer.org> + + drivedb.h: + - Seagate Enterprise Capacity 3.5 HDD: V5.1 (#1087) + - Seagate Exos X12 HDD (#1042, #1046) + - Western Digital VelociRaptor (AF): WD5000BHTZ (patch from #1041) + +2018-09-10 David Purdy <david.c.purdy@gmail.com> + + drivedb.h: Phison Driven SSDs: Kingston A400 (#801) + +2018-09-02 Christian Franke <franke@computer.org> + + dev_intelliprop.h: Fix copyright info. + + ataprint.cpp, nvmeprint.cpp: Change JSON value 'power_on_hours' + to 'power_on_time.hours'. Add '.minutes' if available. + scsiprint.cpp: Add JSON values 'power_on_time.hours/minutes' from + Seagate factory lpage or from background scan lpage. + +2018-08-20 Christian Franke <franke@computer.org> + + Add missing license headers to some source files. + +2018-08-19 Christian Franke <franke@computer.org> + + Add SPDX-License-Identifier to all files with GPL header (#919). + Remove GPL headers. Remove outdated info about smartsuite. + + getopt/*, regex/*: Replace with current version from glibc 2.28 + (2018-08-01). Add _GETOPT/REGEX*_STANDALONE configurations. + Makefile.am, os_win32/vc14/smart*.vcxproj*: Set *_STANDALONE. + Add new files. + + examplescripts/README: Update mailing list address. + os_solaris_ata.s: Remove old mailing list address. + + os_win32/wbemcli_small.h: Remove this file. + The file <wbemcli.h> is usually provided by recent MinGW packages. + configure.ac: Remove check for <wbemcli.h>. + Makefile.am, os_win32/wmiquery.h, os_win32/vc14/smart*.vcxproj*: + Remove usage of 'wbemcli_small.h'. + + ataprint.cpp, nvmeprint.cpp: Add JSON values 'power_cycle_count' + and 'power_on_hours'. + json.cpp, json.h: Add 'set_if_safe_*' member functions. + +2018-08-13 Christian Franke <franke@computer.org> + + ataprint.cpp: Add JSON support for '-l devstat'. + Add JSON support also for old SCT Status format. + +2018-08-10 Christian Franke <franke@computer.org> + + smartctl.cpp, os_win32/wmiquery.h: Add missing printf() format checks. + This also silences -Wformat-nonliteral warnings from clang++ 5.0. + + os_win32.cpp: Increase IOCTL_ATA_PASS_THROUGH timeout to 60 seconds. + +2018-08-10 Zhdan Bybin <zhdan.bybin@intel.com> + + drivedb.h: + - Intel S3520 Series SSDs (#985) + - Intel S4510/S4610/S4500/S4600 Series SSDs (#912, #928, #1000) + +2018-08-04 Christian Franke <franke@computer.org> + + Remove int64.h, use <inttypes.h> or <stdint.h> instead. + + configure.ac, utility.cpp, utility.h: Add 128-bit unsigned integer + to string conversion. Provides full integer precision if compiler + supports '__int128' (e.g. x86_64 GCC and CLang). + json.cpp, nvmeprint.cpp: Use these new functions. + Makefile.am: Adjust config-vc14 target. + +2018-08-02 Christian Franke <franke@computer.org> + + scsicmds.h, scsiprint.cpp: Add support for SAS host managed drives + (patch from #1045). + +2018-08-01 Christian Franke <franke@computer.org> + + dev_interface.cpp, scsiata.cpp, smartctl.8.in, smartd.conf.5.in: + Add option '-d scsi+TYPE' to disable SAT auto detection. + Useful in conjunction with TYPEs 'aacraid' and 'cciss' (#871). + +2018-07-31 Christian Franke <franke@computer.org> + + drivedb.h: + - Phison Driven SSDs: Kingston DC400 (#933, #1011), move GOODRAM to ... + - Phison Driven OEM SSDs: ... here, PC Engines msata16d (#967), + INTENSO SATA III TOP (#1053) + - USB: Iomega MDHD500-U (0x059b:0x0274) (#1003) + - USB: Freecom (0x07ab:0xfc17) (#1049) + - USB: JMicron JMS539 (0x152d:0x0539/0x2801) (patch from #970) + - USB: JMicron (0x152d:0x0561) (#945) + - USB: JMicron JMS567 (0x152d:0x2567) (#948) + - USB: JMicron (0x152d:0x578e) (#987) + + json.cpp: Add missing ';' to '--json=g' output of 128-bit values. + +2018-07-29 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows Server 1803 build number. + Improve search for actual CSMI port number. + +2018-06-21 Christian Franke <franke@computer.org> + + os_linux.cpp: Rework handling of glob() return code. + Don't abort device scan on missing '/dev/discs' (#1036). + + os_win32.cpp: Decode Windows 10 1803 build number. + Silence g++ 7.3 -Wformat-truncation warning. + +2018-04-19 Christian Franke <franke@computer.org> + + utility.cpp, utility.h: Use array reference for buffer parameter + of dateandtimezoneepoch(). Remove no longer used dateandtimezone(). + + utility.cpp: Add check of sg_get_unaligned_[bl]e64() to + check_endianness(). + +2018-04-16 Douglas Gilbert <dgilbert@interlog.com> + + switch usage of unaligned.h to sg_unaligned.h which is functionally + the same. sg_unaligned.h is the same header used by libsgutils which + is the basis of the sg3_utils, sdparm and ddpt packages available on + many of the same architectures as smartmontools is. This change + introduces a "sg_" prefix on the inline functions defined + sg_unaligned.h . The new header has specializations for big and little + endian machines that depends on the non-standard bswap_16(), bswap_32() + and bswap_64() calls. They are defined in the byteswap.h header which is + a GNU extension. According to the 'net both gcc and clang use intrinsics + {assembler ?} to implement these calls. If the byteswap.h header is not + present on the build machine, the generic implementations will be + used for the "unaligned" family of functions. Additionally the generic + implementations can be imposed with './configure --disable-fast-lebe'. + Developers may need to use './autogen.sh' prior to their normal build + sequence. Please report any problems to the author. + +2018-03-28 Christian Franke <franke@computer.org> + + ataprint.cpp, nvmeprint.cpp, scsiprint.cpp: + Output JSON 'user_capacity' as 'blocks' and 'bytes'. + Handle both as unsafe ints. + + smartd.cpp: Ignore remaining percentage in initial check of + self-test execution status. + + scsiata.cpp: Fix device type info for 'usbcypress'. + + os_linux.cpp: Fix device scan crash on missing /proc/devices. + + update-smart-drivedb.in, update-smart-drivedb.8.in: + Add option '-u github'. + +2018-03-20 Christian Franke <franke@computer.org> + + nvmeprint.cpp: Add initial JSON support for '-i', '-H' and '-A'. + + json.cpp, json.h: Add support for 64 and 128 bit unsigned + integers. Add 'set_unsafe_*()' member functions to print unsigned + integers >= 53 bit as JSON number and string. + +2018-03-07 Douglas Gilbert <dgilbert@interlog.com> + + smartd.cpp: + - continue to use READ CAPACITY(10) first on unseen + SCSI devices but once we discover the need for + READ CAPACITY(16) use it for subsequent accesses + dev_interface.h: + - struct scsi_device: add set_rcap16_first() and + use_rcap16() const methods + scsicmds.cpp: + - use scsi_device::set_rcap16_first() when READ + CAPACITY(10) reports 32 bits can't represent the + number of blocks + +2018-03-06 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - add Transcend PSD SSD family (#979) + - add Toshiba HK4R Series SSD (#898) + - extend Western Digital Re regexp (#896) + - extend Wester Digital Se regexp (#953) + - add Smartbuy ignition plus (#976) + +2018-03-05 Gabriele Pohl <contact@dipohl.de> + + drivedb.h: + - Add Seagate IronWolf 12TB ST12000VN0007-2GS116 (#988) + +2018-03-05 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: add Seagate Barracuda Pro family (#981) + +2018-03-01 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: Fix build under -CURRENT (patch by cy@) + +2018-02-28 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Add SanDisk SDSSDH2128G (#982) + +2018-02-27 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - extend PLEXTOR PX regexp (#934) + - add Seagate Enterprise NAS HDD family (#946) + - add SanDisk SDSA6MM-* family (#965) + - fix Seagate Laptop HDD regexp (#955) + - add Seagate Barracuda Compute series (#927) + - extend Seagate Enterprise Capacity 3.5 HDD regexp (#956) + +2018-02-26 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - add Seagate XF1230 SSD (GH: issues/4) + - add Intel SSD Pro 5400s Series (GH: pull/5) + - add SanDisk-SD8SN8U-256G-1006 (GH: pull/3) + - add Toshiba Q300 SSD series (#932) + - extend HGST Deskstar NAS regexp (#975) + - add KINGSTON SNS4151S316GD SSD (#902) + +2018-02-20 Christian Franke <franke@computer.org> + + os_netbsd.cpp: Apply patch-os_netbsd.cpp 1.1 (2017-12-15) from + pkgsrc.se/sysutils/smartmontools: Add missing <sys/stat.h>. + + configure.ac, int64.h: Remove support for pre-C99 environments without + <inttypes.h> and <stdint.h>. + + configure.ac: Add '-Wformat=2 -fstack-protector-strong' unless + CXXFLAGS include other '-W' or '-f' options. + +2018-02-16 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Default to '-d sat' for Toshiba (0x0480), Seagate (0x0bc2), + Western Digital (0x1058), Initio (0x13fd), ASMedia (0x174c). + Keep known exceptions. Merge some entries. + +2018-02-08 Douglas Gilbert <dgilbert@interlog.com> + + nvme on windows: just some code comments. Seems as though + W10 tries to completely neuter the idea of a pass-through. + +2018-01-06 Douglas Gilbert <dgilbert@interlog.com> + + scsi subsystem: improve dStrHex() signature, adjust + invocations. Adjust scsi_format_id_string() signature. + Add smartctl support for Pending Defects (sub-)log page; + seems similar to 'smartctl -l defects' but that is ATA + only. Needs to be generalized (as it will probably appear + in NVMe also). + +2018-01-04 Douglas Gilbert <dgilbert@interlog.com> + + scsi subsystem: preparation for decoding more log pages. + +2018-01-01 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: fix build with CLANG/6. Patch provided by + Dimitry Andric, PR 224826 + +2018-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2017-12-30 Douglas Gilbert <dgilbert@interlog.com> + + scsi subsystem: add code to check for both log pages + and subpages, subpages were not checked for previously. + Add decoding for Format Status log page. Associated + cleanups. Tighten checking for Seagate and Hitachi + vendor specific log pages; '-T permissive' will relax + checks back to the situation before this patch + +2017-12-29 Douglas Gilbert <dgilbert@interlog.com> + + unaligned.h: fix inconsistency in function argument + of get_unaligned_be24() + +2017-12-29 Douglas Gilbert <dgilbert@interlog.com> + + Add --enable-scsi-cdb-check option to ./configure that + results in a SCSI cdb sanity check prior to SCSI generic + pass-through in Linux. [So it does not sanity check + Megaraid and 3ware (etc) pass-throughs (but could).] When + selected defines SCSI_CDB_CHECK in config.h . This may be + temporary. This patch is an attempt to catch strange + frames (perhaps SATA FIS) being sent to the SCSI + pass-through. + +2017-12-29 Douglas Gilbert <dgilbert@interlog.com> + + Rework scsiGetSize() and remove scsiGetProtPBInfo(). + Convert scsicmds.cpp to use unaligned.h get and put. + +2017-12-27 Alex Samorukov <samm@os2.kiev.ua> + + Add unaligned.h header file to the Makefile.am + +2017-12-27 Douglas Gilbert <dgilbert@interlog.com> + + Add unaligned.h header file; has get and put variants of + unaligned be16,24,32,48,64 and le16,24,32,48,64 copies + plus all_zeros() and all_ffs() helpers. All inline. + +2017-12-27 Douglas Gilbert <dgilbert@interlog.com> + + Remove UINT8, INT8, UINT32 and INT32 typedefs in favour + of the types from <stdint.h>; for example uint8_t + +2017-12-27 Douglas Gilbert <dgilbert@interlog.com> + + nvmecmds.cpp: according to NVMe 1.3a spec, the SMART/ + health information log page is global and should take + the global nsid (all ff_s). It also says the Error + info lpage is "global. Broke WD Black PCIe (NVMe) + SSD but worked on Intel SSDs. Fix; could break others. + +2017-12-27 Douglas Gilbert <dgilbert@interlog.com> + + os_freebsd.cpp: on error was setting set_nvme_err() to 1, + not the actual NVMe status value; fix. + +2017-12-24 Alex Samorukov <samm@os2.kiev.ua> + CircleCI: add FreeBSD cross compilation + +2017-12-22 Alex Samorukov <samm@os2.kiev.ua> + configure.ac: add -lsbuf to FreeBSD libs to fix static builds. + +2017-12-21 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: Start some JSON work. Other cleanups and helper + functions; potentially new header for those helpers. + +2017-12-17 Christian Franke <franke@computer.org> + + ataprint.cpp: Add JSON support for '-g all', '-l scterc' and + '-l scttemp'. + + ataprint.cpp: Don't print obsolete SCT Support Level (#940). + +2017-12-14 Christian Franke <franke@computer.org> + + ataprint.cpp: JSON '-A' output: Add booleans and string for attribute + flags. Remove string array. Rename table. + + ataprint.cpp: Add JSON support for '-l [x]error'. + +2017-12-13 Christian Franke <franke@computer.org> + + smartctl.cpp, smartctl.8.in: Rename '--json=a' to '--json=o'. + + smartctl.cpp: Show command line error messages in JSON output. + + ataprint.cpp: Add JSON support for '-l [x]selftest' and + '-l directory'. + + atacmds.cpp, atacmds.h: Move self-test print functions to ... + ataprint.cpp: ... here. + smartd.cpp: Rework self-test error counting. + + ataprint.cpp: Add JSON support for '-c'. + + atacmds.cpp, atacmds.h: Change return type of capability checks to + bool. Declare simple checks inline. + +2017-12-07 Christian Franke <franke@computer.org> + + json.cpp: Avoid 'cbegin()' and 'cend()' to fix build with older + libstdc++. + + json.cpp, json.h, smartctl.cpp, smartctl.8.in: Add '--json=s' option. + Outputs JSON object elements sorted by key. + Add '--json=g' option. Outputs JSON structure suitable for grep. + +2017-12-05 Christian Franke <franke@computer.org> + + ataprint.cpp: Add JSON support for '-l sataphy'. + + smartctl.cpp: Add JSON support for '--scan'. + Add similar device info to regular JSON output. + ataprint.cpp, scsiprint.cpp: Remove now duplicate "protocol" element. + + smartctl.cpp: Silence false positive warnings from clang analyzer. + +2017-12-02 Christian Franke <franke@computer.org> + + Add initial support for smartctl JSON output mode (#766): + json.cpp, json.h: New files with JSON support class. + Makefile.am, os_win32/vc14/smartctl.vcxproj*: Add new files. + ataprint.cpp: Add initial JSON support for -i, -H, -A and -l [x]error. + scsiprint.cpp: Add initial JSON support for -i and -H. + smartctl.cpp, smartctl.h: Add '-j, --json' option, global JSON object + and new print functions. + smartctl.8.in: Document new functionality. + + atacmds.cpp: Remove no longer needed variable 'must_swap'. + + os_win32.cpp: Remove include of smartctl.h, add extern declaration. + Decode Windows Server 1709 build number. + + configure.ac, os_linux.cpp: Always include <sys/sysmacros.h> if available. + This silences a 'deprecated' warning from glibc 2.25 headers. + +2017-11-20 Alex Samorukov <samm@os2.kiev.ua> + + os_netbsd.cpp (fix regressions in smartmontools 6.6) + - fix BE platforms support, tested on sparc64 (#943) + - fix name based device type detection (#943) + - Add byte-swapping for IDENTIFY command and remove related hacks from the + atacmds.cpp (#117) + +2017-11-18 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Add Swissbit C440 industrial cf card series (#942) + - Fix Innolite Satadom D150QV entry (#939) + +2017-11-16 Christian Franke <franke@computer.org> + + smartd.initd.in: Remove FreeBSD section. + + os_linux.cpp: Add missing braces to 3ware SELinux code. + This possibly harmless bug was introduced ~10 years ago in r2510. + It is now detected by g++ 6.3 -Wmisleading-indentation warning. + + update-smart-drivedb.in: Include configured PATH in help and + error messages. Allow digits in SVN Id user name. + + configure.ac: Prepend '/usr/local/bin' to default for + '--with-scriptpath' (#941). + +2017-11-15 Christian Franke <franke@computer.org> + + smartd.cpp: Use 'sigaction()' instead of deprecated 'sigset()' + or 'signal()'. + configure.ac: Add '--with-signal-func' to select old function + if needed. + + configure.ac: Remove '-with-initscriptdir=[auto|yes]' heuristics. + The default init script is no longer useful on most platforms. + INSTALL: Update related documentation. + + configure.ac, Makefile.am: Use smartd.cygwin.initd.in on Cygwin. + smartd.cygwin.initd.in: New file. + smartd.initd.in: Remove Cygwin section. + + configure.ac: Make some header checks platform specific. + Print '--with-nvme-devicescan' warning also on FreeBSD. + Remove '--with-solaris-sparc-ata' warning. + + examplescripts/Example6: Add enhancements from Fedora package. + +2017-11-13 Christian Franke <franke@computer.org> + + drivedb.h: + - Western Digital Red: WD80EZZX + - USB: WD My Book (0x1058:0x25ee) (Red Hat Bugzilla 1446533) + +2017-11-13 Matt Coates <me@mattjackets.com> + + drivedb.h: USB: Seagate Backup Plus 4TB (0x0bc2:0xab43) (#926) + +2017-11-10 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: add SanDisk iSSD SDIS6BM (#923) + +2017-11-08 Christian Franke <franke@computer.org> + + Makefile.am, os_win32/installer.nsi: Add VERSIONINFO resource to + installer. + + os_win32/installer.nsi: Remove get/set of old 'Install_Dir' registry + entry. No longer needed for recent versions of GSmartControl. + Remove deletion of old .exe.manifest files. + Search also for 64-bit version of Notepad++. + + ataprint.cpp: Fix detection of Device Statistics log with + 256 sectors (#922). + + os_linux.cpp: Use 'realpath()' (BSD, POSIX) instead of + 'canonicalize_file_name()' (GNU extension). + This fixes build on systems with musl libc (#921). + +2017-11-06 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: implement NVMe device scan (#687) + os_freebsd.cpp: show hint if /dev/nvd* is specified as device name + +2017-11-05 Christian Franke <franke@computer.org> + + configure.ac: Add separate version number for drivedb.h branch. + +2017-11-05 Christian Franke <franke@computer.org> + + smartmontools 6.6 + +2017-11-04 Christian Franke <franke@computer.org> + + drivedb.h: + - Apple SD/SM/TS...E/F/G SSDs: Rename, add 1TB + - Innodisk 3IE3/3ME3/3ME4 SSDs: Rename, add 3ME4 + - Intel 730 and DC S35x0/3610/3700 Series SSDs: 150GB, *G7 + (ticket #750) + - USB: Toshiba Canvio (0x0480:0xa202, 0xa207) + - USB: Seagate Expansion Desktop (0x0bc2:0x3330) + - USB: Maxtor D3 Station 3TB (0x0bc2:0x6123) + - USB: Seagate Backup Plus 4TB (0x0bc2:0xab1e) + - USB: JMicron (0x152d:0x0579) + - USB: Hitachi Touro Mobile (0x4971:0x1023) + - USB: JMicron JMS566 (0xa152:0xb566) + - USB: LogiLink PCCloneEX Lite (0xabcd:0x6104) + + smartd.conf.5.in: Fix conditionals of platform specific samples. + + smartctl.8.in, smartd.conf.5.in: Shorten or remove info about + very old 3ware controllers. + + smartctl.8.in: Add '-g' to '-x' documentation. + Avoid a very long line. + + smartctl.cpp: Improve help text formatting. + +2017-11-03 Christian Franke <franke@computer.org> + + update-smart-drivedb.8.in: Update mailing list link. + update-smart-drivedb.in: Update mailing list comment. + + utility.cpp: Silence g++ 7.1 -Wformat-truncation warning. + + atacmds.cpp, dev_areca.cpp, os_linux.cpp: Add comments to silence + g++ 7.1 -Wimplicit-fallthrough=[1-4] warnings. + + os_linux.cpp: Fix indentation (g++ 6.3: -Wmisleading-indentation). + + nvmeprint.cpp: Print IEEE EUI-64 of namespace. + +2017-10-29 Christian Franke <franke@computer.org> + + smartctl.8.in: Add notes about SMART commands obsoleted in ACS-4. + Remove some outdated info. + + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Enable NVMe sections + for Darwin. + + os_win32/installer.nsi: Update links. + Remove outdated uninstall commands. + + INSTALL: Update ./configure description and OS info. + + ataidentify.cpp, ataprint.cpp: Minor ACS-4 additions. + + ataprint.cpp, ataprint.h, smartctl.cpp: Add option '-l defects' + to print ATA ACS-4 Pending Defects log (ticket #909). + smartctl.8.in: Document '-l defects'. + +2017-10-25 Christian Franke <franke@computer.org> + + drivedb.h: + - Samsung based SSDs: PM871b (tickets #895, #903) + - Seagate Enterprise Capacity 3.5 HDD: 4TB (fix for #913) + - Western Digital Red Pro: 6TB (ticket #785) + + os_win32/smartd_warning.cmd: Add ability to run PowerShell scripts + with '-M exec'. + smartd.conf.5.in: Document new functionality. Fix typo. + +2017-10-25 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - add SATA Voyager GTX (#893) + +2017-10-24 Christian Franke <franke@computer.org> + + do_release: Update code signing key id. + + update-smart-drivedb.in: Add new mailing list address to database + signing key. + +2017-10-24 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - add USB Voyager GTX (#893) + - add Phison based OEM SSD based on the firmware name (#853, #831) + - add Ultrastar 7K2 series (#892) + - add LITEON ZETA (LMH-*V2M-*) (#794) + +2017-10-22 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows 10 1709 build number. + + configure.ac: Fail instead of warn if no compiler option to accept + C++11 found and '--with-cxx11-option' is not specified. + +2017-10-19 Alex Samorukov <samm@os2.kiev.ua> + + scsicmds.h: increase SCSI_TIMEOUT_DEFAULT to 1 minute to work on the + big JBOD arrays (#917) + +2017-10-15 Christian Franke <franke@computer.org> + + smartd.cpp: Use also device identify information to detect for + duplicate devices (ticket #313). + + atacmds.cpp: Don't pass possibly unaligned pointers to swapx(). + This silences '-Waddress-of-packed-member' warning from clang++ 4.0 + (ticket #915). + +2017-10-12 Alex Samorukov <samm@os2.kiev.ua> + + os_linux.cpp: implemented support for the SG_IO V4 API. This should + fix kernel warnings and other issues on the /dev/bsg SCSI devices. + Based on the patch created by Circuitsoft (#782) + +2017-10-11 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin.cpp: fix crash on --scan (regression from r4549) + +2017-10-10 Christian Franke <franke@computer.org> + + configure.ac, os_darwin.cpp: Align Darwin NVMe device scanning with + other platforms: Disable unless '--with-nvme-devicescan' or '-d nvme' + is specified. Print related configure warning. + +2017-10-09 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Extend Seagate Barracuda 7200.12 regexp (#910) + - Extend Seagate NAS HDD regexp (#778) + - Extend Seagate Surveillance regexp (#807) + - Extend Seagate Enterprise Capacity 3.5 HDD regexp (#864, #913) + - Fix Seagate Barracuda 2.5 5400 regexp to add new models and + avoid false matches (#796) + - Add Seagate IronWolf HDD series (#760) + - Fix attribute 183 for the Seagate Barracuda 2.5 5400 HDD (#816) + - Added Mushkin Triactor series (#905) + - Extend Samsung PM830 regexp (#897) + +2017-10-08 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Add TOSHIBA MQ03UBB... series (#901) + - extend TOSHIBA THNSF regexp (#790) + +2017-10-08 Christian Franke <franke@computer.org> + + configure.ac: Check for compiler option to accept C++11. + If none found, print warning and ask user to provide info. + Add '--with-cxx11-option' to suppress this warning. + This is intended to check whether C++11 could be used in some + future smartmontools release. The current build is not affected. + + configure.ac, Makefile.am: Add Windows VERSIONINFO resource also to + runcmd*.exe and wtssendmsg.exe. Include application manifests if + needed. This also fixes manifests with older MinGW binutils which + do not support more than one resource objects. + os_win32/smart*_res.rc.in: Replace by os_win32/versioninfo.rc.in. + +2017-10-06 Christian Franke <franke@computer.org> + + Makefile.am: Add PDF man page formatting. + os_win32/installer.nsi: Add PDF man pages, remove TXT man pages. + + drivedb.h: + - SMART Modular Technologies mSATA XL+ SSDs (patch from ticket #802) + - StorFly CFast SATA: Add missing space. + - Fix regexp from tickets #882, #885. + +2017-10-05 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: add StorFly CFast SATA 6Gbps SSDs (#911) + +2017-10-05 Christian Franke <franke@computer.org> + + drivedb.h: + - Western Digital Red: WD80EFAX (tickets #857, #899) + - USB: Toshiba Canvio (0x0480:0xb207) + - USB: Apple/TOSHIBA MQ01UBB200 (0x05ac:0x8406) + - USB: Seagate Expansion Portable 2TB (0x0bc2:0x231a) + - USB: Maxtor M3 Portable 4TB (0x0bc2:0x61b7) (ticket #875) + - USB: WD Elements / My Passport (0x1058:0x259f) (ticket #833) + - USB: WD Elements / My Passport (0x1058:0x25e2) + - USB: WD Elements / My Passport (0x1058:0x25fa) (ticket #840) + - USB: WD My Book / Easystore (0x1058:0x1230) (ticket #835) + - USB: WD My Book / Easystore (0x1058:0x25fb) (tickets #857, #899) + - USB: JMicron JMS561U (0x152d:0x8561) (ticket #860) + - USB: Innostor IS888 (0x1f75:0x0888): -d sat works (ticket #827) + +2017-10-04 Alex Samorukov <samm@os2.kiev.ua> + + smartctl.8.in: update information about NVMe in Darwin and OS/2 support + smartd.cpp, utility.cpp: fix compiler warnings related to vprintf + +2017-10-03 Christian Franke <franke@computer.org> + + nvmeprint.cpp: Print new NVMe 1.3 feature flags. + +2017-10-02 Christian Franke <franke@computer.org> + + smartd.cpp: Add strict tests of /dev/null redirection and chdir("/"). + + configure.ac: Use '-fstack-protector' if '-strong' is not supported. + +2017-10-01 Christian Franke <franke@computer.org> + + configure.ac: Set default LDFLAGS for MinGW only if LDFLAGS is unset. + Add '-Wformat=2 -fstack-protector-strong' if supported and CXXFLAGS + is unset. + + drivedb.h: + - Fix regexp from tickets #714, #721, #759, #789, #797, #798, #806, + #824, #825, #866, #872, #880. + - SK hynix SATA SSDs (based on patch from ticket #874) + +2017-09-25 Alex Samorukov <samm@os2.kiev.ua> + + NVME: + - extend controller and smart log page structures to match 1.3 specification. + - Print thermal temperature transition statistic + drivedb.h: + - Added support for more LaCie and Freecom devices (patch from #891) + +2017-09-24 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Added Toshiba MK..34GSX series (#886) and MK..32GSX series (#887) + - Added GOODRAM CX200 SSD (#838) + - Added Mushkin SSD family (#797) + - Added Samsung PM871 to the Samsung SSD family (#798) + - Added PNY CS1311 family (#890) + - Added 0x152d:0x0578 Jmicron USB->SATA + - Added Transcend MTS800 drives (#787) + - Added Transcend MSA 630 series (#759) + - Extended Hitachi Deskstar 7K3000 regexp (#858) + +2017-09-23 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Fix HGST HDS724040ALE640 (#885) + - Add Toshiba MQ03ABB300 (#884) + - Fixed Hitachi 7K1000 (#883) + - Added Seagate Barracuda 2.5 5400 series (#882) + - Added new Seagate Barracuda 3.5 7200 series (#880) + - Added Toshiba P300 series (#881) + - Added SK hynix SSD SC300 series (#699) + - Added Toshiba HG6 Series SSD (#721) + - Added Hynix SSD series + - Added AMD Radeon Solid State Drives (#762) + - Added USB Bridge 0x3538:0x0064 (#855) + - Added Seagate ST4000NM0085 to the Capacity family + - Added Sandisk SATA Cloudspeed Max and GEN2 ESS SSDs and Sandisk SATA CS1K + GEN1 ESS SSDs (#846) + - Added Seagate FireCuda drives (#825) + - Added Transcend MTS400 drives (#847) + - Added Transcend MTS420 drives (#869) + - Added Transcend SSD230 drives (#879) + - Added Transcend SSD220S drives (#821) + - Added Intel 540 Series SSDs (#803) + - Added Intel 3710 Series SSDs (#824) + - Added Micron 5100 ECO, PRO, and MAX Models (#861) + - Added Samsung EVO SSD series - make regexp match less strict (#806) + - Added Hitachi CinemaStar 5K1000 series (#758) + - Added WDC WD4004FZWX disk to the Digital Black family (#765) + - Added Samsung SSD 845DC EVO series (#866) + - Added SK hynix SL308 family (#808) + - Added WD Blue PC SSD family (#767) + - Corrected Crucial M4 drivedb entry to include 32Gb model (#844) + +2017-09-20 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd: use /dev/nvme/nvme.h on the recent versions + os_darwin: + - initial NVMe support for the darwin platform. + - NVMe device scan support + - Add device type autodetection + +2017-08-08 Christian Franke <franke@computer.org> + + ataprint.cpp: Fix ATA Security Level check. + + configure.ac: Detect MinGW libstdc++ problems with high + '--image-base'. + + Update smartmontools-support mailing list address. + Remove old mailing list address from all source files. + +2017-05-03 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, smartd.conf.5.in, + update-smart-drivedb.8.in: + Rework vertical space and '.nf...fi' (no-fill) sections + for better formatting with various tools (groff, mandoc, + man2html) and output formats (text, pdf, html). + Use default vertical space instead of an empty line + between paragraphs. + Use '.br' instead of '.nf...fi' where applicable. + Use CW font in remaining no-fill sections. + + smartctl.8.in: Replace UTF-8 quotes. + +2017-05-02 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, smartd.conf.5.in, + update-smart-drivedb.8.in: + Various man/groff syntax fixes (ticket #656): + Split long lines. + Insert two spaces or newline between sentences. + Use ' for apostrophes. + Use groff extension \(aq (apostrophe quote, ASCII 0x27) + or ' for quotes. + Use \- (minus sign) for options and examples. + Use \(en (en-dash) for numeric ranges. + Protect . with \& if not at end of sentence. + +2017-04-24 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: remove duplicated code which checks ATA SMART + status (#746) + +2017-04-23 Alex Samorukov <samm@os2.kiev.ua> + + os_os2.cpp: + - code cleanup + - add os2ahci driver initial support + - fix selftest command + - add device scan support + +2017-04-19 Alex Samorukov <samm@os2.kiev.ua> + + OS/2 - many fixes: + - autodetect and build os_os2.o on OS/2 + - fix os_os2.cpp/os_os2.h compilation (thanks to franke@) + - get rid from the os_os/hdreg.h - use constants from the atacmd.h + - remove most of the dead code and unused functions + +2017-04-17 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows 10 1703 build number. + + atacmds.h, ataprint.cpp: Use STANDBY instead of IDLE command if + '-s standby,[N|off]' and '-s standby,now' are both specified. + smartctl.8.in: Document new behaviour of '-s standby,*'. + +2017-04-01 Christian Franke <franke@computer.org> + + atacmds.cpp, atacmds.h, ataprint.cpp: Print minimum supported ERC + Time Limit from SCT Status. + + ataidentify.cpp, ataprint.cpp: Add ACS-4 and SATA 3.3 major + versions, log pages, device statistic values and feature bits. + +2017-03-27 Christian Franke <franke@computer.org> + + scsiprint.cpp: Suppress "SAS address" if '-q noserial' is + specified (ticket #822). + + scsicmds.cpp: Remove useless variable + (cppcheck 1.77: knownConditionTrueFalse). + + smartd.cpp: Always suppress "failed to read Temperature" message + if SCSI device does not support temperature (ticket #817). + Fix initial check for SCSI temperature support. + Log SCSI temperature regardless of its origin. + +2017-03-11 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, smartd.conf.5.in, + update-smart-drivedb.8.in: Update EXPERIMENTAL notes. + Update links. Update or remove various outdated info. + + smartctl.8.in: Fix documentation of the '-g all' option. + + smartctl.cpp: Add '-g dsn' to '-x' output. + +2017-03-11 Jonghwan Choi <jhbird.choi@gmail.com> + + ataprint.cpp: Fix false positive DSN support detection. + +2017-03-09 Jean Delvare <...> + + smartctl.8.in: Fix documentation of the '-q' option. + +2017-03-09 Christian Franke <franke@computer.org> + + AUTHORS: Add Jonghwan Choi. + +2017-03-09 Jonghwan Choi <jhbird.choi@gmail.com> + + Add options to get/set ATA DSN (Device Statistics Notification) + feature (ticket #815): + atacmds.h: Add DSN feature subcommand code. + ataprint.cpp, ataprint.h, smartctl.cpp: Add '-g/s dsn' options. + smartd.cpp: Add '-e dsn' directive. + smartctl.8.in, smartd.conf.5.in: Document the new options. + +2017-03-04 Christian Franke <franke@computer.org> + + smartctl.cpp, smartd.cpp: Fix help text for '-B' option. + + smartd.cpp: Unify indent style, replace tabs. + Move ATA/SCSI/NVMe device open to new common function. + Suppress warning emails and repeated log messages on open error if + '-d removable' is specified (Debian Bug 770872, Ubuntu Bug 1451572). + smartd.conf.5.in: Document new behaviour of '-d removable'. + +2017-03-02 Christian Franke <franke@computer.org> + + smartd.cpp: Move single device registration to new function. + Exit smartd on device open error unless '-q never' or '-d removable' + is specified (regression from r2602). + Prevent retry if registration failed and '-q never' is specified. + Add enum for '-q, --quit' option. + +2017-02-27 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron RealSSD C300/P300: Rename, add P300, remove M500 + - Crucial/Micron RealSSD m4/C400/P400: P400e micro SATA + - Crucial/Micron MX1/2/300, M5/600, 1100 Client SSDs: Rename, + add MX300 (tickets #763, #791), M550 M.2 (ticket #810), + 1100 (ticket #783) + +2017-02-22 Christian Franke <franke@computer.org> + + configure.ac: Set various default LDFLAGS for MinGW builds: + Link statically, indicate DEP and TS compatibility, enable ASLR. + Add '--with-mingw-aslr' option. + +2017-02-20 Christian Franke <franke@computer.org> + + os_win32.cpp: Decode Windows Server 2016 build number. + + os_win32.cpp: Rework CSMI port mapping. This fixes access to + ports != 0 behind IRST driver 15.2 (ticket #804). + +2017-01-30 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: unblock 48bit ATACAM commands for the legacy controllers + if FreeBSD version is >= 9.2-RELEASE, tested on FreeBSD 10.3 + +2017-01-28 Christian Franke <franke@computer.org> + + ataidentify.cpp: Don't shift negative values + (g++ 6.3: -Wshift-negative-value, cppcheck 1.77: shiftNegativeLHS). + + os_win32.cpp, scsiata.cpp, scsicmds.cpp, scsiprint.cpp: Fix 'if' + and 'else' clause indentations (g++ 6.3: -Wmisleading-indentation). + + Add indent style configuration for EditorConfig + (http://editorconfig.org/): + .editorconfig: New file. + Makefile.am: Add new file to source tarball. + +2017-01-21 Christian Franke <franke@computer.org> + + drivedb.h: + - Marvell based SanDisk SSDs: X300 OEM (ticket #747), + X400 (ticket #715), Ultra II (ticket #744) + - USB: Renesas uPD720231A (0x045b:0x0229) + - USB: Maxtor D3 Station 5TB (0x0bc2:0x6126) + - USB: Seagate Backup Plus 8TB (0x0bc2:0xab38) (ticket #786) + - USB: WD Elements / My Passport (0x1058:0x107d) (ticket #772) + - USB: WD Elements / My Passport (0x1058:0x25a1) (ticket #773) + - USB: WD My Book 4TB (0x1058:0x25a3) (ticket #784) + - USB: WD Elements / My Passport: Merge entries + - USB: WD My Book: Merge entries + +2017-01-14 Christian Franke <franke@computer.org> + + scsiata.cpp: Remove redundant assignment + (cppcheck: redundantAssignment). + + ataprint.cpp, ataprint.h, smartctl.cpp, smartctl.8.in: + Add STATUS parameter to '-n POWERMODE' option (ticket #697). + +2017-01-13 Christian Franke <franke@computer.org> + + configure.ac: Rework CXXFLAGS settings, use shell intrinsics. + + os_win32.cpp: Fix harmless buffer overflow bug + (found by VC14 code analyser). + +2017-01-12 Christian Franke <franke@computer.org> + + drivedb.h: + - Innodisk 1ME3/3ME/3SE SSDs: Rename, add 1ME3 (ticket #713), 3SE + - Innodisk 3IE2/3ME2/3MG2/3SE2 SSDs: Rename, add 3ME2 + - Samsung based SSDs: 750 EVO, PM810(470), 840, PM830, PM851, + CM871 (ticket #754), CM871a, PM871a (tickets #745, #775), + SM951 (ticket #704) + +2017-01-11 Christian Franke <franke@computer.org> + + smartctl.8.in: Make '-d intelliprop' visible on all platforms. + Add warning. + smartd.conf.5.in: Document '-d intelliprop'. + + os_win32/vc14/smart*.vcxproj*: Add new files. + + AUTHORS: Add Casey Biemiller + +2017-01-11 Casey Biemiller <cbiemiller@intelliprop.com> + + Add '-d intelliprop' device type for drives behind IntelliProp + RAID controllers (ticket #730): + atacmds.cpp, atacmds.h: Add function ataWriteLogExt(). + dev_intelliprop.cpp, dev_intelliprop.h: New files. + dev_interface.cpp: Add '-d intelliprop,N[+TYPE]' option. + Makefile.am: Add new files. + smartctl.8.in, smartd.conf.5.in: Document it. + +2017-01-09 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: fix panic on INVARIANTS enabled kernel, patch + provided (#780) by Oliver Pinter <oliver.pinter@hardenedbsd.org> + +2017-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2016-11-12 Christian Franke <franke@computer.org> + + atacmds.h, freebsd_nvme_ioctl.h: Apply patch-atacmds.h 1.1 + and patch-freebsd_nvme_ioctl.h 1.1 (2016-11-04) from + pkgsrc.se/sysutils/smartmontools: + Build fix for FreeBSD-11 and newer. Don't redefine now + existing things, ATA_SET_FEATURES and nvme_command. + +2016-11-10 Christian Franke <franke@computer.org> + + os_linux.cpp: Don't detect devices behind hpsa driver as regular + SCSI devices. Suggest to use '-d cciss,N' instead. + + Based on patch provided by Stanislav Brabec. + +2016-11-05 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Fix 'mv' error on first update with new + script. + + configure.ac, update-smart-drivedb.in: Add '--with-gnupg' option. + + configure.ac: Add '--with-update-smart-drivedb=X.Y' option to + backport drive database update script and man page to older + version X.Y. + + configure.ac: Remove checks for no longer supported options + --disable-drivedb, --enable-savestates and --enable-attributelog. + +2016-11-04 Christian Franke <franke@computer.org> + + Add authentication to update-smart-drivedb (ticket #751): + Create missing branches RELEASE_6_5_DRIVEDB and RELEASE_6_6_DRIVEDB. + Add signature files drivedb.h.raw.asc to each maintained branch. + + update-smart-drivedb.in: Include new public key block ID DFD22559. + Download also drivedb.h.raw.asc. + Do no longer download from trunk if branch does not exist. + Create drivedb.h.raw. Verify signature. + Add options '--trunk', '--no-verify' and '--export-key'. + update-smart-drivedb.8.in: Document new behaviour and options. + +2016-10-23 Christian Franke <franke@computer.org> + + smartd.8.in: Document Windows PARAMCHANGE service control command. + + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Enable NVMe sections + for NetBSD. + + configure.ac, os_netbsd.cpp: Add --with-nvme-devicescan for NetBSD. + + drivedb.h: + - Toshiba 3.5" MG04ACA... Enterprise HDD (ticket #732) + - Toshiba X300 (ticket #716) + - Seagate Laptop HDD: Rename, add 3/4TB (ticket #738) + - Seagate Constellation ES: HP OEM + - Western Digital RE4: *ABYZ variant + - Western Digital Re: Add attribute 16 (ticket #742) + - Western Digital Black: Remove *BEK[TX] variants + - Western Digital Black Mobile: 1TB, *BEKT, *LPLX variants + - Western Digital Elements / My Passport (USB, AF): 4TB + - USB: Neodio Technologies (0x0aec:0x3050) + - USB: Dura Micro (0x0c0b:0xb136) + - USB: My Passport Ultra 4TB (0x1058:0x2599) + +2016-10-17 Christian Franke <franke@computer.org> + + configure.ac: Add --with-scriptpath option. + smartd_warning.sh.in, update-smart-drivedb.in: Set PATH variable. + +2016-10-03 Christian Franke <franke@computer.org> + + os_win32/vc14/*.vcxproj: Add platform x64. + + os_win32.cpp: Use new enhanced version of IOCTL_STORAGE_QUERY_PROPERTY + to access NVMe info. This works with Windows 10 NVMe driver + (stornvme.sys) (ticket #691). + smartctl.8.in, smartd.8.in: Document device names. + +2016-09-28 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Buffalo MiniStation HD-PZU3 (0x0411:0x01f9) (ticket #739) + - USB: Iomega Prestige (0x059b:0x0571) + - USB: LaCie P9223 (0x059f:0x1070) + - USB: Seagate Expansion Desktop (0x0bc2:0x331a) (ticket #725) + - USB: Seagate Backup Plus (0x0bc2:0xab28) (ticket #738) + - USB: WD My Passport Ultra (0x1058:0x259d) (ticket #736) + - USB: ASMedia ASM1351 (0x174c:0x1351) + +2016-09-25 Christian Franke <franke@computer.org> + + AUTHORS: Add Kimihiro Nonaka. + +2016-09-25 Kimihiro Nonaka <...> + + os_netbsd.cpp: Migrate to new dev_interface (ticket #101). + Add NVMe support (ticket #728). + Implement netbsd_ata_device::ata_pass_through(). + netbsd_nvme_ioctl.h: New file based on "sys/dev/ic/nvmeio.h" from + NetBSD kernel sources. + Makefile.am: Add new file. + +2016-09-07 Christian Franke <franke@computer.org> + + Makefile.am: clean-vc14 targets. + + os_win32.cpp: Decode Windows 10 build number. + + os_win32/smartd_warning.cmd: Use delayed variable expansion. + + os_win32/smartd_mailer.ps1: Use domainname for default sender address. + os_win32/smartd_mailer.conf.sample.ps1: Update related comment. + os_win32/smartd_warning.cmd: Remove trailing '\r' from USERDNSDOMAIN. + +2016-08-28 Christian Franke <franke@computer.org> + + os_win32/installer.nsi: Fix quoting of EDITOR shortcuts. + + Send warning mails via PowerShell script on Windows (ticket #731): + Makefile.am, os_win32/installer.nsi: Add new files. + os_win32/smartd_mailer.ps1: New PowerShell script using Send-MailMessage + cmdlet to send mail. + os_win32/smartd_mailer.conf.sample.ps1: New sample config file. + os_win32/smartd_warning.cmd: Call new script if configured. + Improve error handling. Add setlocal. + smartd.conf.5.in: Document it. + +2016-08-17 Christian Franke <franke@computer.org> + + AUTHORS: Add Song Liu. + + smartctl.cpp: Reduce scope of 'persistent' flag + (cppcheck: variableScope). + +2016-08-17 Song Liu <songliubraving@fb.com> + + ataprint.cpp, ataprint.h, smartctl.cpp, smartctl.8.in: + Add persistent option ',p' to '-s wcreorder,on|off' (ticket #726). + + atacmds.cpp, atacmds.h, ataprint.cpp, ataprint.h, smartctl.cpp, + smartctl.8.in: Add ability to control ATA drive write cache through + SCT Feature control. The new smartctl options are + '-s wcache-sct,ata|on|off[,p]' and '-g wcache-sct' (ticket #723). + +2016-08-06 Christian Franke <franke@computer.org> + + os_win32.cpp: Add Windows 10 build number to get_os_version_str(). + + Update MSVC10 (VS2010) for VC14 (VS2015): + os_win32/vc14/*: Move from os_win32/vc10/*. + os_win32/vc14/*.vcxproj: Update for VC14. + Remove '__func__' workaround (revert r4225). + Makefile.am: Rename and update config-vc14 target. + utility.cpp: Add workaround for missing 'tzname'. + + drivedb.h: + - OCZ/Toshiba Trion SSDs: Rename, add TOSHIBA-TR150 (ticket #722) + - HGST Ultrastar 7K6000 (ticket #708) + - HGST Ultrastar He10 + - Seagate Desktop HDD.15: 6TB, 8TB + - Seagate Enterprise Capacity 3.5 HDD: 8TB, 10TB (ticket #717), + attribute 240 + - Seagate SV35: 4TB + - Western Digital Gold (ticket #711) + - USB: LaCie (0x059f:0x1075) (ticket #718) + - USB: Seagate Expansion External (0x0bc2:0x3322) (ticket #706) + - USB: Seagate FreeAgent GoFlex (0x0bc2:0x5030) (ticket #720) + - USB: Seagate Backup Plus Desktop (0x0bc2:0xab34) (ticket #700) + +2016-05-31 Christian Franke <franke@computer.org> + + drivedb.h: + - Intel 311/313 Series SSDs: mSATA, *H (HP) variant + - Intel 520 Series SSDs: *L (Lenovo) variant + - HGST Ultrastar He6/He8: attribute 22 "Helium_Level" + - Western Digital Red: 8TB, attribute 22 "Helium_Level" + - USB: WD My Passport Ultra (0x1058:0x0837) (ticket #696) + - USB: WD My Passport (0x1058:0x083a) + - USB: WD My Book (0x1058:0x111d) + +2016-05-10 Christian Franke <franke@computer.org> + + os_openbsd.cpp: Compile fix (regression from r4156). + + os_netbsd.cpp: Apply patch-os__netbsd.cpp 1.3 (2016-05-08) from + pkgsrc.se/sysutils/smartmontools: + - Compile fix (regression from r4156). + - Use a raw disk device file on NetBSD. + +2016-05-07 Christian Franke <franke@computer.org> + + smartmontools 6.5 + +2016-05-06 Christian Franke <franke@computer.org> + + drivedb.h: + - Samsung SpinPoint P80 SD: *J/P variant + - Seagate Samsung SpinPoint M7E + - Hitachi/HGST Travelstar Z5K500: *E680 variant + - Hitachi Travelstar 7K500: HITACHI variant + - Hitachi Ultrastar 7K3000: *A641 variant + - HGST Ultrastar He8 + - Toshiba 2.5" HDD MQ01ABD...: *V variant + - Seagate Desktop HDD.15: 5TB + - Seagate SV35.3 + - Seagate SV35: *0001 variant + - Seagate DB35: SATA variant + - Western Digital Blue: 2-6TB, *Z variant + - Western Digital RE4-GP: *2003* variant + - Western Digital Re: Rename, 2-6TB + - Western Digital Caviar Green: SATA 6Gb/s variant + - Western Digital Caviar Black: *7501AAES* + - Western Digital Blue Mobile: 2TB + - Western Digital Elements / My Passport (USB, AF): *7500B*, 3TB + +2016-05-01 Christian Franke <franke@computer.org> + + drivedb.h: + - Samsung based SSDs: 840 EVO 750GB (ticket #692), 850 EVO M.2, + SM843T *HCFV* variant + - USB: WD My Passport (0x1058:0x07ae) (ticket #686) + - USB: JMicron JMS561 (0x152d:0x9561) + + nvmecmds.cpp: Enhance debug hex dump to sizeof Identify structs. + Do not dump trailing zero bytes. + +2016-04-27 Christian Franke <franke@computer.org> + + nvmeprint.cpp, nvmeprint.h, smartctl.cpp, smartctl.8.in: + Add NVMe support for 'smartctl -c'. Print various drive and + namespace capabilities. Remove related info from '-i' output. + +2016-04-24 Christian Franke <franke@computer.org> + + nvmeprint.cpp: Fix formatting of error log with unset LBA fields. + + utility.cpp, utility.h: Skip leading blanks in format_char_array(). + Some NVMe devices return right aligned text fields. + + configure.ac, smartd.cpp: Remove include of netdb.h. + No longer needed since r3712. + + smartd.cpp, smartd.conf.5.in: Remove support for '-m [sys]msgbox'. + +2016-04-23 Christian Franke <franke@computer.org> + + drivedb.h: + - Innodisk 3ME SSDs + - Innodisk 3IE2/3MG2/3SE2-P SSDs: Rename, add 3SE2-P + - Innodisk 3IE3/3ME3 SSDs: Rename, add 3IE3 + - USB: Buffalo MiniStation HD-PNFU3 (0x0411:0x0251) (ticket #683) + - USB: Renesas uPD720231A (0x045b:0x022a) + - USB: Toshiba Canvio (0x0480:0x0210, 0x0480:0xa20c) + - USB: Samsung G2 Portable (0x04e8:0x6032): 2nd entry with -d sat + - USB: Iomega LDHD-UPS (0x059b:0x0278) + - USB: Iomega LPHD-UP (0x059b:0x0470) + - USB: LaCie Desktop Hard Drive (0x059f:0x1016) + - USB: SanDisk SDCZ80 Flash Drive (0x0781:0x5588) + - USB: Seagate Backup Plus USB 3.0 (0x0bc2:0xab2[05]) + - USB: WD My Passport Ultra (0x1058:0x0822) + - USB: WD Elements (0x1058:0x25a2) + - USB: JMicron JMS561 (0x152d:0x1561) + - USB: VIA VL711 (0x2109:0x0711): change to -d sat (ticket #594) + - USB: Sharkoon QuickPort XT USB 3.0 (0x357d:0x7788) + +2016-04-16 Christian Franke <franke@computer.org> + + smartctl.cpp: Allow NVMe debug messages during --scan. + Suppress "Device open changed type ..." message unless debug + mode is enabled. + + atacmds.cpp: Remove duplicate POWER MODE error message. + + smartd.cpp: Remove dead increment (cppcheck: unreadVariable). + Do not write localized decimal point to syslog(). + + configure.ac, Makefile.am: Add '--with-update-smart-drivedb=no' + option to disable drive database update script. Useful if + maintainers do not want the script due to security concerns + and/or want to provide database updates as a separate package + (Debian bug 804299, FreeBSD Bugzilla 208398). + smartctl.8.in, smartd.8.in: Hide references to script if disabled. + + nvmeprint.cpp: Add Power State and Namespace info to '-i' output. + Do not print unset or duplicate info unless debug mode is enabled. + nvmecmds.cpp, nvmecmds.h: Add Identify Namespace support. + +2016-04-15 Christian Franke <franke@computer.org> + + os_linux.cpp: Fix harmless bug in errno check of HPTIO_CTL ioctl() + calls. Bug was introduced 10 years ago in r2237. + +2016-04-15 Yuriy M. Kaminskiy <yumkam@gmail.com> + + os_linux.cpp: Fix harmless bug in errno check of HDIO_DRIVE_TASK* + ioctl() calls. Bug was introduced 12 years ago in r1609, the fix + in r4003 was incomplete. + +2016-04-14 Christian Franke <franke@computer.org> + + nvmeprint.cpp: Fix size factor of Data Units Read/Written counters. + os_win32.cpp: Fix device count in win_nvme_device::open(). + + Thanks to Oliver Bruchmann for bug reports and testing. + +2016-04-12 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: improve handling when no tape cartridge is + in the tape drive. + +2016-04-12 Alex Samorukov <samm@os2.kiev.ua> + + scsiprint.cpp, smartd.cpp: workaround for the buggy ST8000NM0075/E001, + request log page list with a fixed length (ticket #678). + +2016-04-11 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: add Samsung SM863 series, ticket #681 + +2016-04-10 Christian Franke <franke@computer.org> + + os_win32.cpp: Include also unknown and unsupported USB devices + in device scan result. Move USB device handling to new function. + Add Windows Server 2016 to get_os_version_str(). + + AUTHORS: Add Thomas Gatterweh. + smartd.cpp: Check is_powered_down() also with '-n sleep'. + +2016-04-10 Thomas Gatterweh <thomas_gatterweh@hotmail.com> + + Prevent drive spin up by '-n standby' check on Windows (ticket #677): + dev_interface.cpp, dev_interface.h: + Add smart_device::is_powered_down(). + os_win32.cpp: Add win_ata_device::is_powered_down(). Open device + without READ or WRITE access to prevent spin up. + smartctl.cpp, smartd.cpp: Add check for is_powered_down(). + +2016-04-09 Christian Franke <franke@computer.org> + + configure.ac, os_win32.cpp, smartd.8.in: Add NVMe DEVICESCAN + support for Windows. + + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Document NVMe + support for Windows. + + nvmecmds.cpp, os_win32.cpp: Use NSID=0 for Identify Controller + command. This fixes NVMe access via Samsung driver on Windows. + +2016-04-08 Christian Franke <franke@computer.org> + + os_win.cpp: Add initial NVMe support for Windows. + Successfully tested with Intel driver. + Does not work with Samsung driver. + + Thanks to Minkyu Kim for testing. + +2016-04-02 Christian Franke <franke@computer.org> + + Fix memory leak if get_sat_device() is called with unknown 'type': + scsiata.cpp: get_sat_device(): Delete 'scsidev' on error. + dev_interface.h: Update documentation of get_sat_device(). + dev_interface.cpp: Fix use of get_sat_device(). + (All other uses of get_sat_device() are already sane). + + dev_interface.cpp, dev_interface.h: Add counter for objects derived + from 'smart_device'. + smartctl.cpp, smartd.cpp: Print error message if any objects remain + on exit. + + os_linux.cpp: linux_megaraid_device: Remove unused member variable + 'm_busnum' (clang++: -Wunused-private-field) and the related ctor + parameter. + + os_linux.cpp: Fixes suggested by clang analyser: + Add or remove inconsistent nullptr checks. + Remove dead increments. + +2016-04-01 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: add missing commas in peripheral_dt_arr and + add number of elements (2**5) so that won't happen again. + +2016-03-31 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - add samsung SAMSUNG-MZ7PC series (ticket #679) + - add KINGSTON SKC400S37128G (SSDNow KC400) (ticket #673, patch provided + by the reporter) + - add SanDisk SSD Plus series (ticket #674) + - add XceedIOPS SSD series (ticket #672) + - add Crucial BX200 SSD (ticket #643) + +2016-03-30 Christian Franke <franke@computer.org> + + Add support for multiple '-d TYPE' options for device scanning: + dev_interface.cpp, dev_interface.cpp: Add new version of + scan_smart_devices() which accepts list of types. + smartctl.cpp, smartd.cpp: Allow multiple '-d TYPE' options. + Use new scan_smart_devices(). + smartctl.8.in, smartd.conf.5.in: Document it. + + Makefile.am: Add man page support for --with-nvme-devicescan. + smartd.8.in: Document NVMe DEVICESCAN for Linux. + + configure.ac: Use `...` instead of $(...) due to possible parsing + problems since r4260. Remove workaround for related bash bug. + +2016-03-28 Christian Franke <franke@computer.org> + + Add NVMe DEVICESCAN support for Linux: + configure.ac: Add --with-nvme-devicescan option. + os_linux.cpp: Scan for '/dev/nvme[0-99]' if '-d nvme' is specified + or --with-nvme-devicescan is set. + smartctl.cpp: Add "NVMe" to --scan info. + + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Enable NVMe + sections also for FreeBSD. + + configure.ac: Write configuration summary also to config.log. + +2016-03-28 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: Add initial FreeBSD NVMe support (ticket #657) + +2016-03-27 Christian Franke <franke@computer.org> + + ataprint.cpp: Support POWER MODE values introduced in ATA ACS-2 + (ticket #184, smartctl only). + +2016-03-27 Thomas Gatterweh <thomas_gatterweh@hotmail.com> + + atacmds.cpp, smartd.cpp: Support POWER MODE values introduced + in ATA ACS-2 (ticket #184, smartd only). + +2016-03-26 Christian Franke <franke@computer.org> + + os_win32.cpp: Rearrange code such that no forward declarations + are needed. + + os_freebsd.cpp, os_netbsd.cpp, os_openbsd.cpp, os_solaris.cpp, + utility.cpp: Remove variable 'bytes'. Only used for a memory + leak check which was removed in r2629 (2008-08-29). + + os_solaris.cpp, utility.cpp, utility.h: + Remove CustomStrDup(), use strdup() instead. + + dev_legacy.cpp, utility.cpp, utility.h: + Remove FreeNonZero(), use free() instead. + + smartctl.cpp, smartd.cpp, utility.cpp, utility.h: + Remove split_report_arg(), use sscanf() instead. + + Add basic NVMe support for smartd (-H -l error -W): + Makefile.am, os_win32/vc10/smartd.vcxproj: Add nvmecmds.cpp to smartd. + smartd.cpp: Add NVMeDeviceScan() and NVMeCheckDevice(). + smartd.8.in, smartd.conf.5.in: Document NVMe support. + + nvmeprint.cpp: Remove ary_to_str(). + utility.cpp, utility.h: Add format_char_array(). + +2016-03-24 Christian Franke <franke@computer.org> + + dev_interface.cpp: Add missing 'usbprolific' to help text. + + nvmecmds.cpp, nvmeprint.cpp: Add support for '-q noserial'. + + smartd.cpp: Remove outdated declaration of getdomainname(). + + utility.cpp: Add C++ language version to output of -V option. + +2016-03-20 Christian Franke <franke@computer.org> + + nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp, nvmeprint.h, smartctl.cpp: + Add options '-l error[,NUM]' and '-l nvmelog,PAGE,SIZE' for NVMe + devices. + scsicmds.cpp: dStrHex(): Don't print trailing spaces. + smartctl.8.in: Document '-l error[,NUM]', '-l nvmelog,PAGE,SIZE' + and '-r nvmeioctl'. + +2016-03-18 Christian Franke <franke@computer.org> + + Add basic NVMe support for smartctl (-i -H -A) on Linux: + Makefile.am: Add new files. + dev_interface.cpp, dev_interface.h: Add class nvme_device. + linux_nvme_ioctl.h: New file imported from Linux kernel sources + (include/uapi/linux/nvme_ioctl.h 9d99a8d 2015-10-09). + nvmecmds.cpp, nvmecmds.h: New module with NVMe command wrapper + functions for smartctl and smartd. + nvmeprint.cpp, nvmeprint.h: New module with nvmePrintMain(). + smartctl.cpp: Add nvmePrintMain() support. + os_linux.cpp: Add class linux_nvme_device. + os_win32/vc10/smart*.vcxproj*: Add new files. + smartctl.8.in: Document NVMe support. + +2016-03-14 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: work on LB provisioning corner cases; LBPRZ now + 3 bits wide (in response to ticket #664) + +2016-03-14 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - extend Apple SSD regexp (ticket #668) + - Add OCZ VeloDrive R (ticket #667) + +2016-03-12 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Add Phison Driven SSDs: + - Kingston UV300 SSD series (ticket #663) + - Kingston SSDNow KC310/V310 + - HyperX Savage + +2016-03-11 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Add Kingston UV300 SSD series + +2016-03-06 Christian Franke <franke@computer.org> + + drivedb.h: Samsung based SSDs: Fix PM863 regexp, attribute IDs and + name length (regression from r4227). + +2016-03-03 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Adata HD710 1TB USB3 (ticket #662) + +2016-02-29 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: PM863 Series (ticket #661) + +2016-02-28 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: OWC Aura Pro 480 GB (ticket #660) + +2016-02-26 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Use HTTPS for '-u sf' (ticket #659). + Improve file modification check. + update-smart-drivedb.8.in: Document changed URL. + + os_win32/vc10/smartctl.vcxproj: Workaround for missing support of + '__func__' (included in C99 and C++11, but not in C++03). + +2016-02-15 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: APPLE SSD TS064E (ticket #655) + +2016-02-02 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: output unavailable rather than 255C for Drive + Trip temperature; skip background scan lpage for tape drives + +2016-02-02 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs: 250GB MX200 + (ticket #644), M500 mSATA and M.2 + - OCZ Trion SSDs: Rename, add Trion 150 + - Innodisk 3ME3 SSDs: SATADOM-SL 3IE3 + +2016-01-25 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin: add launchctl script for the smartd and remove deprecated one. + "On current systems there is only one recommend way: launchd" + +2016-01-24 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: fix possible reallocf with 0 bytes arg (ticket #640) + drivedb.h: add Corsair Extreme SSD (ticket #642) + os_darwin.cpp: fix error reporting if open fails + +2016-01-23 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin.cpp: do not print bogus memory allocation error message if + there are no devices found + +2016-01-22 Christian Franke <franke@computer.org> + + Various fixes suggested by clang analyser (ticket #640): + dev_areca.cpp: Fix check of ARCMSR_READ_RQBUFFER result. + knowndrives.cpp: Add missing member initialization. + smartd.cpp: Fix crash on missing argument to '-s' directive. + Add missing variable initialization. Remove redundant assignment. + +2016-01-21 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Added ADATA SP550 SSD (ticket #638) + os_freebsd.cpp: Reduce variable scope where possible (cppcheck: variableScope) + os_openbsd/os_netbsd - removed never used warning code defines (cppcheck) + +2016-01-21 Christian Franke <franke@computer.org> + + ataprint.cpp, smartd.cpp: Don't issue SCT commands if ATA Security + is locked (ticket #637). + +2016-01-19 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Samsung PM871 SSD family (ticket #636) + - Fixed detection for Samsung SSD 850 EVO mSATA 120GB (ticket #635) + - Fixed Western Digital Caviar Black regexp, extended WD Black (ticket #631) + +2016-01-06 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: Extra warning entry for buggy Corsair Force LS + (ticket #628) + - Innodisk 3MG2-P SSDs: 1.8" variant + - Innodisk 3ME3 SSDs + - USB: Seagate Expansion Portable (0x0bc2:0x2322) (ticket #627) + - USB: Jess-Link (0x0dbf:0x9001) + +2016-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2015-12-19 Christian Franke <franke@computer.org> + + Makefile.am: Fix path of 'smart-pkg-uninstall' (Regression from r4190). + + update-smart-drivedb.8.in: Fix platform specific formatting. + +2015-12-18 Alex Samorukov <samm@os2.kiev.ua> + + os_netbsd.cpp, os_openbsd.cpp: fix ioctl returtn value check + os_darwin.cpp: fix error handling + os_darwin: use /usr/local/ prefix to install on 10.11 (El Capitan) + +2015-12-16 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: stop tape drive looking for Solid State media + log page (ticket #314). + +2015-12-14 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: fix compiler warning for is_tape. Clean code around + handling of tape drives. + +2015-12-14 Christian Franke <franke@computer.org> + + drivedb.h: + - Intel 320 Series SSDs: 1.8" microSATA + - Intel 53x and Pro 2500 Series SSDs: Rename, add 535 (ticket #625), + add Pro 2500 + - Intel 730 and DC S35x0/3610/3700 Series SSDs: Rename, + add S3510/3610, 1.2TB, 1.6TB + - USB: LaCie (0x059f:0x106f) (ticket #624) + - USB: WD My Passport (0x1058:0x071a, 0x1058:0x0816) + - USB: Initio (0x13fd:0x1650) + - USB: Unknown (0xabcd:0x6103) + + update-smart-drivedb.in: Add '-s SMARTCTL' option. + update-smart-drivedb.8.in: Document it. + +2015-12-07 Christian Franke <franke@computer.org> + + configure.ac: Append 'svn' to list of download tools. + + update-smart-drivedb.in: Use HTTPS download by default. + Add options '-t TOOL', '-u LOCATION', '--cacert FILE', + '--capath DIR', '--insecure' and '--dryrun'. + Add 'svn' as new download tool. + Ignore differences in SVN Id string (re-added). + Remove usage of 'which' command. + + update-smart-drivedb.8.in: Document the new options. + +2015-11-23 Christian Franke <franke@computer.org> + + atacmds.cpp: parse_attribute_def(): Init buffers before sscanf() call + (cppcheck-1.71: uninitvar). + + scsiprint.cpp: Fix GLTSD bit set/cleared info messages (ticket #621). + +2015-11-22 Christian Franke <franke@computer.org> + + Makefile.am: Add NEWS file to svnversion.h target. + + os_win32/installer.nsi: Select 64-bit version on 64-bit Windows. + Fix installation of runcmda.exe. Update links. + +2015-11-15 Christian Franke <franke@computer.org> + + configure.ac: Check whether MinGW adds an application manifest. + + Makefile.am: Add default manifest for MinGW builds. + + os_win32/default.manifest: New default application manifest. + Remove external application manifests. + + os_win32/installer.nsi: Use macros from 'LogicLib.nsh' where possible. + Add missing MessageBox /SD options. + Remove external application manifests. + +2015-11-07 Christian Franke <franke@computer.org> + + drivedb.h: + - Micron M500DC/M510DC Enterprise SSDs: Rename, add M510DC + - SandForce Driven SSDs: Mushkin Chronos 7mm/MX/G2, Enhanced ECO2 + - Innodisk 3MG2-P SSDs + - SiliconMotion based SSDs: Crucial BX100 (ticket #597) + +2015-10-31 Christian Franke <franke@computer.org> + + atacmds.cpp, atacmds.h, knowndrives.cpp, knowndrives.h: + Read default SMART attribute settings from drivedb.h (ticket #465). + Remove hard-coded attribute names and format settings. + + drivedb.h: Uncomment default settings to create the "DEFAULT" entry. + Add ",HDD" or ",SSD" to HDD/SSD specific settings. + + smartctl.cpp, smartd.cpp: Use new database initialization function. + + Create branch RELEASE_6_4_DRIVEDB with last drivedb.h file + compatible with smartmontools 6.4. + +2015-10-22 Paul Grabinar <pgrabinar@ocz.com> + + drivedb.h: + - SandForce Driven SSDs: OCZ RevoDrive 350, Z-Drive 4500 + - Indilinx Barefoot 3 based SSDs: Add attributes, + OCZ ARC 100, Saber 1000, Vector 180, Vertex 460A + - OCZ Intrepid 3000 SSDs: Intrepid 3700 + - OCZ Trion + +2015-10-20 Christian Franke <franke@computer.org> + + Reduce variable scope where possible (cppcheck: variableScope). + + Makefile.am: Remove *.s from files used to generate svnversion.h. + +2015-10-18 Alex Samorukov <samm@os2.kiev.ua> + + fixes suggested by cppcheck: + Check realloc result to avoid memory leak (memleakOnRealloc) + Fix printf() signednsess (invalidPrintfArgType_sint) + +2015-10-17 Christian Franke <franke@computer.org> + + Various fixes suggested by cppcheck: + Close FILE pointer before reopening it (cppcheck: publicAllocationError). + Add missing member initializations to ctors (cppcheck: uninitMemberVar). + Remove redundant nullptr check (cppcheck: nullPointerRedundantCheck). + Remove redundant assignments (cppcheck: redundantAssignment). + Clarify calculation precedence (cppcheck: clarifyCalculation). + Use C++-style casts for pointer types (cppcheck: cstyleCast). + Remove duplicate on both sides of '||' (cppcheck: duplicateExpression). + Declare ctors with one argument as 'explicit' + (cppcheck: noExplicitConstructor). + Remove unread variables and assignments (cppcheck: unreadVariable). + Fix signedness of sscanf() formats strings + (cppcheck: invalidScanfArgType_int). + +2015-10-14 Christian Franke <franke@computer.org> + + configure.ac: Disable os_solaris_ata.o by default. + Add --with-solaris-sparc-ata option to enable. + Makefile.am: Exclude os_solaris_ata.s from source tarball + (Debian bug 729842). + os_solaris.cpp: Check for WITH_SOLARIS_SPARC_ATA instead of __sparc. + +2015-10-13 Christian Franke <franke@computer.org> + + Makefile.am: Fix error handling in various shell scripts. + +2015-10-13 Casper Dik <...> + + os_solaris.cpp: Detect SATA devices as SCSI devices. This adds + support for auto detection of SATA devices behind SAT layer. + Set USCSI_SILENT flag to suppress /dev/console messages on command + error. + +2015-10-11 Christian Franke <franke@computer.org> + + drivedb.h: SiliconMotion based SSDs: Transcend SSD370S, SSD420, + update attribute 245 (ticket #595, ticket #602). + +2015-10-10 Christian Franke <franke@computer.org> + + Makefile.am: Use MKDIR_P to create directories + (available since automake 1.10). + + os_win32.cpp: Detect USB ID if WMI reports type name "SCSI" instead + of "USBSTOR". + Detect USB ID also if drive letter is specified as device name. + +2015-10-04 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Genesys Logic (0x05e3:0x0735) + - USB: Addonics (0x0bf6:0x1001): unsupported (ticket #609) + - USB: Initio (0x13fd:0x3920) + - USB: JMicron JMS539 (0x152d:0x0539, 0x0100): Set from -d usbjmicron to + unsupported because some devices may require -d sat instead (ticket #552). + - USB: JMicron (0x152d:0x0565) (ticket #607) + - USB: VIA VL711 (0x2109:0x0711): unsupported (ticket #594) + - USB: Hitachi Touro Mobile (0x4971:0x1024) + +2015-09-25 Christian Franke <franke@computer.org> + + scsiata.cpp: Ignore SAT ATA PASS-THROUGH fixed format sense data if no + ATA status bit is set (ticket #612). + +2015-09-23 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Innostor USB3.0 to SATAIII bridge (#611) + +2015-09-21 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: decode 188 attribute for the "Seagate Enterprise Capacity + 3.5 HDD" drives family, (see #551). + +2015-09-04 Alex Samorukov <samm@os2.kiev.ua> + + Makefile.am: integrate darwin dmg build process to the Makefile + +2015-09-03 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin: Initial import of the files required to build + OSX/smartmontools native package (see #555). + +2015-08-27 Alex Samorukov <samm@os2.kiev.ua> + + Homepage URL updated from the sourceforge to smartmontools.org (r4120) + +2015-08-26 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin.cpp: Implement get_os_version_str() for the darwin. + +2015-08-17 Christian Franke <franke@computer.org> + + scsiata.cpp: Ignore bogus SCSI sense_key if ATA status in + SAT ATA Return Descriptor indicates success (ticket #548). + +2015-08-08 Christian Franke <franke@computer.org> + + os_win32.cpp: Fix get_os_version_str() for Windows >= 8.1. + Add Windows 10 Final. + +2015-08-02 Christian Franke <franke@computer.org> + + configure.ac: Remove '--disable-drivedb', + '--enable-savestates', '--enable-attributelog'. + Print error message if used. + +2015-07-15 Christian Franke <franke@computer.org> + + autogen.sh: Drop support for automake 1.7 - 1.9.x. + Rework search for automake-VERSION. + configure.ac: Drop support for autoconf 2.5x. + Drop support for automake 1.7 - 1.9.x. + Remove --with-docdir option. + +2015-06-24 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - USB: SimpleTech 3.0 bridge (0x4971:0x8017), reported in #554 + +2015-06-04 Christian Franke <franke@computer.org> + + smartmontools 6.4 + +2015-06-03 Christian Franke <franke@computer.org> + + drivedb.h: + - InnoDisk iCF 9000 CompactFlash Cards + - SanDisk based SSDs: ReadyCache SSD + - Seagate Barracuda 7200.14 (AF): Apple OEM + - USB: Toshiba Canvio Basics (0x0480:0xa200) + + ataprint.cpp: Read General Purpose Log Directory only if GPL + feature set is supported. Improve support check of old logs + for older drives which return empty SMART Log Directory. + +2015-06-01 Christian Franke <franke@computer.org> + + Makefile.am, smartd.8.in: Hide initscript documentation if + initscriptdir is not configured. + smartd.conf.5.in: Remove outdated info about default shell. + +2015-05-30 Christian Franke <franke@computer.org> + + Fixes for aacraid patch: + aacraid.h: Fix _WIN32/_WIN64 checks. + os_win32.cpp: Clarify copyright info in GPL header. + Improve source code formatting. + Fix build on Cygwin. Fix HKEY leak. + Fix member initialization order. + Fix info_name and dev_type parameter order. + Improve error handling. Avoid unsafe sprintf(). + Remove unused variables. Add help text. + Use 0 as number of first aacraid controller as on Linux. + + smartctl.8.in, smartd.conf.5.in: Update '-d aacraid' documentation. + AUTHORS: Add Nidhi Malhotra. + +2015-05-30 Nidhi Malhotra <nidhi.malhotra@pmcs.com> + + aacraid.h, os_win32.cpp: + Add aacraid support for Windows (ticket #496). + +2015-05-27 Christian Franke <franke@computer.org> + + INSTALL: Update ./configure description. + Remove info about old Linux kernel series. + Update Windows info. + +2015-05-19 Christian Franke <franke@computer.org> + + ataprint.cpp: Print the Additional Product Identifier (OEM Id) + regardless of '-q noserial' option. + + smartctl.8.in, smartd.conf.5.in: Clarify '-H' option and directive. + +2015-05-17 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: ViPowER USB3.0 Storage (0x0350:0x0038) + - USB: Buffalo DriveStation HD-LBU2 (0x0411:0x01ea) + - USB: Toshiba Stor.E Basics; (0x0480:0xa00e) + - USB: Toshiba Canvio Desktop (0x0480:0xd011) + - USB: Samsung M3 Portable USB 3.0 (0x04e8:0x61b3) + - USB: Iomega (0x059b:0x0575) + - USB: Genesys Logic GL3310 (0x05e3:0x0731) + - USB: Freecom HD (0x07ab:0xfcd6) + - USB: Apricorn SATA Wire (0x0984:0x0040) + - USB: WD My Passport (0x1058:0x0830) + - USB: WD My Book: Merge entries, add 0x1058:0x0900, 0x1058:0x1104 + - USB: Initio (0x13fd:0x3940) + - USB: Super Top (0x14cd:0x6116): change to -d sat + - USB: JMicron (0x152d:0x2590) (ticket #550) + - USB: ASMedia ASM1053/1153 (0x174c:0x1[01]53) + - USB: Verbatim Pocket Hard Drive (0x18a5:0x0237) + - USB: Verbatim External Hard Drive (0x18a5:0x0400) + - USB: VIA VL701 (0x2109:0x0701) + - USB: Unknown (0x2537:0x106[68]) + - USB: Hitachi Touro Mobile (0x4971:0x1020) + +2015-05-16 Christian Franke <franke@computer.org> + + drivedb.h: + - Samsung SpinPoint T166: 250GB + - Seagate Samsung SpinPoint M8 (AF): Rename, add Apple OEM + - Seagate Samsung SpinPoint M9T + - Seagate Samsung SpinPoint M9TU (USB) + - Hitachi/HGST Travelstar Z5K320 + - HGST Travelstar Z5K1000 + - HGST Deskstar NAS: 128MB cache variants + - HGST Ultrastar He6 + - Toshiba 2.5" HDD MK..51GSY + - Toshiba 2.5" HDD MK..61GSY[N]: -v 9,minutes + - Toshiba 2.5" HDD MK..61GSYB + - Toshiba 2.5" HDD MK..75GSX + - Toshiba 2.5" HDD MQ01ABB... + - Toshiba 2.5" HDD MQ01ABC... + - Toshiba 2.5" HDD MQ01ABF... + - Toshiba 2.5" HDD MQ01UBB... (USB 3.0) + - Toshiba 3.5" MD04ACA... Enterprise HDD + - Toshiba 3.5" DT01ABA... Desktop HDD + - Seagate Laptop Thin HDD: 7200 rpm variants + - Seagate Constellation ES.2 (SATA 6Gb/s): HP OEM + - Seagate Constellation.2 (SATA): HP OEM + - Seagate Enterprise Capacity 3.5 HDD + - Seagate Archive HDD + - Western Digital AV-GP (AF): 500MB, EURX variants + - Western Digital Red Pro + - Western Digital Purple + +2015-05-14 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs: + MX200 *00 sizes (ticket #545) + - Samsung based SSDs: PM851, SM841N, 850 EVO + - Marvell based SanDisk SSDs: Extreme Pro, Ultra II (ticket #544) + - Marvell based SanDisk SSDs: X110 mSATA, X300 + - SanDisk based SSDs: pSSD (USB), U110 + - USB: Samsung D3 Station 4TB (0x04e8:0x6125) (ticket #549) + - USB: Seagate Backup Plus USB 3.0 (0x0bc2:0xa003) + - USB: Seagate Backup Plus Desktop USB 3.0 5TB (0x0bc2:0xab31) + - USB: JMicron (0x152d:0x3569) (ticket #546) + +2015-05-10 Christian Franke <franke@computer.org> + + scsicmds.cpp, scsicmds.h: Remove unused functions + scsiReceiveDiagnostic() and scsiSmartIBMOfflineTest(). + Found by cppcheck. + +2015-05-05 Christian Franke <franke@computer.org> + + ataprint.cpp: Print ACS-3 device statistics DSN flags. + Print device statistics page numbers in hex. + smartctl.cpp: Allow hex argument for '-l devstat,PAGE'. + +2015-05-02 Christian Franke <franke@computer.org> + + ataprint.cpp: Print Transport Type for PATA and PCIe. + Print diagnostic values if SATA version or speed is unknown. + smartctl.8.in, smartd.8.in: Add Volker Kuhlmann to AUTHORS section. + +2015-05-01 Christian Franke <franke@computer.org> + + ataidentify.cpp: ACS-3/4 updates. + ataprint.cpp: Add recent ACS-3/4 minor revisions. + Add ACS-4 log 0x0f. Add ACS-4 device statistics values and + vendor specific statistics page. + +2015-04-28 Christian Franke <franke@computer.org> + + os_win32/installer.nsi: Fix possible loss of user PATH environment + variable with length greater than NSIS max string length. + +2015-04-26 Christian Franke <franke@computer.org> + + do_release: New Signing Key. + Makefile.am: Use make variables instead of autoconf variables + if possible. + +2015-04-24 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in: Rework AUTHORS section. + INSTALL, Makefile.am, os_win32/installer.nsi: + Remove WARNINGS file. + WARNINGS: Remove this file. + +2015-04-23 Christian Franke <franke@computer.org> + + configure.ac: Add '--with-systemdenvfile=auto' option as new default. + Remove no longer needed ENABLE_CAPABILITIES conditional. + Makefile.am: Silence build of smartd.service file. + Integrate all ENABLE_* conditionals in MAN_FILTER script. + +2015-04-21 Christian Franke <franke@computer.org> + + configure.ac: Print 'deprecated' warning for '--disable-drivedb', + '--enable-savestates', '--enable-attributelog' options. + Add 'yes|no' support to corresponding '--with-...' options. + +2015-04-19 Christian Franke <franke@computer.org> + + AUTHORS: Remove smartmontools-support list address. + Remove defunct mail addresses. Update smartsuite info. + Add recent contributors. + README: Refer to AUTHORS. + +2015-04-18 Christian Franke <franke@computer.org> + + os_win32.cpp: Add SAT autodetection based on vendor string from + IOCTL_STORAGE_QUERY_PROPERTY. + smartd.cpp: If SMART ENABLE command failed, continue if SMART is + already enabled. + +2015-04-17 Christian Franke <franke@computer.org> + + os_win32.cpp: Detect SAT layer of certain Intel AHCI drivers. + +2015-04-15 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, update-smart-drivedb.8.in: + Add REPORTING BUGS section. + smartctl.8.in, smartd.8.in: + Rename RETURN VALUE section to EXIT STATUS. + smartd.8.in: Remove no longer used exit status 9. + +2015-04-14 Christian Franke <franke@computer.org> + + autogen.sh: automake 1.15 works. + Print 'deprecated' warning if automake < 1.10 is used. + +2015-04-08 Christian Franke <franke@computer.org> + + configure.ac: Print 'deprecated' warning if autoconf 2.5x or + --with-docdir option is used. + Add comments to fix vim syntax coloring. + smartctl.8.in, smartd.8.in, smartd.conf.5.in: + Remove EXPERIMENTAL notes for features added before 6.3. + +2015-03-29 Christian Franke <franke@computer.org> + + ataprint.cpp: Read only required log pages of Extended Comprehensive + Error log. This adds support for logs with many pages (ticket #498). + atacmds.cpp, atacmds.h, smartd.cpp: Add 'page' parameter to function + ataReadExtErrorLog(). + +2015-03-22 Christian Franke <franke@computer.org> + + os_linux.cpp, smartctl.8.in, smartd.8.in, smartd.conf, smartd.conf.5.in, + smartd.cpp: Remove old Linux IDE device names (/dev/hdX) in man pages + and help texts. + +2015-03-21 Christian Franke <franke@computer.org> + + smartd.8.in, smartd.cpp: Clarify smartd '--capabilities' option + (ticket #523). + +2015-03-20 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX100/MX200/M5x0/M600 Client SSDs: Rename, add MX200 + - Sandforce Driven SSDs: ATP Velocity MIV, Mushkin Chronos Enhanced + - Indilinx Barefoot 3 based SSDs: OCZ VERTEX 460, OCZ AMD Radeon R7 + - Intel 530 Series SSDs: mSATA variant + - JMicron based SSDs: ADATA SP310 + - Plextor M3/M5/M6 Series SSDs: Rename, add M6M, M6S + +2015-03-13 Douglas Gilbert <dgilbert@interlog.com> + + scsiata.cpp + - SCSI to ATA translation: from SAT-2 and later a SAT layer may + return ATA registers via fixed format sense data. Change to + additionally accept (partial) fixed format sense. In response + to ticket #296 and FreeBSD Bug 191717. + +2015-03-10 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.cpp, scsiprint.cpp + - SCSI: when READ DEFECT yields sense of "... defect list not found" + bypass the corresponding report quietly. (ticket #343) + +2015-02-08 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Buffalo Drivestation Duo (0x0411:0x01ce) + - USB: Toshiba Canvio Basics (0x0480:0x0201, 0xa00d) + - USB: Toshiba Stor.E Basics (0x0480:0xa00c) + - USB: Toshiba Canvio ALU (0x0480:0xa100) + - USB: Toshiba Canvio Desktop (0x0480:0xd000) + - USB: Samsung S2 Portable (0x04e8:0x1f0a) + - USB: Samsung S3 Portable (0x04e8:0x61c8) + - USB: LaCie Rugged Triple Interface (0x059f:0x100c) + - USB: Initio (0x13fd:0x3910) + - USB: ASMedia (0x174c:0x5516) + - USB: Innostor IS611 (0x1f75:0x0611) + +2015-02-02 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Seagate FreeAgent XTreme (0x0bc2:0x3101) + - USB: Seagate Expansion Portable (0x0bc2:0x232[01]) + - USB: Seagate Expansion External (0x0bc2:0x3321) + - USB: Seagate FreeAgent GoFlex (0x0bc2:0x5070, 0x50a7, 0x6121) + - USB: Seagate Slim Portable Drive (0x0bc2:0xab00) (ticket #517) + - USB: Seagate Backup Plus Slim (0x0bc2:0xab21) + - USB: ADATA HD650 (0x125f:0xa35a) + - USB: JMicron JMS567 (0x152d:0x3562) (ticket #508) + - USB: Innostor IS621 (0x1f75:0x0621) (ticket #517) + +2015-01-25 Christian Franke <franke@computer.org> + + drivedb.h: + - JMicron based SSDs: Transcend SSD340 (ticket #348) + - SiliconMotion based SSDs: Transcend SSD370 (ticket #468) + +2015-01-24 Christian Franke <franke@computer.org> + + os_win32.cpp: Add Windows 10 to get_os_version_str(). + +2015-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2014-12-13 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: SanDisk SDCZ80 Flash Drive (0x0781:0x5580) + - USB: WD My Passport: Merge entries, add 0x1058:0x0810 + - USB: WD Elements Desktop: Merge entries, add 0x1058:0x107c + - USB: WD Elements: Merge entries + - USB: JMicron JMS539 (0x152d:0x0539): 2.06 and 28.03 support SAT + (ticket #504) + - USB: JMicron JMS567 (0x152d:0x0567) (ticket #504) + - USB: JMicron JMS566 (0x152d:0x2566) + - USB: Hitachi Touro (0x4971:0x1014) + +2014-12-13 Christian Franke <franke@computer.org> + + utility.cpp, utility.h: Remove unused functions Calloc() and + CheckFree(). + +2014-12-10 Christian Franke <franke@computer.org> + + drivedb.h: + - Western Digital Blue: Rename, *AZLX variant + - Western Digital RE4: *FBYZ variant + - Western Digital Green: Rename, add 5TB, 6TB + - Western Digital AV: Rename, add 1TB, *BUCT variant + - Western Digital Red: Rename, add 750GB, 5TB, 6TB + - Western Digital Black Mobile + +2014-12-08 Christian Franke <franke@computer.org> + + drivedb.h: + - Hitachi Travelstar 5K500.B: *SA00 variant + - Hitachi/HGST Travelstar Z5K500: Hitachi variant, Apple OEM + - HGST Travelstar 5K1000 + - HGST Travelstar 5K1500 + - Hitachi Travelstar 7K500: *A360 variant + - Hitachi CinemaStar 5K320 + - Hitachi Deskstar 7K1000.C: SATA 6Gb/s variants + - HGST Deskstar NAS + - Hitachi/HGST Ultrastar 7K4000: Rename, add HGST + - HGST MegaScale 4000 + +2014-12-07 Christian Franke <franke@computer.org> + + os_linux.cpp: Fix fd leak in megasas_dcmd_cmd(). Found by cppcheck. + +2014-12-07 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX100/M500/M510/M550/M600 Client SSDs: M600 EE variant + - SandForce Driven SSDs: Kingston KC300 180GB + - Indilinx Barefoot 3 based SSDs: OCZ Vector 150 + - JMicron based SSDs: Kingston SSDNow V+ + - Plextor M3/M5 (Pro) Series SSDs: M5P + - Samsung based SSDs: 850 PRO, SM853T Series + +2014-12-06 Christian Franke <franke@computer.org> + + Makefile.am: Add quotes to parameters of INSTALL commands to allow path + names with spaces (this is supported since automake 1.8). + update-smart-drivedb.in: Add quotes to SMARTCTL variable (ticket #502). + +2014-11-30 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron RealSSD m4/C400/P400: C400 *MAM variant + - Crucial/Micron MX100/M500/M510/M550/M600 Client SSDs: Rename, + add Crucial M500/M550, Micron M600 + - SandForce Driven SSDs: ADATA SX900 (ticket #490), Mushkin Atlas + - Intel 311/313 Series SSDs: Rename, add 311 Series + +2014-11-30 Christian Franke <franke@computer.org> + + drivedb.h: USB: Prolific PL2571, PL2771, PL2775 (0x067b:0x2.7.) + (ticket #499). + smartctl.8.in, smartd.conf.5.in: Update '-d usbprolific' documentation. + +2014-11-29 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, smartd.conf.5.in, update-smart-drivedb.8.in: + Add package title to page header. Move PACKAGE VERSION section to bottom + of page. Remove SVN ID section header. + +2014-11-29 Tommy Vestermark <tommy.vestermark@gmail.com> + + scsiata.cpp: Add DATA OUT support for Prolific (ticket #482). + Add more ATA output registers. SCT commands are now supported. + +2014-11-29 Christian Franke <franke@computer.org> + + os_win32.cpp: Add strnicmp() compatibility macro for newer Cygwin + releases. + +2014-11-16 Tommy Vestermark <tommy.vestermark@gmail.com> + + drivedb.h: USB: Prolific PL2773 (0x067b:0x2773) (ticket #482). + +2014-11-16 Christian Franke <franke@computer.org> + + Create branches RELEASE_6_[1-3]_DRIVEDB with last drivedb.h file + compatible with smartmontools 6.[1-3]. + +2014-11-10 Tommy Vestermark <tommy.vestermark@gmail.com> + + scsiata.cpp: Add class usbprolific_device to support Prolific PL2773 + USB bridges (ticket #482). + smartctl.8.in, smartd.conf.5.in: Document '-d usbprolific'. + +2014-11-09 Roger Willcocks <roger@filmlight.ltd.uk> + + os_linux.cpp: linux_aacraid_device: Fix ioctl data count + if dxfer_len == 0. Return scsi sense data. Together these + allow the SMART STATUS command to operate correctly. + Improve SRB status checks. + linux_ata_device: Fix very old bug in the error handling + of HDIO_DRIVE_TASKFILE. + +2014-10-07 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Added more attributes for SanDisk based SSDs based on SSD + Dashboard tool data (#463) + +2014-10-06 Christian Franke <franke@computer.org> + + ataprint.cpp: Add form factors from ACS-4. + Add ACS-2 and ACS-3 minor versions. + Update SATA log names. Add SATA 3.2. + Avoid crash on device statistics page 0xff if SMART READ LOG is used. + Print vendor specific bytes from SCT Status. + atacmds.cpp, atacmds.h, ataprint.cpp: Print SMART STATUS info + from SCT Status. + +2014-10-06 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Extended regexp for SanDisk X300s (#463) + +2014-09-29 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Added Seagate Backup Plus Slim Portable USB 3.0 drive + +2014-08-29 Christian Franke <franke@computer.org> + + drivedb.h: Fix regex syntax error (regression from r3988). + +2014-08-22 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - fixed SanDisk X210 regular expression + +2014-08-21 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - added SanDisk X300s SSD + - extended Apacer SSD support based on APSDM004G13AN-AT user report + +2014-08-16 Alex Samorukov <samm@os2.kiev.ua> + + ataprint.cpp: '-l devstat' - workaround for buggy firmware by provided + Christian Franke + +2014-08-15 Alex Samorukov <samm@os2.kiev.ua> + + ataprint.cpp: device statistic - use smart log if GP log is not available + +2014-08-15 Alex Samorukov <samm@os2.kiev.ua> + + os_darwin.cpp: + - Migrated to the new interface + - Added multisector support + - Fixed smart autosave processing + +2014-07-26 Christian Franke <franke@computer.org> + + smartmontools 6.3 + +2014-07-25 Christian Franke <franke@computer.org> + + drivedb.h: + - Apple SD/SM/TS...E/F SSDs: Rename, add TS*[EF] + - JMicron based SSDs: Fix regex for Apple TS*C + - Marvell based SanDisk SSDs: X210 + +2014-07-25 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: Apple SM* SSD - add attribute 173 description (guessed) + +2014-07-23 Christian Franke <franke@computer.org> + + ataprint.cpp: Print SCT Status regardless of SCT Data Table support. + atacmds.cpp: ataReadSCTTempHist(): Do not reread initial SCT Status. + configure.ac: Fix typo in help text. Add MinGW comment. + +2014-07-22 Christian Franke <franke@computer.org> + + drivedb.h: + - Apple SD/SM...E/F SSDs (ticket #342) + - Apple SSD SM128, Asus-Phison SSD: Remove (missing attribute info) + +2014-07-20 Christian Franke <franke@computer.org> + + atacmds.cpp: Rework heuristics for 'tempminmax' format. + Now supports negative values (ticket #291) and WDC over temperature + counter. + Change default for Head_Flying_Hours to 'raw24(raw8)'. This provides + more reasonable output for Seagate HDDs missing in drivedb.h. + drivedb.h: Comment new default for Head_Flying_Hours. + smartctl.8.in, smartd.8.in, smartd.conf.5.in: + Fix usage of line breaks and empty lines. + +2014-07-19 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, smartd.conf.5.in, update-smart-drivedb.8.in: + Add FILES section. Move FULL PATH info to FILES section. + Rename REFERENCES section. Move HOME PAGE info to REFERENCES section. + Remove AUTHORS section from smartd.conf man page. + Update or remove various outdated info. + +2014-07-18 Christian Franke <franke@computer.org> + + configure.ac: Use 'email' instead of 'mail' on Cygwin. + Remove outdated '-mno-cygwin' error check. + Makefile.am, smartd.conf.5.in: Replace 'mail' by actual platform + specific mailer. + examplescripts/README, examplescripts/Example[123]: Remove bashisms. + Use '/usr/bin/mail' instead of '/bin/mail'. + os_win32/daemon_win32.cpp: Support older MinGW headers with missing + struct SERVICE_DELAYED_AUTO_START_INFO. + +2014-07-17 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron MX100/M500/M510/M550 Client SSDs: Rename, add MX100, + update MX510/550 + - Indilinx Barefoot based SSDs: OCZ Vertex 1.10 + - Intel 320 Series SSDs: 'L' variant + - JMicron based SSDs: Transcend *18M-M variant + - Plextor M3/M5 (Pro) Series SSDs: M5M (mSATA) variant + - Samsung based SSDs: 840 EVO + +2014-07-16 Christian Franke <franke@computer.org> + + drivedb.h: + - Marvell based SanDisk SSDs: Extreme II (ticket #334), others + - SanDisk based SSDs: iSSD P4 (ticket #272), U100 (ticket #337), others + - USB: Iomega (0x059b:0x047a) + - USB: WD My Passport: Merge entries + - USB: WD My Passport USB 3.0 (0x1058:0x074a, 0x1058:0x0820) + - USB: ADATA (0x125f:0xa[13]1a) + - USB: JMicron JMS539 (0x152d:0x0539): New FW supports SAT (ticket #338) + - USB: TrekStor Datastation (0x1e68:0x0050) (Red Hat Bugzilla 954162) + +2014-07-13 Christian Franke <franke@computer.org> + + atacmds.cpp: Add missing const and initialization. + Don't print extra '\n' if self-test log is empty. + ataprint.cpp: Add new ACS-4 log. + cciss.cpp: Fix C++11 builds on Linux. GCC and CLang do not + predefine 'linux' when in '-std=c++11' mode. + smartd.cpp: Update description of Windows smartd service. + README: Update license info. Remove outdated ATA references. + +2014-07-10 Christian Franke <franke@computer.org> + + Makefile.am: Rework build of Solaris specific man pages. + This fixes some bogus and some missing replacements. + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Minor typo and syntax + fixes. + +2014-07-09 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Avoid '.SH' macros with no + argument. Remove colons from section names. + Merge sections CONTRIBUTORS and CREDITS with AUTHORS. + Update SEE ALSO sections. + +2014-07-05 Christian Franke <franke@computer.org> + + configure.ac: Remove snprintf() compile time test. + Add '--with-working-snprintf' configure option. + Add __USE_MINGW_ANSI_STDIO test for MinGW GCC. + utility.cpp: Add snprintf() runtime test. + Add GCC version to output of -V option. + Makefile.am: Add update-smart-drivedb.1m for Solaris. + +2014-06-30 Christian Franke <franke@computer.org> + + configure.ac: Update macros as suggested by 'autoconf --warnings=obsolete'. + Makefile.am: Add creation of empty directories to install targets. + +2014-06-29 Christian Franke <franke@computer.org> + + configure.ac, Makefile.am, smartd.cpp, smartd_warning.sh.in: + Add '--with-smartdscriptdir' configure option to change location of + smartd_warning.sh (Debian bug 710815). + Add '--with-smartdplugindir' configure option to change (or disable) + smartd_warning.sh plugin location. + smartd.conf.5.in: Optionally hide the plugin documentation. + +2014-06-27 Christian Franke <franke@computer.org> + + Makefile.am: Add update-smart-drivedb.8 target. + update-smart-drivedb.8.in: Add copyright and version info. + Adjust path names for make target. + Add FreeBSD/OpenBSD specific info. + +2014-06-27 Hannes von Haugwitz <hannes@vonhaugwitz.com> + + update-smart-drivedb.8.in: New man page (Debian bug 708433). + +2014-06-27 Christian Franke <franke@computer.org> + + configure.ac: Suppress pkg-config warnings about missing 'systemd.pc'. + Makefile.am: Silence build of man pages and svnversion.h. + This makes '--enable-silent-rules' or 'make V=0' more effective + (available since automake 1.13). + +2014-06-27 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron RealSSD C300/M500: New attributes (ticket #326) + - SandForce Driven SSDs: ADATA XM11, Corsair Force LS, OWC Aura Pro 6G + OWC Mercury Electra Pro 3G, PNY Prevail Elite, Transcend SSD320/720 + +2014-06-25 Christian Franke <franke@computer.org> + + os_win32.cpp: Fix calculation of SCSI resid. + +2014-06-23 Christian Franke <franke@computer.org> + + scsiata.cpp: usbjmicron_device: Fix SMART Status check for USB bridges + which always return 0x01. Add JMicron specific error messages. + +2014-06-22 Christian Franke <franke@computer.org> + + atacmds.cpp, ataprint.cpp: Improve messages for unsupported SMART Status + command. + ataprint.cpp: Print form factor. + +2014-06-21 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron M500/M510/M550 Client SSDs + - Micron M500DC Enterprise SSDs + Based on patch provided by Clayton Hawkings from Micron. + +2014-06-20 Christian Franke <franke@computer.org> + + autogen.sh: automake 1.14.1 works. + +2014-06-20 Christian Franke <franke@computer.org> + + scsiata.cpp: usbjmicron_device: Check SCSI resid for SMART STATUS. + Some (Prolific) USB bridges do not transfer a status byte. + os_win32.cpp: Include SCSI resid in debug output. + +2014-06-19 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: + - minor comment clean-up + +2014-06-19 Christian Franke <franke@computer.org> + + drivedb.h: + - Intel 730 and DC S3500/S3700 Series SSDs: rename, add 730 and S3700. + Remove extra S3700 entry. Based on patch provided by Tim Small. + +2014-06-18 Christian Franke <franke@computer.org> + + os_win32.cpp: Fix CSMI support for older Intel RST drivers which set + bPortIdentifier=0xff (regression from r3888). + os_win32/installer.nsi: Create standard InstallLocation registry entry. + Keep old Install_Dir entry if needed for GSmartControl. + Update links in registry and shortcuts. + +2014-06-18 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Buffalo MiniStationHD-PCFU3 (0x0411:0x0240) + - USB: Toshiba Stor.E Plus (0x0480:0xa00a) (Debian bug 734395) + - USB: Samsung D3 Station (0x04e8:0x6124) (ticket #332) + - USB: Samsung M3 Portable (0x04e8:0x61b[45]) + - USB: Seagate Expansion Portable (0x0bc2:0x2312) + - USB: Seagate Expansion External (0x0bc2:0x3312) (ticket #320) + - USB: WD Elements (0x1058:0x10[ab]8) (ticket #331) + - USB: ASMedia AS2105 (0x174c:0x5136) + +2014-06-16 Christian Franke <franke@computer.org> + + drivedb.h: + - Seagate Laptop Thin HDD + - Seagate Barracuda 7200.14 (AF): *DM000 variant + - Seagate Barracuda Green (AF): no warnings for newer firmware versions + - Seagate Constellation.2 (SATA) + - Seagate NAS HDD + - Seagate Video 3.5 HDD + +2014-06-15 Christian Franke <franke@computer.org> + + drivedb.h, smartctl.8.in, smartd.8.in, INSTALL, NEWS, TODO, WARNINGS: + Fix old Trac links. + +2014-05-23 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: fixed #321 (compiler warning on 32 bit architectures), + patch provided by tijl + +2014-05-01 Christian Franke <franke@computer.org> + + os_linux.cpp: Clarify copyright info in GPL header. + smartctl.8.in, smartd.conf.5.in: Update '-d aacraid' info. + +2014-04-30 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: + - Lowest aligned LBA > 0 not common so only output in that case + +2014-04-28 Christian Franke <franke@computer.org> + + autogen.sh: Allow automake 1.14, suppress 'subdir-objects' warning. + Makefile.am: Add new 'compile' script to target 'maintainer-clean'. + +2014-04-28 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.h, scsicmds.cpp, scsiprint.h: + - improve handling of modern SCSI disks (SAS SSDs) + show compliance (SCSI version), show 12 Gbps SAS-3 + speed, and flag ZBC presence + +2014-04-27 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Toshiba 3.5" MG03ACAxxx(Y) Enterprise HDD + +2014-04-27 Christian Franke <franke@computer.org> + + Fixes for aacraid patch: + aacraid.h: Fix typo which breaks 32-bit build. + os_linux.cpp: Remove useless member variable afd. + Fix error handling of /proc/devices parsing. + Avoid unsafe sprintf(). Fix help text. + +2014-04-27 Raghava Aditya <raghava.aditya@pmcs.com> + + os_linux.cpp: + - Added support for aacraid drivers + - Created a new interface for aacraid + smartctl -d aacraid,H,L,ID /dev/sdx + +2014-04-18 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.cpp: + - supported_vpd_pages(): lower response length to stop sense data + noise on old disks (pre SPC-3) + +2014-04-17 Christian Franke <franke@computer.org> + + drivedb.h: + - Western Digital RE4 (SATA 6Gb/s): WD2000FYYX + - Western Digital Se + - Western Digital Caviar Green (AF, SATA 6Gb/s): 4TB + - Western Digital Black: Rename, add 3TB, AF, remove extra AF entry + - Western Digital Red: 4TB (ticket #322) + - Western Digital Blue Mobile + +2014-04-10 Christian Franke <franke@computer.org> + + os_win32.cpp: Rework CSMI port scanning. + Use bPortIdentifier instead of Phy array index for addressing. + Ignore possibly bogus bNumberOfPhys (ticket #325). + +2014-04-09 Douglas Gilbert <dgilbert@interlog.com> + + scsiprint.cpp: + - add guard to scsiPrintSasPhy() invocation; resolve ticket #204 + +2014-04-06 Christian Franke <franke@computer.org> + + WARNINGS: Remove all entries. Add link to Warnings page in Wiki. + +2014-03-13 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron RealSSD C300/M500: *SSD1 variant + - SandForce Driven SSDs: ADATA SP300, ADATA SP800, ADATA SP900 DL2, + Corsair Force SSD, Kingston SE50S3, Kingston SKC380S3, + Smart Storage XceedIOPS2, VisionTek GoDrive + - Indilinx Barefoot 3 based SSDs: OCZ VERTEX 450 + - JMicron based SSDs: ADATA SP600 + - Plextor M3/M5 (Pro) Series SSDs: Rename, add M5S (ticket #297), M5Pro + +2014-03-06 Christian Franke <franke@computer.org> + + drivedb.h: + - OCZ Intrepid 3000 SSDs + - Intel 320 Series SSDs: 'D' variant (ticket #315) + - Intel DC S3500 Series SSDs: 'T' variant (ticket #315) + +2014-03-05 Christian Franke <franke@computer.org> + + ataprint.cpp: Check SCT Feature Control support bit for '-g/-s wcreorder'. + This prevents bogus error messages if SCT support excludes SCT Feature + Control command. + atacmds.cpp: Fix error message text for SCT Feature Control command. + +2014-03-03 Christian Franke <franke@computer.org> + + smartctl.8.in, smartd.8.in, smartd.conf.5.in: Remove bashisms from + shell script examples. + +2014-03-03 Christian Franke <franke@computer.org> + + Makefile.am, os_win32/smart*_res.rc.in: Set Copyright year in + Windows VERSIONINFO resource. + +2014-03-03 Christian Franke <franke@computer.org> + + os_linux.cpp: Fix glob(3) max path count (ticket #317). + +2014-03-03 Christian Franke <franke@computer.org> + + configure.ac, Makefile.am: Add '--with-systemdenvfile=[FILE|no]' + configure option to change or remove (ticket #316) the systemd + EnvironmentFile setting. + smartd.service.in: Add a reference to documentation (ticket #316). + +2014-02-18 Alex Samorukov <samm@os2.kiev.ua> + os_freebsd.cpp: use %lu for iop->resp_sense_len + +2014-02-16 Alex Samorukov <samm@os2.kiev.ua> + os_freebsd.cpp: mass updates, provided by Tijl Coosemans + - Remove some unused private fields from some classes (found by Clang) + - In freebsd_scsi_device::scsi_pass_through: + * Make sure this function returns false on error instead of an error + code that gets converted to true. + * Put printing of the "Incoming data" debug info right after the + cam_send_ccb() call and before the error checking to make debugging + easier. + * When copying sense data make sure the fields in the CCB are actually + valid with CAM_AUTOSNS_VALID. Also make sure that the size of the + sense data doesn't overflow max_sense_len. This was the real cause for + the crash in ports/181836. + * Add some debug printing on the sense data. + +2014-02-03 Christian Franke <franke@computer.org> + + dev_areca.cpp: Check cmds index before use (ticket #312). + Make cmds array static const. + +2014-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2013-12-21 Christian Franke <franke@computer.org> + + drivedb.h: + - Intel 525 Series SSDs + - Intel 530 Series SSDs (ticket #308) + +2013-12-19 Christian Franke <franke@computer.org> + + drivedb.h: + - Seagate Samsung Spinpoint F4 + - Seagate Desktop SSHD + - Seagate Constellation CS + - Western Digital Red: *JFCX variant + - Western Digital Green Mobile + - Western Digital Elements / My Passport (USB): rename + +2013-12-19 Christian Franke <franke@computer.org> + + autogen.sh: automake 1.13.3 works. + +2013-12-14 Christian Franke <franke@computer.org> + + drivedb.h: + - Toshiba 2.5" HDD MK..65GSX: "... H" (USB?) variant + - Toshiba 2.5" HDD MQ01UBD... (USB 3.0) + - USB: Toshiba Stor.E Slim USB 3.0 (0x0480:0x0100) + - USB: Toshiba Stor.E Basics (0x0480:0xa009) + - USB: Toshiba Stor.E (0x0939:0x0b15) + - USB: Seagate FreeAgent GoFlex (0x0bc2:0x5020) + - USB: WD My Passport Ultra (0x1058:0x0741) + - USB: WD Elements (0x1058:0x1048) + - USB: Initio (0x13fd:0x1640) (ticket #295) + - USB: LucidPORT (0x1759:0x5100) + +2013-12-08 Christian Franke <franke@computer.org> + + drivedb.h: + - Apacer SDM4: SFDDA01C firmware (ticket #304). + - Crucial/Micron RealSSD m4/C400/P400: M4 SSD1 (ticket #306). + - Seagate Barracuda 7200.14: Check part number to avoid bogus + firmware bug warning (ticket #298). + +2013-11-23 Christian Franke <franke@computer.org> + + configure.ac, utility.cpp: Remove __DATE__, __TIME__ + and SMARTMONTOOLS_CONFIGURE_DATE. + This obsoletes OpenSUSE nobuild-date.patch. + Reproducible builds are now supported. + +2013-11-15 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: Fix crash on FreeBSD 9.2 caused by wrong + SCSI status check condition. + os_freebsd.cpp: Print debug info on errors only if requested. + +2013-11-07 Matt Kraai <...> + + smartctl.cpp: Add missing stdlib.h. + This fixes build on QNX 6.3.2 (ticket #300). + +2013-11-07 Roger Röhrig <...> + + drivedb.h: Intel DC S3500 Series SSDs: Add -F xerrorlba. + +2013-11-07 Roger Röhrig <...> + + atacmds.cpp: Fix Extended Comprehensive Error Log timestamp + byte order on big endian machines. + +2013-09-12 Christoph Egger <christoph@debian.org> + + dev_areca.h: Fix build on kFreeBSD (Debian bug 717567). + This obsoletes Debian kfreebsd.patch. + +2013-08-17 Christian Franke <franke@computer.org> + + examplescripts: Add scripts from Debian and Fedora packages. + +2013-08-17 Christian Franke <franke@computer.org> + + Add spaces between string literals and macro identifiers. + This avoids the interpretation as user-defined literals if + C++11 is enabled (g++ -std=gnu++11). + +2013-08-15 Dan Lukes <dan+smartmontools.changelog@obluda.cz> + + drivedb.h: Intel DC S3500 Series SSDs + +2013-08-12 Christian Franke <franke@computer.org> + + drivedb.h: Intel 320 Series SSDs: Add attribute 183 and 199. + +2013-08-10 Christian Franke <franke@computer.org> + + autogen.sh: automake 1.10.3, 1.12.6, and 1.13.4 work. + The new automake 1.14 is left out for now due to the + 'subdir-objects' warning and the new 'compile' script. + Add options '--force' and '--warnings=CATEGORY'. + +2013-07-26 Christian Franke <franke@computer.org> + + smartmontools 6.2 + +2013-07-25 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: ADATA SP900 + - Transcend CompactFlash Cards: *GCF150 + - Hitachi/HGST Travelstar 5K750: Apple OEM + - Hitachi/HGST Travelstar Z7K500 + - Hitachi/HGST Travelstar 7K750 + - Hitachi Deskstar 5K3000: *BLE630 OEM + - Seagate Constellation ES.3 + - Western Digital Caviar Blue (SATA): Rename, add WD1602ABKS + - Western Digital Caviar Blue (SATA 6Gb/s): Rename, add WD10EZEX + - USB: Toshiba Canvio 3.0 Portable Hard Drive (0x0480:0xa007) + - USB: Toshiba Canvio Desktop (0x0480:0xd010) + - USB: Seagate FreeAgent Desk (0x0bc2:0x3008) + - USB: Sharkoon 2-Bay RAID Box (0x6795:0x2756) + +2013-07-21 Christian Franke <franke@computer.org> + + utility.cpp: Add check for empty subexpressions in regular expressions. + +2013-07-21 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron RealSSD C300/M500: Rename, add M500 + - SandForce Driven SSDs: Kingston KC300, MS200 + - Intel 320 Series SSDs: *A variant + - Intel 330/335 Series SSDs: Rename, add 335 Series + - Toshiba 2.5" HDD MK..46GSX + - Toshiba 2.5" HDD MK..61GSY[N]: Rename, add *GSY variant + - Toshiba 2.5" HDD MK..65GSX: *GSXF variant + - Toshiba 3.5" HDD DT01ACA... + - Seagate Laptop SSHD + - Seagate Constellation ES.2: 2GB + - USB: Seagate Expansion External (0x0bc2:0x3320) + - USB: Seagate Backup Plus Desktop USB 3.0 (0x0bc2:0xa0a1) + - USB: WD Elements (0x1058:0x10a2) + +2013-07-20 Christian Franke <franke@computer.org> + + dev_areca.cpp: Fix possible segfault on empty port. + +2013-07-20 Christian Franke <franke@computer.org> + + os_win32/daemon_win32.cpp: Do not install the service as interactive. + This is no longer supported since Vista and produces misleading error + messages in event log. + +2013-07-20 Christian Franke <franke@computer.org> + + ataprint.cpp: Do not print 'SCT Commands not supported' if SCT is + not used (regression from r3825 r3826). + smartctl.8.in: Mark '-g/-s wcreorder' as EXPERIMENTAL. + +2013-07-18 Christian Franke <franke@computer.org> + + os_win32.cpp: Add Win-8.1 and 2012r2 to get_os_version_str(), + remove 9x/ME and NT4. + +2013-07-08 Alex Samorukov <samm@os2.kiev.ua> + + Add Automake 1.12.2 to the list of supported versions + +2013-07-07 Christian Franke <franke@computer.org> + + configure.ac: Support SVN 1.8 working copy format. + +2013-07-06 Alex Samorukov <samm@os2.kiev.ua> + + smartctl: Added ATA Write Cache Reordering control using "-g wcreorder" + and "-s wcreorder[,on|off]" options (bug #221) + smartctl: minor formatting fixes + +2013-07-05 Alex Samorukov <samm@os2.kiev.ua> + + HPT RAID support: maximum disk number now is 128 (#281) + +2013-06-28 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - Apacer SDM4 2Gb SSD + +2013-06-17 Alex Samorukov <samm@os2.kiev.ua> + + scsicmds.cpp: fix build on RedHat 9 + os_freebsd.cpp: skip port multipliers on FreeBSD + drivedb.h: + - OWC Mercury EXTREME Pro 6G SSD (from #277) + - USB: Fujitsu SATA-to-USB3.0 bridge chip (#280) + +2013-06-12 Alex Samorukov <samm@os2.kiev.ua> + + drivedb.h: + - JMicron SSD: P400e/P400m series + +2013-06-09 Christian Franke <franke@computer.org> + + INSTALL, NEWS, README, WARNINGS: Update SVN repository URLs. + +2013-06-09 Christian Franke <franke@computer.org> + + os_win32/smartd_warning.cmd: Using %DATE% in temp file names + breaks the script if localized date contains '/' + (This fix is already included in smartmontools-6.1-2.win32-setup.exe). + +2013-06-06 Christian Franke <franke@computer.org> + + os_win32/update-smart-drivedb.nsi: Use new SVN repository for + download. + +2013-06-04 Christian Franke <franke@computer.org> + + update-smart-drivedb.in: Use new sourceforge code browser for + download. + +2013-04-20 Christian Franke <franke@computer.org> + + drivedb.h: + - InnoDisk InnoLite SATADOM D150QV-L SSDs + - Intel 313 Series SSDs + - Intel 330 Series SSDs: 240GB + - JMicron based SSDs: Kingston V200 (ticket #267) + - Samsung based SSDs: SM843T Series + +2013-04-20 Christian Franke <franke@computer.org> + + configure.ac: Linux: Try 'hostname -y' if 'nishostname' is missing. + +2013-04-18 Christian Franke <franke@computer.org> + + configure.ac, smartd_warning.sh.in: Add platform specific commands for + host and domain names. + os_win32/smartd_warning.cmd: Use WMI for DNS domain name. + +2013-04-18 Christian Franke <franke@computer.org> + + scsicmds.cpp, scsiprint.cpp: Silence -Wmaybe-uninitialized warning + (g++ 4.8.0 with -flto). + +2013-03-29 Christian Franke <franke@computer.org> + + os_darwin.cpp: Silence -Wself-assign warning (ticket #266). + os_darwin.cpp, os_netbsd.cpp, os_os2.cpp, os_qnxnto.cpp, os_solaris.cpp: + Remove dummy functions no longer called since r3192. + +2013-03-27 Christian Franke <franke@computer.org> + + os_win32.cpp: Silence -Wunused-local-typedefs warning. + +2013-03-24 Christian Franke <franke@computer.org> + + dev_areca.cpp: Add casts to silence C++11 -Wnarrowing warning + from g++ 4.8. + +2013-03-24 Christian Franke <franke@computer.org> + + Windows: Compile fixes for 64-bit Cygwin. + It uses LP64 model instead of LLP64 (64-bit MSVC, MinGW). + +2013-03-16 Christian Franke <franke@computer.org> + + smartmontools 6.1 + +2013-03-15 Christian Franke <franke@computer.org> + + os_win32.cpp: Support device names /dev/sd[a-z][a-z] (ticket #240). + Enhance DEVICESCAN to 128 drives. Add '-d [TYPE,]pd' option. + smartctl.8.in, smartd.8.in: Document these enhancements. + +2013-03-14 Christian Franke <franke@computer.org> + + drivedb.h: + - Seagate Barracuda 7200.14: Fix regex for new firmware version. + +2013-03-13 Christian Franke <franke@computer.org> + + drivedb.h: + - USB: Prolific PL3507 (0x067b:0x3507): works with '-d usbjmicron,p' + +2013-03-13 Christian Franke <franke@computer.org> + + Create branch RELEASE_6_0_DRIVEDB with last drivedb.h file + compatible with smartmontools 6.0. + +2013-03-13 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: Fix format of attribute 198 (ticket #258). + - SandForce Driven SSDs: Corsair Force GS + - Indilinx Barefoot_2/Everest/Martini based SSDs: OCZ VERTEX PLUS R2 + - Samsung/Seagate SpinPoint M8: 320GB, 640GB + - Seagate Momentus Thin + - Quantum Fireball EX: 10.2GB + +2013-03-07 Christian Franke <franke@computer.org> + + ataidentify.cpp, ataprint.cpp: ACS-3 updates. + ataprint.cpp: Improve device statistics error messages. + +2013-03-06 Christian Franke <franke@computer.org> + + smartd_warning.sh.in: Support BSD variant of 'hostname' command + which prints FQDN. Add Windows domain name (Cygwin). + +2013-03-01 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.h, scsicmds.cpp, scsiprint.cpp: + - for SCSI disks prefer READ DEFECT(12) for finding the + grown defect list length (previously used READ DEFECT(10) + only) + +2013-03-01 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: Transcend SSD320 + - Intel 520 Series SSDs: OEM variant + - JMicron based SSDs: Transcend SSD25 IDE + - HGST Travelstar 7K1000 + - Seagate Desktop HDD.15 + - Seagate LD25.2 + - Western Digital RE4 (SATA 6Gb/s) + - USB: Fujitsu/Zalman ZM-VE300 (0x04c5:0x2028) + +2013-02-23 Christian Franke <franke@computer.org> + + drivedb.h: Crucial/Micron RealSSD C300: Remove bogus trailing '|' from + regex (Regression from r3772). + +2013-02-16 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.h, scsicmds.cpp, scsiprint.h, scsiprint.cpp: + - for SCSI disks, in 'smartctl --info' report physical + block size and lowest LBA alignment (if PB size + different from LB size); logical block provisioning + status (if any); and disk protection (a.k.a. DIF) type + +2013-02-19 Alex Samorukov <samm@os2.kiev.ua> + + atacmds.cpp: fixed scttemphist on LE machines, including PPC. Patch + and report provided by Roger Roehrig. + +2013-02-16 Douglas Gilbert <dgilbert@interlog.com> + + scsicmds.h, scsicmds.cpp, scsiprint.h, scsiprint.cpp: + - SCSI VPD work; improve rotation rate reporting and add form factor + +2013-02-14 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: Kingston V+ 200, Mushkin Chronos deluxe, + OCZ Talos 2 + - Plextor M3 (Pro) Series SSDs + +2013-02-13 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron RealSSD C300: new separate entry + - Crucial/Micron RealSSD m4/C400: firmware bug warning + +2013-02-10 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: adding device type fix for devices on MPT controllers. + +2013-02-06 Christian Franke <franke@computer.org> + + drivedb.h: + - Seagate Samsung SpinPoint M8U (USB) + - Hitachi/HGST Travelstar Z5K500 + - Hitachi/HGST Travelstar 5K750 + - Hitachi/HGST Deskstar 7K4000 + - Toshiba 2.5" HDD MK..37GSX + - Toshiba 2.5" HDD MK..65GSX: GSXN variant + - Toshiba 2.5" HDD MQ01ABD... + - Seagate Momentus 7200.5 + - Western Digital Caviar Green (AF, SATA 6Gb/s): 2TB + - USB: Samsung M3 Portable USB 3.0 (0x04e8:0x61b6) + - USB: LaCie Rugged Mini USB 3.0 (0x059f:0x1051) + - Change short attribute names required before r3343. + +2013-02-05 Christian Franke <franke@computer.org> + + smartd.cpp: Fix allocation of buffer passed to putenv(). + Using putenv("NAME") to unset NAME is not portable. + +2013-02-05 Christian Franke <franke@computer.org> + + do_release: New Signing Key. + +2013-01-31 Christian Franke <franke@computer.org> + + dev_areca.h: Use the C++ way to specify unused arguments. + This silences -Wself-assign warning from clang++. + +2013-01-30 Christian Franke <franke@computer.org> + + configure.ac: Use AC_CHECK_TOOL for winmc and windres. + +2013-01-30 Christian Franke <franke@computer.org> + + Windows smartd: Install service with delayed auto start enabled. + +2013-01-26 Christian Franke <franke@computer.org> + + Windows smartd: Add eventlog MESSAGETABLE resource. + Install/remove smartd.exe as event message file. + Remove syslogevt.exe tool. + +2013-01-26 Christian Franke <franke@computer.org> + + Windows: Add required string CompanyName to VERSIONINFO. + +2013-01-23 Christian Franke <franke@computer.org> + + Windows: Add VERSIONINFO resource to exe files. + +2013-01-23 Christian Franke <franke@computer.org> + + drivedb.h: + - Crucial/Micron RealSSD C300/C400/m4: m4 mSATA variant + - Indilinx Barefoot 3 based SSDs + - Intel DC S3700 Series SSDs + - Samsung based SSD: Samsung SSD 840 Series + +2013-01-18 Christian Franke <franke@computer.org> + + AUTHORS: Convert to UTF-8. Sort names. Replace tabs. + +2013-01-18 Christian Franke <franke@computer.org> + + Rename configure.in to configure.ac to silence warning from + new automake. + autogen.sh: automake 1.12.5 is OK. + +2013-01-16 Christian Franke <franke@computer.org> + + atacmds.cpp: Fix assignment of BYTEORDER from -v option + (Regression from r3719). + +2013-01-13 Ole Jørgen LegÃ¥rd <ole@smartautomation.no> + + os_qnxnto.cpp: Fix include of errno.h. + +2013-01-12 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: Mushkin Callisto deluxe, SuperSSpeed S301 + - Intel 320 Series SSDs: 'B' (7mm) variant (ticket #257) + - SAMSUNG SpinPoint F1 EG + - SAMSUNG SpinPoint P80: SP0401N/TJ100-30 + - Western Digital Caviar Black: 4TB + - Western Digital Caviar Black (AF): Remove non-AF models + - Western Digital My Passport (USB, AF): 5000L, 10J variants + - USB: WD My Passport USB 3.0 (0x1058:0x07a8) + - USB: WD My Book Studio II (0x1058:0x1105) + +2013-01-02 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: ADATA S396, Kingston 3K, V+ + - Indilinx Everest/Martini based SSDs: OCZ VERTEX PLUS + - Samsung based SSD: Samsung SSD 840 PRO Series + +2013-01-02 Christian Franke <franke@computer.org> + + Add '-d usbjmicron,p' device type for Prolific USB bridges. + Based on patch provided by Edward Sheldrake. + +2013-01-01 Christian Franke <franke@computer.org> + + smartd: Use Attribute 190 for temperature (-W) if 194 is not present. + +2013-01-01 Christian Franke <franke@computer.org> + + Happy New Year! Update copyright year in version info. + +2012-12-16 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: WRITE LOG on LSI/Megaraid should work fine, disable + check, problem was linux related. + os_linux.cpp: Implemented autoscan for the megaraid SAS controolers. + os_linux.cpp: fix WRITE LOG command in SAT layer for -d megaraid. + Reason was direction flag always set to READ. + os_linux.cpp: unblock autodetection for the SAT drives in -d megaraid. + +2012-12-14 Christian Franke <franke@computer.org> + + man pages: Fix usage of Hyphen (-) and Minus sign (\-). + +2012-12-13 Christian Franke <franke@computer.org> + + man pages: Update EXPERIMENTAL notes. + Fix spelling (Red Hat Bugzilla 665028). + +2012-12-13 Christian Franke <franke@computer.org> + + ataprint.cpp: Print Additional Product Identifier (OEM Id). + +2012-12-13 Stanislav Brabec <sbrabec@suse.cz> + + Update FSF postal address in all files. + +2012-12-12 Christian Franke <franke@computer.org> + + smartctl.cpp: Remove include <new> for QNXNTO. + Should only be needed if placement new is used. + smartd.cpp: Remove very old _GNU_SOURCE define. + It was added 10 years ago in r147. It is not (or no longer) needed + and has an unwanted side effect (__USE_MINGW_ANSI_STDIO) on MinGW. + +2012-12-11 Christian Franke <franke@computer.org> + + smartd.cpp: Add '-w PATH, --warnexec=PATH' option. + smartd.8.in: Document this option. + +2012-12-11 Christian Franke <franke@computer.org> + + smartd.cpp: Add '-d ignore' directive. + smartd.conf.5.in: Document '-d ignore'. Add DEVICESCAN example. + Remove duplicate and outdated info about device scanning. + smartd.8.in: Add notes about RAID controllers to device scanning info. + +2012-12-11 Stanislav Brabec <sbrabec@suse.cz> + + * smartd.initd.in: SUSE: Added sysconfig options to disable + persistent state writes, attribute log and set arbitrary smartd + options. + +2012-12-03 Christian Franke <franke@computer.org> + + Avoid usage of strcpy(), strcat(), sprintf(). + Use snprintf() instead or change type to std::string. + Use array references instead of char pointers for parameters. + +2012-12-03 Christian Franke <franke@computer.org> + + smartd.cpp: Ignore a device from DEVICESCAN if a preceding smartd.conf + entry for the same device exists. + +2012-11-28 Christian Franke <franke@computer.org> + + smartd.conf.5.in: Document smartd_warning.sh/cmd scripts and + the new environment variables. + Makefile.am: Replace smartd_warning.* paths on man pages. + Reformat long sed commands. + +2012-11-27 Christian Franke <franke@computer.org> + + smartd.cpp: Remove trailing newlines from some MailWarning() strings. + os_win32/smartd_warning.cmd: Fix SMARTD_MESSAGE with parentheses. + +2012-11-25 Alex Samorukov <samm@os2.kiev.ua> + + OpenBSD: remove dummy functions + +2012-11-24 Christian Franke <franke@computer.org> + + Windows: Add tool wtssendmsg.exe based on no longer + used module os_win32/wtssendmsg.cpp. + os_win32/smartd_warning.cmd: Fix wtssendmsg call. + os_win32/installer.nsi: Install smartd_warning.cmd + and wtssendmsg.exe. Fix uninstall of old ChangeLog. + +2012-11-23 Christian Franke <franke@computer.org> + + Move MSVC10 project files to new directory os_win32/vc10. + +2012-11-22 Christian Franke <franke@computer.org> + + smartd: Move warning message formatting and mailer/command + startup to new script SYSCONFDIR/smartd_warning.sh + (Windows: smartd_warning.cmd). + Add environment variables SMARTD_PREVCNT and SMARTD_NEXTDAYS. + Remove host/domainname related code from smartd.cpp + and configure.in + +2012-11-22 Alex Samorukov <samm@os2.kiev.ua> + + smartctl: implemented support for -g/-s rcache and -g/-s wcache for + SCSI devices to control read/write device cache. + +2012-11-19 Alex Samorukov <samm@os2.kiev.ua> + + smartctl: supports progress indicator on selftests + smartctl: prints rotation speed for SCSI drives, if supported + smartctl: add headers to SCSI output, fix data blocks formatting, + trim identification data + os_linux.cpp: add autodetection for PERC H700 array + smartd: trim SCSI vendor/model/serial before creating state files + +2012-11-18 Alex Samorukov <samm@os2.kiev.ua> + + smartd.cpp: implement error counters and temperature saving to the + attrlog file for SCSI devices. + smartd.cpp: added reset_warning_mail() if device is working for SCSI + +2012-11-18 Christian Franke <franke@computer.org> + + drivedb.h: Western Digital Caviar Green: Add -F xerrorlba + +2012-11-17 Alex Samorukov <samm@os2.kiev.ua> + + smartd.cpp: print lu_id for SPC devices, it is supported by standard + smartd.cpp: added initial state file support for the SCSI devices + smartd.cpp: add S/N to SCSI device identifier, lu_id is not available + on some drives. + smartd.cpp: fix warning for SCSI drives with self test in progress (#249) + drivedb.h: added -F xerrorlba flag Seagate Barracuda LP/CC32 + +2012-11-09 Christian Franke <franke@computer.org> + + Windows smartd: Allow quoting of '-M exec' argument + to support path names with spaces. + +2012-11-09 Christian Franke <franke@computer.org> + + ataprint.cpp: Rework smartctl -l directory output. + Add R/W, R/O info. Report identical logs in one line. + +2012-11-09 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: adding handling of SCSI devices exported with mfip + driver. FreeBSD changing PDT code to 0x1f and we are changing it back + to 0x00 (direct-access block device). + os_freebsd.cpp: improved error handling for the ATA devices + +2012-11-04 Christian Franke <franke@computer.org> + + drivedb.h: + - SandForce Driven SSDs: Mushkin Chronos + - Indilinx Everest/Martini based SSDs: OCZ AGILITY4 + - Intel 710 Series SSDs: Add attribute 174 + - JMicron based SSDs: KINGSTON SSDNOW 30GB + - Hitachi Deskstar 7K1000.C: *CLA330 + - Seagate DiamondMax 23, Barracuda 7200.12, 7200.14 (AF), + LP, Green (AF): no warnings for newer firmware versions + - Western Digital Caviar Green (AF, SATA 6Gb/s): rename, add 1TB + - USB: Toshiba Stor.E (0x0930:0x0b1[9a]) + - USB: Verbatim Store'n'Go (0x18a5:0x022b) + +2012-11-02 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: disabling 48bit commands on legacy ATA controllers + in ATACAM mode because of kernel bug. + +2012-10-31 Christian Franke <franke@computer.org> + + atacmdnames.cpp: Update for ATA-8-ACS, ACS-2, ACS-3. + ataidentify.cpp: Mark retired/obsolete values. + ataprint.cpp: Add new ACS-3 logs, mark obsolete logs. + +2012-10-27 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp: Have smartd prefer real device names over passN. + Patch provided by dnelson, see ticket #21 + os_freebsd.cpp: fix 48-bit support for ATA legacy controllers in + ATACAM mode, patch provided by Alexander Motin + +2012-10-25 Christian Franke <franke@computer.org> + + atacmds.cpp: Return error for get SCT ERC if ATA registers are + unchanged after SMART_WRITE_LOG command (see ticket #245). + +2012-10-24 Christian Franke <franke@computer.org> + + dev_areca.cpp: Add missing parameter check to ata_pass_through(). + Update Areca info on man pages. + +2012-10-24 Christian Franke <franke@computer.org> + + dev_interface: Rework ATA parameter checks, use new flags + ata_device::supports_* for new ata_cmd_is_supported(). + Replace ata_cmd_is_ok() by ata_cmd_is_supported() in scsiata.cpp + and os_win32.cpp. + +2012-10-19 Alex Samorukov <samm@os2.kiev.ua> + + os_freebsd.cpp - fixed 3ware twe controller support broken + by inerface migration. + +2012-10-18 Christian Franke <franke@computer.org> + + utility.cpp: Add missing errno clear in split_selective_arg() + (Debian bug 690108). + Remove unused function split_report_arg2(). + +2012-10-18 Christian Franke <franke@computer.org> + + os_win32.cpp: define _WIN32. This fixes build on + Cygwin with new w32api-headers. + +2012-10-18 Alex Samorukov <samm@os2.kiev.ua> + + Compile fixes for Areca patch on FreeBSD. + Added support for the /dev/twsX (3ware 9750) controller on FreeBSD. + Manual pages updated with /dev/twsX device + FreeBSD: Migrate 3ware interface to ata_pass_through() + FreeBSD: fix missing drives detection on -d 3ware + FreeBSD: 3ware - do not pass buffers direcly, use memcpy() instead + FreeBSD: improved detection of 3ware/LSI controllers + +2012-10-16 Christian Franke <franke@computer.org> + + Compile fixes for Areca patch: + Add missing includes. Add GPL header. + Add dev_areca.* to configure.in and Makefile.am. + +2012-10-16 Hank Wu <hank@areca.com.tw> + + Move common Areca code from os_freebsd.cpp, os_linux.cpp, os_win32.cpp + to new files dev_areca.h, dev_areca.cpp. + Add SAS support for FreeBSD and Linux. + +2012-10-10 Christian Franke <franke@computer.org> + + Rename old CHANGELOG to ChangeLog-5.0-6.0. + Start new ChangeLog. + +2012-10-10 Christian Franke <franke@computer.org> + + smartmontools 6.0 |