summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools
AgeCommit message (Collapse)AuthorFilesLines
2022-07-23smartmontools: avoid work directory references in binariestnn2-5/+14
pkg-config not used for anything but it's path gets encoded into the binaries via the SMARTMONTOOLS_CONFIGURE_ARGS define.
2022-05-10smartmontools: Update to 7.3triaxx5-18/+22
pkgsrc changes: --------------- * Create ${VARBASE}/run directory since smartd does not start if it does not exist. * Add ${VARBASE}/run existence test in the rc.d script. upstream changes: ----------------- * Date 2022-02-28 Summary: smartmontools release 7.3 [https://www.smartmontools.org/browser/tags/RELEASE_7_3/smartmontools/NEWS]
2021-10-26sysutils: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-07sysutils: Remove SHA1 hashes for distfilesnia1-2/+1
2021-06-04sysutils/smartmontools: Drop MESSAGEgdt1-11/+0
It described update issues from 2013, and is duplicative with the installed documentation.
2021-03-19smartmontools: Update to 7.2triaxx3-42/+7
pkgsrc changes: --------------- * NVMe patch removed upstream changes: ----------------- 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 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.
2020-11-03smartmontools: Revert erroneously committed Makefileotis1-2/+1
2020-11-03sysutils/openipmi: Import OpenIPMI 2.0.29otis1-1/+2
The Open IPMI project aims to develop an open code base to allow access to platform information using Intelligent Platform Management Interface (IPMI).
2020-08-15smartmontools: update to 7.1tnn5-52/+12
- smartctl: Fixed bogus exception on unknown form factor value (regression). - smartctl '--json=cg': Suppresses extra spaces also in 'g' format. - smartctl '-i': ATA ACS-4 and ACS-5 enhancements. - smartd: No longer truncates very long device names in warning emails. - smartd: No longer skips scheduled tests if system clock has been adjusted to the past. - smartd '-A': Attribute logs now use local time instead of UTC. - ATA: Device type '-d jmb39x,N' for drives behind JMicron JMB39x RAID port multipliers. - SCSI: Workaround for incomplete Log subpages response from some SAS SSDs. - HDD, SSD and USB additions to drive database. - Autodetection of '-d sntjmicron' type for JMicron USB to NVMe bridges. - configure: Defines '_FORTIFY_SOURCE=2' if supported and not defined. - Linux/FreeBSD: Fixed segfault on CCISS transfer sizes > 512 bytes. - Linux: Fixed smartd.service 'Type' if libsystemd-dev is not available. - Linux: Fixed '/dev/megaraid_sas_ioctl_node' fd leak. - Linux: Fixed GPL licensing problem of 'linux_nvme_ioctl.h'. - FreeBSD update-smart-drivedb: Now uses 'fetch' as default download tool. - FreeBSD big endian: Fixed NVMe access. - FreeBSD: Compile fix for FreeBSD 12. - NetBSD: Fixed device scan crash on empty name list. - NetBSD: Fixed memory leak in device scan.
2020-03-20*: Convert broken sourceforge HOMEPAGEs back to httpnia1-2/+2
2020-03-12smartmontools: CHECK_PORTABILITY_SKIP for double brackettnn1-1/+3
2020-01-18all: migrate several HOMEPAGEs to httpsrillig1-2/+2
pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
2019-06-13Fix memory corruption on NetBSD-current.alnsn3-3/+23
Bump PKGREVISION.
2019-02-15smartmontools: fix build for FreeBSDtriaxx3-4/+26
* Change c++03 to c++: clang++ now identify strtoull() * Patch NVMe * Bump revision
2019-01-18remove accidental debug changetnn1-4/+1
2019-01-18smartmontools: fix 6.6 -> 7.0 NVMe SMART data readout regression. Bump.tnn3-2/+41
2019-01-18smartmontools: update to 7.0tnn3-122/+7
Date 2018-12-30 Summary: smartmontools release 7.0 ----------------------------------------------------------- - smartctl: New options '-j' and '--json[=giosu]' to enable experimental JSON output mode. Also supports an alternative flat format suitable for grep ('--json=g'). - smartctl '-l devstat': Fix for logs with 256 sectors. - smartctl '-l error': Prints SCSI Pending Defects log page if supported. - smartctl '-H': Prints SCSI Format Status log page if supported. - smartctl '-x': Now includes '-l defects'. - NVMe/USB: Device type '-d sntjmicron' for NVMe drives behind JMicron USB to NVMe bridges. - NVMe: SMART/Health Information and Error Information are always read with broadcast NSID. - SCSI: Various improvements for the decoding of log pages. - SCSI: Improved handling of READ CAPACITY command. - SCSI: Support for SAS host managed drives. - New option '-d scsi+TYPE' to disable SAT auto detection for 'aacraid' and 'cciss'. - update-smart-drivedb: New option '-u github'. - update-smart-drivedb: New signing key. - configure: New options '--with-cxx11-regex' and '--with-libsystemd'. - configure: Default for '--with-nvme-devicescan' is now 'yes' on Linux and Windows. - configure: Default for '--with-scriptpath' now includes '/usr/local/bin'. - configure: Options '-with-initscriptdir=[auto|yes]' are no longer supported. - Reworked handling of unaligned LE and BE integers. - Dropped various backward compatibility fixes for very old compilers. - Replaced GPL header with 'SPDX-License-Identifier' in all source files. - HDD, SSD and USB additions to drive database. - Always use '-d sat' for USB vendor IDs with known SAT support. - Linux: Device scan with '-d by-id' scans '/dev/disk/by-id/*' symlinks. - Linux: Dropped device scan support for devfs. - Linux: Fixed device scan with multiple '-d TYPE' options. - Linux: Fixed device scan crash on missing '/proc/devices'. - Linux: USB ID detection also for '/dev/sgN'. - Linux: Compile fix for systems with musl libc. - Linux smartd: Could now run as systemd service with 'Type=notify' set. - FreeBSD: NVMe device scanning. - FreeBSD: Various compile fixes. - NetBSD: Fixed regression in name based device type detection. - NetBSD big endian: Fixed regression in ATA code. - NetBSD big endian: Fixed byte ordering of ATA IDENTIFY data from USB/SAT drives. - Windows: Improved search for actual CSMI port number. - Windows: Installer includes VERSIONINFO resource.
2018-08-04Backport fix for NetBSD on bigendian systemssevan3-4/+104
https://www.smartmontools.org/ticket/943 https://www.smartmontools.org/changeset/4628
2018-07-18Mark packages that require C++03 (or the GNU variants) if they fail withjoerg1-2/+2
C++14 default language.
2017-12-15Unbreak package after upgrade.hauke2-1/+16
2017-12-15Updated smartmontools to 6.6.nonaka5-73/+7
Date 2017-11-05 Summary: smartmontools release 6.6 ----------------------------------------------------------- - smartctl '-i' and '--identify': ATA ACS-4 and SATA 3.3 enhancements. - smartctl: Control ATA write cache through SCT Feature Control with '-s wcache-sct,ata|on|off[,p]' and '-g wcache-sct'. - smartctl: Print ATA Pending Defects log with '-l defects'. - smartctl '-s wcreorder,on|off': New persistent flag ',p'. - smartctl '-s standby': Prevent temporary drive spinup. - smartctl '-n POWERMODE': New parameter to set exit status. - smartctl '-g security': ATA Security Level check fixed. - smartctl '-l scttemp*': Print minimum supported ERC Time Limit. - smartctl '-q noserial': Now also suppresses "SAS address" output. - smartctl '-i': Print IEEE EUI-64 of NVMe namespace. - smartctl '-c': Print NVMe 1.3 feature flags. - smartctl '-A': Print NVMe 1.3 thermal temperature transition statistic. - smartctl '-g/s dsn': Get/set ATA DSN. - smartd: Uses also device identify information to detect for duplicate devices. - smartd '-e dsn' directive: Set ATA DSN. - smartd: Improved SCSI/SAS temperature logging. - smartd: Silence emails and log messages on open errors of '-d removable' devices. - smartd: Exit on device open error unless '-q never' or '-d removable' is specified (regression). - update-smart-drivedb: Now authenticates downloaded file with GnuPG. - update-smart-drivedb: New options '--trunk', '--no-verify' and '--export-key'. - Device type '-d intelliprop,N' for IntelliProp controllers. - SCSI: Default timeout increased to 1 minute. - configure: New options '--with-gnupg', '--with-scriptpath' and '--with-update-smart-drivedb=X.Y' - configure: Checks for C++11 support option and requires '--with[out]-cxx11-option' if option unknown or no C++11 support. - HDD, SSD and USB additions to drive database. - New smartmontools-* mailing list addresses. - Man page formatting reworked. - Linux: Uses SG_IO V4 API if supported. - Linux: Devices behind hpsa driver are no longer detected as regular SCSI devices. - Darwin: Initial NVMe support based on undocumented API. - FreeBSD: Fix panic on INVARIANTS enabled kernel. - FreeBSD: Improve ATA SMART STATUS check for legacy controllers. - FreeBSD: Compile fix for FreeBSD-11 and newer. - NetBSD: NVMe support. - NetBSD: Full 28-bit ATA support. - NetBSD: Compile fix. - NetBSD: Use a raw disk device file. - OpenBSD: Compile fix. - OS/2: Support for the OS2AHCI driver, updating source code, adding autoscan support, adding self-test support. - Windows: Support for Windows 10 NVMe driver (stornvme.sys). - Windows: Fix CSMI access for IRST driver 15.2. - Windows smartd: Ability to run PowerShell scripts with '-M exec'. - Windows smartd: New PowerShell script to send smartd warning emails without external tools. - Windows package: Now provides PDF man pages.
2016-11-04smartmontools: build fix for FreeBSD-11 and newer.maya3-1/+42
don't redefine now existing things, nvme_command and ATA_SET_FEATURES
2016-05-08Updated smartmontools to 6.5.nonaka4-20/+29
Date 2016-05-07 Summary: smartmontools release 6.5 ----------------------------------------------------------- - Experimental support for NVMe devices on FreeBSD, Linux and Windows. - smartctl '-i', '-c', '-H' and '-l error': NVMe support. - smartctl '-l nvmelog': New option for NVMe. - smartd.conf '-H', '-l error' and '-W': NVMe support. - Optional NVMe device scanning support on Linux and Windows. - configure option '--with-nvme-devicescan' to include NVMe in default device scanning result. - Device scanning now allows to specify multiple '-d TYPE' options. - ATA: Added new POWER MODE values introduced in ATA ACS-2. - ATA: SCT commands are no longer issued if ATA Security is locked. - SCSI: LB provisioning improvements. - SCSI: Fixed GLTSD bit set/cleared info messages. - SCSI: Solid State media log page is no longer checked for tapes. - SCSI: Improved handling when no tape cartridge in drive. - SCSI: Workaround for buggy Seagate firmware. - SAT: Improved heuristics to detect bogus sense data from SAT layer. - smartd: Fixed crash on missing argument to '-s' directive. - update-smart-drivedb: Now uses HTTPS for download by default. - update-smart-drivedb: New options to select URL and download tool. - update-smart-drivedb: New download tool 'svn'. - configure option '--without-update-smart-drivedb' to disable update-smart-drivedb script. - configure options '--disable-drivedb', '--enable-savestates', '--enable-attributelog' and '--with-docdir' are no longer supported. - autoconf < 2.60 and automake < 1.10 are no longer supported. - Drive database file now also includes the DEFAULT setting for each attribute. - HDD, SSD and USB additions to drive database. - Darwin: New support files for package installer. New makefile target 'install-darwin' builds DMG image. - Solaris: Auto detection of SATA devices behind SAT layer. - Solaris SPARC: Legacy ATA support disabled by default. New configure option '--with-solaris-sparc-ata' enables it. File os_solaris_ata.s is no longer included in source tarball. - Windows: Auto detection of USB devices specified by drive letter. - Windows: Device scanning does no longer ignore unknown USB devices. - Windows: Prevent drive spin up by '-n standby' check. - Windows: New application manifests indicating Win 10 support. - Windows smartd: '-m [sys]msgbox' is no longer supported. - Windows installer: Defaults to 64-bit version on 64-bit Windows. - Various code changes suggested by Clang Static Analyser and Cppcheck.
2015-11-04Add SHA512 digests for distfiles for sysutils categoryagc1-1/+2
Problems found with existing digests: Package memconf distfile memconf-2.16/memconf.gz b6f4b736cac388dddc5070670351cf7262aba048 [recorded] 95748686a5ad8144232f4d4abc9bf052721a196f [calculated] Problems found locating distfiles: Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9 Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-24update to smartmontools-6.4 (2015-06-04)tnn4-18/+16
- Device type '-d usbprolific' for Prolific PL2571/277x USB bridges. - SAT: Support for ATA registers returned in fixed format sense data. - smartctl '-i' and '--identify': ATA ACS-4 and SATA 3.2 enhancements. - smartctl '-l xerror': Support for logs with more than 255 pages. - smartctl '-l devstat': Prints ACS-3 DSN flags. - smartctl '-l devstat': Read via SMART command if GP log is not available. - smartctl '-l scttempsts': Prints SCT SMART STATUS (ACS-4) and vendor specific SCT bytes. - configure option '--with-systemdenvfile=auto' as new default. - configure options '--disable-drivedb', '--enable-savestates' and '--enable-attributelog' are deprecated. - Corresponding '--with-*' options are enhanced accordingly. - Configure option '--with-docdir' is deprecated. - autoconf < 2.60 and automake < 1.10 are deprecated. (all of the above still work but a warning is printed if used) - HDD, SSD and USB additions to drive database. - Linux: AACRAID fixes, SMART STATUS should work now. - Linux: '/dev/megaraid_sas_ioctl_node' fd leak fix. - Darwin: '-S' command implemented, '-l devstat' should work now. - Cygwin: Compile fix. - Windows: Device type '-d aacraid' for AACRAID controllers. - Windows: SAT autodetection based on IOCTL_STORAGE_QUERY_PROPERTY. - Windows installer: Fix possible loss of user PATH environment variable.
2015-06-12Fix Solaris support which has been broken since -r1.3 of patch-ag, whichjperkin3-18/+23
removed all comments at the same time. Put those comments back, and tidy up the patch. Bump PKGREVISION.
2015-04-082014-07-26 Christian Franke <franke@computer.org>rodent6-30/+38
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'.
2014-10-10Use REAL_ROOT_... rather than ROOT_... when installing smartd_warning.shprlw11-3/+3
as explained by fhajny@ and joerg@ on pkgsrc-users.
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-3/+1
2014-03-11Remove example rc.d scripts from PLISTs.jperkin1-2/+1
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or ignored otherwise.
2013-12-02Install the script that generates warning mail messages. From Petar ↵asau2-1/+18
Bogdanovic in private mail.
2013-08-20Update to 6.2 and reset maintainer. Selected changes:shattered6-107/+42
- Support for ATA Long Logical/Physical Sectors (LLS/LPS). - smartctl option '-f brief' to select new attribute output format which includes more flags and fits in 80 columns. - smartctl options '-g, --get' and '-s, --set' to get/set various ATA settings: AAM, APM, Read look-ahead, Write cache, Security (freeze), Standby mode/timer. - smartd resends warning emails if problem reappears. - smartd warning emails include device identify info. - 'update-smart-drivedb' does no longer require GNU sed. - Linux and FreeBSD: Support for SATA/SAS disks behind Areca SAS controllers. - Many HDD, SSD and USB additions to drive database. More: http://sourceforge.net/p/smartmontools/code/HEAD/tree/trunk/smartmontools/NEWS
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-07-20Use a raw disk device file on NetBSD.taca3-2/+19
Bump PKGREVISION.
2012-03-10Set LICENSE.shattered1-1/+2
2011-11-01PR#40628 sysutils/smartmontools: DragonFly supportmarino2-3/+40
Currently DragonFly is using the FreeBSD-specific configuration for Smartmontools. In the future, a DragonFly-specific file should be created and moved upstream, but for now these additional macro conditions will provide DragonFly support.
2011-01-03Note upstream ticket URL.obache2-3/+6
2011-01-03Add an patch for DragonFly BSD usb headers.obache2-1/+16
PR#44320 by Rumko.
2010-11-13Update to smartmontools-5.40 (ok shattered@)tnn5-38/+26
Date 2010-10-16 Summary: smartmontools release 5.40 ----------------------------------------------------------- - Other config entries may precede smartd DEVICESCAN. - Option '-v' allows to specify byte order of attribute raw value - configure: New default value for '--with-docdir'. - configure: '--enable-drivedb' is now the default. - Improved support for Intel SSDs. - Improved support for SandForce based SSDs. - Drive database is in a separate source file 'drivedb.h' which can be downloaded from SVN. - USB ID info is now included in 'drivedb.h'. - Many additions to drive database. - New script 'update-smart-drivedb'. - smartd libcap-ng support, option '-C, --capabilities'. - smartd directive '-l xerror' to check Extended Comprehensive SMART Error Log. - smartctl option '-l scterc[,...]' to get/set the SCT Error Recovery Control time limit. - smartctl option '-t vendor,N'. - smartctl options '--scan, --scan-open'. - Linux: Add '/dev/sd[a-c][a-z]' to smartd DEVICESCAN. - Linux: Support SATA drives on LSI 3ware 9750 controllers. - Windows: Read 'drivedb.h' and 'smartd.conf' from exe directory. - Windows: Support for 64-bit executables. - Windows: Support for cross compilation on Linux. - Fix regression in smartctl option '-t select,M-N'. - Fix SCT temperature table commands on big endian CPUs. - Fix regression in smartd SMARTD_DEVICE and SMARTD_DEVICETYPE environment variables. Date 2010-01-28 Summary: smartmontools release 5.39.1 ----------------------------------------------------------- - Fix crash on kFreeBSD. - Fix regression in smartctl option '-q, --quietmode'. - Fix regression in smartd directive '-l selftest'. - Linux: Allow smartd 'DEVICESCAN -d sat'. - Linux: Fix spin-up of SATA drive if '-n standby' is used. - Windows: Fix parsing of 3ware 'tw_cli' output. Date 2009-12-09 Summary: smartmontools release 5.39 (UNSTABLE/EXPERIMENTAL) ----------------------------------------------------------- - Sourcecode repository moved from CVS to SVN - Support for USB devices with Cypress, JMicron and Sunplus USB bridges - USB device type autodetection for some devices on Linux, Windows and FreeBSD (http://sourceforge.net/apps/trac/smartmontools/wiki/Supported_USB-Devices) - Support for Areca controllers on Linux - Support for MegaRAID controllers on Linux - Support for HighPoint RocketRAID controllers on FreeBSD - Support RAID controllers using /dev/pass devices on FreeBSD - Support CHECK_POWER_MODE and WRITE_LOG on FreeBSD - Support for up to 128 devices on 3ware controllers - smartctl option '-l xerror' to print ATA SMART Extended Comprehensive Error Log - smartctl option '-l xselftest' to print ATA SMART Extended Self-test Log - smartctl option '-l sataphy' to print SATA Phy Event Counters - smartctl option '-l sasphy' to print SAS device phy information - smartctl options '-l gplog,...' and '-l smartlog,...' to print any log page - smartctl option '-x' to print all extended info if available - smartctl prints SCSI load/unload cycle counts - Improve display of huge raw values of some SMART attributes - Option '-d sat+TYPE' to use SAT with controllers which require '-d TYPE' - Option '-v ID,RAW_FORMAT,ATTR_NAME' to add new vendor specific attributes - Support for SSD drives using 64-bit raw attributes - Many additions to drive database - New simplified syntax for drive database - Option '-B FILE' to read drive database from a file - Configure option to add drive database file to distribution - smartd can now handle attributes 197 and 198 with increasing raw values - smartd logs changes of self-test execution status - smartd directive '-n powermode,N' to limit the number of skipped checks - smartd flag '!' for '-r' and '-R' directives to log changes as critical - smartd supports scheduled Selective Self-Tests - Self-tests scheduled during system downtime or disk standby are run after next startup - smartd option '-s PREFIX' to store smartd internal state until next startup - smartd option '-A PREFIX' to log attributes at each check cycle - Configure options to enable the above by default - Change to an object oriented interface to access ATA and SCSI devices - Linux, Win32 and FreeBSD modules migrated to new interface - Rework of smartd data structures - Checkin date and SVN revision and optional BUILD_INFO printed in version info - Better support for GSmartControl on Windows - SELinux fixes to 3ware device node creation - Fix CCISS file descriptor leak on FreeBSD - Compile fixes for Solaris and FreeBSD - Use getaddrinfo() instead of gethostbyname() to support IPv6 - C++ Support for QNX Target, already tested for QNX 6.3.2 on x86 and armle target - Additional support for Samsung MLC flash drives - New device type detection algorithm on FreeBSD, not based on filename - Support for the adaX (ATA on CAM bus) devices on FreeBSD 8.0 and higher
2010-10-25(hopefully) make this package actually work on Solaris x86. Reported by Tom ↵shattered3-4/+15
Hensel.
2009-06-14Remove @dirrm entries from PLISTsjoerg1-4/+1
2009-01-04Change maintainer email to my NetBSD.org alias. At the same time, disownshattered1-2/+2
games/adom -- I don't use (play :-) it these days.
2008-05-17Update smartmontools to 5.38, UNSTABLE to STABLE.obache7-43/+49
Based on patch provided by Sergey Svishchev in PR 38573. This version contains DragonFly support, noted in PR 36982. patch-ag is taken from PR 38199. Date 2008-03-10 Summary: smartmontools release 5.38 (STABLE) -------------------------------------------- This is a stable release of smartmontools. In addition to changes below, it includes: - Libata/Marvell driver devices no longer need explicit '-d' switch - DEVICESCAN automatically detects libata/marvell driver SATA devices - Fixed auto-offline/autosave support in FreeBSD - SAT device type + SCSI generic devices work properly with smartd under Linux - Many additions to drive database - More portable autogen/autoconf/automake script set - Additional Windows IOCTL route to access SMART data - Some ATA-8 updates - Smoother CCISS compilation support in Linux - Dragonfly support - Fixed some ATA identity byte swap problems on big endian CPUs - Added support for the QNX operating system - No-fork option added to smartd - Improved device scanning and drive type recognition in Windows - 3ware support for controllers with more disks (32 max) - Improved Windows installer - Improved SMART Attribute list and descriptions - Fix to smartctl return codes - Fix to scheduled tests on Highpoint RAID controllers - New samsung firmware bug workaround option - Auto-offline and Auto-save fixed in Linux + libata - Solaris: better SCSI support and support for Sun compilers AND gcc - Fixed and improvements to CCISS support - More options for SCSI temperature monitoring and history - Additional command line options for selective self-tests - Compilation fixes for various platforms. See CHANGELOG for more details, or smartmontools CVS for still further details.
2008-01-04The package supports installation to DESTDIR.heinz1-1/+2
2007-10-19Add const to fix compile problem on some platforms.taca3-1/+29
2007-09-11Restrict this package to supported platforms only. From Sergey Svishchevjmmv1-1/+4
in private mail.
2007-06-03Update to 5.37:jmmv5-37/+17
This is an unstable/experimental release of smartmontools. I'm commiting this update anyway because of the SAT support, which allows this utility to be used with recent hard disks. No problems experienced so far and no objections raised on tech-pkg@. Changes include: - Many additions to the table of known drives - SAT (SCSI/ATA Translation) support - SCSI background scan results log - smartd -W directive for temperature tracking and warning - smartctl -n option to check power state - improved smartd power state logging - CCISS support under Linux - HighPoint RocketRAID support under Linux - 3ware RAID support under Windows - SPT interface for SCSI devices under Windows - ATA selective self test under Windows XP/2003 - NSIS installer support for Windows version - Started move from C to C++ - Various other improvements
2006-09-24Fix this for little endian argsmartin2-1/+23
2006-07-17Update to 5.36, provided by Sergey Svishchev in PR 33958:wiz7-211/+32
Date 2006-04-12 Summary: smartmontools release 5.36 (STABLE) ----------------------------------------------------------- This is a stable smartmontools release. The 5.34 version described just below was never officially released because Bruce Allen decided to wait until Linux support for accessing SATA devices through libata was in the official kernel.org sources. Changes include: - Win 2000/XP:ability to cancel drive self-tests - Additions to the table of known drives - FreeBSD support for 3ware char device interface and multiple 3ware cards - Various cygwin improvements for running as service - Works 'out of the box' with Linux SATA libata - smartd option added to list test schedules - smartctl option added to list part of drive database - various improvements for SCSI disks and logs Date 2005-04-19 Summary: smartmontools release 5.34 (STABLE) ----------------------------------------------------------- This is a stable smartmontools release. It includes: - OS/2 and eComStation support All Platforms: - Printing of drive family info - SCSI disks: output size of grown defect list - Added info about drive family to 'smartctl -i' output. - Added option ',q' for smartd '-n' directive to suppress 'skipping checks' message which may spin up laptop disk. - Added message if smartd '-n' check power mode spins up disk. Cygwin and Windows: - Added info about Windows version and service pack to banner line. - Added support for smartd '-n' directive for Win2000/XP. - Added support for READ_LOG for WinNT4 also. - Fixed bug that prevents display of empty logs on Win2000/XP - Fixed use of cached smart enabled state in 'smartctl -i' output. Windows: - Fixed bug that prevents running smartd as service on WinNT4. Date 2004-9-5 Summary: smartmontools release 5.33 (UNSTABLE/EXPERIMENTAL) ----------------------------------------------------------- This is an unstable/experimental release of smartmontools. It includes - support for Darwin/Mac OSX - support for OpenBSD - support for 3ware ATA RAID controllers under FreeBSD - support for 3ware 9500 series SATA RAID controllers under Linux. Use /dev/twa[0-15] devices to access these. - support for 3ware character device interfaces /dev/twe[0-15] under Linux. This allows (for example) Selective Self-tests. - support for Marvell chip-set based SATA controllers under Linux. - smartd mail now works also under Windows (using "Blat" mailer). - smartd can now be run as a Windows service. Please report sucess/failure with these items to the smartmontools-support mailing list.
2006-04-20Fix string output of IDENTIFY on little endian machines (which I brokemartin2-6/+9
with the previous version). Noted by Rhialto in private mail.