23 Commits

Author SHA1 Message Date
Adolf Belka
3afe372a51 smartmontools: Update to version 7.4
- Update from version 7.3 to 7.4
- Update of rootfile not required
- Changelog
    7.4
	- The docker image used for CI and release builds is now based on
	  Debian 12 instead of Ubuntu 18.04.
	- macOS: CI and release builds are now generated for the x86_64 and arm64
	  targets. 32 bit platforms will require to be compiled from the source.
	- smartctl '-t short', '-t long' and '-X': NVMe support.
	- smartctl '-l selftest': NVMe support.
	- smartctl '-l farm': Prints Seagate's vendor-specific Field Access
	  Reliability Metrics (FARM) log for ATA and SCSI drives.
	- smartctl '-l error': Now also prints an error message for each entry
	  of NVMe error information log.
	- smartctl '-l genstats': Prints SCSI General statistics and performance
	  log page.
	- smartctl '-i' and '--identify': ACS-4/5/6 enhancements.
	- smartctl '-c': Added NVMe 2.0 capability flags.
	- smartctl '-g security': Added 'ata_security.master_password_id'
	  to JSON output.  Plaintext output shows Master Password ID if set
	  to a non-default value.
	- smartctl '-q noserial': Now also suppresses the output of NVMe Namespace
	  IEEE EUI-64.
	- smartctl '-j': '-l error -l selftest' JSON output for NVMe devices.
	- smartctl '-j': Avoid invalid UTF-8 sequences in JSON/YAML strings.
	- smartctl '-j': Fixed a bogus exception during SCSI JSON output.
	- smartctl '-j': Renamed JSON element 'scsi_temperature' back to
	  'temperature' (regression).
	- smartctl '-a': Now suggests '-x' for ATA devices because '-a' only
	  provides legacy SMART information.
	- smartd: No longer issues LOG_CRIT warnings if new entries of NVMe error
	  information log do not indicate device problems.
	- smartd: Now detects accidental use of smartd_warning script as
	  '-M exec' parameter.
	- smartd: No longer writes the 'Copyright...' line to syslog.
	- smartd.conf '-M always': Sends reminder emails without any delay.
	- smartd.conf '-M diminishing': Limited email delay to 32 days.
	- ATA: Fixed decoding of extended self-test log on big endian hosts.
	- ATA: Enhanced LBA range for device types '-d jmb39x-q,...' and
	  '-d jms56x,...' from 33-62 to 1-255.
	- ATA: Device type '-d intelliprop,N' now fails with a deprecation message.
	  Added '-d intelliprop,N,force' flag to use it anyway.
	- ATA/USB: Device type '-d usbasm1352r,N' for ASMedia ASM1352R USB to SATA
	  RAID bridges
	- SCSI: Fixed possible corruption issue with the Error Counter and
	  Non medium Error log pages.
	- SCSI: Added more "Informational Exceptions" strings.
	- SCSI: Added initial support for REPORT SUPPORTED OPERATION command.
	- SCSI: Initial rework of SCSI debug output.
	- NVMe: Added error messages for NVMe status values.
	- NVMe: Fixed crash after read of error information log on big endian hosts.
	- HDD, SSD and USB additions to drive database.
	- update-smart-drivedb: Fixed syntax for 'sed' versions which require
	  ';' before '}' or do not support ';' at all.
	- update-smart-drivedb: Replaced a usually not executed bashism.
	- configure: Default for '--with-nvme-devicescan' is now 'yes' also on
	  Darwin and FreeBSD.  It is still 'no' on NetBSD only.
	- configure: Defines '_FORTIFY_SOURCE=3' if supported and not predefined.
	- configure: No longer fails if libsystemd-dev is installed and
	  'LDFLAGS=-static' is used.
	- Compile fix for systems without legacy 'getdtablesize()'.
	- Pre-releases from SVN snapshots now show "pre-VERSION" in version
	  information and 'smartctl.pre_release=true' in JSON output.
	- Linux: Device type '-d sssraid' for 3SNIC RAID controllers.
	- Linux: Device type '-d marvell' now fails with a deprecation message.
	  Added '-d marvell,force' flag to use it anyway.
	- Linux: The generic SCSI code now defaults to SG_IO_V3 and does no
	  longer fall back to the deprecated SCSI_IOCTL_SEND_COMMAND
	  (but this ioctl is still used for '-d 3ware' and '-d marvell,force').
	- Linux smartd: Now prevents systemd unit startup timeout when many
	  devices are registered and then initially checked.
	- Linux smartd: Systemd no longer reports a service failure if no device
	  is present and a '-q *nodev0*' option is used.
	- Solaris SPARC: Dropped legacy ATA support.  Dropped configure option
	  '--with-solaris-sparc-ata'.
	- Windows: IOCTL_STORAGE_PROTOCOL_COMMAND variant for NVMe self-tests.
	- Windows: Installer now defaults to 64-bit executables.
	- Windows: No longer prints bogus 'Local Time' if enhanced TZ syntax is used.
	- Windows: Workaround to keep backward compatibility with old versions
	  of Windows if some versions of MinGW-w64 are used.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-08 16:04:57 +00:00
Peter Müller
06a90aec9a smartmontools: Update to 7.3
Please refer to https://www.smartmontools.org/browser/tags/RELEASE_7_3/smartmontools/NEWS
for the changelog of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-04 20:17:05 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Peter Müller
cbc2e87dba smartmontools: update to 7.2
Release announcement of this version as per
https://www.smartmontools.org/browser/tags/RELEASE_7_2/smartmontools/NEWS:

Date 2020-12-30
Summary: smartmontools release 7.2
-----------------------------------------------------------
- smartctl: New option '--json=y[c]' selects YAML output.
- smartctl '-i': Prints ATA TRIM and Zoned Device capabilities.
- smartctl '-j': Fixed 'scsi_grown_defect_list' value.
- smartctl '-a': Prints SCSI 'Accumulated power on time'.
- smartctl '-n POWERMODE': SCSI support.
- smartctl '-s standby,now' and '-s standby,off': SCSI support.
- smartctl '-c': NVMe 1.4 additions.
- smartd: Support for staggered self-tests.
- smartd: No longer writes attribute log if no attributes were read
  due to standby mode or other error.
- smartd: Now resolves symlinks before device names are checked for
  duplicates.
- smartd: Fixed SMARTD_DEVICETYPE environment variable if DEVICESCAN is
  used without '-d TYPE'.
- ATA: Device type '-d jmb39x-q,N' for JMB39x protocol variant used by
  some QNAP NAS devices.
- ATA: Device type '-d jms56x,N' for JMS562 USB to SATA RAID bridges.
- SCSI: Improved heuristics for log subpages of new and very old disks.
- NVMe: Log transfer size limited to avoid device or kernel crashes.
- NVMe/USB: Device type '-d sntrealtek' for Realtek RTL9210 USB to
  NVMe bridges.
- update-smart-drivedb: New option '--branch X.Y'.
- HDD, SSD and USB additions to drive database.
- Dropped support for pre-C99 snprintf().
- configure: Dropped option '--without-working-snprintf'.
- configure: Fixed '-fstack-protector*' detection.
- Linux: Various fixes of smartd.service file.
- Darwin: NVMe log support.
- FreeBSD: Device scan does no longer include T_ENCLOSURE devices.
- NetBSD: Fixed timeout handling.
- NetBSD big endian: Fixed ATA register handling.
- OpenBSD: Fixed timeout handling.
- Windows: Dropped backward compatibility fixes for very old compilers.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:04:14 +00:00
Peter Müller
1b1fe2f2b1 smartmontools: update to 7.1
Summary: smartmontools release 7.1
-----------------------------------------------------------
- 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.
- Windows: Fixed log page access via Windows 10 NVMe driver for NVMe 1.2.1+.
- Windows: Allow drive letters as device names for Windows 10 NVMe driver.
- Windows: Workround to allow CSMI access to devices behind AMD RAID drivers.
- Windows: Fixed MinGW options to add relocation info if ASLR is enabled.
- Windows wtssendmsg: No longer writes '\n' line endings to event log.
- Windows wtssendmsg: New options '-t' and '-w'.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-26 09:57:27 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Peter Müller
9aeae88133 smartmontools: update to 6.6.
Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-01 12:36:18 +01:00
Matthias Fischer
53aad60d6f smartmontools: Update to 6.5
For details, see:
https://www.smartmontools.org/browser/tags/RELEASE_6_5/smartmontools/NEWS

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-08-21 21:50:42 -04:00
Matthias Fischer
6deed5addb smartmontools: Update to 6.3 2014-11-07 12:47:08 +01:00
Arne Fitzenreiter
24131aadf4 smartmontools: updated to 6.1. 2013-05-10 12:47:56 +02:00
Arne Fitzenreiter
13d491616c smartmontools: update to 6.0. 2012-10-30 15:35:46 +01:00
Arne Fitzenreiter
e3a92950b2 smartmontools: update to 5.43. 2012-10-09 15:51:54 +02:00
Arne Fitzenreiter
00175664f3 smartmontools: update to 5.42. 2011-11-24 22:49:46 +01:00
Arne Fitzenreiter
2aa5f6100d smartmontools: update to 5.41. 2011-06-27 20:52:35 +02:00
Arne Fitzenreiter
6cc1f4d4a9 Updated smartmontools (5.40). 2010-11-19 09:08:39 +01:00
Arne Fitzenreiter
3343fb68e9 Updated smartmontools (5.39.1). 2010-05-08 20:16:59 +02:00
Arne Fitzenreiter
c49fbaccf3 Fix smartctl segfault at error exit. 2010-01-05 18:11:54 +01:00
Arne Fitzenreiter
d110ab8c40 Updated smartmontools 5.39 stable. 2010-01-03 22:02:28 +01:00
Arne Fitzenreiter
f2857f14b1 Patched error at exit of smartmontools 2009-08-29 19:16:49 +02:00
Arne Fitzenreiter
b73d0f7819 Updated smartmontools to 5.39-svn_r2877 2009-08-24 20:23:36 +02:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
fd3e7da032 Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@324 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-15 20:25:07 +00:00
ms
52345790a3 Hinzugefügt:
* Hddtemp war nicht in der ISO...
  * Smartmontools für HDD-Überwachung.
  * MBMon zur Temperatur- und Drehzahl-Überwachung.
  * ./make.sh build-only <pak>
Anmerkung:
  * Die Graphen sind noch nicht ganz implementiert.
    Muss nochmal aufgeräumt und vor allem die Sprach-
    bezeichnungen müssen angepasst werden.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@210 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-07-17 15:36:55 +00:00