| 1 | CHANGELOG for smartmontools |
|---|
| 2 | |
|---|
| 3 | $Id$ |
|---|
| 4 | |
|---|
| 5 | The most recent version of this file is: |
|---|
| 6 | http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/CHANGELOG?view=markup |
|---|
| 7 | |
|---|
| 8 | Maintainers / Developers Key (alphabetic order): |
|---|
| 9 | [AS] Alex Samorukov |
|---|
| 10 | [BA] Bruce Allen |
|---|
| 11 | [OB] Oliver Bock |
|---|
| 12 | [EB] Erik Inge Bols�] Stanislav Brabec |
|---|
| 13 | [PC] Peter Cassidy |
|---|
| 14 | [MC] Matthieu Castet |
|---|
| 15 | [YD] Yuri Dario |
|---|
| 16 | [CD] Casper Dik |
|---|
| 17 | [CF] Christian Franke |
|---|
| 18 | [GF] Guilhem Fr�u |
|---|
| 19 | [DG] Douglas Gilbert |
|---|
| 20 | [GG] Guido Guenther |
|---|
| 21 | [JPH] Jordan Powell Hargrave |
|---|
| 22 | [JH] Joerg Hering |
|---|
| 23 | [GK] Geoff Keating |
|---|
| 24 | [DK] Dr. David Kirkby |
|---|
| 25 | [DL] Dan Lukes |
|---|
| 26 | [KM] Kai M�sara |
|---|
| 27 | [EM] Eduard Martinescu |
|---|
| 28 | [FM] Fr�ric L. W. Meunier |
|---|
| 29 | [GP] Gabriele Pohl |
|---|
| 30 | [AR] Adam Radford |
|---|
| 31 | [KS] Keiji Sawada |
|---|
| 32 | [MS] Manfred Schwarb |
|---|
| 33 | [TS] Tomas Smetana |
|---|
| 34 | [DS] David Snyder |
|---|
| 35 | [SS] Sergey Svishchev |
|---|
| 36 | [PW] Phil Williams |
|---|
| 37 | [LW] Leon Woestenberg |
|---|
| 38 | [SZ] Shengfeng Zhou |
|---|
| 39 | [RZ] Richard Zybert |
|---|
| 40 | |
|---|
| 41 | NOTES FOR FUTURE RELEASES: see TODO file. |
|---|
| 42 | |
|---|
| 43 | <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> |
|---|
| 44 | |
|---|
| 45 | [CF] smartd: Write 'worst' attribute value to '.state' file also. |
|---|
| 46 | This allows to use state persistence with 'raw64' attributes. |
|---|
| 47 | |
|---|
| 48 | [CF] Rework ATA SMART attribute check in smartctl and smartd. |
|---|
| 49 | smartd: Ignore normalized attribute value and threshold |
|---|
| 50 | if 'raw64' or 'hex64' format is selected. |
|---|
| 51 | |
|---|
| 52 | [CF] Add USB IDs of Iomega LPHD080-0, 2 Genesys Logic bridges and |
|---|
| 53 | Initio 316000. |
|---|
| 54 | |
|---|
| 55 | [MS] knowndrives.cpp update: Hitachi Travelstar 5K320 series |
|---|
| 56 | |
|---|
| 57 | [CF] smartctl: Ignore normalized attribute value and threshold |
|---|
| 58 | if 'raw64' or 'hex64' format is selected. |
|---|
| 59 | |
|---|
| 60 | [CF] knowndrives.cpp updates: |
|---|
| 61 | - add OCZ-Vertex raw64 attributes |
|---|
| 62 | - add OCZ-Agility |
|---|
| 63 | Thanks to Marcin Marszalek for the patch. |
|---|
| 64 | |
|---|
| 65 | [CF] Add '-v ID,hex*' print formats. Fix '-v N,FORMAT,NAME' parsing. |
|---|
| 66 | |
|---|
| 67 | [CF] Add '-v ID,raw64[,...]' print format based on a patch provided |
|---|
| 68 | by Marcin Marszalek. |
|---|
| 69 | |
|---|
| 70 | [CF] Add '-v ID,RAW_FORMAT[,ATTR_NAME]' option. This allows to add new |
|---|
| 71 | attributes without the need to enhance the '-v' option. |
|---|
| 72 | Rework attribute name and raw value formatting. |
|---|
| 73 | |
|---|
| 74 | [CF] Fix auto_ptr initialization in linux_scsi_device::autodetect_open(). |
|---|
| 75 | |
|---|
| 76 | [CF] Remove duplicate function smart_device_list::add(). |
|---|
| 77 | Replace calls with push_back(). |
|---|
| 78 | |
|---|
| 79 | [MS] attribute update: |
|---|
| 80 | trim attribute names to 23 chars |
|---|
| 81 | |
|---|
| 82 | [CF] Add smart pointer class template to manage device object pointers. |
|---|
| 83 | Remove related 'delete' calls and 'try/catch' blocks. |
|---|
| 84 | |
|---|
| 85 | [CF] do_release: Replace generation of '*.asc' by '*.md5' and '*.sha1'. |
|---|
| 86 | |
|---|
| 87 | [MS] attribute updates: |
|---|
| 88 | - change attributes 202,204,205 to the meanings as found in wdidle3.exe |
|---|
| 89 | retain old entries as comments (possible Fujitsu use) |
|---|
| 90 | - add attribute 240 as found in Fujitsu MHY2xxxBH |
|---|
| 91 | |
|---|
| 92 | [MS] attributes updates: |
|---|
| 93 | - attributes 225, 232 and 233 for Intel X25-E SSD |
|---|
| 94 | - non-conflicting attributes extracted from wdidle3.exe |
|---|
| 95 | (thanks to Franc Zabkar and Dan Lukes) |
|---|
| 96 | |
|---|
| 97 | [CF] Update Windows and ./configure info in INSTALL file. |
|---|
| 98 | |
|---|
| 99 | [CF] Update 'do_release' script for SVN. |
|---|
| 100 | |
|---|
| 101 | [MS] knowndrives.cpp updates: |
|---|
| 102 | - Western Digital MyPassport Essential hard drive (USB interface) |
|---|
| 103 | - Seagate Momentus 7200.4 series |
|---|
| 104 | - Western Digital Raptor X |
|---|
| 105 | - Intel X25-E SSD |
|---|
| 106 | |
|---|
| 107 | [CF] knowndrives.cpp updates: |
|---|
| 108 | - New Seagate 7200.11 firmware version |
|---|
| 109 | - Update IBM link |
|---|
| 110 | |
|---|
| 111 | [CF] smartctl: Use printf() instead of pout() for exception error |
|---|
| 112 | messages to avoid access to bogus 'con->dont_print'. |
|---|
| 113 | |
|---|
| 114 | [CF] smartd: Add missing help texts for '-A', '-B' and '-s'. |
|---|
| 115 | |
|---|
| 116 | [CF] Add missing check for log page 0x11 support to smartctl |
|---|
| 117 | '-l sataphy' option. |
|---|
| 118 | |
|---|
| 119 | [CF] Add USB ID of Freecom Hard Drive XS. |
|---|
| 120 | |
|---|
| 121 | [AS] Linux: Autodetect DELL PERC and MegaRAID controllers. |
|---|
| 122 | Hiding debug messages coming from megaraid code. |
|---|
| 123 | |
|---|
| 124 | [AS] Linux: Fixed SATA drives support on megaraid device (see ticket #15). |
|---|
| 125 | |
|---|
| 126 | [AS] FreeBSD: Removed all old detection code, moving everything to |
|---|
| 127 | the objects. Now we are using CAM/ATA enumerators to guess device |
|---|
| 128 | type. |
|---|
| 129 | |
|---|
| 130 | [AS] FreeBSD: Added autodetection for the ada disks (untested). |
|---|
| 131 | Code for USB device detection refactored. |
|---|
| 132 | |
|---|
| 133 | [AS] FreeBSD: cam_get_umassno rewritten using XPT_PATH_INQ |
|---|
| 134 | |
|---|
| 135 | [AS] FreeBSD: do not open/close cam device on every request for SCSI |
|---|
| 136 | disks. Use com->camdev both for SCSI and ATAPICAM. |
|---|
| 137 | |
|---|
| 138 | [AS] FreeBSD: added support for the ada disks, based on agapon patch |
|---|
| 139 | |
|---|
| 140 | [CF] Add names for attributes 184 and 188, see ticket #17. |
|---|
| 141 | |
|---|
| 142 | [CF] configure.in: Change configure date syntax. |
|---|
| 143 | Add message to '-mno-cygwin' option check. |
|---|
| 144 | |
|---|
| 145 | [GK] Add names for some attributes used in MLC flash drives: |
|---|
| 146 | 175, 176, 177, 181, 182 |
|---|
| 147 | |
|---|
| 148 | [CF] Windows: Check support of gcc '-mno-cygwin' option in configure. |
|---|
| 149 | This option has been removed in Cygwin gcc 4.x. Update INSTALL |
|---|
| 150 | instructions accordingly. |
|---|
| 151 | |
|---|
| 152 | [CF] Increase SCSI_TIMEOUT_DEFAULT from 6 to 20 seconds to avoid |
|---|
| 153 | timeouts when a disk spins up from standby mode. |
|---|
| 154 | |
|---|
| 155 | [CF] Add USB ID of AcomData 504 (OnSpec USB bridge). |
|---|
| 156 | |
|---|
| 157 | [AS] Correcting manual pages (FreeBSD related) |
|---|
| 158 | |
|---|
| 159 | [AS] FreeBSD: fix FTBFS on GNU/kFreeBSD (reported by derevko). |
|---|
| 160 | |
|---|
| 161 | [AS] FreeBSD: Add USB autodetection to smartd DEVICESCAN directive. |
|---|
| 162 | |
|---|
| 163 | [CF] Add USB ID of Myson Century CS8818, add some comments. |
|---|
| 164 | |
|---|
| 165 | [CF] Return info strings from 'smart_interface::get_*()' functions as |
|---|
| 166 | 'std::string' instead of 'const char *'. Static buffers are no |
|---|
| 167 | longer needed. |
|---|
| 168 | |
|---|
| 169 | [SZ] FreeBSD: Fix highpoint type detection and ioctl failed for parameter |
|---|
| 170 | error. |
|---|
| 171 | |
|---|
| 172 | [CF] Linux: Add USB autodetection to smartd DEVICESCAN directive. |
|---|
| 173 | |
|---|
| 174 | [CF] Add USB IDs of Maxtor Basics Desktop and ISD-300A1. |
|---|
| 175 | |
|---|
| 176 | [AS] Use malloc() to ensure that the read buffer lands on a single |
|---|
| 177 | page. This avoids some bugs seen on LSI controlers under |
|---|
| 178 | FreeBSD. |
|---|
| 179 | |
|---|
| 180 | [CF] Add missing help text for '-d usb*' options. |
|---|
| 181 | |
|---|
| 182 | [CF] Linux: Dereference '/dev/disk/by-*/*' symlink before device type |
|---|
| 183 | autodetection. |
|---|
| 184 | |
|---|
| 185 | [AS] FreeBSD: Support SATA disks attached to a SAS controller (based on |
|---|
| 186 | patch from freebsd ports tree). |
|---|
| 187 | |
|---|
| 188 | [AS] FreeBSD: Added FreeBSD 8 libusb2 device autodetecion, new |
|---|
| 189 | configure check for -lusb. |
|---|
| 190 | |
|---|
| 191 | [AS] FreeBSD: Added USB device autodetection and fixed -d switch behavior. |
|---|
| 192 | |
|---|
| 193 | [AS] FreeBSD: Migrate os_freebsd.cpp to new interface. |
|---|
| 194 | |
|---|
| 195 | [CF] Fix max number of 3ware devices, 128 devices are supported again. |
|---|
| 196 | Regression was introduced during migration to new interface. |
|---|
| 197 | Thanks to Michael Holweg for the problem report. |
|---|
| 198 | |
|---|
| 199 | [CF] Windows installer: Add 'DisplayVersion' to uninstall registry key. |
|---|
| 200 | |
|---|
| 201 | [MS] knowndrives.cpp updates: |
|---|
| 202 | - Marvell SSD SD88SA024BA0 |
|---|
| 203 | - Fujitsu MHZ2 BH series |
|---|
| 204 | - Fujitsu MHZ2 BJ series |
|---|
| 205 | - Seagate Maxtor DiamondMax 23 |
|---|
| 206 | - WD Caviar Green: Add some 32MB cache variants |
|---|
| 207 | - relax OCZ-Vertex pattern |
|---|
| 208 | |
|---|
| 209 | [CF] Add USB ID of Verbatim FW/USB160. |
|---|
| 210 | |
|---|
| 211 | [CF] Fix data type bug in checksum test for multi sector logs. |
|---|
| 212 | |
|---|
| 213 | [CF] Add USB ID of Seagate FreeAgent Go. |
|---|
| 214 | |
|---|
| 215 | [MS] Add experimental feature to log attribute values at each check |
|---|
| 216 | cycle (ATA only), activated with the smartd option |
|---|
| 217 | "-A PREFIX" / "--attributelog=PREFIX". |
|---|
| 218 | Introduce configure options "--enable-attributelog" and |
|---|
| 219 | "--with-attributelog=PREFIX" to enable feature by default. |
|---|
| 220 | |
|---|
| 221 | [DG] [SAT] Heads up about a non backwardly compatible change |
|---|
| 222 | introduced in draft SAT-2 (sat2r8b.pdf) that will break our |
|---|
| 223 | existing SAT processing code. Action needed if change stands. |
|---|
| 224 | |
|---|
| 225 | [MS] smartd.cpp: Adjust umask |
|---|
| 226 | |
|---|
| 227 | [CF] Makefile.am: Remove 'uninstall-docsDATA' target to fix |
|---|
| 228 | 'make distcheck' with automake 1.11. The 'make uninstall' |
|---|
| 229 | of examplescripts fails if docdir does no longer exist. |
|---|
| 230 | |
|---|
| 231 | [CF] Remove 'scsiata.h'. The 'scsiata.cpp' module now implements |
|---|
| 232 | parts of 'dev_interface.h'. |
|---|
| 233 | |
|---|
| 234 | [CF] smartctl: Don't report an attribute as failed if threshold is 0. |
|---|
| 235 | |
|---|
| 236 | [CF] Print only one warning on checksum errors in multi sector log. |
|---|
| 237 | Remove casts from calls of checksum(). |
|---|
| 238 | |
|---|
| 239 | [DG] minor changes to SCSI background scan strings |
|---|
| 240 | |
|---|
| 241 | [MS] knowndrives.cpp updates: |
|---|
| 242 | - Fujitsu MHW2 BJ series |
|---|
| 243 | - WD Caviar Black family |
|---|
| 244 | |
|---|
| 245 | [MS] Makefile.am: Make creation of svnversion.h independent of |
|---|
| 246 | locale settings |
|---|
| 247 | |
|---|
| 248 | [CF] Require to specify PORT parameter of '-d usbjmicron' if two disks |
|---|
| 249 | are connected. |
|---|
| 250 | |
|---|
| 251 | [CF] smartctl: Limit default number of printed entries for |
|---|
| 252 | '-l xerror' to 8, for '-l xselftest' to 25. |
|---|
| 253 | |
|---|
| 254 | [CF] smartctl: Fix number of entries in '-l xselftest' output. |
|---|
| 255 | |
|---|
| 256 | [CF] Add USB IDs of a SunplusIT bridge, three WD drives, and an |
|---|
| 257 | unsupported Iomega drive. |
|---|
| 258 | |
|---|
| 259 | [CF] Makefile.am: Use 'svnversion' instead of 'svn info' to get |
|---|
| 260 | the revision number. This also checks for mixed and modified |
|---|
| 261 | working copies. |
|---|
| 262 | |
|---|
| 263 | [CF] Remove CVS Id strings from '-V, --version' output. |
|---|
| 264 | |
|---|
| 265 | [CF] Update CONTRIBUTORS section on man pages. |
|---|
| 266 | |
|---|
| 267 | [CF] Makefile.am: 'make maintainer-clean' now removes also files |
|---|
| 268 | generated by './autogen.sh'. |
|---|
| 269 | |
|---|
| 270 | [CF] Invalidate 'do_release' script, it needs some rework for SVN. |
|---|
| 271 | |
|---|
| 272 | [CF] Update documentation files for SVN. |
|---|
| 273 | |
|---|
| 274 | [CF] Rename trunk/sm5 to trunk/smartmontools. |
|---|
| 275 | |
|---|
| 276 | [CF] Print SVN revision number instead of time in version info line. |
|---|
| 277 | Get SVN revision number from svn (if available) or guess from |
|---|
| 278 | Id strings. Rename generated file to svnversion.h. |
|---|
| 279 | |
|---|
| 280 | [CF] Makefile.am: Modify generation of cvsversion.h for SVN. |
|---|
| 281 | |
|---|
| 282 | [GP] Convert CVS repository to SVN. |
|---|
| 283 | |
|---|
| 284 | [CF] smartd: Fix size of monitor flag array from previous commit. |
|---|
| 285 | |
|---|
| 286 | [CF] Makefile.am: Add missing 'megaraid.h'. |
|---|
| 287 | |
|---|
| 288 | [CF] smartd: Add '!' flag to '-r' and '-R' directives. If specified, |
|---|
| 289 | message is logged as LOG_CRIT and warning mail is sent if |
|---|
| 290 | attribute normalized or raw value changes. |
|---|
| 291 | |
|---|
| 292 | [CF] Replace global 'con->...' variables used for selective self-tests |
|---|
| 293 | by local variables. |
|---|
| 294 | |
|---|
| 295 | [GK] Add names for some attributes used in Samsung MLC drives: |
|---|
| 296 | 178-180 & 183 |
|---|
| 297 | |
|---|
| 298 | [CF] smartctl: Add option '-x, --xall' to print all info including |
|---|
| 299 | extended SMART logs and non-SMART info. |
|---|
| 300 | |
|---|
| 301 | [CF] smartctl: Add '-l xerror,error' and '-l xselftest,selftest' to print |
|---|
| 302 | the old logs if the extended logs are not supported. |
|---|
| 303 | |
|---|
| 304 | [MS] knowndrives.cpp updates: |
|---|
| 305 | - Western Digital AV-GP series |
|---|
| 306 | - Transcend Solid-State Drive and Transcend Solid-State Drive V series |
|---|
| 307 | - Seagate Momentus 5400.5 series |
|---|
| 308 | |
|---|
| 309 | [CF] Disable 48-bit ATA commands for JMicron USB bridges by default |
|---|
| 310 | because these commands do not work with all devices. |
|---|
| 311 | Add '-d usbjmicron,x' to enable 48-bit commands. |
|---|
| 312 | Thanks to Alexander Shaduri for the problem report. |
|---|
| 313 | |
|---|
| 314 | [CF] smartd: Don't ignore the '-n' directive when a self-test is |
|---|
| 315 | scheduled. Start the self-test later when the disk is active |
|---|
| 316 | again. |
|---|
| 317 | |
|---|
| 318 | [DG] SCSI (SAS): implement '-l sasphy,reset' (reset part was stub |
|---|
| 319 | prior to this) |
|---|
| 320 | |
|---|
| 321 | [DG] add 'ATA, SCSI command sets and SAT' section to smartctl.8 . |
|---|
| 322 | [SCSI] add 'number of background medium scans' field |
|---|
| 323 | |
|---|
| 324 | [DG] SCSI (SAS): add '-l sasphy' and '-l sasphy,reset' into smartctl |
|---|
| 325 | to output SAS device phy information (from the Protocol specific |
|---|
| 326 | log page) |
|---|
| 327 | |
|---|
| 328 | [CF] autogen.sh: Remove 'CYGWIN=check_case:strict', this does no |
|---|
| 329 | longer work on Cygwin 1.7. Print warning if Automake version |
|---|
| 330 | cannot handle case insensitive filesystems. |
|---|
| 331 | |
|---|
| 332 | [CF] Remove '#define TRUE/FALSE', use 'bool' and 'true/false'. |
|---|
| 333 | |
|---|
| 334 | [CF] Add 'options' parameter to SCSI printing routine. Move global |
|---|
| 335 | 'con->...' smartctl variables to 'options' parameters of |
|---|
| 336 | printing routines. |
|---|
| 337 | |
|---|
| 338 | [CF] Windows: Remove outdated entry about undocumented system calls |
|---|
| 339 | from WARNINGS file. |
|---|
| 340 | |
|---|
| 341 | [CF] Print General Purpose Logs even if GPL feature bit is missing. |
|---|
| 342 | Needed for some older disks which implement READ LOG EXT but |
|---|
| 343 | do not report the GPL feature set. |
|---|
| 344 | Change order of the extended log outputs ('-l xerror', |
|---|
| 345 | '-l xselftest', '-l sataphy'). Extended logs are now printed |
|---|
| 346 | before their old versions. |
|---|
| 347 | |
|---|
| 348 | [CF] autogen.sh: automake 1.10.2 and 1.11 are OK. |
|---|
| 349 | |
|---|
| 350 | [CF] Fix syntax error in prototype of 'safe_snprintf()'. |
|---|
| 351 | Thanks to Alexander Shaduri for bug report and patch. |
|---|
| 352 | |
|---|
| 353 | [DG] SCSI: Fetch load-unload cycle counts. |
|---|
| 354 | |
|---|
| 355 | [CF] Windows: Add Win-7 and Win2008 to get_os_version_str(). |
|---|
| 356 | |
|---|
| 357 | [CF] smartd: Fix '-M test' directive in conjunction with '-s' option. |
|---|
| 358 | Thanks to Matthias Becher for the problem report. |
|---|
| 359 | |
|---|
| 360 | [MS] knowndrives.cpp updates: |
|---|
| 361 | - Add Seagate Barracuda 7200.12 series |
|---|
| 362 | - Add Seagate Momentus 5400.4 series |
|---|
| 363 | - Add Hitachi Deskstar 7K1000.B series |
|---|
| 364 | - Add Transcend SSD TS32GSSD25-M |
|---|
| 365 | - Add OCZ Vertex 1199 |
|---|
| 366 | |
|---|
| 367 | [CF] knowndrives.cpp updates: |
|---|
| 368 | Add Samsung S250 series. |
|---|
| 369 | Add '-v 198,increasing' to Samsung P80. |
|---|
| 370 | Replace '#if/#endif' by comment to fix configure option |
|---|
| 371 | '--enable-drivedb'. |
|---|
| 372 | |
|---|
| 373 | [CF] knowndrives.cpp update: |
|---|
| 374 | Add Seagate 7200.11 with 'CC' firmware which is unaffected |
|---|
| 375 | by the bug. Thanks to Bas Mevissen for the patch. |
|---|
| 376 | |
|---|
| 377 | [CF] Replace global 'con->...' variables used for drive presets |
|---|
| 378 | by local variables. |
|---|
| 379 | |
|---|
| 380 | [CF] Simplify '-v' vendor attribute option parsing. |
|---|
| 381 | Add '-v 197,increasing' and '-v 198,increasing' options |
|---|
| 382 | to specifiy that an uncorrectable count is never reset. |
|---|
| 383 | This modifies the printed attribute names and smartd's |
|---|
| 384 | default setting of '-C' and '-U' directives. |
|---|
| 385 | Both '-v' options can also be preset in the drive database. |
|---|
| 386 | |
|---|
| 387 | [CF] Add '+' modifier to smartd '-C' and '-U' directives. |
|---|
| 388 | If specified, a warning is only printed if the raw value |
|---|
| 389 | increases. |
|---|
| 390 | |
|---|
| 391 | [CF] Add smartctl option '-l xselftest[,NUM]' to print |
|---|
| 392 | ATA SMART Extended Self-test Log (GP Log 0x07). |
|---|
| 393 | |
|---|
| 394 | [CF] Add experimental option '-d usbsunplus' for drives behind |
|---|
| 395 | SunplusIT USB bridges. Tested on WinXP with SPIF215(?) in |
|---|
| 396 | TrekStor DataStation maxi m.u.. Many thanks to SunplusIT |
|---|
| 397 | tech support for providing the required information. |
|---|
| 398 | |
|---|
| 399 | [CF] Windows: Provide a non-console version of smartctl.exe |
|---|
| 400 | as smartctl-nc.exe. This prevents that a new console is |
|---|
| 401 | opened when smartctl is run from a GUI program with |
|---|
| 402 | stdio redirected. |
|---|
| 403 | Used by GSmartControl (http://gsmartcontrol.berlios.de/). |
|---|
| 404 | |
|---|
| 405 | [CF] Remove support for platforms without getopt_long() in |
|---|
| 406 | smartctl.cpp and smartd.cpp. If getopt_long() is missing, |
|---|
| 407 | ./configure aborts with an explanatory message. |
|---|
| 408 | For now, short option help texts are only removed from |
|---|
| 409 | os_linux.cpp and os_win32.cpp. HAVE_GETOPT_LONG is still |
|---|
| 410 | defined in config.h. |
|---|
| 411 | |
|---|
| 412 | [CF] Add smartctl '-d test' option to print the result of the |
|---|
| 413 | device type detection. |
|---|
| 414 | |
|---|
| 415 | [CF] Enhance USB device type autodetection, use bcdDevice if known. |
|---|
| 416 | Add Cypress CY7C68300B/C (AT2LP) to the table. |
|---|
| 417 | |
|---|
| 418 | [CF] Linux: Add experimental USB device type autodetection. |
|---|
| 419 | Uses USB ID info found through symlink "/sys/block/sdX/device". |
|---|
| 420 | |
|---|
| 421 | [CF] Windows: Add experimental USB device type autodetection. |
|---|
| 422 | Uses WMI command line tool 'wmic' to query USB ID. |
|---|
| 423 | |
|---|
| 424 | [CF] Add function smart_interface::get_usb_dev_type_by_id() to map |
|---|
| 425 | USB vendor:product IDs to '-d type' names. Can be used by |
|---|
| 426 | platform dependent layer to autodetect USB devices if ID of |
|---|
| 427 | USB bridge is known. |
|---|
| 428 | |
|---|
| 429 | [CF] smartd: Log changes of self-test execution status if |
|---|
| 430 | '-l selftest'is specified. |
|---|
| 431 | |
|---|
| 432 | [CF] knowndrives.cpp update: |
|---|
| 433 | Samsung SpinPoint F1 RE series |
|---|
| 434 | |
|---|
| 435 | [MS] knowndrives.cpp update: |
|---|
| 436 | Seagate Momentus 5400.6 series |
|---|
| 437 | |
|---|
| 438 | [CF] Add forgotten SCSI sense checks to class usbjmicron_device. |
|---|
| 439 | |
|---|
| 440 | [CF] Add new SMART STATUS check command for JMicron USB bridges. |
|---|
| 441 | Should support also older chip versions and prevents a race |
|---|
| 442 | condition. |
|---|
| 443 | |
|---|
| 444 | [CF] Windows: Fix win_scsi_device::scsi_pass_through() for single byte |
|---|
| 445 | data transfers. Required for JMicron SMART STATUS check. |
|---|
| 446 | |
|---|
| 447 | [MS] knowndrives.cpp update: |
|---|
| 448 | Add Hitachi Travelstar C4K60 family (1.8" slim drives) |
|---|
| 449 | |
|---|
| 450 | [MS] Workaround for huge raw values of attribute 9, needed |
|---|
| 451 | for Hitachi Travelstar C4K60. For the Power_On_Minutes case, |
|---|
| 452 | clip the display to 4 bytes and show the remaining part, |
|---|
| 453 | if existent, in parens. |
|---|
| 454 | |
|---|
| 455 | [CF] Add experimental option '-d usbjmicron[,PORT]' for drives |
|---|
| 456 | behind JMicron USB bridges. Tested on WinXP with JM20336 in |
|---|
| 457 | AixCase AIX-ESU35CD. Many thanks to JMicron tech support |
|---|
| 458 | for providing the required information. |
|---|
| 459 | |
|---|
| 460 | [MS] knowndrives.cpp update: |
|---|
| 461 | Add WD Caviar Green 8MB and 32MB cache variants, stretch to 2TB. |
|---|
| 462 | |
|---|
| 463 | [CF] knowndrives.cpp updates: Add more entries for Samsung P80 disks |
|---|
| 464 | with old and unknown firmware. Remove old entries which would |
|---|
| 465 | match any new Samsung model reusing old firmware version number. |
|---|
| 466 | |
|---|
| 467 | [CF] Windows: Add a workaround for missing multi-sector support |
|---|
| 468 | for ATA READ LOG EXT command. |
|---|
| 469 | |
|---|
| 470 | [CF] Fix Extended Comprehensive Error Log index base. |
|---|
| 471 | Add workaround for Samsung disks using reserved byte as index. |
|---|
| 472 | |
|---|
| 473 | [CF] knowndrives.cpp updates: Update bug warnings for |
|---|
| 474 | Seagate 7200.11, ES.2 and DiamondMax 22. Add new entries |
|---|
| 475 | for fixed firmware versions. |
|---|
| 476 | |
|---|
| 477 | [CF] Add smartctl option '-l xerror[,NUM]' to print |
|---|
| 478 | ATA SMART Extended Comprehensive Error Log (GP Log 0x03). |
|---|
| 479 | |
|---|
| 480 | [MS] knowndrives.cpp update: |
|---|
| 481 | Added remaining WD Scorpio Blue SATA II drives |
|---|
| 482 | |
|---|
| 483 | [CF] Minor fix to remove ID 0 from 'smartctl -l sataphy ...' output. |
|---|
| 484 | |
|---|
| 485 | [CF] knowndrives.cpp updates: Add warnings about possible firmware |
|---|
| 486 | bugs to Seagate 7200.11, ES.2 and DiamondMax 22 entries. |
|---|
| 487 | |
|---|
| 488 | [CF] knowndrives.cpp updates: Add Samsung SpinPoint F1 series. |
|---|
| 489 | |
|---|
| 490 | [CF] Windows: Fix return value of scsi_pass_through(). Regression |
|---|
| 491 | was introduced during migration to new interface. SAT over USB |
|---|
| 492 | now works on XP (both '-d sat,12' and '-d sat,16'). |
|---|
| 493 | |
|---|
| 494 | [MS] knowndrives.cpp updates: |
|---|
| 495 | - Added Western Digital RE2-GP family |
|---|
| 496 | - Added Hitachi Travelstar E5K160 family |
|---|
| 497 | - Allow uppercase variants of Hitachi 5K160 drives |
|---|
| 498 | |
|---|
| 499 | [CF] Fix smartctl crash on '-l directory,[gs]'. Allow to override |
|---|
| 500 | missing GPL feature bit or missing log dir entry with |
|---|
| 501 | '-T permissive' option. |
|---|
| 502 | |
|---|
| 503 | [SZ] os_freebsd.cpp, os_freebsd.h updates: |
|---|
| 504 | Support HighPoint RocketRAID controller under FreeBSD |
|---|
| 505 | |
|---|
| 506 | [MS] knowndrives.cpp updates: |
|---|
| 507 | - Added Western Digital RE3 32MB cache variants |
|---|
| 508 | - Added WD Caviar Green 32MB cache variant (WD10EADS) |
|---|
| 509 | - Added WD Scorpio Black family |
|---|
| 510 | |
|---|
| 511 | [DG] Accept half healthy (and half unhealthy) indication from the |
|---|
| 512 | SMART RETURN STATUS. This makes allowance for SAT implementations |
|---|
| 513 | (e.g. via USB) that truncate the SCSI sense buffer to 18 bytes. |
|---|
| 514 | This truncation causes the SMART RETURN STATUS indication to be |
|---|
| 515 | half health or unhealthy. If the half indication is used, then |
|---|
| 516 | warn if '-r ioctl' is given. |
|---|
| 517 | |
|---|
| 518 | [MS] knowndrives.cpp updates: |
|---|
| 519 | - Added Apple SSD |
|---|
| 520 | - Added Seagate U8 family |
|---|
| 521 | |
|---|
| 522 | [DL] os_freebsd.cpp: |
|---|
| 523 | Added support for CHECK_POWER_MODE and WRITE_LOG commands |
|---|
| 524 | |
|---|
| 525 | [MS] knowndrives.cpp update: |
|---|
| 526 | There seem to exist WD Raptors with SATA II interface, add them. |
|---|
| 527 | |
|---|
| 528 | [MS] knowndrives.cpp updates: |
|---|
| 529 | - Added remaining Seagate Barracuda 7200.11 drives |
|---|
| 530 | - Added HP 1TB SATA disk |
|---|
| 531 | |
|---|
| 532 | [MS] knowndrives.cpp updates: |
|---|
| 533 | - Added Maxtor 92040U6 (DiamondMax Plus 6800) |
|---|
| 534 | - Added Seagate Maxtor DiamondMax 21 500GB version |
|---|
| 535 | - Added QUANTUM FIREBALLlct15 22 |
|---|
| 536 | - Added QUANTUM FIREBALL CR6.4A |
|---|
| 537 | - Added QUANTUM FIREBALLP LM20.4 |
|---|
| 538 | - Added SUN branded Toshiba MK4019GAX |
|---|
| 539 | - Added TOSHIBA MK1016GAP and relatives: MK1[05]1[67]GAP |
|---|
| 540 | - Added Western Digital WD800AB and WD2500AB |
|---|
| 541 | - Some Hitachi 7K160 drives have garbage at end of name: permit it |
|---|
| 542 | |
|---|
| 543 | [CF] Add smartd '-n powermode,N' directive parameter to limit the |
|---|
| 544 | number of skipped checks. Thanks to Michal Hlavinka for the patch. |
|---|
| 545 | |
|---|
| 546 | [MS] knowndrives.cpp updates: |
|---|
| 547 | - Added Hitachi Endurastar J4K30/N4K30 |
|---|
| 548 | - Added Hitachi Travelstar 4K120 series |
|---|
| 549 | - Some Hitachi 7K80 drives have garbage at end of name: permit it |
|---|
| 550 | - IBM Travelstar 6GN series |
|---|
| 551 | |
|---|
| 552 | [MS] knowndrives.cpp updates: |
|---|
| 553 | - Added Quantum Fireball ST4300A |
|---|
| 554 | - Added Asus-Phison SSD (solid state disk) |
|---|
| 555 | - Added Seagate DB35.3 Series |
|---|
| 556 | - Added remaining disks of the Seagate SV35.2 Series |
|---|
| 557 | |
|---|
| 558 | [MS] Fix trivial compile error with "-pedantic" |
|---|
| 559 | |
|---|
| 560 | [MS] Workaround for huge raw values of Reallocated_Sector_Ct and |
|---|
| 561 | Reallocated_Event_Ct for newer Fujitsu disks (only the lower |
|---|
| 562 | 16 bits seem to be meaningful). Clip the display to 16 bits |
|---|
| 563 | and show the remaining part, if existent, in parens. Patch by [CF]. |
|---|
| 564 | |
|---|
| 565 | [CF] smartd DEVICESCAN: Fix autodetection of SAT devices. |
|---|
| 566 | Thanks to Stanislav Brabec for bug report and testing. |
|---|
| 567 | |
|---|
| 568 | [MS] knowndrives.cpp update: |
|---|
| 569 | Convert file to full string regex: remove "^$" from pattern |
|---|
| 570 | |
|---|
| 571 | [MS] knowndrives.cpp updates: |
|---|
| 572 | - Added Seagate Momentus 5400 PSD series (hybrid drives) |
|---|
| 573 | - Added Seagate Momentus 7200.3 series |
|---|
| 574 | - Added Hitachi Deskstar 7K250 (SUN branded) |
|---|
| 575 | - There are Hitachi Travelstar 5K250 drives with capital "HITACHI" |
|---|
| 576 | - Correct regex for Maxtor VL 30 drives |
|---|
| 577 | |
|---|
| 578 | [CF] Add configure options '--enable-savestates' and |
|---|
| 579 | '--with-savestates=PREFIX' to enable smartd persistence |
|---|
| 580 | ('-s' option) by default. |
|---|
| 581 | |
|---|
| 582 | [CF] smartd: Add '-s ([cnr]/../.././..)' directive to run scheduled |
|---|
| 583 | selective self-tests. Useful to perform full tests of large disks |
|---|
| 584 | not running 24x7. |
|---|
| 585 | |
|---|
| 586 | [CF] Allow to read local drive database entries from optional file |
|---|
| 587 | '${sysconfdir}/smart_drivedb.h'. |
|---|
| 588 | Add configure options '--enable-drivedb' and '--with-drivedbdir=DIR'. |
|---|
| 589 | If specified, drive database is read from '${drivedbdir}/drivedb.h'. |
|---|
| 590 | (default '${prefix}/share/smartmontools/drivedb.h'). This file |
|---|
| 591 | is build from knowndrives.cpp. |
|---|
| 592 | |
|---|
| 593 | [MS] knowndrives.cpp updates: |
|---|
| 594 | - Added 640GB variants of Western Digital AAKS and AACS drives |
|---|
| 595 | - Added Western Digital AV ATA family |
|---|
| 596 | - Added 160GB variant of Hitachi P7K500 |
|---|
| 597 | - Added 500GB variant of Hitachi 7K1000 |
|---|
| 598 | - Some cleanup for Quantum disks |
|---|
| 599 | - Added Seagate Maxtor DiamondMax 22 family |
|---|
| 600 | |
|---|
| 601 | [CF] Use full string match for regexp in drive database. |
|---|
| 602 | |
|---|
| 603 | [CF] Add option '-d sat+TYPE' to use SAT with controllers which |
|---|
| 604 | require option '-d TYPE'. Should work with '-d sat+megaraid,N'. |
|---|
| 605 | As a side effect, '-d usbcypress+TYPE' is also supported. |
|---|
| 606 | |
|---|
| 607 | [CF] Add parser to read drive database from a file. Add '-B' option |
|---|
| 608 | to smartctl and smartd to specify database file name. File syntax |
|---|
| 609 | is identical to the C/C++ syntax used to inialize the internal |
|---|
| 610 | database array. |
|---|
| 611 | |
|---|
| 612 | [CF] New syntax for drive database: Specify presets by strings |
|---|
| 613 | with '-v' and '-F' options. Use empty strings instead of NULL. |
|---|
| 614 | |
|---|
| 615 | [JPH] Added Linux support for viewing disks behind MegaRAID |
|---|
| 616 | controllers |
|---|
| 617 | |
|---|
| 618 | [CF] smartd: Improve min/max temperature recording in conjunction |
|---|
| 619 | with '-s' option. |
|---|
| 620 | |
|---|
| 621 | [CF] Add a wrapper class for FILE *. |
|---|
| 622 | |
|---|
| 623 | [CF] smartd: Add experimental support for state persistence (ATA only). |
|---|
| 624 | Add option '-s' to specify path prefix for state files. |
|---|
| 625 | Rework scheduled self-test detection to support persistence. |
|---|
| 626 | If any test schedules are within downtime, the highest priority |
|---|
| 627 | test is run after next startup. |
|---|
| 628 | |
|---|
| 629 | [CF] Remove casts from 'format_ata_string()' calls. |
|---|
| 630 | |
|---|
| 631 | [CF] Minor changes to fix errors and warnings from Cygwin gcc 4.3.0. |
|---|
| 632 | |
|---|
| 633 | [CF] smartd: Remove SCSITIMEOUT code. According to smartd.h 1.54 CVS log |
|---|
| 634 | from 2003-10-27, it did never work. |
|---|
| 635 | |
|---|
| 636 | [CF] Remove dependencies ataprint.cpp and scsiprint.cpp from smartd. |
|---|
| 637 | Move common ATA functions from ataprint.cpp to atacmds.cpp. |
|---|
| 638 | Module scsiprint.cpp was apparently never used in smartd. |
|---|
| 639 | |
|---|
| 640 | [CF] Move smartd local declarations from smartd.h and utility.h to |
|---|
| 641 | smartd.cpp. Remove smartd.h. |
|---|
| 642 | |
|---|
| 643 | [CF] Fixed extra '\n' in "Offline data collection status" output. |
|---|
| 644 | Thanks to Alexander Shaduri for the patch. |
|---|
| 645 | |
|---|
| 646 | [CF] smartd: Separate device configuration data from device state data. |
|---|
| 647 | Use references instead of pointers for configuration and state data. |
|---|
| 648 | |
|---|
| 649 | [CF] Add const-correctness and static to ATA support functions. |
|---|
| 650 | |
|---|
| 651 | [CF] Add a wrapper class for regex. |
|---|
| 652 | |
|---|
| 653 | [CF] Simplify 'create_vendor_attribute_arg_list()'. |
|---|
| 654 | |
|---|
| 655 | [CF] smartd: Rework of main data structures. Remove explicit memory |
|---|
| 656 | allocations, use STL containers and structs with value semantics |
|---|
| 657 | instead. Remove old malloc/free based memory management helper |
|---|
| 658 | functions unless old interface is still in use. |
|---|
| 659 | |
|---|
| 660 | [CF] Linux: Cleanup device scan, remove name list, create objects directly. |
|---|
| 661 | |
|---|
| 662 | [CF] Linux: Cleanup smart_device::open(), type strings are no longer used. |
|---|
| 663 | |
|---|
| 664 | [CF] Remove CONTROLLER_* defines and variables unless old interface |
|---|
| 665 | is still in use. |
|---|
| 666 | |
|---|
| 667 | [CF] Linux: Migrate 3ware interface to 'ata_pass_through()'. |
|---|
| 668 | Multi-sector support is not complete yet. 48-bit commands |
|---|
| 669 | possibly work. |
|---|
| 670 | WARNING: Not tested, please review code before first test! |
|---|
| 671 | |
|---|
| 672 | [CF] Linux: Migrate os_linux.cpp to new interface. |
|---|
| 673 | |
|---|
| 674 | [CF] Add direct access to 16-bit registers in 'ata_in/out_regs_48bit'. |
|---|
| 675 | |
|---|
| 676 | [CF] Add 'ata_cmd_is_ok()' parameter check, |
|---|
| 677 | remove 'ata_pass_through_28/48bit()' functions. |
|---|
| 678 | |
|---|
| 679 | [CF] Add CVS date/time from cvsversion.h to man pages also. |
|---|
| 680 | |
|---|
| 681 | [CF] Add configure option '--with-os-deps='os_module.o ...' to specify |
|---|
| 682 | alternate OS interface modules. Useful for testing during migration. |
|---|
| 683 | |
|---|
| 684 | [CF] Remove declarations of 'optarg', 'optind', ..., include <unistd.h> |
|---|
| 685 | instead. This fixes 'auto-importing' linker warnings on Cygwin. |
|---|
| 686 | |
|---|
| 687 | [CF] Add '-l sataphy[,reset]' to print SATA Phy Event Counters. |
|---|
| 688 | |
|---|
| 689 | [CF] Add '-l gplog,ADDR[,FIRST[-LAST|+SIZE]]' and '-l smartlog,...' |
|---|
| 690 | to dump any log page accessible via GP or SMART read log commands. |
|---|
| 691 | |
|---|
| 692 | [CF] Enhance '-l directory' to print both GP and SMART Log directories. |
|---|
| 693 | Add '-l directory[,gs]' modifiers to select GP or SMART log. |
|---|
| 694 | Enhance 'ata_cmd_in' parameter struct for 48-bit commands. |
|---|
| 695 | |
|---|
| 696 | [CF] Windows: Add full ATA pass through support including 48-bit commands. |
|---|
| 697 | |
|---|
| 698 | [CF] Windows: Migrate os_win32.cpp to new interface. |
|---|
| 699 | |
|---|
| 700 | [CF] SAT: Add full ATA pass through support including 48-bit commands. |
|---|
| 701 | |
|---|
| 702 | [MS] knowndrives.cpp update |
|---|
| 703 | - Added FUJITSU MHZ2250BS G2 and family |
|---|
| 704 | |
|---|
| 705 | [MS] knowndrives.cpp updates |
|---|
| 706 | - Added Maxtor DiamondMax 60 94098H6 |
|---|
| 707 | - Added Maxtor DiamondMax 1280 84000A6 and family |
|---|
| 708 | - Added Maxtor DiamondMax VL 30 31536H2 (ATA100) and family |
|---|
| 709 | - Some Seagate Barracuda 7200.9 have garbage at end of name: permit it |
|---|
| 710 | - Added Seagate Barracuda ATA ST320430A and family |
|---|
| 711 | - Regression from previous checkin: add WD RE2 WD...0ABYS again |
|---|
| 712 | - Added WD RE3 WD5002ABYS and family |
|---|
| 713 | - Added Quantum Fireball CR13.0A |
|---|
| 714 | - Added Hitachi Travelstar 5K250 HTS542525K9SA00 and family |
|---|
| 715 | - Added WD AC420400D and add whole range of AC.... which |
|---|
| 716 | have 5400rpm or higher (i.e. PIO-only drives omitted) |
|---|
| 717 | |
|---|
| 718 | [MS] knowndrives.cpp updates |
|---|
| 719 | - WD: Separated entries for EIDE and SATA |
|---|
| 720 | - WD: Separated entries for Caviar SE, SE16, RE, RE2 |
|---|
| 721 | - WD Named: WD Caviar AC series |
|---|
| 722 | - WD Renamed: WD Caviar RE/RE2 -> WD RE/RE2 |
|---|
| 723 | - WD Renamed: WD Caviar SE/SE16 WD....AA[A-Z][A-Z] -> WD Caviar Blue |
|---|
| 724 | - WD Renamed: WD Scorpio WD....BEV[A-Z] -> WD Scorpio Blue |
|---|
| 725 | - Added WD Scorpio Blue WD3200BEVT |
|---|
| 726 | - Added WD RE2 WD5001ABYS and family |
|---|
| 727 | - Added WD Caviar Green WD5000AACS and family |
|---|
| 728 | - Added WD VelociRaptor WD3000GLFS and family |
|---|
| 729 | - Added Seagate Barracuda ES.2 ST31000340NS and family |
|---|
| 730 | - Added Samsung SP80A4H |
|---|
| 731 | - Added Maxtor DiamondMax 21 STM3160215AS and STM3320620AS |
|---|
| 732 | - Added Seagate Barracuda 7200.7 ST380819AS |
|---|
| 733 | - Added Maxtor DiamondMax 10 6B100P0 |
|---|
| 734 | - Added Seagate SV35.2 Series |
|---|
| 735 | - Added Fujitsu MHY2120BH and family |
|---|
| 736 | - Added Fujitsu MHW2080BH PL (PL variant) |
|---|
| 737 | - Added Toshiba MK3252GSX and family |
|---|
| 738 | |
|---|
| 739 | [BA] Fix smartctl bug: when running in silent mode '-q errorsonly' |
|---|
| 740 | do not print the Selective Self-test log. Any errors will |
|---|
| 741 | ALREADY appear in the SMART Self-test log. |
|---|
| 742 | |
|---|
| 743 | [CF] Add missing 'const' and other minor fixes to prevent gcc warnings. |
|---|
| 744 | |
|---|
| 745 | [OB] Added information message about supported Areca firmware versions. |
|---|
| 746 | It's displayed in case the ATA device identification fails. |
|---|
| 747 | |
|---|
| 748 | [CF] Add configuration file for Doxygen. |
|---|
| 749 | |
|---|
| 750 | [CF] Add new object oriented interface to access ATA and SCSI devices. |
|---|
| 751 | smartctl and smartd are modified to use the new classes in |
|---|
| 752 | 'dev_interface.{h,cpp}'. The template class in 'dev_tunnelled.h' |
|---|
| 753 | is used in 'scsiata.cpp'. The code in 'dev_ata_cmd_set.{h,cpp}' |
|---|
| 754 | supports migration from old function 'ata_command_interface()'. |
|---|
| 755 | All existing 'os_*.cpp' modules should still work without any changes. |
|---|
| 756 | The required adapter classes from 'dev_legacy.cpp' are automatically |
|---|
| 757 | added by configure if necessary. |
|---|
| 758 | |
|---|
| 759 | [BA] Updated smartd and smartctl and smartd.conf man-page documentation |
|---|
| 760 | to reflect support for Areca SATA RAID controller cards. |
|---|
| 761 | |
|---|
| 762 | [OB] Added support for Areca controllers to smartd. Extensive tests |
|---|
| 763 | as well as documentation are still pending however. |
|---|
| 764 | |
|---|
| 765 | [OB] Implemented device locking for Areca controllers in smartctl |
|---|
| 766 | |
|---|
| 767 | [BA] Fixed selective self-test code. Data structure revision number |
|---|
| 768 | may be != 1 if no selective self-test has ever been run. Host |
|---|
| 769 | MUST set this value (at least at the first selective self-test |
|---|
| 770 | instance). Thanks to Curtis Stevens of WDC for clarification. |
|---|
| 771 | |
|---|
| 772 | [MC] usbcypress autodetection |
|---|
| 773 | |
|---|
| 774 | [BA] Starting to commit Areca code. For now just smartctl. |
|---|
| 775 | More changes and documentation coming soon. |
|---|
| 776 | Need Areca firmware version 1.45 dated 10 June 2008 or later. |
|---|
| 777 | May need changes in opening /dev/sg and file locking. |
|---|
| 778 | Many thanks to Hank Wu! |
|---|
| 779 | |
|---|
| 780 | [CF] smartd: Fix too small name buffer for 3ware with >100 devices. |
|---|
| 781 | |
|---|
| 782 | [JH] now C++ Support for QNX Target |
|---|
| 783 | already tested for QNX 6.3.2 on x86 and armle target |
|---|
| 784 | |
|---|
| 785 | [CF] Allow to set BUILD_INFO from make command line. |
|---|
| 786 | |
|---|
| 787 | [CF] Windows: Add MSVC8 support, remove MSVC6 project files. |
|---|
| 788 | |
|---|
| 789 | [MC] Add usbcypress device support for smartd. |
|---|
| 790 | |
|---|
| 791 | [CF] Add output of latest CVS date/time stamp to version info. |
|---|
| 792 | New file cvsversion.h is generated by Makefile. |
|---|
| 793 | Move formatting of version info to utility.cpp. |
|---|
| 794 | |
|---|
| 795 | [AR] Fix bug in 3ware node creation where nodes would be created |
|---|
| 796 | then deleted, then recreated. |
|---|
| 797 | |
|---|
| 798 | [BA] Add missing CCISS cvs version tags to '-V' printouts. |
|---|
| 799 | |
|---|
| 800 | [TS] Linux: Ensure the 3ware device nodes are created with a correct |
|---|
| 801 | SELinux security context. |
|---|
| 802 | |
|---|
| 803 | [AR] Add support for up to 128 devices on 3ware controllers. |
|---|
| 804 | |
|---|
| 805 | [CF] C++: Added new main() with exception handlers, replaced |
|---|
| 806 | exit(x) with throw(x), removed global variable 'exitstatus'. |
|---|
| 807 | Necessary for future changes, because exit() does not call |
|---|
| 808 | any destructors. |
|---|
| 809 | |
|---|
| 810 | [SS] FreeBSD: plug file descriptor leak in smartd (only happens with |
|---|
| 811 | CISS devices). Reported by Vadim Ostranitsyn. |
|---|
| 812 | |
|---|
| 813 | [SS] FreeBSD: allow smartctl to interact with SCSI /dev/pass devices, |
|---|
| 814 | thus enabling it to work with RAID controllers that expose disks |
|---|
| 815 | via these devices. From scottl@ via FreeBSD ports. |
|---|
| 816 | |
|---|
| 817 | [MC] Add usbcypress device support for smartctl. |
|---|
| 818 | |
|---|
| 819 | [KS] INSTALL on Solaris: updated description to use C++ compiler. |
|---|
| 820 | |
|---|
| 821 | [KS] configure.in on Solaris: added options for Sun's compiler to |
|---|
| 822 | suppress trivial warnings. |
|---|
| 823 | |
|---|
| 824 | [KS] configure.in on Solaris: added direction to search suitable |
|---|
| 825 | libraries for getaddrinfo(). |
|---|
| 826 | |
|---|
| 827 | [TS] smartd on Linux: remove forgotten return from deviceopen(); |
|---|
| 828 | SCSI device descriptors had the FD_CLOEXEC flag unset. |
|---|
| 829 | |
|---|
| 830 | [CF] Added 'const' to avoid warning on depreciated string constant |
|---|
| 831 | to 'char *' conversion. |
|---|
| 832 | |
|---|
| 833 | [CF] autogen.sh: automake 1.10.1 is OK. Updated message texts. |
|---|
| 834 | |
|---|
| 835 | [BA] removed smartmontools.spec file (now in CVS Attic). This |
|---|
| 836 | was not being used by RH or FC anyhow, and was out of |
|---|
| 837 | date and not maintained. |
|---|
| 838 | |
|---|
| 839 | [BA] smartd on Linux: sets FD_CLOEXEC on the opened device file |
|---|
| 840 | descriptor. The descriptor is otherwise leaked to other |
|---|
| 841 | applications (mail sender) which may be considered a security |
|---|
| 842 | risk and may result in AVC messages on SELinux-enabled systems. |
|---|
| 843 | Thanks to: Tom�metana" <tsmetana@redhat.com>. |
|---|
| 844 | |
|---|
| 845 | [BA] smartd: when sending email, to gather information about the |
|---|
| 846 | host for the body of the email, eliminate gethostbyname() |
|---|
| 847 | in favor of the IPv6-friendly function getaddrinfo() if the |
|---|
| 848 | latter is available. Info may be found here |
|---|
| 849 | http://udrepper.livejournal.com/16116.html |
|---|
| 850 | and here |
|---|
| 851 | http://people.redhat.com/drepper/userapi-ipv6.html |
|---|
| 852 | Thanks to: Tom�metana" <tsmetana@redhat.com>. |
|---|
| 853 | |
|---|
| 854 | Smartmontools developers: please check that smartd still LINKS |
|---|
| 855 | properly on your systems. |
|---|
| 856 | |
|---|
| 857 | [BA] Fix ugly syntax bug in os_freebsd.cpp. How did this go |
|---|
| 858 | undetected for so long?? |
|---|
| 859 | |
|---|
| 860 | SMARTMONTOOLS STABLE RELEASE 5.38 2008/03/10 |
|---|
| 861 | |
|---|
| 862 | [KS] Solaris/x86: modified configure.in for Sun's compiler. |
|---|
| 863 | |
|---|
| 864 | [BA] smartd.initd.in addition from Erwan Velu <erwan@seanodes.com> |
|---|
| 865 | |
|---|
| 866 | [BA] smartd fixes: |
|---|
| 867 | |
|---|
| 868 | - On Linux, DEVICESCAN now automatically recognizes SATA devices |
|---|
| 869 | behind libata, and SATA devices behind the Marvell driver, and |
|---|
| 870 | treats them correctly. |
|---|
| 871 | |
|---|
| 872 | - On Linux, a '-d sat' or '-d marvell' is automatically added |
|---|
| 873 | if libata or the marvell driver are recognized behind a SCSI |
|---|
| 874 | device type |
|---|
| 875 | |
|---|
| 876 | [SS] (Maybe) fix attribute autosave in FreeBSD. |
|---|
| 877 | |
|---|
| 878 | [SS] Major NetBSD-specific bugfixes: |
|---|
| 879 | - handle actual SCSI and ATA errors and not only ioctl() errors; |
|---|
| 880 | - set up I/O request properly for AUTO_OFFLINE and AUTOSAVE commands (inspired by |
|---|
| 881 | similar change in os_freebsd.cpp); |
|---|
| 882 | - handle AUTO_OFFLINE and AUTOSAVE like STATUS_CHECK (like os_linux.cpp does). |
|---|
| 883 | |
|---|
| 884 | [GG] add kfreebsd gnu support to configure.in |
|---|
| 885 | |
|---|
| 886 | [BA] Fix auto-offline support in FreeBSD. Thanks to |
|---|
| 887 | Cyrus Rahman <crahman@gmail.com> for the patch, and |
|---|
| 888 | Eduard Martinescu for blessing it. |
|---|
| 889 | |
|---|
| 890 | [DG] smartd re-opens "SCSI" devices as ATA devices if a SAT layer is |
|---|
| 891 | detected (smartd bug IMO). In Linux this upsets scsi generic |
|---|
| 892 | device nodes (e.g. /dev/sg0). Detect the re-open in os_linux.cpp |
|---|
| 893 | and set the O_RDWR flag (ATA uses the O_RDONLY flag). |
|---|
| 894 | |
|---|
| 895 | [CF] Drive database: Added Fujitsu MHW2 BH, Maxtor DiamondMax 17, 20, 21, |
|---|
| 896 | Hitachi Travelstar 4K40, 5K120, 7K200, Deskstar 7K160, T7K500, |
|---|
| 897 | T7K1000, Toshiba 1.8", Seagate Momentus 5400.3, 5400.3 ED, 7200.2, |
|---|
| 898 | Barracuda 7200.11 and ES. |
|---|
| 899 | Updated Toshiba 2.5", Seagate Barracuda 7200.9 and 7200.10. |
|---|
| 900 | Added missing "(Hitachi )?" to Travelstar entries. |
|---|
| 901 | |
|---|
| 902 | [CF] Drive database: Added several Western Digital Caviar and Scorpio |
|---|
| 903 | drives, added Caviar RE EIDE family. |
|---|
| 904 | |
|---|
| 905 | [CF] Drive database: Added Samsung P80 series with *-25 firmware. |
|---|
| 906 | |
|---|
| 907 | [CF] Replaced 'head [-n] -1' by 'sed 1...' in autogen.sh to avoid |
|---|
| 908 | portability issues. |
|---|
| 909 | |
|---|
| 910 | [BA] Fixed autogen.sh script so that it uses 'grep -n 1' if 'grep -1' |
|---|
| 911 | fails. Needed for Mac OS X 10.4. Uck. |
|---|
| 912 | |
|---|
| 913 | [CF] Windows: Added IOCTL_STORAGE_PREDICT_FAILURE. This allows access |
|---|
| 914 | to ATA SMART status and data if other calls do not work. |
|---|
| 915 | Thanks to Jaroslaw Kowalski for pointing this out. |
|---|
| 916 | Added support to use this function without admin rights. |
|---|
| 917 | |
|---|
| 918 | [CF] Added ATA-8 revision 4c message text. |
|---|
| 919 | |
|---|
| 920 | [CF] Added compiler.h to cciss_ioctl.h header check to prevent |
|---|
| 921 | configure warning. |
|---|
| 922 | |
|---|
| 923 | [SS] DragonFly support added (using os_freebsd code; untested). |
|---|
| 924 | |
|---|
| 925 | [CF] smartctl: Fixed ATA identify byte swapping issue on big-endian |
|---|
| 926 | platforms. This regression was introduced by the change for |
|---|
| 927 | '-F swapid'. Thanks to Matthew Butch for bug report and testing. |
|---|
| 928 | |
|---|
| 929 | [DG] SAT/SCSI: Improve SAT error processing code. Aborted commands from |
|---|
| 930 | ATA devices (typically because SMART was disabled) were not being |
|---|
| 931 | properly detected. |
|---|
| 932 | |
|---|
| 933 | [GG] smartd: wait for the pid file to show up, return an error if it doesn't |
|---|
| 934 | |
|---|
| 935 | [JH] fix bad return code (get STATUS) for QNX Part |
|---|
| 936 | |
|---|
| 937 | [JH] initial porting to QNX Neutrino 6.3.2 |
|---|
| 938 | need at this time a prerelease devb-eide driver and libcam.so.2 |
|---|
| 939 | only tested for X86 Target, but devb-eide and lobcam.so.2 available for X86/ARM |
|---|
| 940 | the officional driver coming soon with the next QNX release |
|---|
| 941 | create two new source files os_qnxnto.[c..h] |
|---|
| 942 | |
|---|
| 943 | [CF] smartd: Added option '-n, --no-fork' so that smartd works |
|---|
| 944 | better with modern init methods. Thanks to Enrico Scholz |
|---|
| 945 | for the patch from 2005-12-24. |
|---|
| 946 | |
|---|
| 947 | [CF] Windows: Improved ATA/SCSI device type detection and |
|---|
| 948 | DEVICESCAN. This also fixes a regression in 3ware DEVICESCAN. |
|---|
| 949 | |
|---|
| 950 | [CF] smartd: Don't start self tests in first pass to avoid |
|---|
| 951 | performance problems during boot. |
|---|
| 952 | https://bugzilla.novell.com/show_bug.cgi?id=192591 |
|---|
| 953 | |
|---|
| 954 | [CF] Fixed regression in SMART STATUS command on Win9x/ME. |
|---|
| 955 | |
|---|
| 956 | [BA] Fixed 3ware issue with new controllers. Documentation said |
|---|
| 957 | that one could address up to 24 disks on a single controller, |
|---|
| 958 | but in fact one was limited to 16 disks. This is now fixed: |
|---|
| 959 | up to 32 disks can be addressed. Thanks to Adam Radford. |
|---|
| 960 | |
|---|
| 961 | NOTE1: I have patched the Linux and FreeBSD code but not |
|---|
| 962 | modified the Win32 code (it already supports up to 32 disks). |
|---|
| 963 | |
|---|
| 964 | NOTE2: NOT TESTED ON LINUX. Do not use this on a production box! |
|---|
| 965 | I will remove this NOTE2 as soon as some positive test |
|---|
| 966 | reports are recieved. |
|---|
| 967 | |
|---|
| 968 | NOTE3: NOT TESTED ON FREEBSD. Do not use this on a production box! |
|---|
| 969 | I will remove this NOTE3 as soon as some positive test |
|---|
| 970 | reports are recieved. |
|---|
| 971 | |
|---|
| 972 | [CF] Windows installer: Added explorer drive menu, CMD window, |
|---|
| 973 | UBCD4Win plugin, smartd service update and other minor |
|---|
| 974 | improvements. |
|---|
| 975 | |
|---|
| 976 | [CF] Windows: Modified drive letter handling for explorer drive |
|---|
| 977 | context menu: try SCSI if type is unknown, allow 'X:\.' syntax. |
|---|
| 978 | |
|---|
| 979 | [CF] Windows: Added automatic ATA/SCSI device type detection and |
|---|
| 980 | SCSI device scanning. The device names '/dev/sdX' and |
|---|
| 981 | '/dev/pd<n>' now work for both ATA and SCSI disks. |
|---|
| 982 | |
|---|
| 983 | [CF] smartctl: Added ability to parse '-r ataioctl,2' output from |
|---|
| 984 | stdin ('-') and simulate the ATA commands for testing purposes. |
|---|
| 985 | |
|---|
| 986 | [BA] SMART Attributes: added 187, 189, more accurate name for 190. |
|---|
| 987 | |
|---|
| 988 | [CF] Windows: Added drive letters 'X:' as alternate disk device names. |
|---|
| 989 | |
|---|
| 990 | [CF] smartctl: Added '-F swapid' to fix ATA identify string byte |
|---|
| 991 | ordering. Added '-q noserial' to suppress serial number output. |
|---|
| 992 | |
|---|
| 993 | [CF] Windows: Added '/dev/n?st<n>' as alternate device names for SCSI |
|---|
| 994 | tapes. These names are also used by Cygwin's /dev emulation layer. |
|---|
| 995 | Thanks to Corinna Vinschen (Cygwin project lead) for pointing this |
|---|
| 996 | out. |
|---|
| 997 | |
|---|
| 998 | [CF] Windows: Added IOCTL_SCSI_MINIPORT_*SMART* for commands not handled |
|---|
| 999 | properly by SMART_IOCTL in disk class driver. This allows to use |
|---|
| 1000 | READ_LOG, WRITE_LOG and ABORT_SELFTEST even if the driver does not |
|---|
| 1001 | support ATA_PASS_THROUGH. |
|---|
| 1002 | |
|---|
| 1003 | [CF] Added ATA-8 revision 4, fixed WRITE LOG '-r ioctl' output. |
|---|
| 1004 | |
|---|
| 1005 | [BA] Updated smartctl and smartd so that they can be used with the latest |
|---|
| 1006 | 3ware controllers which have 24 ports. Also updated docs. |
|---|
| 1007 | Thanks to Tim Bell at CERN. |
|---|
| 1008 | |
|---|
| 1009 | [GG] bit 4 in smartctl's return code might be set even when the dist check |
|---|
| 1010 | didn't return "DISK OK" |
|---|
| 1011 | |
|---|
| 1012 | [CF] Drive database: added '-F samsung3' for Samsung P80 firmware |
|---|
| 1013 | BH100-35. |
|---|
| 1014 | |
|---|
| 1015 | [SS] Applied patch from Dean Bennett to fix scheduled tests on |
|---|
| 1016 | Highpoint RAID controllers. |
|---|
| 1017 | |
|---|
| 1018 | [BA] Added patch from Tejun Heo http://thread.gmane.org/gmane.linux.ide/13222/focus=13235 |
|---|
| 1019 | to fix broken auto-offline and auto-save via libata. Very clean fix: does it |
|---|
| 1020 | "the right way". Thanks Tejun! |
|---|
| 1021 | |
|---|
| 1022 | [CF] Added message text for ATA-7 self-test execution status 8 |
|---|
| 1023 | ("... handling damage"). |
|---|
| 1024 | |
|---|
| 1025 | [GG] cciss: support more than 16 disks (patch taken from |
|---|
| 1026 | http://cciss.sourceforge.net/smartmontools_cciss_more_than_16_drives.patch |
|---|
| 1027 | and adjusted for smartd) |
|---|
| 1028 | |
|---|
| 1029 | [DG] Solaris: [SCSI] add USCSI_RQENABLE flag to uscsi pass-through so |
|---|
| 1030 | sense buffer is made available. Expand reporting at this level. |
|---|
| 1031 | |
|---|
| 1032 | [GK] Darwin: Improve handling of powered-down drives. |
|---|
| 1033 | |
|---|
| 1034 | [SS] CCISS physical drive enumeration method changed (incompatibly). |
|---|
| 1035 | |
|---|
| 1036 | [CF] Fixed smartd crash on missing '-s' directive argument. |
|---|
| 1037 | |
|---|
| 1038 | [SS] Support CCISS on FreeBSD (kernel source is required until FreeBSD PR 109813 |
|---|
| 1039 | is fixed). |
|---|
| 1040 | |
|---|
| 1041 | [DG] SCSI/TAPE: some IBM tape drives don't react properly to a LOG |
|---|
| 1042 | SENSE with an allocation length of 4; work around for that case. |
|---|
| 1043 | |
|---|
| 1044 | [CF] Applied Guido's patch to fix CCISS LUN array bounds check |
|---|
| 1045 | (openSUSE bug #239956) and remove trailing spaces in |
|---|
| 1046 | os_linux.cpp. |
|---|
| 1047 | |
|---|
| 1048 | [CF] Fixed 64-bit compilation issue in SCT status struct. |
|---|
| 1049 | |
|---|
| 1050 | [DG] SAT/SCSI: make real SCSI disks visible to DEVICESCAN in |
|---|
| 1051 | smartd again. |
|---|
| 1052 | |
|---|
| 1053 | [CF] Fixed check of SCT temperature table size. |
|---|
| 1054 | |
|---|
| 1055 | [CF] Added ATA-8 draft revisions, added SCT status format 3. |
|---|
| 1056 | |
|---|
| 1057 | [CF] Drive database: added Samsung T166 series. |
|---|
| 1058 | |
|---|
| 1059 | [CF] ATA: Added ',p' option for '-t scttempint,N' to make |
|---|
| 1060 | setting persistent. |
|---|
| 1061 | |
|---|
| 1062 | [CF] ATA: Added '-t scttempint,N' option to set SCT temperature |
|---|
| 1063 | logging interval. |
|---|
| 1064 | |
|---|
| 1065 | [CF] ATA: Added '-l scttemp[sts,hist]' options to print disk |
|---|
| 1066 | temperature information and history table provided by |
|---|
| 1067 | SMART Command Transport (SCT) Feature Set. |
|---|
| 1068 | |
|---|
| 1069 | [CF] ATA: Added '-t selective,{redo,next,cont}' commands to |
|---|
| 1070 | perform tests based on the last ranges still stored on |
|---|
| 1071 | disk. Added 'N+SIZE' and 'N-max' format for LBA range |
|---|
| 1072 | specification. |
|---|
| 1073 | |
|---|
| 1074 | [CF] Added Min/Max Temperature format used in attribute 190 of |
|---|
| 1075 | recent Maxtor disks (DiamondMax 20). |
|---|
| 1076 | |
|---|
| 1077 | [CF] Linux: Added check for <linux/cciss_ioctl.h> to allow build |
|---|
| 1078 | (without CCISS support) also when this file is missing. |
|---|
| 1079 | |
|---|
| 1080 | [CF] Added -F samsung3 option to correct firmware bug reporting |
|---|
| 1081 | completed self-tests as still in progress. Thanks to Manfred |
|---|
| 1082 | Schwarb for the patch. |
|---|
| 1083 | |
|---|
| 1084 | [CF] Added missing const specifiers (undetected by gcc 3.4 and 4.X) |
|---|
| 1085 | to fix compilation with gcc 2.X. |
|---|
| 1086 | |
|---|
| 1087 | [CF] Linux: compile fix for SuSE, config.h must be included first. |
|---|
| 1088 | |
|---|
| 1089 | smartmontools 5.37 Experimental Release |
|---|
| 1090 | |
|---|
| 1091 | [CF] Windows: Added alternate method for (limited) monitoring of |
|---|
| 1092 | 3ware controllers by parsing the output of CLI or 3DM. |
|---|
| 1093 | Either "tw_cli" can be run internally ("/dev/tw_cli/cx/py"), |
|---|
| 1094 | or data can be read from standard input ("/dev/tw_cli/stdin") |
|---|
| 1095 | or clipboard ("/dev/tw_cli/clip"). |
|---|
| 1096 | |
|---|
| 1097 | [DG] Remove linux specific libata detect code; rely on general SAT |
|---|
| 1098 | code. smartd should now generate a sensible log message for |
|---|
| 1099 | ATA devices behind a SAT layer on all architectures. |
|---|
| 1100 | |
|---|
| 1101 | [BA] Increased max line length MAXLINELEN for /etc/smartd.conf from |
|---|
| 1102 | 128 to 256 characters to handle long strings in |
|---|
| 1103 | /dev/disk/by-id. Thanks to Martin Krafft. |
|---|
| 1104 | |
|---|
| 1105 | [PW] Drive database: added missing drives from Seagate Momentus 5400.2 |
|---|
| 1106 | family |
|---|
| 1107 | |
|---|
| 1108 | [BA] Finished Christian's fix (next item below) by removing |
|---|
| 1109 | LINUX_86_64 hack from configure.in. |
|---|
| 1110 | |
|---|
| 1111 | [CF] Fixed inclusion of PRI?64 macros from inttypes.h. |
|---|
| 1112 | |
|---|
| 1113 | [CF] Windows: Added WRITE LOG to support selective self tests. |
|---|
| 1114 | |
|---|
| 1115 | [CF] Fix selective self test log revision number if '-T permissive' |
|---|
| 1116 | is specified (Tested with Samsung HD401LJ). |
|---|
| 1117 | |
|---|
| 1118 | [CF] Windows: Fixed int64 printf format for MinGW runtime. |
|---|
| 1119 | |
|---|
| 1120 | [PW] Drive database: added Seagate Barracuda 7200.10 family, Seagate |
|---|
| 1121 | Momentus 42 family, Maxtor DiamondMax 60 ATA 66 family, Maxtor |
|---|
| 1122 | DiamondMax 60 ATA 100 family, and Western Digital Caviar Serial |
|---|
| 1123 | ATA family |
|---|
| 1124 | |
|---|
| 1125 | [PW] Drive database: added missing drives from Seagate Barracuda |
|---|
| 1126 | 7200.9 family, Seagate Barracuda 7200.7 family, Seagate Momentus |
|---|
| 1127 | 7200.1 family, Toshiba 2.5" HDD family (80 GB and above), Western |
|---|
| 1128 | Digital Caviar RE Serial ATA family, Hitachi Deskstar 7K80 family, |
|---|
| 1129 | and Maxtor DiamondMax 4320 Ultra ATA family |
|---|
| 1130 | |
|---|
| 1131 | [BA] Linux: compile fix for SuSE. Check for existence |
|---|
| 1132 | of linux/compiler.h and include in os_linux.h if |
|---|
| 1133 | present. Thanks to SB. |
|---|
| 1134 | |
|---|
| 1135 | [BA] smartd: DEVICESCAN will now pick up SATA/SAT devices |
|---|
| 1136 | attached to a SCSI device tree via SAT translation. |
|---|
| 1137 | Note: this is a bit of a hack. I will document it once |
|---|
| 1138 | I know if this needs to be Linux only or can have more |
|---|
| 1139 | general application. |
|---|
| 1140 | |
|---|
| 1141 | [BA] Added a couple SATA commands to the tables -- thanks DG! |
|---|
| 1142 | Phil -- how about going through and systematically adding |
|---|
| 1143 | these new commands to atacmdnames.cpp? |
|---|
| 1144 | |
|---|
| 1145 | [BA] Linux s86_64: get rid of some compiler warnings on |
|---|
| 1146 | x86_64 Linux systems. |
|---|
| 1147 | |
|---|
| 1148 | [CF] Windows: Added missing support for READ_LOG, ABORT_SELFTEST |
|---|
| 1149 | and CHECK_POWER_STATE for 3ware 9000 controllers. Thanks to |
|---|
| 1150 | Greg de Valois for implementing this new ioctl in the driver. |
|---|
| 1151 | |
|---|
| 1152 | [PW] Drive database: added Seagate NL35 SATA family. Thanks to Kai |
|---|
| 1153 | Harrekilde-Petersen for providing a patch. |
|---|
| 1154 | |
|---|
| 1155 | [DG] [SCSI, Windows] add SPT interface for NT and later. New device |
|---|
| 1156 | names are "pd<n>", "sd<l>" and "tape<n>". |
|---|
| 1157 | |
|---|
| 1158 | [PW] Drive database: added Western Digital Scorpio family, Fujitsu MHV |
|---|
| 1159 | family, Maxtor MaXLine Pro 500 family, and Maxtor DiamondMax 11 |
|---|
| 1160 | family |
|---|
| 1161 | |
|---|
| 1162 | [PW] Drive database: added missing drives from Toshiba 2.5" HDD |
|---|
| 1163 | (30-60 GB) family, Maxtor DiamondMax 10 family, Seagate Barracuda |
|---|
| 1164 | 7200.8 family, Fujitsu MHT family, and Maxtor DiamondMax Plus 8 |
|---|
| 1165 | family |
|---|
| 1166 | |
|---|
| 1167 | [SB] Added examplescripts/Example4 using powersave-notify. |
|---|
| 1168 | |
|---|
| 1169 | [SB] More temperature monitoring examples in smartd.conf with DEVICESCAN. |
|---|
| 1170 | |
|---|
| 1171 | [SB] Minor improvements of SuSE part of init script. |
|---|
| 1172 | |
|---|
| 1173 | [CF] Drive database: added Samsung P80 series, P120 series, SP8004H |
|---|
| 1174 | and T series. |
|---|
| 1175 | |
|---|
| 1176 | [GG] Add CCISS (Compaq Smart Array Controller) support with contributions |
|---|
| 1177 | from Praveen Chidambaram, Douglas Gilbert, Guido Guenther and Fr�ric |
|---|
| 1178 | BOITEUX |
|---|
| 1179 | |
|---|
| 1180 | [PW] Drive database: added Hitachi Deskstar T7K250 and Hitachi |
|---|
| 1181 | Deskstar 7K500 series. Thanks to L. J. Wu for providing a |
|---|
| 1182 | patch |
|---|
| 1183 | |
|---|
| 1184 | [PW] Drive database: added Maxtor MaXLine III family, Seagate U7 |
|---|
| 1185 | family, Seagate ST34321A, FUJITSU MHM2060AT, FUJITSU MHT2040AS, |
|---|
| 1186 | Western Digital Caviar SE16 family, IBM Travelstar 4GT family, |
|---|
| 1187 | QUANTUM FIREBALLP KA9.1, QUANTUM FIREBALL SE4.3A, TOSHIBA |
|---|
| 1188 | MK1032GAX, TOSHIBA MK4026GAX |
|---|
| 1189 | |
|---|
| 1190 | [PW] Drive database: added missing drives from Western Digital Caviar |
|---|
| 1191 | SE (Serial ATA) and WD Raptor families |
|---|
| 1192 | |
|---|
| 1193 | [CF] Windows: Added support for 3ware 9000 controllers using extended |
|---|
| 1194 | SMART functionality in new 3ware driver. This includes DEVICESCAN |
|---|
| 1195 | support for at most 2 controllers. Thanks to Greg de Valois from |
|---|
| 1196 | AMCC/3ware for new driver features, development support and |
|---|
| 1197 | hardware for testing. |
|---|
| 1198 | |
|---|
| 1199 | [SZ] smartd: Support HighPoint RocketRAID controller under GNU/linux |
|---|
| 1200 | |
|---|
| 1201 | [DG] [SCSI] First cut for '-l background' to show background scan |
|---|
| 1202 | results log |
|---|
| 1203 | |
|---|
| 1204 | [SZ] smartctl: Support HighPoint RocketRAID controller under GNU/linux |
|---|
| 1205 | |
|---|
| 1206 | [KS] C++ compile fixes for Solaris with a few cleanups. |
|---|
| 1207 | |
|---|
| 1208 | [BA] C++ compile fixes for Darwin (thanks to CF) |
|---|
| 1209 | |
|---|
| 1210 | [CF] Removed old *.c files (now in CVS Attic). |
|---|
| 1211 | |
|---|
| 1212 | [CF] Added changes for C++ to platform independent and Windows |
|---|
| 1213 | related files. |
|---|
| 1214 | |
|---|
| 1215 | [BA] Tagged last .c Version with PRE_MOVE_TO_CPP. Copied *.c,v |
|---|
| 1216 | to *.cpp,v in CVS repository to preserve history of source |
|---|
| 1217 | files. Removed sm5_Darwin repository. |
|---|
| 1218 | |
|---|
| 1219 | [CF] smartctl: Added -n option to skip checks when disk is in |
|---|
| 1220 | low-power mode. |
|---|
| 1221 | |
|---|
| 1222 | [CF] Windows: Added alternate system call for power state check |
|---|
| 1223 | because the PASS THROUGH calls may spin up the disk. |
|---|
| 1224 | |
|---|
| 1225 | [CF] smartd: Modified power state logging to report state changes |
|---|
| 1226 | instead of standby condition. |
|---|
| 1227 | |
|---|
| 1228 | [CF] smartd: Ignore -n directive on scheduled self tests. |
|---|
| 1229 | |
|---|
| 1230 | [DG] [SCSI] Make start stop cycle counter log page decoding |
|---|
| 1231 | more robust |
|---|
| 1232 | |
|---|
| 1233 | [DG] Modify smartctl (but not smartd) to detect probable ATA |
|---|
| 1234 | devices behind a SAT layer. In the absence of an explicit |
|---|
| 1235 | device type, change to device type 'sat'. |
|---|
| 1236 | |
|---|
| 1237 | [DG] Add indication that controller (device) type has been |
|---|
| 1238 | explicitly set. Preparation for automatic detection of |
|---|
| 1239 | 'sat' device type unless user specifies a device type. |
|---|
| 1240 | |
|---|
| 1241 | [SS] NetBSD: Deliver strings from ata_identify_device properly |
|---|
| 1242 | on little- and big-endian platforms. |
|---|
| 1243 | |
|---|
| 1244 | [BA] Added published ANSI ATA-7 spec to list of recognized ATA |
|---|
| 1245 | versions. |
|---|
| 1246 | |
|---|
| 1247 | [BA] Code janitor: added missing header strings for '-V' option. |
|---|
| 1248 | |
|---|
| 1249 | [DG] [SATA] Extend 'sat' device type to allow either 12 or 16 byte |
|---|
| 1250 | variant of the SAT ATA PASS THROUGH SCSI command. Syntax is |
|---|
| 1251 | '-d sat,<n>' where <n> can be 0, 12 or 16 . The ',<n>' part |
|---|
| 1252 | is optional. Currently defaults to 16 byte variant but that |
|---|
| 1253 | could be made platform or even device dependent. |
|---|
| 1254 | |
|---|
| 1255 | [DG] [SATA] Add new 'sat' device type for SATA disks behind a |
|---|
| 1256 | SCSI to ATA Translation (SAT) Layer (SATL). Uses the ATA |
|---|
| 1257 | PASS THROUGH (16) SCSI command thence the generic SCSI |
|---|
| 1258 | passthrough for each platform. |
|---|
| 1259 | |
|---|
| 1260 | [CF] Windows: Added script and make targets to create installer |
|---|
| 1261 | with NSIS (http://nsis.sourceforge.net/) |
|---|
| 1262 | |
|---|
| 1263 | [CF] Updated hostname and links for new SourceForge CVS service. |
|---|
| 1264 | |
|---|
| 1265 | [CF] smartd: Added '-W' directive to track temperature changes |
|---|
| 1266 | and warn if temperature limits are reached. |
|---|
| 1267 | |
|---|
| 1268 | [CF] Windows: Added IOCTL_ATA_PASS_THROUGH (Win2003, XP SP2) |
|---|
| 1269 | for commands unsupported by SMART_IOCTL. Added device |
|---|
| 1270 | specific options to select subset and ordering of the ATA |
|---|
| 1271 | IOCTLs actually used. These options are specified as |
|---|
| 1272 | modifiers of the device name (/dev/hd[a-j]:[saic]+) |
|---|
| 1273 | |
|---|
| 1274 | [CF] Windows: Added support for drives 4-7 (/dev/hd[e-h]) via |
|---|
| 1275 | SMARTVSE.VXD on Win9x/ME. Thanks to Dariusz Rzonca for |
|---|
| 1276 | patch and testing. |
|---|
| 1277 | |
|---|
| 1278 | [DG] [SCSI/SATA linux] from lk 2.6.17 SATA disk identification in |
|---|
| 1279 | libata will change. Expand LibAta detection to see old |
|---|
| 1280 | identifier and new variant (VPD page 0x83). |
|---|
| 1281 | |
|---|
| 1282 | [BA] Identified Attribute 190 for Western Digital disks. This |
|---|
| 1283 | stores temperature in Celsius, just like Attribute 194. |
|---|
| 1284 | But it has a failure threshold set to correspond to the |
|---|
| 1285 | maximum design operating temperature of the disk, which |
|---|
| 1286 | is 55 Celsius on the WD800JD drives that I studied. |
|---|
| 1287 | So if this Attribute has 'failed |
|---|
| 1288 | in the past' this means that the maximum disk operating |
|---|
| 1289 | temperature has been exceeded. |
|---|
| 1290 | |
|---|
| 1291 | [GK] Darwin: Add support for AHCI drivers found in Intel-based Macs. |
|---|
| 1292 | |
|---|
| 1293 | smartmontools 5.36 Stable Release |
|---|
| 1294 | |
|---|
| 1295 | [BA] Linux: smartd/smartctl issue syntax hints to user if 3ware |
|---|
| 1296 | disk controller present with EITHER 3ware OR AMCC vendor |
|---|
| 1297 | name, and user syntax incorrect. |
|---|
| 1298 | |
|---|
| 1299 | [BA] Update copyright dates to 2006. |
|---|
| 1300 | |
|---|
| 1301 | [DG] [SCSI] Loosen sanity check on Seagate/Hitachi factory information |
|---|
| 1302 | log page so it is not skipped on recent Seagate SCSI disks. |
|---|
| 1303 | |
|---|
| 1304 | [CF] Added command 'smartd -q showtests' to list test schedules. |
|---|
| 1305 | |
|---|
| 1306 | [CF] Added command 'smartctl -P showall MODEL [FIRMWARE]' to list |
|---|
| 1307 | database entries for specific drives and firmware. |
|---|
| 1308 | |
|---|
| 1309 | [PW] Automatically set -v 9,minutes and -v 194,unknown for Maxtor |
|---|
| 1310 | DiamondMax D540X-4G drives. |
|---|
| 1311 | |
|---|
| 1312 | [DG] [SCSI] suppress various outputs when data fails sanity checks. |
|---|
| 1313 | Correct 'last n error events' log page indexing. |
|---|
| 1314 | |
|---|
| 1315 | [DG] [SCSI] changed smartctl exit status to reflect any problems in |
|---|
| 1316 | the most recent 20 self test logs [Leandro Santi] |
|---|
| 1317 | |
|---|
| 1318 | [DG] [SCSI] Fix process return value when scsiGetSmartData() fails |
|---|
| 1319 | in smartctl [Leandro Santi] |
|---|
| 1320 | |
|---|
| 1321 | [BA] Updated docs and error message to reflect Linux libata |
|---|
| 1322 | support for smartmontools starting with the 2.6.15 kernel |
|---|
| 1323 | series. Also init script support for the 'tinysofa' release. |
|---|
| 1324 | |
|---|
| 1325 | [DG] [SCSI] Mask dpofua bit when changing mode pages. Fix failure |
|---|
| 1326 | of 'smartctl -l error'. |
|---|
| 1327 | |
|---|
| 1328 | [EM] Fixed a problem with FreeBSD and 3Ware 'twe' devices |
|---|
| 1329 | |
|---|
| 1330 | [CF] Fixed a regexp in knowndrives table, added regexp syntax check |
|---|
| 1331 | via 'smartctl -P showall'. |
|---|
| 1332 | |
|---|
| 1333 | [CF] Cygwin & Windows: Fixed memory leak in function calling |
|---|
| 1334 | IOCTL_IDE_PASS_THROUGH. Thanks to Fred Schmidt for the problem |
|---|
| 1335 | report. |
|---|
| 1336 | |
|---|
| 1337 | [CF] Cygwin: added cygrunsrv support and commands "install", "remove" |
|---|
| 1338 | and "status" to smartd.initd. |
|---|
| 1339 | |
|---|
| 1340 | [SS] Fix runtime problems on big-engian NetBSD platforms (patch provided |
|---|
| 1341 | by Martin Husemann) |
|---|
| 1342 | |
|---|
| 1343 | [CF] Cygwin smartd: Open smartd.conf in textmode to allow use of |
|---|
| 1344 | Windows editors. |
|---|
| 1345 | |
|---|
| 1346 | [CF] Cygwin smartd: Added option '--service' to allow smartd running |
|---|
| 1347 | as windows service via cygrunsrv. Useful in conjunction with new |
|---|
| 1348 | syslogd support added in Cygwin 1.5.15. |
|---|
| 1349 | |
|---|
| 1350 | [CF] Windows: Added patch to avoid output of non-ascii timezone names. |
|---|
| 1351 | |
|---|
| 1352 | [EM] Incorporate various patches to provide TWE support and support for |
|---|
| 1353 | multiple 3Ware cards, Power Check Support, and FreeBSD 6.x support. |
|---|
| 1354 | Thanks to Rudolf Cejka, Frank Behrens, and Jung-uk Kim. |
|---|
| 1355 | |
|---|
| 1356 | [DG] Silence gcc 4.0.1 compile warning concerning the difference in |
|---|
| 1357 | "signedness" in pointer assignments. Changes to SCSI code |
|---|
| 1358 | and os_linux.c . |
|---|
| 1359 | |
|---|
| 1360 | [PW] Additions to knowndrives table: added missing drive from Quantum |
|---|
| 1361 | Fireball Plus LM series, added QUANTUM BIGFOOT TS10.0A, added |
|---|
| 1362 | ExcelStor J680 and J880, added Western Digital Caviar RE Serial ATA |
|---|
| 1363 | series, added missing drives from Western Digital Caviar SE series, |
|---|
| 1364 | added Seagate Momentus 4200.2 series, added missing drives from |
|---|
| 1365 | Maxtor DiamondMax 10 series, added Fujitsu MHG and MHH series, and |
|---|
| 1366 | added Hitachi Travelstar 5K100 series. |
|---|
| 1367 | |
|---|
| 1368 | [PW] Additions to knowndrives table: added Fujitsu MHU2100AT, added |
|---|
| 1369 | Fujitsu M1623TAU, added missing drives from Seagate Barracuda |
|---|
| 1370 | 7200.8 series, added Seagate Momentus 5400.2 series, and added |
|---|
| 1371 | QUANTUM FIREBALL CR8.4A. |
|---|
| 1372 | |
|---|
| 1373 | [PW] Additions to knowndrives table: added missing drive from Maxtor |
|---|
| 1374 | MaxLine II series, added Maxtor DiamondMax 2880 Ultra ATA series, |
|---|
| 1375 | added Maxtor DiamondMax 17 VL series, added Hitachi Deskstar 7K80 |
|---|
| 1376 | series, and added Hitachi Deskstar 7K400 series. |
|---|
| 1377 | |
|---|
| 1378 | [CF] Windows: Fixed unsupported 'smartctl -X' on Win2000/XP by using |
|---|
| 1379 | IOCTL_IDE_PASS_THROUGH instead. |
|---|
| 1380 | |
|---|
| 1381 | smartmontools 5.34 Stable Release [NOTE: never officially released] |
|---|
| 1382 | |
|---|
| 1383 | [CF] Cygwin & Windows smartd: Increased SCSI DEVICESCAN range |
|---|
| 1384 | from ASPI adapter 0-3 to 0-9. Added diagnostic messages. |
|---|
| 1385 | |
|---|
| 1386 | [CF] Windows smartd: Added ability to run .bat files via '-M exec' |
|---|
| 1387 | directive. |
|---|
| 1388 | |
|---|
| 1389 | [CF] Cygwin smartd: Added FreeConsole() after fork() to avoid hang |
|---|
| 1390 | of terminated shell console window. |
|---|
| 1391 | |
|---|
| 1392 | [DG] [SCSI] Add code so 'smartctl -A' outputs the number of elements |
|---|
| 1393 | in the grown defect list. When this number is increasing a |
|---|
| 1394 | disk has problems. N.B. Similar logic should be added to smartd. |
|---|
| 1395 | |
|---|
| 1396 | [CF] Windows smartd: Fixed event handling to allow start of another |
|---|
| 1397 | smartd process when service is already running. Useful for testing |
|---|
| 1398 | service configuration changes in debug mode. |
|---|
| 1399 | |
|---|
| 1400 | [PW] Added following drives to knowndrives table: Western Digital Raptor |
|---|
| 1401 | family, Seagate Barracuda 7200.8 family, Maxtor DiamondMax 2160 |
|---|
| 1402 | Ultra ATA and DiamondMax 10 families, Hitachi Travelstar E7K60 |
|---|
| 1403 | family, Seagate Medalist 17240, 13030, 10231, 8420, and 4310, |
|---|
| 1404 | TOSHIBA MK4018GAP and MK6022GAX, ExcelStor Technology J360, and |
|---|
| 1405 | Western Digital Caviar AC14300. |
|---|
| 1406 | |
|---|
| 1407 | [PW] Added missing Fujitsu MHTxxxxAT and Seagate Barracuda 7200.7 drives |
|---|
| 1408 | to knowndrives table. |
|---|
| 1409 | |
|---|
| 1410 | [PW] Added QUANTUM FIREBALLP LM10.2 to knowndrives table. Thanks to |
|---|
| 1411 | Mike Fleetwood for submitting the patch. |
|---|
| 1412 | |
|---|
| 1413 | [KS] Solaris/SPARC: fixed not to disable automatic offline test and |
|---|
| 1414 | automatic save attributes incorrectly. Thanks to Roy Badami. |
|---|
| 1415 | |
|---|
| 1416 | [BA] Linux: smartd init script now recognizes 'trustix' distro. |
|---|
| 1417 | |
|---|
| 1418 | [DG] [SCSI] Medium and hardware errors were slipping through |
|---|
| 1419 | unreported. Fix linux SCSI sense reporting via SG_IO ioctl. |
|---|
| 1420 | |
|---|
| 1421 | [DG] [SCSI] Change lba of first failure in selftest output to |
|---|
| 1422 | decimal (was hex) to conform with ATA output. |
|---|
| 1423 | |
|---|
| 1424 | [GK] smartd: Detect most self-test failures even if the hour counter |
|---|
| 1425 | has wrapped. |
|---|
| 1426 | |
|---|
| 1427 | [BA] smartctl: list 'marvell' as option if user give invalid |
|---|
| 1428 | -d argument |
|---|
| 1429 | |
|---|
| 1430 | [CF] Windows: fixed SCSI timeout handling to allow long timeouts |
|---|
| 1431 | for selftests. |
|---|
| 1432 | |
|---|
| 1433 | [CF] Fixed buffer overflow issues in printone() and safe_vsnprintf() |
|---|
| 1434 | which results in crash on -V option (at least on Windows). |
|---|
| 1435 | |
|---|
| 1436 | [DG] [SCSI] Add explicit timeouts to INQUIRY and REQUEST SENSE (that |
|---|
| 1437 | were missed in an earlier patch). Could have impacted freebsd. |
|---|
| 1438 | |
|---|
| 1439 | [DG] When linux detects a sata_via_libata disk suggest that user try |
|---|
| 1440 | '-d ata' (rather then '-d libata). Anticipate kernel change. |
|---|
| 1441 | |
|---|
| 1442 | [YD] Added OS/2 and eComStation platform support. |
|---|
| 1443 | |
|---|
| 1444 | [PW] Added Seagate U4 family, Fujitsu MHJ and MHK families, Seagate |
|---|
| 1445 | Barracuda 5400.1, QUANTUM FIREBALLP KX27.3, QUANTUM FIREBALLP KA10.1, |
|---|
| 1446 | and ExcelStor J340 to knowndrives table. |
|---|
| 1447 | |
|---|
| 1448 | [DG] [SCSI] After report of Hitachi IC35L073UCDY10 disks locking up |
|---|
| 1449 | on log page 0x7 (last n error events), check log page (and some |
|---|
| 1450 | others) is supported (via log page 0x0) before probing. |
|---|
| 1451 | |
|---|
| 1452 | [CF] Added safe_v?snprintf() for platforms using v?snprintf() |
|---|
| 1453 | with non standard behaviour on overflow (Windows, old Linux) |
|---|
| 1454 | |
|---|
| 1455 | [CF] smartd: Added message if check power mode spins up disk. |
|---|
| 1456 | |
|---|
| 1457 | [CF] Windows: Added support for READ_LOG on WinNT4 using undocumented |
|---|
| 1458 | pseudo SCSI command via IOCTL_SCSI_PASS_THROUGH. |
|---|
| 1459 | |
|---|
| 1460 | [CF] smartd: Added ',q' option for '-n' directive to suppress 'skipping |
|---|
| 1461 | checks' log message. This prevents a laptop disk from spinning up |
|---|
| 1462 | due to this message. Thanks to Rob MacLachlan and Manfred Schwarb |
|---|
| 1463 | for pointing out problem & solution. |
|---|
| 1464 | |
|---|
| 1465 | [CF] Windows: Added function get_os_version_str() to show OS flavor in |
|---|
| 1466 | copyright message. |
|---|
| 1467 | |
|---|
| 1468 | [CF] Windows: Added function ata_identify_is_cached() to check for outdated |
|---|
| 1469 | SMART enabled bit in identify data. |
|---|
| 1470 | |
|---|
| 1471 | [CF] Windows: Added fix to prevent linkage of smartd specific win32 modules |
|---|
| 1472 | to smartctl. |
|---|
| 1473 | |
|---|
| 1474 | [PW] Added Fujitsu MPG3153AH, Hitachi Endurastar J4K20/N4K20 (formerly |
|---|
| 1475 | DK23FA-20J), Seagate Momentus family, and Maxtor Fireball 3 family |
|---|
| 1476 | to knowndrives table. |
|---|
| 1477 | |
|---|
| 1478 | [PW] Added missing Maxtor DiamondMax 16, Seagate Barracuda ATA IV, and |
|---|
| 1479 | Western Digital Caviar WDxxxAA/WDxxxBA drives to knowndrives table. |
|---|
| 1480 | |
|---|
| 1481 | [CF] Windows: Added ATA check power mode for smartd -n directive. |
|---|
| 1482 | |
|---|
| 1483 | [CF] Windows: Fixed use of new service status flag which causes hang |
|---|
| 1484 | of smartd service on WinNT4. |
|---|
| 1485 | |
|---|
| 1486 | [CF] Windows: Fixed error checking of IOCTL_IDE_PASS_THROUGH (used |
|---|
| 1487 | for READ_LOG on 2000/XP). Added some diagnostic messages on |
|---|
| 1488 | -r ataioctl[,2]. Thanks to Manfred Schwarb for bug report and testing. |
|---|
| 1489 | |
|---|
| 1490 | [BA] Fixed code bug that made it impossible to enable SMART on |
|---|
| 1491 | disks with failing health status. This would happen if the |
|---|
| 1492 | os_*.c author made STATUS and STATUS_CHECK work the same way. |
|---|
| 1493 | I have corrected this at a higher level; we now handle the |
|---|
| 1494 | case where STATUS and STATUS_CHECK are identical without |
|---|
| 1495 | issues. |
|---|
| 1496 | |
|---|
| 1497 | [LW] Make os_linux.c/marvell_command_interface() always return 0 on STATUS. |
|---|
| 1498 | Needed for a disk having bad SMART status. |
|---|
| 1499 | |
|---|
| 1500 | [CF] smartctl: Added drive family printing. |
|---|
| 1501 | |
|---|
| 1502 | [CF] autogen.sh: Allow automake 1.9, added message if automake |
|---|
| 1503 | version is unknown. |
|---|
| 1504 | |
|---|
| 1505 | [BA] smartctl: use locale-specific separators for printing disk |
|---|
| 1506 | capacity. Also use AC_CHECK_HEADERS not AC_CHECK_HEADER in |
|---|
| 1507 | configure.in. |
|---|
| 1508 | |
|---|
| 1509 | [BA] clean-up of #include structure so that -V options to smartd |
|---|
| 1510 | and smartctl work correctly. Please, don't #include header |
|---|
| 1511 | files into other header files. |
|---|
| 1512 | |
|---|
| 1513 | smartmontools 5.33 Experimental Release |
|---|
| 1514 | |
|---|
| 1515 | [BA] smartctl: ATA disks, if SMART ATTRIBUTE THRESHOLDS page has ID |
|---|
| 1516 | errors with some Attributes having NULL IDs, print Attribute |
|---|
| 1517 | info anyway (but issuing a warning to the user). |
|---|
| 1518 | |
|---|
| 1519 | [DG] [SCSI] Decode Last n error events log page; decode track following |
|---|
| 1520 | and positioning errors [Hitachi] |
|---|
| 1521 | |
|---|
| 1522 | [EM] FreeBSD: another tweak, __packed__ introduced in Version 5.0040 |
|---|
| 1523 | |
|---|
| 1524 | [EM] Cleaner tweak of fixes for FreeBSD 4.x. |
|---|
| 1525 | |
|---|
| 1526 | [EM] Fix compilation errors under FreeBSD 4.x, as it is still using |
|---|
| 1527 | and old GCC |
|---|
| 1528 | |
|---|
| 1529 | [EM] Remove 3ware/FreeBSD specific files and just include pieces we need |
|---|
| 1530 | |
|---|
| 1531 | [DG] Add logic in smartd to detect 3ware, Marvell controllers and SATA |
|---|
| 1532 | disks behind an ATA-SCSI simulator (in Linux). If specific device |
|---|
| 1533 | types are not given and they are picked in a general SCSI device |
|---|
| 1534 | scan then warn and skip. |
|---|
| 1535 | |
|---|
| 1536 | [GG] insert correct path to smartd into smartd's init script |
|---|
| 1537 | |
|---|
| 1538 | [BA] Changed all default paths in documentation to reflect /usr/local as |
|---|
| 1539 | default path prefix. This affects on-line man pages, primarily. |
|---|
| 1540 | |
|---|
| 1541 | [DS] Added support for OpenBSD |
|---|
| 1542 | |
|---|
| 1543 | [BA] Added another environment variable SMART_FULLMESSAGE set by |
|---|
| 1544 | the smartd mailing feature, and modified examplescripts/Example1 |
|---|
| 1545 | to illustrate it. |
|---|
| 1546 | |
|---|
| 1547 | [BA] Fixed potentially misleading messages of the form: |
|---|
| 1548 | XXX failed: success |
|---|
| 1549 | |
|---|
| 1550 | [DG] emit warning if SATA disk detected using libata in Linux; then exit |
|---|
| 1551 | |
|---|
| 1552 | [PW] Added Seagate U10 family, Hitachi Travelstar 7K60, Fujitsu MHR2020AT, |
|---|
| 1553 | and QUANTUM FIREBALLP AS20.5 to knowndrives table. |
|---|
| 1554 | |
|---|
| 1555 | [DG] Detect 3ware and Marvell controllers from SCSI INQUIRY vendor string |
|---|
| 1556 | and suggest usage of appropriate '-d' argument in smartctl. |
|---|
| 1557 | |
|---|
| 1558 | [LW] Tested the RELEASE_5_33_WITH_MARVELL_SUPPORT branch on |
|---|
| 1559 | actual Marvell 88SX5041 hardware, with success. |
|---|
| 1560 | Merged into HEAD. |
|---|
| 1561 | |
|---|
| 1562 | [BA] Fixed nasty DEVICESCAN bug |
|---|
| 1563 | |
|---|
| 1564 | [BA] Checked in RELEASE_5_33_WITH_MARVELL_SUPPORT branch with |
|---|
| 1565 | some Marvell support. |
|---|
| 1566 | |
|---|
| 1567 | [BA] Additional modifications of Ed's controller scheme. Fixed |
|---|
| 1568 | broken 3ware support under linux, problems with scanning |
|---|
| 1569 | devices in smartd, and other small problems. |
|---|
| 1570 | |
|---|
| 1571 | [CF] Added make targets to build formatted man pages (htmlman, txtman), |
|---|
| 1572 | Windows distribution (dist-win32) and MSVC6 config.h (config-vc6). |
|---|
| 1573 | |
|---|
| 1574 | [EM] Minor change to FreeBSD inclusion of 'twe' include files. Add |
|---|
| 1575 | code to check if they exising in /usr/include/sys to use those |
|---|
| 1576 | in preference to ones added here |
|---|
| 1577 | |
|---|
| 1578 | [EM] Very preliminary support attempt for 3Ware controllers under |
|---|
| 1579 | FreeBSD. Also, switched 'escalade_type/escalade_port' to |
|---|
| 1580 | 'controler_type/controller_port' and moved away from |
|---|
| 1581 | 'tryata/tryscsi' to using new 'controller*' variables to |
|---|
| 1582 | determine which controller type (ATA/SCSI/3Ware) to use. |
|---|
| 1583 | |
|---|
| 1584 | [GK] Added initscript support for Darwin. |
|---|
| 1585 | |
|---|
| 1586 | [CF] Windows smartd: Added ability to run smartd as a windows service, |
|---|
| 1587 | including new commands "smartd install ..." and "smartd remove" |
|---|
| 1588 | to install and remove the service registry entry. |
|---|
| 1589 | |
|---|
| 1590 | [BA] smartd: warn user if -s regexp regular expression contains |
|---|
| 1591 | characters other than 0123456789.*()|+?[-]{}:=SLCO since such |
|---|
| 1592 | characters are 'suspicous' and may indicate a poorly formed |
|---|
| 1593 | regexp. Extended regular expression gurus: can this list be |
|---|
| 1594 | reduced somewhat? |
|---|
| 1595 | |
|---|
| 1596 | [CF] Fixed bug in Windows smartd: Missing close of config file when |
|---|
| 1597 | configuration is reloaded by smartd daemon. |
|---|
| 1598 | |
|---|
| 1599 | [CF] Windows smartd: Added mail warning feature using the "Blat" |
|---|
| 1600 | (http://blat.sourceforge.net/) mailer as a default. |
|---|
| 1601 | |
|---|
| 1602 | [PW] Added Maxtor DiamondMax Plus 5120 Ultra ATA 33 series and TOSHIBA |
|---|
| 1603 | MK3017GAP to knowndrives table. |
|---|
| 1604 | |
|---|
| 1605 | [CF] Added fixes to build smartmontools on old Linux systems |
|---|
| 1606 | (libc < 6, Kernel 2.0.x). |
|---|
| 1607 | |
|---|
| 1608 | [BA] Added ATA minor version identity strings for latest ATA specification |
|---|
| 1609 | updates: ATA/ATAPI-7 T13 1532D revision 4a and ATA/ATAPI-6 published, |
|---|
| 1610 | ANSI INCITS 361-2002 |
|---|
| 1611 | |
|---|
| 1612 | [PW] Added Hitachi Travelstar 5K80 family and Fujitsu MHTxxxxAH family to |
|---|
| 1613 | knowndrives table. |
|---|
| 1614 | |
|---|
| 1615 | [EM] Fix up compilation under FreeBSD < 5.x |
|---|
| 1616 | |
|---|
| 1617 | [PW] Added QUANTUM FIREBALL EX3.2A and missing Western Digital Caviar SE |
|---|
| 1618 | drives to knowndrives table. |
|---|
| 1619 | |
|---|
| 1620 | [BA] Modified Hitachi Travelstar 80GN family regexp in drive database. |
|---|
| 1621 | Thanks to [GK/CF] for problem & solution. |
|---|
| 1622 | |
|---|
| 1623 | [GK] Added os_darwin.[ch] |
|---|
| 1624 | |
|---|
| 1625 | [PW] Added the following drives to the knowndrives table: IBM Travelstar |
|---|
| 1626 | 48GH, 30GN, and 15GN family; IBM Deskstar 37GP and 34GXP family; |
|---|
| 1627 | Western Digital WDC WD272AA; Maxtor DiamondMax D540X-4D family; |
|---|
| 1628 | TOSHIBA MK2016GAP, MK2018GAP, MK2018GAS, MK2023GAS; and |
|---|
| 1629 | QUANTUM FIREBALL ST3.2A |
|---|
| 1630 | |
|---|
| 1631 | [BA] smartd/smarctl now print build HOST/OS information as part |
|---|
| 1632 | of startup slogan. This should make it slightly easier to |
|---|
| 1633 | read bug reports from users. |
|---|
| 1634 | |
|---|
| 1635 | [RZ] Fixed the DEVICESCAN to do what it was supposed to do - give |
|---|
| 1636 | error message unless scanning is in progress. |
|---|
| 1637 | |
|---|
| 1638 | [BA] Update documentation to describe 3ware character devices. Better |
|---|
| 1639 | error detection for missing/malfunctioning devices behind 3ware |
|---|
| 1640 | controllers. Now pack 3ware ioctl structures explicitly. |
|---|
| 1641 | |
|---|
| 1642 | [BA] For ATA devices that support LBA mode, print capacity as part |
|---|
| 1643 | of smartctl --info |
|---|
| 1644 | |
|---|
| 1645 | [RZ] Made DEVICESCAN quiet about non-existing devices unless debug |
|---|
| 1646 | is on. |
|---|
| 1647 | |
|---|
| 1648 | [DG] treat "unit attention" SCSI warning as try again in some contexts |
|---|
| 1649 | (test unit ready and mode sense) |
|---|
| 1650 | |
|---|
| 1651 | [BA] on drives that store max/min rather than min/max, get order |
|---|
| 1652 | correct in printing temp. |
|---|
| 1653 | |
|---|
| 1654 | [BA] fixed typo in 'smartctl -h' output. Thanks to Gabor Z. Papp. |
|---|
| 1655 | |
|---|
| 1656 | [BA] linux: clean-up to 3ware/AMCC support; dynamically create |
|---|
| 1657 | or fix /dev/tw[ae][0-15] device node entries if they don't |
|---|
| 1658 | exist or are incorrect. One can now use the character devices |
|---|
| 1659 | /dev/twe[0-15] OR /dev/sd? for 3ware 6000/7000/8000 series |
|---|
| 1660 | cards. One must use /dev/twa[0-15] for 3ware 9000 series cards. |
|---|
| 1661 | Note that selective self-tests now work via /dev/tw[ae] devices. |
|---|
| 1662 | Next step: documentation. |
|---|
| 1663 | |
|---|
| 1664 | [BA] linux: experimental "support" for 3ware/AMCC 9000 series |
|---|
| 1665 | controllers that use the 3w-9xxx driver. This will be in a |
|---|
| 1666 | state of flux for a few days. Note that this requires the |
|---|
| 1667 | character interface /dev/twa[0-15]. |
|---|
| 1668 | |
|---|
| 1669 | [DG] linux: extend general SCSI OS interface to use the SG_IO ioctl. If |
|---|
| 1670 | not available, use the older SCSI_IOCTL_SEND_COMMAND ioctl. |
|---|
| 1671 | |
|---|
| 1672 | [KS] Solaris/x86: fixed system identification problem in configure |
|---|
| 1673 | script. Thanks to Stuart Swales. |
|---|
| 1674 | |
|---|
| 1675 | smartmontools 5.32 |
|---|
| 1676 | |
|---|
| 1677 | [BA] Update link to revised/updated IBM Deskstar Firmware |
|---|
| 1678 | |
|---|
| 1679 | [CF] Cygwin & Windows: Added missing ASPI manager initialization |
|---|
| 1680 | with GetASPI32SupportInfo(). Thanks to Nikolai SAOUKH for pointing |
|---|
| 1681 | this out and providing a patch. |
|---|
| 1682 | |
|---|
| 1683 | [BA] modified smartd init script to work on whitebox (thanks to |
|---|
| 1684 | Michael Falzon) |
|---|
| 1685 | |
|---|
| 1686 | [BA] removed (reverted) additional Attribute definitions from |
|---|
| 1687 | http://smart.friko.pl/attributes.php. All (or most?) of these |
|---|
| 1688 | appear to be return code values for the WD Digital Life Guard Utility. |
|---|
| 1689 | |
|---|
| 1690 | [PW] Added Seagate Medalist 17242, 13032, 10232, 8422, and 4312 to |
|---|
| 1691 | knowndrives table. Added missing Seagate U Series 5 drives. |
|---|
| 1692 | |
|---|
| 1693 | [PW] Added the following QUANTUM models to knowndrives table: |
|---|
| 1694 | FIREBALL EX6.4A, FIREBALLP AS10.2, FIREBALLP AS40.0, FIREBALL CR4.3A, |
|---|
| 1695 | FIREBALLP LM15, FIREBALLP LM30, and FIREBALLlct20 30 |
|---|
| 1696 | |
|---|
| 1697 | [PW] Added missing Western Digital Protege drives to knowndrives table. |
|---|
| 1698 | |
|---|
| 1699 | [PW] Added Maxtor DiamondMax 40 ATA 66 series and DiamondMax 40 VL Ultra |
|---|
| 1700 | ATA 100 series to knowndrives table. |
|---|
| 1701 | |
|---|
| 1702 | [PW] Added the following Hitachi/IBM drives to knowndrives table: |
|---|
| 1703 | HITACHI_DK14FA-20B, Travelstar 40GNX series, Travelstar 4LP series, |
|---|
| 1704 | and Travelstar DK23XXB series. Added the missing Travelstar 80GN |
|---|
| 1705 | drives. |
|---|
| 1706 | |
|---|
| 1707 | [PW] Added Fujitsu MPB series and MPG series to knowndrives table. Added |
|---|
| 1708 | the missing Fujitsu MHSxxxxAT drives. |
|---|
| 1709 | |
|---|
| 1710 | [KS] Solaris: added workaround for dynamic change of time-zone. |
|---|
| 1711 | |
|---|
| 1712 | [KS] Solaris: fixed problem that autogen.sh cannot detect absence of |
|---|
| 1713 | auto* tools. |
|---|
| 1714 | |
|---|
| 1715 | [BA] smartd: added time-zone bug information to man page. |
|---|
| 1716 | Reverted CF code for _WIN32 case. |
|---|
| 1717 | |
|---|
| 1718 | [CF] Cygwin & Windows: Added better error messages on IDE/ATA device |
|---|
| 1719 | open error. |
|---|
| 1720 | |
|---|
| 1721 | [BA] added additional Attribute definitions from |
|---|
| 1722 | http://smart.friko.pl/attributes.php |
|---|
| 1723 | |
|---|
| 1724 | [BA] smartd: reworked TimeZone bug workaround so it is only invoked |
|---|
| 1725 | for glibc. Note: this might not be right -- a similar bug may |
|---|
| 1726 | exist in other platform's libcs. |
|---|
| 1727 | |
|---|
| 1728 | [DG] SCSI smartmontools documentation updated [2004/5/6]. See: |
|---|
| 1729 | http://smartmontools.sourceforge.net/smartmontools_scsi.html |
|---|
| 1730 | |
|---|
| 1731 | [CF] Windows: Fixed reset of TZ=GMT in glibc timezone bug workaround. |
|---|
| 1732 | |
|---|
| 1733 | smartmontools 5.31 |
|---|
| 1734 | |
|---|
| 1735 | [DG] move SCSI device temperature and start-stop log page output |
|---|
| 1736 | (smartctl) into --attributes section (was in --info section). |
|---|
| 1737 | |
|---|
| 1738 | [GG] change default installation location to /usr/local |
|---|
| 1739 | |
|---|
| 1740 | [CF] Cygwin smartd: Fixed crash on access of SCSI devices after fork(). |
|---|
| 1741 | |
|---|
| 1742 | [PW] Added TOSHIBA MK4018GAS and the following Maxtor drive families |
|---|
| 1743 | to knowndrives table: DiamondMax D540X-4G, Fireball 541DX, |
|---|
| 1744 | DiamondMax 3400 Ultra ATA, DiamondMax Plus 6800 Ultra ATA 66. |
|---|
| 1745 | |
|---|
| 1746 | [PW] Added missing Maxtor DiamondMax 16, DiamondMax D540X-4K, and |
|---|
| 1747 | DiamondMax Plus 45 Ulta ATA 100 drives to knowndrives table. |
|---|
| 1748 | |
|---|
| 1749 | [PW] Added ExcelStor J240, Hitachi Travelstar 80GN family, Fujitsu |
|---|
| 1750 | MHTxxxxAT family, and IBM Deskstar 25GP and 22GXP families to |
|---|
| 1751 | knowndrives table. |
|---|
| 1752 | |
|---|
| 1753 | [CF] Cygwin smartd: Added workaround for missing SIGQUIT via keyboard: |
|---|
| 1754 | To exit smartd in debug mode, type CONTROL-C twice. |
|---|
| 1755 | |
|---|
| 1756 | [BA] smartctl: printing of the selective self-test log is now |
|---|
| 1757 | controlled by a new option: -l selective |
|---|
| 1758 | |
|---|
| 1759 | [BA] Added entries for Samsung firmware versions -25 to -39 based |
|---|
| 1760 | on latest info about firmware bug fixes. |
|---|
| 1761 | |
|---|
| 1762 | [PW] Added Seagate U Series X family, Seagate U8 family, and Seagate |
|---|
| 1763 | Medalist 8641 family to knowndrives table. |
|---|
| 1764 | |
|---|
| 1765 | [CF] smartd: Added exit values 5/6 for missing/unreadable config file. |
|---|
| 1766 | |
|---|
| 1767 | [BA] smartd: now monitor the Current Pending Sector count (Attribute 197) |
|---|
| 1768 | and the Offline Pending Sector Count (Attribute 198). Log a |
|---|
| 1769 | warning (and send an email, if so configured) if the raw count |
|---|
| 1770 | is nonzero. These are controlled by new Directives: -C and -U. |
|---|
| 1771 | Currently they are enabled by default. |
|---|
| 1772 | |
|---|
| 1773 | [CF] Added option -c FILE, --configfile=FILE to smartd to specify |
|---|
| 1774 | an alternate configuration FILE or '-' for standard input. |
|---|
| 1775 | |
|---|
| 1776 | [KS] configure.in now searches for -lnsl and -lsocket for Solaris. |
|---|
| 1777 | |
|---|
| 1778 | [CF] Win32/native smartd: Added thread to combine several syslog output |
|---|
| 1779 | lines into one single event log entry. |
|---|
| 1780 | |
|---|
| 1781 | [CF] Win32 smartd: Added DEVICESCAN for SCSI/ASPI devices. |
|---|
| 1782 | |
|---|
| 1783 | [GG] Use gethostbyname() the get the DNS domain since getdomainname() |
|---|
| 1784 | returns the NIS domain when sending mails from smartd. |
|---|
| 1785 | |
|---|
| 1786 | [GG] smartd.init.in: pass smartd_opts to smartd on startup, read distribution |
|---|
| 1787 | specific configuration files if found |
|---|
| 1788 | |
|---|
| 1789 | [SS] smartctl: added NetBSD support for Selective Self-tests. |
|---|
| 1790 | |
|---|
| 1791 | [BA] smartd.conf example configuration file now has all examples |
|---|
| 1792 | commented out except for 'DEVICESCAN'. |
|---|
| 1793 | |
|---|
| 1794 | [CF] Win32/native smartd: Added ability to display warning "emails" |
|---|
| 1795 | as message box by "-m msgbox" directive. With "-m sysmsgbox", |
|---|
| 1796 | a system modal (always on top) message box is shown. |
|---|
| 1797 | |
|---|
| 1798 | [BA] smartctl: printing of self-test log for disks that support |
|---|
| 1799 | Selective self-testing now shows the status of the (optional) |
|---|
| 1800 | read-scan after the selective self test. Also, changed format |
|---|
| 1801 | in printing self-test log to print failing LBA in base 10 not |
|---|
| 1802 | base 16 (more compatible with kernel error messages). Also, |
|---|
| 1803 | in printing SMART error log, print timestamps in format |
|---|
| 1804 | days+hours+minutes+seconds. |
|---|
| 1805 | |
|---|
| 1806 | [CF] Win32 smartd: Added ability to log to stdout/stderr |
|---|
| 1807 | (-l local1/2). Toggling debug console still works |
|---|
| 1808 | if stdout is redirected. |
|---|
| 1809 | |
|---|
| 1810 | [BA] smartctl: selective self-test log, print current status |
|---|
| 1811 | in a more detailed way. Allow writing of selective self-test |
|---|
| 1812 | log provided that no other self-test is underway. |
|---|
| 1813 | |
|---|
| 1814 | [BA] Linux: eliminated dependency on kernel tree hdreg.h. |
|---|
| 1815 | |
|---|
| 1816 | [BA] smartctl: -l selftest option now prints Selective self-test |
|---|
| 1817 | log in addition to the normal self-test log. |
|---|
| 1818 | Added additional options (-t pending, -t afterselect) to |
|---|
| 1819 | control remaining Selective Self-test capabilities. Tested |
|---|
| 1820 | with several Maxtor disks. Modified error message printing |
|---|
| 1821 | so that munged option messages print at the end not the |
|---|
| 1822 | start of output. |
|---|
| 1823 | |
|---|
| 1824 | [CF] Added daemon support to Win32 native version of smartd. |
|---|
| 1825 | The daemon can be controlled by commands similar to initd |
|---|
| 1826 | scripts: "smartd status|stop|reload|restart|sigusr1|sigusr2". |
|---|
| 1827 | |
|---|
| 1828 | [CF] Added minor support for option "-l local[0-7]" to Win32 native |
|---|
| 1829 | (not Cygwin) version of smartd. If specified, the log output |
|---|
| 1830 | is written to file "./smartd[1-7]?.log" instead of event log. |
|---|
| 1831 | |
|---|
| 1832 | [BA] Added Selective Self-test to smartctl (-t selective,M-N). |
|---|
| 1833 | Currently only supported under Linux; Solaris, NetBSD, FreeBSD |
|---|
| 1834 | and Windows developers must add WRITE LOG functionality to |
|---|
| 1835 | os_*.c |
|---|
| 1836 | |
|---|
| 1837 | [BA] Added workaround for an annoying glibc bug: if you change |
|---|
| 1838 | timezones, (eg, flying with a laptop from USA to Europe) |
|---|
| 1839 | localtime() does not notice this in a running |
|---|
| 1840 | executable, so time that appears in the system log (syslog!) |
|---|
| 1841 | will be incorrect. See |
|---|
| 1842 | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48184 |
|---|
| 1843 | for additional examples of this bug. |
|---|
| 1844 | |
|---|
| 1845 | [DG] Set explicit timeouts for SCSI commands (most default to 6 seconds). |
|---|
| 1846 | Previously a 0 second timeout was meant to be interpreted as a |
|---|
| 1847 | default timeout but the FreeBSD port had a problem in this area. |
|---|
| 1848 | |
|---|
| 1849 | [CF] Fixed un-thread-safe exit signal handler for Win32 |
|---|
| 1850 | |
|---|
| 1851 | [BA] Fixed un-thread-safe exit signal handler pointed out |
|---|
| 1852 | by CF. |
|---|
| 1853 | |
|---|
| 1854 | [BA] Changed configure script to eliminate warnings under |
|---|
| 1855 | Solaris from sys/int_type.h conflicts with int64.h |
|---|
| 1856 | Added header files for umask to smartd.c. |
|---|
| 1857 | |
|---|
| 1858 | [BA] Man page format change from Werner LEMBERG. " " changed to \& |
|---|
| 1859 | |
|---|
| 1860 | [CF] Added os_win32/syslogevt.* event message file tool for Win32 |
|---|
| 1861 | smartd (native+cygwin). May also be useful for other cygwin |
|---|
| 1862 | programs writing to syslog(). |
|---|
| 1863 | |
|---|
| 1864 | [CF] Added Win32 version of smartd |
|---|
| 1865 | |
|---|
| 1866 | [CF] Merged RELEASE_5_26_WIN32_BRANCH |
|---|
| 1867 | |
|---|
| 1868 | [BA] Made some changes to man page markup suggested by |
|---|
| 1869 | Richard Verhoeven to work around bugs in man2html. |
|---|
| 1870 | Tested not to break anything under Linux and Solaris. |
|---|
| 1871 | |
|---|
| 1872 | [CF] Moved PrintOut() from utility.c to smart{ctl,d}.c to avoid |
|---|
| 1873 | syslog() output of smartctl. |
|---|
| 1874 | |
|---|
| 1875 | [BA] Grew worried that some time-zone names could be very long (eg, |
|---|
| 1876 | Mitteleuropaische Zeit) and put date string lengths into a |
|---|
| 1877 | single macro in utility.c |
|---|
| 1878 | |
|---|
| 1879 | [EM] Updated os_freebsd.c to handle older versions of FreeBSD in a |
|---|
| 1880 | more appropriate/obvious fashion. |
|---|
| 1881 | |
|---|
| 1882 | [EM] Modified autogen.sh as FreeBSD installs automake 1.7 as |
|---|
| 1883 | 'automake17' and NOT 'automake-1.7' |
|---|
| 1884 | |
|---|
| 1885 | smartmontools 5.30 |
|---|
| 1886 | |
|---|
| 1887 | [PW] Added QUANTUM FIREBALLlct15 30, QUANTUM FIREBALLlct20 40, and |
|---|
| 1888 | Maxtor 6Y060P0 (DiamondMax Plus 9 60GB) to knowndrives table. |
|---|
| 1889 | |
|---|
| 1890 | [PW] Added Maxtor MaXLine II family to knowndrives table (thanks to |
|---|
| 1891 | Brett Russ for submitting the patch). |
|---|
| 1892 | |
|---|
| 1893 | [BA] Added remaining read/write commands to detailed list of |
|---|
| 1894 | error log commands that have text descriptions of problem |
|---|
| 1895 | printed. For commands that support it, print number of failed |
|---|
| 1896 | sectors at problem LBA. |
|---|
| 1897 | |
|---|
| 1898 | [BA] Made SuSE section of smartd init script more SuSE 9 compatible. |
|---|
| 1899 | Thanks to Hans-Peter Jansen. |
|---|
| 1900 | |
|---|
| 1901 | [CF] Windows smartd: Added IDE/ATA device scan |
|---|
| 1902 | Added windows device names to smartctl.8.in, smartd.8.in |
|---|
| 1903 | |
|---|
| 1904 | [BA] smartctl/smartd: user-provided '-F samsung' and '-F samsung2' |
|---|
| 1905 | command line options/Directives did NOT over-ride preset values |
|---|
| 1906 | unless user specified '-P ignore'. Now they will always over-ride |
|---|
| 1907 | preset values from the database. |
|---|
| 1908 | |
|---|
| 1909 | [BA] Added error decoding for a few more READ and WRITE commands. |
|---|
| 1910 | |
|---|
| 1911 | [PW] Added Maxtor MaXLine Plus II, Western Digital Caviar SE (Serial ATA) |
|---|
| 1912 | series, Hitachi Deskstar 7K250 series, and Ultra ATA 66 models of |
|---|
| 1913 | the Maxtor DiamondMax Plus 40 series to knowndrives table. |
|---|
| 1914 | |
|---|
| 1915 | [BA] Added Maxtor Diamondmax 250 GB drives to database. Note that |
|---|
| 1916 | these model numbers are not listed in Maxtor documentation, but |
|---|
| 1917 | they exist. |
|---|
| 1918 | |
|---|
| 1919 | [BA] Removed the 'contact developers' phrase from the Samsung disk |
|---|
| 1920 | warning messages. |
|---|
| 1921 | |
|---|
| 1922 | [PW] Added TOSHIBA MK2017GAP, IBM Deskstar 14GXP and 16GP series, |
|---|
| 1923 | Fujitsu MPC series, Seagate Barracuda ATA III family, and missing |
|---|
| 1924 | Seagate Barracuda U Series drives to knowndrives table |
|---|
| 1925 | |
|---|
| 1926 | [BA] smartd: wrong loglevel for message: Configuration file |
|---|
| 1927 | /etc/smartd.conf parsed. Changed to LOG_INFO from LOG_CRIT. |
|---|
| 1928 | Thanks to Emmanuel CHANTREAU for the report. |
|---|
| 1929 | |
|---|
| 1930 | [CF] Checked in development version of windows code base. |
|---|
| 1931 | |
|---|
| 1932 | smartmontools 5.29 (note: there was NO 5.28 release) |
|---|
| 1933 | |
|---|
| 1934 | [BA] smartd: configure script did not set correct directory to search for |
|---|
| 1935 | smartd.conf based on --prefix argument to ./configure. Thanks to |
|---|
| 1936 | GG for identifying the problem and fix. |
|---|
| 1937 | |
|---|
| 1938 | [BA] make clean now removes man pages (generated from *.in) files as well |
|---|
| 1939 | as object files. |
|---|
| 1940 | |
|---|
| 1941 | [EM] Correct copying of sense data in FreeBSD SCSI implementation. Thanks |
|---|
| 1942 | to Sergey Svishchev for noticing the bug. |
|---|
| 1943 | |
|---|
| 1944 | [BA] On solaris, wrong warning message if no ATA support. Warning message |
|---|
| 1945 | concerns 3ware controller, not ATA. |
|---|
| 1946 | |
|---|
| 1947 | [SS] Added SCSI support for NetBSD. |
|---|
| 1948 | |
|---|
| 1949 | [BA] on big-endian linux machines, fixed interpretation of HDIO_GET_IDENTITY |
|---|
| 1950 | to correctly identify ATAPI bit (was byte swapped). This should |
|---|
| 1951 | eliminate some SYSLOG noise if user queries a packet device (eg, CD |
|---|
| 1952 | ROM or DVD reader). |
|---|
| 1953 | |
|---|
| 1954 | [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives with |
|---|
| 1955 | A5AA/A6AA firmware. Thanks to Gerald Schnabel. |
|---|
| 1956 | |
|---|
| 1957 | [PW] Added Toshiba TOS MK3019GAXB SUN30G to knowndrives table |
|---|
| 1958 | |
|---|
| 1959 | [PW] Added Western Digital Caviar AC12500, AC24300, AC25100, AC36400, |
|---|
| 1960 | and AC38400 to knowndrives table |
|---|
| 1961 | |
|---|
| 1962 | [BA] When printing ATA error log, print the LBA at which READ |
|---|
| 1963 | or WRITE commands failed. |
|---|
| 1964 | |
|---|
| 1965 | [BA] Changed syntax of error message in smartctl |
|---|
| 1966 | |
|---|
| 1967 | [BA] Added versioning info (-V options to smartd/smartctl) for |
|---|
| 1968 | Solaris ATA module. |
|---|
| 1969 | |
|---|
| 1970 | smartmontools 5.27 |
|---|
| 1971 | |
|---|
| 1972 | [KS] Added ATA/IDE support for Solaris/SPARC (ATA/IDE not yet for |
|---|
| 1973 | Solaris/x86). |
|---|
| 1974 | |
|---|
| 1975 | [BA] 3ware controllers: documented that one can monitor any of the |
|---|
| 1976 | physical disks from any of the 3ware /dev/sd? logical devices. |
|---|
| 1977 | Better warnings if querying a disk that does not exist. |
|---|
| 1978 | |
|---|
| 1979 | [PW] Added Hitachi Travelstar DK23DA series, Maxtor DiamondMax Plus 40 |
|---|
| 1980 | series, Western Digital Caviar WDxxxAA, WDxxxBA, and WDxxxAB series |
|---|
| 1981 | to knowndrives table |
|---|
| 1982 | |
|---|
| 1983 | [BA] missing 'pragma pack' on ATA IDENTIFY DEVICE structure may have |
|---|
| 1984 | caused odd or incorrect results on 64-bit machines. |
|---|
| 1985 | |
|---|
| 1986 | [BA] smartctl/smartd allow inspection of self-test and error logs even |
|---|
| 1987 | if disk firmware claims that these don't exist. This is needed |
|---|
| 1988 | for some Maxtor disks whose firmware does not indicate log support |
|---|
| 1989 | even though the disk DOES support it. |
|---|
| 1990 | |
|---|
| 1991 | [BA] Improved porting instructions and documentation in os_generic.c |
|---|
| 1992 | |
|---|
| 1993 | [PW] Add Western Digital Caviar WD136AA and SAMSUNG SP40A2H (RR100-07 |
|---|
| 1994 | firmware) to knowndrives table. |
|---|
| 1995 | |
|---|
| 1996 | [EM] FreeBSD: remove extra definition of FreeNonZero |
|---|
| 1997 | |
|---|
| 1998 | [BA] smartctl: the -q silent option was printing output for some |
|---|
| 1999 | error conditions. Fixed. Will rename relevant variables to help |
|---|
| 2000 | avoid these errors in the future. |
|---|
| 2001 | |
|---|
| 2002 | [SS] NetBSD port added. |
|---|
| 2003 | |
|---|
| 2004 | [BA] more sensible error messages for devfs and devfs-like systems. |
|---|
| 2005 | Instead of saying that the DIRECTORY does not exist, say that |
|---|
| 2006 | the DEVICE does not exist. |
|---|
| 2007 | |
|---|
| 2008 | [BA] smartd: added -n Directive, to prevent disk spin-up depending |
|---|
| 2009 | upon the power mode (SLEEP, STANDBY, or IDLE). |
|---|
| 2010 | |
|---|
| 2011 | [PW] Added Maxtor DiamondMax 20 VL series, Fujitsu MPF series, |
|---|
| 2012 | Maxtor DiamondMax 36 series, Maxtor DiamondMax 4320 series, and |
|---|
| 2013 | Maxtor DiamondMax 536DX series to knowndrives table. |
|---|
| 2014 | |
|---|
| 2015 | [BA] many warning messages now give the file name AND VERSION |
|---|
| 2016 | |
|---|
| 2017 | [BA] smartd: when the user provides multiple address recipients |
|---|
| 2018 | to the '-m' Directive in a comma-delineated list, the commas |
|---|
| 2019 | are stripped out before passing the list of addresses to the |
|---|
| 2020 | mailer program. (Thanks to Calin A. Culianu for pointing this out |
|---|
| 2021 | and providing a patch.) |
|---|
| 2022 | |
|---|
| 2023 | [BA] smartd: when the '-M exec path' Directive is used, any stdout OR |
|---|
| 2024 | stderr output from the executable "path" is assumed to indicate a |
|---|
| 2025 | problem, and is echoed to SYSLOG. |
|---|
| 2026 | |
|---|
| 2027 | [BA] Added all missing IBM/Hitachi Deskstar 180GXP models to knowndrives |
|---|
| 2028 | table. |
|---|
| 2029 | |
|---|
| 2030 | [PW] Added some missing IBM/Hitachi Deskstar 120GXP models to knowndrives |
|---|
| 2031 | table. |
|---|
| 2032 | |
|---|
| 2033 | [PW] Added IBM Travelstar 14GS to knowndrives table. |
|---|
| 2034 | |
|---|
| 2035 | [PW] Modified knowndrives table to match entire Hitachi Travelstar |
|---|
| 2036 | DK23BA and DK23EA series of drives (thanks to Norikatsu Shigemura |
|---|
| 2037 | for submitting the patch). |
|---|
| 2038 | |
|---|
| 2039 | [PW] Added some missing Fujitsu MPE series drives to knowndrives table. |
|---|
| 2040 | |
|---|
| 2041 | [PW] Added TOSHIBA MK4019GAX, TOSHIBA MK6409MAV, and QUANTUM |
|---|
| 2042 | FIREBALLlct15 20 to knowndrives table. |
|---|
| 2043 | |
|---|
| 2044 | [EM] Fixup example command output for FreeBSD |
|---|
| 2045 | |
|---|
| 2046 | [PW] Added Maxtor DiamondMax 80 family to knowndrives table. |
|---|
| 2047 | |
|---|
| 2048 | [EM] Catch up FreeBSD code to switch PROJECTHOME to PACKAGE_HOMEPAGE |
|---|
| 2049 | macros. |
|---|
| 2050 | |
|---|
| 2051 | [BA] smartd: now watches stdout/stderr when trying to run mail, mailx |
|---|
| 2052 | or mail warning script, and reports any output to SYSLOG. This |
|---|
| 2053 | gives a clearer error message if something is wrong. |
|---|
| 2054 | |
|---|
| 2055 | [BA] smartd: Solaris init script modified to accomodate grep that |
|---|
| 2056 | lacks '-q' quiet option. Also check for running process to kill |
|---|
| 2057 | on stop. |
|---|
| 2058 | |
|---|
| 2059 | [PW] Added some missing Seagate Barracuda 7200.7 and 7200.7 Plus drives |
|---|
| 2060 | to knowndrives table. |
|---|
| 2061 | |
|---|
| 2062 | [PW] Added Maxtor DiamondMax Plus 60 family and Seagate U Series 5 20413 |
|---|
| 2063 | to knowndrives table. |
|---|
| 2064 | |
|---|
| 2065 | [BA] smartd: under Solaris, made default mailer be 'mailx' not |
|---|
| 2066 | 'mail', since Solaris 'mail' does not accept a '-s' argument. |
|---|
| 2067 | A workaround for Solaris users of earlier versions is to |
|---|
| 2068 | have '-M exec /bin/mailx' in their smartd.conf config file. |
|---|
| 2069 | |
|---|
| 2070 | [DG] some SCSI controllers don't like odd length transfers so make |
|---|
| 2071 | sure LOG SENSE transfers are rounded up to an even number when |
|---|
| 2072 | and odd length is reported (i.e. there is a double fetch, the |
|---|
| 2073 | first to find the length, the second gets the data) |
|---|
| 2074 | |
|---|
| 2075 | [BA] smartd man pages: under Solaris, correct section numbers in the |
|---|
| 2076 | 'See also' section. |
|---|
| 2077 | |
|---|
| 2078 | [KS/BA] smartd man page: describe how to set Solaris syslog.conf |
|---|
| 2079 | file to catch all messages. Give correct Solaris SYSLOG default |
|---|
| 2080 | path /var/adm/messages in man pages. |
|---|
| 2081 | |
|---|
| 2082 | [BA] smartd: incorporated Debian startup script submitted by user. |
|---|
| 2083 | |
|---|
| 2084 | [BA] smartctl: modified printing of self-test log entry number. Seagate |
|---|
| 2085 | firmware can leave 'holes' in the self-test log while a test is |
|---|
| 2086 | actually running. We now print entry numbers consistently in this |
|---|
| 2087 | case, not assuming that entries are contiguous. |
|---|
| 2088 | |
|---|
| 2089 | [PW] Added QUANTUM FIREBALL CX10.2A and Western Digital Caviar AC23200L |
|---|
| 2090 | to knowndrives table. |
|---|
| 2091 | |
|---|
| 2092 | [PW] Added QUANTUM FIREBALLlct20 20 to knowndrives table. |
|---|
| 2093 | |
|---|
| 2094 | [PW] Added Maxtor DiamondMax Plus D740X family to knowndrives table. |
|---|
| 2095 | |
|---|
| 2096 | [PW] Added IBM Travelstar 32GH, 30GT, and 20GN family to knowndrives |
|---|
| 2097 | table. |
|---|
| 2098 | |
|---|
| 2099 | [BA] Slackware init script modified to search for /etc/slackware-version |
|---|
| 2100 | rather than /etc/slackware-release. |
|---|
| 2101 | |
|---|
| 2102 | [PW] Added Seagate Barracuda ATA II family and TOSHIBA MK4019GAXB to |
|---|
| 2103 | knowndrives table. |
|---|
| 2104 | |
|---|
| 2105 | [GG] explain howto use autoreconf in autogen.sh |
|---|
| 2106 | |
|---|
| 2107 | [KS] Makefile.am/configure.in: changed manual page sections for |
|---|
| 2108 | Solaris. |
|---|
| 2109 | |
|---|
| 2110 | [BA] smartd: reduced number of scheduled self-test messages if |
|---|
| 2111 | test already run in current hour. |
|---|
| 2112 | |
|---|
| 2113 | [PW] Added Maxtor DiamondMax Plus 8 family to knowndrives table. |
|---|
| 2114 | |
|---|
| 2115 | [BA] linux: check for linux/hdreg.h. If it's there, use it. If |
|---|
| 2116 | not, provide the necessary definitions ourselves. |
|---|
| 2117 | |
|---|
| 2118 | [PW] Removed warning for IBM Deskstar 40GV & 75GXP series drives |
|---|
| 2119 | with TXAOA5AA firmware |
|---|
| 2120 | |
|---|
| 2121 | [PW] Added IBM Travelstar 25GS, 18GT, and 12GN family to knowndrives |
|---|
| 2122 | table. |
|---|
| 2123 | |
|---|
| 2124 | [PW] Added IBM/Hitachi Travelstar 60GH & 40GN family to knowndrives |
|---|
| 2125 | table. |
|---|
| 2126 | |
|---|
| 2127 | [BA] smartd: made '-s' Directive more efficient. Now store |
|---|
| 2128 | compiled regex, and re-use. If device lacks certain self-test |
|---|
| 2129 | capabilities, track it and don't try again. |
|---|
| 2130 | |
|---|
| 2131 | [BA] smartd: made memory allocation for device lists completely |
|---|
| 2132 | dynamic (eliminating compile-time maximum length constants). |
|---|
| 2133 | |
|---|
| 2134 | [PW] Removed warning for SAMSUNG SP0802N with TK100-23 firmware |
|---|
| 2135 | |
|---|
| 2136 | [PW] Added Seagate Barracuda ATA IV family to knowndrives table. |
|---|
| 2137 | |
|---|
| 2138 | [BA] smartd: reduce per-device memory footprint by making |
|---|
| 2139 | mail-warning info dynamically allocated. Also remove |
|---|
| 2140 | potential memory leak if use has -m Directive twice and |
|---|
| 2141 | keeps reloading the config file (highly unlikely this would |
|---|
| 2142 | ever be noticed!) |
|---|
| 2143 | |
|---|
| 2144 | [DG] smartd: added SCSI scheduled self-tests (Background |
|---|
| 2145 | short or extended). |
|---|
| 2146 | |
|---|
| 2147 | [BA] smartd: can now run scheduled offline immediate and |
|---|
| 2148 | self-tests. See man page and -s Directive for details. |
|---|
| 2149 | |
|---|
| 2150 | [GG] don't include manpages in make-dist-tarball. |
|---|
| 2151 | |
|---|
| 2152 | [BA] smartctl: on-line examples given with -h are now correct |
|---|
| 2153 | for solaris and linux, but wrong for freebsd. Ed? |
|---|
| 2154 | |
|---|
| 2155 | [BA] smartd: man page now explains device scanning for solaris as |
|---|
| 2156 | well as linux and freebsd. |
|---|
| 2157 | |
|---|
| 2158 | [BA] smartd/smartctl: man pages now report correct CVS tag release |
|---|
| 2159 | date, and executables '-V' options reports more build info. |
|---|
| 2160 | |
|---|
| 2161 | smartmontools 5.26 |
|---|
| 2162 | |
|---|
| 2163 | [BA] Improved user messages that appear from 'make install' |
|---|
| 2164 | |
|---|
| 2165 | [PW] Removed warning for SAMSUNG SP1213N with firmware TL100-23 |
|---|
| 2166 | |
|---|
| 2167 | [BA] incorporated SuSE init script from user. |
|---|
| 2168 | |
|---|
| 2169 | [DG] if SCSI device is read only, then open it read only. |
|---|
| 2170 | |
|---|
| 2171 | [BA] when compiled on non-supported system (NOT linux, freebsd or solaris) then |
|---|
| 2172 | the run-time error messages now clearly say 'your system is not supported' |
|---|
| 2173 | and give clear directions. |
|---|
| 2174 | |
|---|
| 2175 | [BA] ./configure script now works correctly on SuSE linux boxes |
|---|
| 2176 | |
|---|
| 2177 | [BA] minor improvements to man pages |
|---|
| 2178 | |
|---|
| 2179 | [BA] simplified detection of packet (ATAPI, CD) devices. |
|---|
| 2180 | |
|---|
| 2181 | [BA] init script (redhat, mandrake, yellowdog) now uses correct |
|---|
| 2182 | strings for translation and is slightly more standard. |
|---|
| 2183 | |
|---|
| 2184 | [DG] smartctl: output scsi Seagate vendor pages for disks (not tapes) |
|---|
| 2185 | |
|---|
| 2186 | smartmontools 5.25 |
|---|
| 2187 | |
|---|
| 2188 | Note: there was no '5.24' release. From this point on, even numbered |
|---|
| 2189 | releases will be 'stable' ones and odd numbered releases will be |
|---|
| 2190 | unstable/testing/development ones. |
|---|
| 2191 | |
|---|
| 2192 | [DG] smartd/smartctl: changed scsiClearControlGLTSD() to |
|---|
| 2193 | scsiSetControlGLTSD() with an 'enabled' argument so '-S on' |
|---|
| 2194 | and '-S off' work for SCSI devices (if changing GLTSD supported). |
|---|
| 2195 | |
|---|
| 2196 | [BA] smartd/smartctl: wired in scsiClearControlGLTSD(). Could still |
|---|
| 2197 | use a corresponding Set function. Left stubs for this purpose. |
|---|
| 2198 | |
|---|
| 2199 | [DG] scsicmds: added scsiClearControlGLTSD() [still to be wired in] |
|---|
| 2200 | |
|---|
| 2201 | [BA] smartctl: make SCSI -T options behave the same way as the |
|---|
| 2202 | ATA ones. |
|---|
| 2203 | |
|---|
| 2204 | [DG] smartctl: output scsi transport protocol if available |
|---|
| 2205 | |
|---|
| 2206 | [DG] scsi: stop device scan in smartd and smartctl if badly formed |
|---|
| 2207 | mode response [heuristic to filter out USB devices before we |
|---|
| 2208 | (potentially) lock them up]. |
|---|
| 2209 | |
|---|
| 2210 | [BA] smartd: deviceclose()->CloseDevice(). Got rid of SCSIDEVELOPMENT |
|---|
| 2211 | macro-enabled code. Added -W to list of gcc specific options to |
|---|
| 2212 | always enable. Made code clean for -W warnings. |
|---|
| 2213 | |
|---|
| 2214 | [PW] Added Maxtor DiamondMax VL 30 family to knowndrives table. |
|---|
| 2215 | |
|---|
| 2216 | [DG] scsi: add warning (when '-l error' active) if Control mode page |
|---|
| 2217 | GLTSD bit is set (global disable of saving log counters) |
|---|
| 2218 | |
|---|
| 2219 | [DG] scsi: remember mode sense cmd length. Output trip temperature |
|---|
| 2220 | from IE lpage (IBM extension) when unavailable from temp lpage. |
|---|
| 2221 | |
|---|
| 2222 | [BA] smartd: for both SCSI and ATA now warns user if either |
|---|
| 2223 | the number of self-test errors OR timestamp of most |
|---|
| 2224 | recent self-test error have increased. |
|---|
| 2225 | |
|---|
| 2226 | [DG] smartctl: output Seagate scsi Cache and Factory log pages (if |
|---|
| 2227 | available) when vendor attributes chosen |
|---|
| 2228 | |
|---|
| 2229 | [DG] smartd: add scsiCountFailedSelfTests() function. |
|---|
| 2230 | |
|---|
| 2231 | [DG] Do more sanity checking of scsi log page responses. |
|---|
| 2232 | |
|---|
| 2233 | [BA] smartd: now warns user if number of self-test errors has |
|---|
| 2234 | increased for SCSI devices. |
|---|
| 2235 | |
|---|
| 2236 | [BA] smartd: warn user if number of ATA self-test errors increases |
|---|
| 2237 | (as before) OR if hour time stamp of most recent self-test |
|---|
| 2238 | error changes. |
|---|
| 2239 | |
|---|
| 2240 | [DG] More checks for well formed mode page responses. This has the side |
|---|
| 2241 | effect of stopping scans on bad SCSI implementations (e.g. some |
|---|
| 2242 | USB disks) prior to sending commands (typically log sense) that |
|---|
| 2243 | locks them up. |
|---|
| 2244 | |
|---|
| 2245 | [PW] Added Western Digital Caviar family and Caviar SE family to |
|---|
| 2246 | knowndrives table. |
|---|
| 2247 | |
|---|
| 2248 | [BA] smartd: added -l daemon (which is the default value if -l |
|---|
| 2249 | is not used). |
|---|
| 2250 | |
|---|
| 2251 | [PW] Added Seagate Barracuda ATA V family to knowndrives table. |
|---|
| 2252 | |
|---|
| 2253 | [BA] smartd: added additional command line argument -l FACILITY |
|---|
| 2254 | or --logfacility FACILITY. This can be used to redirect |
|---|
| 2255 | messages from smartd to a different file than the one used |
|---|
| 2256 | by other system daemons. |
|---|
| 2257 | |
|---|
| 2258 | [PW] Added Seagate Barracuda 7200.7, Western Digital Protege WD400EB, |
|---|
| 2259 | and Western Digital Caviar AC38400 to knowndrives table. |
|---|
| 2260 | |
|---|
| 2261 | [BA] smartd: scanning should now also work correctly for |
|---|
| 2262 | devfs WITHOUT traditional links /dev/hd[a-t] or /dev/sd[a-z]. |
|---|
| 2263 | |
|---|
| 2264 | [PW] Added Maxtor 4W040H3, Seagate Barracuda 7200.7 Plus, |
|---|
| 2265 | IBM Deskstar 120GXP (40GB), Seagate U Series 20410, |
|---|
| 2266 | Fujitsu MHM2100AT, MHL2300AT, MHM2150AT, and IBM-DARA-212000 |
|---|
| 2267 | to knowndrives table. |
|---|
| 2268 | |
|---|
| 2269 | [PW] Added remaining Maxtor DiamondMax Plus 9 models to knowndrives |
|---|
| 2270 | table. |
|---|
| 2271 | |
|---|
| 2272 | [EM] smartd: If no matches found, then return 0, rather than an error |
|---|
| 2273 | indication, as it just means no devices of the given type exist. |
|---|
| 2274 | Adjust FreeBSD scan code to mirror Linux version. |
|---|
| 2275 | |
|---|
| 2276 | [BA] smartd: made device scan code simpler and more robust. If |
|---|
| 2277 | too many devices detected, warn user but scan as many |
|---|
| 2278 | as possible. If error in scanning, warn user but don't |
|---|
| 2279 | die right away. |
|---|
| 2280 | |
|---|
| 2281 | [EM] smartd: To keep as consistent as possible, migrate FreeBSD |
|---|
| 2282 | devicescan code to also use glob(3). Also verified clean |
|---|
| 2283 | compile on a 4.7 FreeBSD system. |
|---|
| 2284 | |
|---|
| 2285 | [BA] smartd: Modified device scan code to use glob(3). Previously |
|---|
| 2286 | it appeared to have trouble when scanning devices on an XFS |
|---|
| 2287 | file system, and used non-public interface to directory |
|---|
| 2288 | entries. Problems were also reported when /dev/ was on an |
|---|
| 2289 | ext2/3 file system, but there was a JFS partition on the same |
|---|
| 2290 | disk. |
|---|
| 2291 | |
|---|
| 2292 | [BA] Clearer error messages when device scanning finds no suitable |
|---|
| 2293 | devices. |
|---|
| 2294 | |
|---|
| 2295 | [EM] FreeBSD: Fixup code to allow for proper compilation under |
|---|
| 2296 | -STABLE branch. |
|---|
| 2297 | |
|---|
| 2298 | smartmontools 5.23 |
|---|
| 2299 | |
|---|
| 2300 | [BA] smartd: didn't close file descriptors of ATA packet devices |
|---|
| 2301 | that are scanned. Fixed. |
|---|
| 2302 | |
|---|
| 2303 | [BA] Added reload/report targets to the smartmontools init script. |
|---|
| 2304 | reload: reloads config file |
|---|
| 2305 | report: send SIGUSR1 to check devices now |
|---|
| 2306 | |
|---|
| 2307 | smartmontools 5.22 |
|---|
| 2308 | |
|---|
| 2309 | [EM] Fix compile issues for FreeBSD < 5-CURRENT. |
|---|
| 2310 | |
|---|
| 2311 | [PW] Added Fujitsu MHM2200AT to knowndrives table. |
|---|
| 2312 | |
|---|
| 2313 | [BA] To help catch bugs, clear ATA error structures before all |
|---|
| 2314 | ioctl calls. Disable code that attempted to time-out on SCSI |
|---|
| 2315 | devices when they hung (doesn't work). |
|---|
| 2316 | |
|---|
| 2317 | [BA] Documented STATUS/ERROR flags added by [PW] below. |
|---|
| 2318 | |
|---|
| 2319 | [BA] Improved algorithm to recognize ATA packet devices. Should |
|---|
| 2320 | no longer generate SYSLOG kernel noise when user tries either |
|---|
| 2321 | smartd or smartctl on packet device (CD-ROM or DVD). Clearer |
|---|
| 2322 | warning messages from smartd when scanning ATA packet device. |
|---|
| 2323 | |
|---|
| 2324 | [PW] Added TOSHIBA MK4025GAS to knowndrives table. |
|---|
| 2325 | |
|---|
| 2326 | [PW] Added a textual interpretation of the status and error registers |
|---|
| 2327 | in the SMART error log (ATA). The interpretation is |
|---|
| 2328 | command-dependent and currently only eight commands are supported |
|---|
| 2329 | (those which produced errors in the error logs that I happen to |
|---|
| 2330 | have seen). |
|---|
| 2331 | |
|---|
| 2332 | [BA] added memory allocation tracking to solaris code. |
|---|
| 2333 | Fixed solaris signal handling (reset handler to default |
|---|
| 2334 | after first call to handler) by using sigset. Added |
|---|
| 2335 | HAVE_SIGSET to configure.in |
|---|
| 2336 | |
|---|
| 2337 | [CD] solaris port: added SCSI functionality to solaris |
|---|
| 2338 | stubs. |
|---|
| 2339 | |
|---|
| 2340 | [BA] smartd: attempt to address bug report about smartd |
|---|
| 2341 | hanging on USB devices when scanning: |
|---|
| 2342 | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107615 |
|---|
| 2343 | Set a timeout of SCSITIMEOUT (nominally 7 seconds) before |
|---|
| 2344 | giving up. |
|---|
| 2345 | |
|---|
| 2346 | [EM] smartd: DEVICESCAN will follow links in a devfs filesystem and |
|---|
| 2347 | make sure the end point is a disc. Update documentation, added |
|---|
| 2348 | note about FreeBSD scanning |
|---|
| 2349 | |
|---|
| 2350 | [BA] smartd: DEVICESCAN also looks for block devices in |
|---|
| 2351 | /dev. Updated documentation. Now scans for up to |
|---|
| 2352 | 20 ATA devices /dev/hda-t rather than previous 12 |
|---|
| 2353 | /dev/hda-l. |
|---|
| 2354 | |
|---|
| 2355 | [EM] smartd: mirror the FreeBSD DEVICESCAN logic for Linux, |
|---|
| 2356 | so that smartd now scans only devices found in /dev/. Also, |
|---|
| 2357 | make utility memory functions take a line number and file so |
|---|
| 2358 | that we report errors with the correct location. |
|---|
| 2359 | |
|---|
| 2360 | [GG] add a note about Debian bug #208964 to WARNINGS. |
|---|
| 2361 | |
|---|
| 2362 | [BA] smartctl: -T verypermissive option broken. Use |
|---|
| 2363 | -T verpermissive until the next release, please. |
|---|
| 2364 | |
|---|
| 2365 | [BA] Syntax mods so that code also compiles on Solaris using |
|---|
| 2366 | Sun Workshop compiler. Need -xmemalign 1i -xCC flags |
|---|
| 2367 | for cc. |
|---|
| 2368 | |
|---|
| 2369 | smartmontools 5.21 |
|---|
| 2370 | |
|---|
| 2371 | [DK] Changed configure.in so -Wall is only included if gcc |
|---|
| 2372 | is used (this is a gcc specific flag) and -fsignedchar |
|---|
| 2373 | is not used at all (this is a gcc specific compiler |
|---|
| 2374 | flag). |
|---|
| 2375 | |
|---|
| 2376 | [BA] Modifications so that code now compiles under solaris. Now |
|---|
| 2377 | all that's needed (:-) is to fill in os_solaris.[hc]. Added |
|---|
| 2378 | os_generic.[hc] as guide to future ports. Fixed -D option |
|---|
| 2379 | of smartd (no file name). Modified -h opt of smartd/smartctl |
|---|
| 2380 | to work properly with solaris getopt(). |
|---|
| 2381 | |
|---|
| 2382 | [EM] Update MAN pages with notes that 3ware drives are NOT supported |
|---|
| 2383 | under FreeBSD. Cleanup FreeBSD warning message handling. |
|---|
| 2384 | |
|---|
| 2385 | [EM] FreeBSD only: Fix first user found bug....I guess I was making |
|---|
| 2386 | the wrong assumption on how to convert ATA devnames to |
|---|
| 2387 | channel/unit numbers. |
|---|
| 2388 | |
|---|
| 2389 | [EM] Allow for option --enable-sample to append '.sample' to installed |
|---|
| 2390 | smartd.conf and rc script files. Also, let rc script shell setting |
|---|
| 2391 | be determined by configure |
|---|
| 2392 | |
|---|
| 2393 | [EM] Minor autoconf update to include -lcam for FreeBSD |
|---|
| 2394 | |
|---|
| 2395 | [EM] Add conditional logic to allow FreeBSD to compile pre-ATAng. |
|---|
| 2396 | -- note, not tested |
|---|
| 2397 | Add some documentation to INSTALL for FreeBSD. |
|---|
| 2398 | |
|---|
| 2399 | [EM] Implement SCSI CAM support for FreeBSD. NOTE: I am not an expert |
|---|
| 2400 | in the use of CAM. It seems to work for me, but I may be doing |
|---|
| 2401 | something horribly wrong, so please exercise caution. |
|---|
| 2402 | |
|---|
| 2403 | [EM] Switch over to using 'atexit' rather than 'on_exit' routine. This also |
|---|
| 2404 | meant we needed to save the exit status elsewhere so our 'Goodbye' |
|---|
| 2405 | routine could examine it. |
|---|
| 2406 | |
|---|
| 2407 | [EM] Move the DEVICESCAN code to os specific files. Also moved some of the |
|---|
| 2408 | smartd Memory functions to utility.c to make available to smartctl. |
|---|
| 2409 | |
|---|
| 2410 | [EM] Code janitor work on os_freebsd.c. |
|---|
| 2411 | |
|---|
| 2412 | [EM] Added os_freebsd.[hc] code. Additional code janitor |
|---|
| 2413 | work. |
|---|
| 2414 | |
|---|
| 2415 | [BA] Code janitor working, moving OS dependent code into |
|---|
| 2416 | os_linux.[hc]. |
|---|
| 2417 | |
|---|
| 2418 | [GG] conditionally compile os_{freebsd,linux}.o depending on |
|---|
| 2419 | host architecture |
|---|
| 2420 | |
|---|
| 2421 | [PW] Print estimated completion time for tests |
|---|
| 2422 | |
|---|
| 2423 | [BA] Added -F samsung2 flag to correct firmware byte swap. |
|---|
| 2424 | All samsung drives with *-23 firmware revision string. |
|---|
| 2425 | |
|---|
| 2426 | smartmontools 5.20 |
|---|
| 2427 | |
|---|
| 2428 | [GG] Fixed broken Makefile.am (zero length smartd.conf.5 |
|---|
| 2429 | was being created), fix broken uninstall/distcheck targets |
|---|
| 2430 | |
|---|
| 2431 | [FM] Improved Slackware init script added to /etc/smartd.initd |
|---|
| 2432 | |
|---|
| 2433 | smartmontools 5.19 [NOTE CHANGE OF RELEASE NUMBERING] |
|---|
| 2434 | |
|---|
| 2435 | [BA] smartctl: added '-T verypermissive' option which is |
|---|
| 2436 | equivalent to giving '-T permissive' many times. |
|---|
| 2437 | |
|---|
| 2438 | [BA] Try harder to identify from IDENTIFY DEVICE structure |
|---|
| 2439 | if SMART supported/enabled. smartd now does a more |
|---|
| 2440 | thorough job of trying to assess this before sending |
|---|
| 2441 | a SMART status command to find out for sure. |
|---|
| 2442 | |
|---|
| 2443 | [BA] smartctl: it's now possible to override the program's |
|---|
| 2444 | guess of the device type (ATA or SCSI) with -d option. |
|---|
| 2445 | |
|---|
| 2446 | [BA] try hard to avoid sending IDENTIFY DEVICE to packet |
|---|
| 2447 | devices (CDROMS). They can't do SMART, and this generates |
|---|
| 2448 | annoying syslog messages. At the same time, identify type |
|---|
| 2449 | of Packet device. |
|---|
| 2450 | |
|---|
| 2451 | [BA] smartctl: Can now use permissive option more |
|---|
| 2452 | than once, to control how far to go before giving up. |
|---|
| 2453 | |
|---|
| 2454 | [BA] smartd: if user asked to monitor either error or self-test |
|---|
| 2455 | logs (-l error or -l selftest) WITHOUT monitoring any of the |
|---|
| 2456 | Attribute values, code will SEGV. For 5.1-18 and earlier, |
|---|
| 2457 | a good workaround is to enable Auto offline (-o on). |
|---|
| 2458 | |
|---|
| 2459 | [BA] smartctl: If enable auto offline command given, update auto |
|---|
| 2460 | offline status before printing capabilities. |
|---|
| 2461 | |
|---|
| 2462 | [GG] Make autotools build the default, remove autotools.diff |
|---|
| 2463 | |
|---|
| 2464 | [GG] Add auto{conf,make} support, not enabled by default. |
|---|
| 2465 | |
|---|
| 2466 | [BA] Eliminated #include <linux/hdreg.h> from code. This |
|---|
| 2467 | should simplify porting to solaris, FreeBSD, etc. The |
|---|
| 2468 | only linux-specific code is now isolated to three routines, |
|---|
| 2469 | one for SCSI, one for Escalade, one for ATA. |
|---|
| 2470 | |
|---|
| 2471 | smartmontools 5.1-18 |
|---|
| 2472 | |
|---|
| 2473 | [BA] smartd: fixed serious bug - Attributes not monitored unless |
|---|
| 2474 | user told smartd to ignore at least one of them! |
|---|
| 2475 | |
|---|
| 2476 | smartmontools 5.1-17 |
|---|
| 2477 | |
|---|
| 2478 | [BA] Default runlevels for smartd changed from 3 and 5 to |
|---|
| 2479 | 2, 3, 4, and 5. |
|---|
| 2480 | |
|---|
| 2481 | [BA] Removed as much dynamic memory allocation as possible from |
|---|
| 2482 | configuration file parsing. Reloading config file, even in |
|---|
| 2483 | presence of syntax errors etc. should not cause memory leaks. |
|---|
| 2484 | |
|---|
| 2485 | [PW] It is no longer permissible for the integer part (if any) of |
|---|
| 2486 | arguments to --report and --device to be followed by non-digits. |
|---|
| 2487 | For example, the "foo" in --report=ioctl,2foo was previously |
|---|
| 2488 | ignored, but now causes an error. |
|---|
| 2489 | |
|---|
| 2490 | [BA] smartd: added -q/--quit command line option to specify |
|---|
| 2491 | under what circumstances smartd should exit. The old |
|---|
| 2492 | -c/--checkonce option is now obsoleted by this more |
|---|
| 2493 | general-purpose option. |
|---|
| 2494 | |
|---|
| 2495 | [BA] smartd now responds to a HUP signal by re-reading its |
|---|
| 2496 | configuration file /etc/smartd.conf. If there are |
|---|
| 2497 | errors in this file, then the configuration file is |
|---|
| 2498 | ignored and smartd continues to monitor the devices that |
|---|
| 2499 | it was monitoring prior to receiving the HUP signal. |
|---|
| 2500 | |
|---|
| 2501 | [BA] Now correctly get SMART status from disks behind 3ware |
|---|
| 2502 | controllers, thanks to Adam Radford. Need 3w-xxxx driver |
|---|
| 2503 | version 1.02.00.037 or later. Previously the smartmontools |
|---|
| 2504 | SMART status always returned "OK" for 3ware controllers. |
|---|
| 2505 | |
|---|
| 2506 | [BA] Additional work on dynamic memory allocation/deallocation. |
|---|
| 2507 | This should have no effect on smartctl, but clears that way |
|---|
| 2508 | for smartd to dynamically add and remove entries. It should |
|---|
| 2509 | also now be easier to modify smartd to re-read its config |
|---|
| 2510 | file on HUP (which is easy) without leaking memory (which is |
|---|
| 2511 | harder). The philosophy is that memory for data structures in |
|---|
| 2512 | smartd is now allocated only on demand, the first time it |
|---|
| 2513 | is needed. |
|---|
| 2514 | |
|---|
| 2515 | [BA] smartd: finished cleanup. Now use create/rm functions for |
|---|
| 2516 | cfgentries and dynamic memory allocation almost everywhere. |
|---|
| 2517 | Philosophy: aggresively try and provoke SEGV to help find |
|---|
| 2518 | bad code. |
|---|
| 2519 | |
|---|
| 2520 | [BA] Added SAMSUNG SV0412H to knowndrives table. |
|---|
| 2521 | |
|---|
| 2522 | [BA] smartd: if DEVICESCAN used then knowndrives table might not set |
|---|
| 2523 | the -v attributes correctly -- may have been the same for all |
|---|
| 2524 | the drives. Cleaned up some data structures and memory |
|---|
| 2525 | allocation to try and ensure segvs if such problems are |
|---|
| 2526 | introduced again. |
|---|
| 2527 | |
|---|
| 2528 | [BA] Now allow -S on and -o on for the 3ware device type. For these |
|---|
| 2529 | commands to be passed through, the stock 3ware 3w-xxxx driver |
|---|
| 2530 | must be patched (8 lines). I'll post a patch on the smartmontools |
|---|
| 2531 | home page after it's been tested by a few other people and 3ware |
|---|
| 2532 | have had a chance to look it over. |
|---|
| 2533 | |
|---|
| 2534 | smartmontools-5.1-16 |
|---|
| 2535 | |
|---|
| 2536 | [BA] smartd - can now monitor ATA drives behind 3ware controllers. |
|---|
| 2537 | |
|---|
| 2538 | [BA] smartd - changed some FATAL out of memory error messages from |
|---|
| 2539 | syslog level LOG_INFO to LOG_CRIT. |
|---|
| 2540 | |
|---|
| 2541 | [BA] smartctl - added code to look at ATA drives behind 3ware RAID |
|---|
| 2542 | controllers using the 3w-xxxx driver. Note that for technical |
|---|
| 2543 | reasons related to the 3w-xxxx driver, the "Enable Autosave", |
|---|
| 2544 | "Enable Automatic Offline" commands are not implemented. |
|---|
| 2545 | I will add this to smartd shortly. |
|---|
| 2546 | |
|---|
| 2547 | [BA] smartd - modified sleep loop, so that smartd no longer comes |
|---|
| 2548 | on the run queue every second. Instead, unless interrupted, |
|---|
| 2549 | it sleeps until the next polling time, when it wakes up. Now |
|---|
| 2550 | smartd also tries to wake up at exactly the right |
|---|
| 2551 | intervals (nominally 30 min) even if the user has been sending |
|---|
| 2552 | signals to it. |
|---|
| 2553 | |
|---|
| 2554 | [GG] add Fujitsu MHN2300AT to vendoropts_9_seconds. |
|---|
| 2555 | |
|---|
| 2556 | [EB] Fujitsu change in knowndrives ... match the whole MPD and |
|---|
| 2557 | MPE series for vendoropts_9_seconds. |
|---|
| 2558 | |
|---|
| 2559 | [BA] smartd bug, might cause segv if a device can not be opened. Was |
|---|
| 2560 | due to missing comma in char* list. Consequence is that email |
|---|
| 2561 | failure messages might have had the wrong Subject: heading for |
|---|
| 2562 | errorcount, FAILEDhealthcheck, FAILEDreadsmartdata, FAILEDreadsmarterrorlog, |
|---|
| 2563 | FAILEDreadsmartsefltestlog, FAILEDopendevice were all displaced by |
|---|
| 2564 | one. And FAILEDopendevice might have caused a segv if -m was being |
|---|
| 2565 | used as a smartd Directive. |
|---|
| 2566 | |
|---|
| 2567 | smartmontools-5.1-15 |
|---|
| 2568 | |
|---|
| 2569 | [BA] Cleaned up smartmontools.spec so that upgrading, removing |
|---|
| 2570 | and other such operations correctly preserve running behavior |
|---|
| 2571 | and booting behavior of smartd. |
|---|
| 2572 | |
|---|
| 2573 | [BA] Improved formatting of ATA Error Log printout, and added |
|---|
| 2574 | listing of names of commands that caused the error. Added |
|---|
| 2575 | obsolete ATA-4 SMART feature commands to table, along with |
|---|
| 2576 | obsolete SFF-8035i SMART feature command. |
|---|
| 2577 | |
|---|
| 2578 | [PW] Added atacmdnames.[hc], which turn command register & |
|---|
| 2579 | feature register pairs into ATA command names. |
|---|
| 2580 | |
|---|
| 2581 | [BA] Added conveyance self-test. Some code added for selective |
|---|
| 2582 | self-tests, but #ifdefed out. |
|---|
| 2583 | |
|---|
| 2584 | [BA] Modified smartd exit status and log levels. If smartd is |
|---|
| 2585 | "cleanly" terminated, for example with SIGTERM, then its |
|---|
| 2586 | exit messages are now logged at LOG_INFO not LOG_CRIT |
|---|
| 2587 | |
|---|
| 2588 | [BA] Added Attribute IDs (Fujitsu) 0xCA - 0xCE. This is decimal |
|---|
| 2589 | 202-206. Added -v switches for interpretation of Attributes |
|---|
| 2590 | 192, 198 and 201. |
|---|
| 2591 | |
|---|
| 2592 | [BA] Made smartmontools work with any endian order machine for: |
|---|
| 2593 | - SMART selftest log |
|---|
| 2594 | - SMART ATA error log |
|---|
| 2595 | - SMART Attributes values |
|---|
| 2596 | - SMART Attributes thesholds |
|---|
| 2597 | - IDENTIFY DEVICE information |
|---|
| 2598 | - LOG DIRECTORY |
|---|
| 2599 | Smartmontools is now free of endian bias and works correctly |
|---|
| 2600 | on both little- and big-endian hardware. This has been tested by |
|---|
| 2601 | three independent PPC users on a variety of ATA and SCSI hardware. |
|---|
| 2602 | |
|---|
| 2603 | [DG] Check that certain SCSI command responses are well formed. If |
|---|
| 2604 | IEC mode page response is not well formed exit smartctl. This |
|---|
| 2605 | is to protect aacraid. smartd should ignore a aacraid device. |
|---|
| 2606 | |
|---|
| 2607 | smartmontools-5.1-14 |
|---|
| 2608 | |
|---|
| 2609 | [BA] smartctl: added column to -A output to show if Attributes are |
|---|
| 2610 | updated only during off-line testing or also during normal |
|---|
| 2611 | operation. |
|---|
| 2612 | |
|---|
| 2613 | smartmontools-5.1-13 |
|---|
| 2614 | |
|---|
| 2615 | [BA] smartd: attempt to enable/disable automatic offline testing even |
|---|
| 2616 | if the disk appears not to support it. Now the same logic |
|---|
| 2617 | as smartctl. |
|---|
| 2618 | |
|---|
| 2619 | [BA] Added definition of Attribute 201, soft read error rate. |
|---|
| 2620 | |
|---|
| 2621 | [BA] Added IBM/Hitachi IC35L120AVV207-1 (GXP-180) and corresponding |
|---|
| 2622 | 8MB Cache GXP-120 to drive database. |
|---|
| 2623 | |
|---|
| 2624 | [BA] smartd: if DEVICESCAN Directive used in smartd.conf, and |
|---|
| 2625 | -I, -R or -r Directives used in conjunction with this, got |
|---|
| 2626 | segv errors. Fixed by correcting memory allocation calls. |
|---|
| 2627 | |
|---|
| 2628 | [BA] smartd: enable automatic offline testing was broken due |
|---|
| 2629 | to cut-and-paste error that disabled it instead of |
|---|
| 2630 | enabling it. Thanks to Maciej W. Rozycki for pointing |
|---|
| 2631 | out the problem and solution. |
|---|
| 2632 | |
|---|
| 2633 | [BA] Fixed "spelling" of some Attribute names to replace spaces |
|---|
| 2634 | in names by underscores. (Fixed field width easier for awk |
|---|
| 2635 | style parsing.) |
|---|
| 2636 | |
|---|
| 2637 | [BA,GF] Added mods submitted by [GF] to support Attribute 193 being |
|---|
| 2638 | load/unload cycles. Add -v 193,loadunload option, useful for |
|---|
| 2639 | Hitachi drive DK23EA-30, and add this drive to knowndrive.c |
|---|
| 2640 | Add meaning of attribute 250 : Read error retry rate |
|---|
| 2641 | |
|---|
| 2642 | smartmontools-5.1-12 |
|---|
| 2643 | |
|---|
| 2644 | [BA] Added another entry for Samsung drives to knowndrive table. |
|---|
| 2645 | |
|---|
| 2646 | [DG] Refine SCSI log sense command to do a double fetch in most cases |
|---|
| 2647 | (but not for the TapeAlert log page). Fix TapeAlert and Self Test |
|---|
| 2648 | log page response truncation. |
|---|
| 2649 | |
|---|
| 2650 | [PW] Added 'removable' argument to -d Directive for smartd. This indicates |
|---|
| 2651 | that smartd should continue (rather than exit) if the device does not |
|---|
| 2652 | appear to be present. |
|---|
| 2653 | |
|---|
| 2654 | [BA] Modified smartmontools.spec [Man pages location] and |
|---|
| 2655 | smartd.initd [Extra space kills chkconfig!] for Redhat 6.x |
|---|
| 2656 | compatibility (thanks to Gerald Schnabel). |
|---|
| 2657 | |
|---|
| 2658 | smartmontools-5.1-11 |
|---|
| 2659 | |
|---|
| 2660 | [EB] Add another Fujitsu disk to knowndrives.c |
|---|
| 2661 | |
|---|
| 2662 | [GG] match for scsi/ and ide/ in case of devfs to exclude false postives |
|---|
| 2663 | |
|---|
| 2664 | [BA] If SCSI device listed in /etc/smartd.conf fails to open or do |
|---|
| 2665 | SMART stuff correctly, or not enough space |
|---|
| 2666 | to list all SCSI devices, fail with error unless |
|---|
| 2667 | -DSCSIDEVELOPMENT set during compile-time. |
|---|
| 2668 | |
|---|
| 2669 | [BA] Added automatic recognition of /dev/i* (example: /dev/ide/...) |
|---|
| 2670 | as an ATA device. |
|---|
| 2671 | |
|---|
| 2672 | [DG] Add "Device type: [disk | tape | medium changer | ...] line to |
|---|
| 2673 | smartctl -i output for SCSI devices. |
|---|
| 2674 | |
|---|
| 2675 | [PW] Fixed bug in smartd where test email would be sent regularly (for |
|---|
| 2676 | example, daily if the user had specified -M daily) instead of just |
|---|
| 2677 | once on startup. |
|---|
| 2678 | |
|---|
| 2679 | [KM] More TapeAlert work. Added translations for media changer |
|---|
| 2680 | alerts. TapeAlert support reported according to the log page |
|---|
| 2681 | presence. ModeSense not attempted for non-ready tapes (all |
|---|
| 2682 | drives do not support this after all). Get peripheral type from |
|---|
| 2683 | Inquiry even if drive info is not printed. Add QUIETON() |
|---|
| 2684 | QUIETOFF() to TapeAlert log check. |
|---|
| 2685 | |
|---|
| 2686 | [BA] Stupid bug in atacmds.c minor_str[] affected ataVersionInfo(). |
|---|
| 2687 | Two missing commas meant that minor_str[] had two few elements, |
|---|
| 2688 | leading to output like this: |
|---|
| 2689 | Device Model: Maxtor 6Y120L0 |
|---|
| 2690 | Serial Number: Y40BF74E |
|---|
| 2691 | Firmware Version: YAR41VW0 |
|---|
| 2692 | Device is: Not in smartctl database [for details use: -P showall] |
|---|
| 2693 | ATA Version is: 7 |
|---|
| 2694 | ATA Standard is: 9,minutes |
|---|
| 2695 | ^^^^^^^^^ |
|---|
| 2696 | Missing commas inserted. |
|---|
| 2697 | |
|---|
| 2698 | [BA] Fixed smartd bug. On device registration, if ATA device did |
|---|
| 2699 | not support SMART error or self-test logs but user had asked to |
|---|
| 2700 | monitor them, an attempt would be made to read them anyway, |
|---|
| 2701 | possibly generating "Drive Seek" errors. We now check that |
|---|
| 2702 | the self-test and error logs are supported before trying to |
|---|
| 2703 | access them the first time. |
|---|
| 2704 | |
|---|
| 2705 | [GG/BA] Fixed bug where if SMART ATA error log not supported, |
|---|
| 2706 | command was tried anyway. Changed some error printing to use |
|---|
| 2707 | print handlers. |
|---|
| 2708 | |
|---|
| 2709 | [GG] Makefile modifications to ease packaging |
|---|
| 2710 | |
|---|
| 2711 | [DG] Did work for TapeAlerts (SCSI). Now can detect /dev/nst0 as a |
|---|
| 2712 | SCSI device. Also open SCSI devices O_NONBLOCK so they don't |
|---|
| 2713 | hang on open awaiting media. The ATA side should worry about |
|---|
| 2714 | this also: during a DEVICESCAN a cd/dvd device without media |
|---|
| 2715 | will hang. Added some TapeAlert code suggested by Kai Makisara. |
|---|
| 2716 | |
|---|
| 2717 | smartmontools-5.1-10 |
|---|
| 2718 | |
|---|
| 2719 | [PW] Extended the -F option/Directive to potentially fix other firmware |
|---|
| 2720 | bugs in addition to the Samsung byte-order bug. Long option name is |
|---|
| 2721 | now --firmwarebug and the option/Directive accepts an argument |
|---|
| 2722 | indicating the type of firmware bug to fix. |
|---|
| 2723 | |
|---|
| 2724 | [BA] Fixed a bug that prevented the enable automatic off-line |
|---|
| 2725 | test feature from enabling. It also prevented the enable Attribute |
|---|
| 2726 | autosave from working. See CVS entry for additional details. |
|---|
| 2727 | |
|---|
| 2728 | [PW] Modified the -r/--report option (smartctl and smartd) to allow the |
|---|
| 2729 | user to specify the debug level as a positive integer. |
|---|
| 2730 | |
|---|
| 2731 | [BA] Added --log directory option to smartctl. If the disk |
|---|
| 2732 | supports the general-purpose logging feature set (ATA-6/7) |
|---|
| 2733 | then this option enables the Log Directory to be printed. |
|---|
| 2734 | This Log Directory shows which device logs are available, and |
|---|
| 2735 | their lengths in sectors. |
|---|
| 2736 | |
|---|
| 2737 | [PW] Added -P/--presets option to smartctl and -P Directive to smartd. |
|---|
| 2738 | |
|---|
| 2739 | [GG] Introduce different exit codes indicating the type of problem |
|---|
| 2740 | encountered for smartd. |
|---|
| 2741 | |
|---|
| 2742 | [DG] Add non-medium error count to '-l error' and extended self test |
|---|
| 2743 | duration to '-l selftest'. Get scsi IEs and temperature changes |
|---|
| 2744 | working in smartd. Step over various scsi disk problems rather |
|---|
| 2745 | than abort smartd startup. |
|---|
| 2746 | |
|---|
| 2747 | [DG] Support -l error for SCSI disks (and tapes). Output error counter |
|---|
| 2748 | log pages. |
|---|
| 2749 | |
|---|
| 2750 | [BA] Added -F/--fixbyteorder option to smartctl. This allows us to read |
|---|
| 2751 | SMART data from some disks that have byte-reversed two- and four- |
|---|
| 2752 | byte quantities in their SMART data structures. |
|---|
| 2753 | |
|---|
| 2754 | [BA] Fixed serious bug: the -v options in smartd.conf were all put |
|---|
| 2755 | together and used together, not drive-by-drive. |
|---|
| 2756 | |
|---|
| 2757 | [PW] Added knowndrives.h and knowndrives.c. The knowndrives array |
|---|
| 2758 | supersedes the drivewarnings array. |
|---|
| 2759 | |
|---|
| 2760 | [GG] add {-p,--pidfile} option to smartd to write a PID file on |
|---|
| 2761 | startup. Update the manpage accordingly. |
|---|
| 2762 | |
|---|
| 2763 | [DG] Fix scsi smartd problem detecting SMART support. More cleaning |
|---|
| 2764 | and fix (and rename) scsiTestUnitReady(). More scsi renaming. |
|---|
| 2765 | |
|---|
| 2766 | [BA] Fixed smartd so that if a disk that is explictily listed is not |
|---|
| 2767 | found, then smartd will exit with nonzero status BEFORE forking. |
|---|
| 2768 | If a disk can't be registered, this will also be detected before |
|---|
| 2769 | forking, so that init scripts can react correctly. |
|---|
| 2770 | |
|---|
| 2771 | [BA] Replaced all linux-specific ioctl() calls in atacmds.c with |
|---|
| 2772 | a generic handler smartcommandhandler(). Now the only routine |
|---|
| 2773 | that needs to be implemented for a given OS is os_specific_handler(). |
|---|
| 2774 | Also implemented the --report ataioctl. This provides |
|---|
| 2775 | two levels of reporting. Using the option once gives a summary |
|---|
| 2776 | report of device IOCTL transactions. Using the option twice give |
|---|
| 2777 | additional info (a printout of ALL device raw 512 byte SMART |
|---|
| 2778 | data structures). This is useful for debugging. |
|---|
| 2779 | |
|---|
| 2780 | [DG] more scsi cleanup. Output scsi device serial number (VPD page |
|---|
| 2781 | 0x80) if available as part of '-i'. Implement '-t offline' as |
|---|
| 2782 | default self test (only self test older disks support). |
|---|
| 2783 | |
|---|
| 2784 | [BA] Changed crit to info in loglevel of smartd complaint to syslog |
|---|
| 2785 | if DEVICESCAN enabled and device not found. |
|---|
| 2786 | |
|---|
| 2787 | [BA] Added -v 194,10xCelsius option/Directive. Raw Attribute number |
|---|
| 2788 | 194 is ten times the disk temperature in Celsius. |
|---|
| 2789 | |
|---|
| 2790 | [DG] scsicmds.[hc] + scsiprint.c: clean up indentation, remove tabs. |
|---|
| 2791 | Introduce new intermediate interface based on "struct scsi_cmnd_io" |
|---|
| 2792 | to isolate SCSI generic commands + responses from Linux details; |
|---|
| 2793 | should help port to FreeBSD of SCSI part of smartmontools. |
|---|
| 2794 | Make SCSI command builders more parametric. |
|---|
| 2795 | |
|---|
| 2796 | smartmontools-5.1-9 |
|---|
| 2797 | |
|---|
| 2798 | [BA] smartctl: if HDIO_DRIVE_TASK ioctl() is not implemented (no |
|---|
| 2799 | kernel support, then try to assess drive health by examining |
|---|
| 2800 | Attribute values/thresholds directly. |
|---|
| 2801 | |
|---|
| 2802 | [BA] smartd/smartctl: added -v 200,writeerrorcount option/Directive |
|---|
| 2803 | for Fujitsu disks. |
|---|
| 2804 | |
|---|
| 2805 | [BA] smartd: Now send email if any of the SMART commands fails, |
|---|
| 2806 | or if open()ing the device fails. This is often noted |
|---|
| 2807 | as a common disk failure mode. |
|---|
| 2808 | |
|---|
| 2809 | [BA] smartd/smartctl: Added -v N,raw8 -v N,raw16 and -v N,raw48 |
|---|
| 2810 | Directives/Options for printing Raw Attributes in different |
|---|
| 2811 | Formats. |
|---|
| 2812 | |
|---|
| 2813 | [BA] smartd: Added -r ID and -R ID for reporting/tracking Raw |
|---|
| 2814 | values of Attributes. |
|---|
| 2815 | |
|---|
| 2816 | [BA] smartd/smartctl: Changed printing of spin-up-time attribute |
|---|
| 2817 | raw value to reflect current/average as per IBM standard. |
|---|
| 2818 | |
|---|
| 2819 | [BA] smartd/smartctl: Added -v 9,seconds option for disks which |
|---|
| 2820 | use Attribute 9 for power-on lifetime in seconds. |
|---|
| 2821 | |
|---|
| 2822 | [BA] smartctl: Added a warning message so that users of some IBM |
|---|
| 2823 | disks are warned to update their firmware. Note: we may want |
|---|
| 2824 | to add a command-line flag to disable the warning messages. |
|---|
| 2825 | I have done this in a general way, using regexp, so that we |
|---|
| 2826 | can add warnings about any type of disk that we wish... |
|---|
| 2827 | |
|---|
| 2828 | smartmontools-5.1-7 |
|---|
| 2829 | |
|---|
| 2830 | [BA] smartd: Created a subdirectory examplescripts/ of source |
|---|
| 2831 | directory that contains executable scripts for the -M exec PATH |
|---|
| 2832 | Directive of smartd. |
|---|
| 2833 | |
|---|
| 2834 | smartmontools-5.1-5 |
|---|
| 2835 | |
|---|
| 2836 | [BA] smartd: DEVICESCAN in /etc/smartd.conf |
|---|
| 2837 | can now be followed by all the same Directives as a regular |
|---|
| 2838 | device name like /dev/hda takes. This allows one to use |
|---|
| 2839 | (for example): |
|---|
| 2840 | DEVICESCAN -m root@example.com |
|---|
| 2841 | in the /etc/smartd.conf file. |
|---|
| 2842 | |
|---|
| 2843 | [BA] smartd: Added -c (--checkonce) command-line option. This checks |
|---|
| 2844 | all devices once, then exits. The exit status can be |
|---|
| 2845 | used to learn if devices were detected, and if smartd is |
|---|
| 2846 | functioning correctly. This is primarily for Distribution |
|---|
| 2847 | scripters. |
|---|
| 2848 | |
|---|
| 2849 | [BA] smartd: Implemented -M exec Directive for |
|---|
| 2850 | smartd.conf. This makes it possible to run an |
|---|
| 2851 | arbitrary script or mailing program with the |
|---|
| 2852 | -m option. |
|---|
| 2853 | |
|---|
| 2854 | [PW] smartd: Modified -M Directive so that it can be given |
|---|
| 2855 | multiple times. Added -M exec Directive. |
|---|
| 2856 | |
|---|
| 2857 | smartmontools-5.1-4 |
|---|
| 2858 | |
|---|
| 2859 | [BA] Fixed bug in smartctl pointed out by Pierre Gentile. |
|---|
| 2860 | -d scsi didn't work because tryata and tryscsi were |
|---|
| 2861 | reversed -- now works on /devfs SCSI devices. |
|---|
| 2862 | |
|---|
| 2863 | [BA] Fixed bug in smartctl pointed out by Gregory Goddard |
|---|
| 2864 | <ggoddard@ufl.edu>. Manual says that bit 6 of return |
|---|
| 2865 | value turned on if errors found in smart error log. But |
|---|
| 2866 | this wasn't implemented. |
|---|
| 2867 | |
|---|
| 2868 | smartmontools-5.1-3 |
|---|
| 2869 | |
|---|
| 2870 | [BA] Modified printing format for 9,minutes to read |
|---|
| 2871 | Xh+Ym not X h + Y m, so that fields are fixed width. |
|---|
| 2872 | |
|---|
| 2873 | [BA] Added Attribute 240 "head flying hours" |
|---|
| 2874 | |
|---|
| 2875 | smartmontools-5.1.1 |
|---|
| 2876 | |
|---|
| 2877 | [BA] As requested, local time/date now printed by smartctl -i |
|---|
| 2878 | |
|---|
| 2879 | [PW] Added "help" argument to -v for smartctl |
|---|
| 2880 | |
|---|
| 2881 | [PW] Added -D, --showdirectives option to smartd |
|---|
| 2882 | |
|---|
| 2883 | [DG] add '-l selftest' capability for SCSI devices (update smartctl.8) |
|---|
| 2884 | |
|---|
| 2885 | [BA] smartd,smartctl: added additional Attribute modification option |
|---|
| 2886 | -v 220,temp and -v 9,temp. |
|---|
| 2887 | |
|---|
| 2888 | [PW] Renamed smartd option -X to -d |
|---|
| 2889 | |
|---|
| 2890 | START OF SMARTMONTOOLS 5.1 series |
|---|
| 2891 | |
|---|
| 2892 | smartmontools-5.0.50 |
|---|
| 2893 | |
|---|
| 2894 | [PW] Changed smartd.conf Directives -- see man page |
|---|
| 2895 | |
|---|
| 2896 | [BA/DG] Fixed uncommented comment in smartd.conf |
|---|
| 2897 | |
|---|
| 2898 | [DG] Correct 'Recommended start stop count' for SCSI devices |
|---|
| 2899 | |
|---|
| 2900 | [PW] Replaced smartd.conf directive -C with smartd option -i |
|---|
| 2901 | |
|---|
| 2902 | [PW] Changed options for smartctl -- see man page. |
|---|
| 2903 | |
|---|
| 2904 | [BA] Use strerror() to generate system call error messages. |
|---|
| 2905 | |
|---|
| 2906 | [BA] smartd: fflush() all open streams before fork(). |
|---|
| 2907 | |
|---|
| 2908 | [BA] smartctl, smartd simplified internal handling of checksums |
|---|
| 2909 | for simpler porting and less code. |
|---|
| 2910 | |
|---|
| 2911 | smartmontools-5.0.49 |
|---|
| 2912 | |
|---|
| 2913 | [PW] smartd --debugmode changed to --debug |
|---|
| 2914 | |
|---|
| 2915 | [BA] smartd/smartctl added attribute 230 Head Amplitude from |
|---|
| 2916 | IBM DPTA-353750. |
|---|
| 2917 | |
|---|
| 2918 | [PW] Added list of proposed new options for smartctl to README. |
|---|
| 2919 | |
|---|
| 2920 | [PW] smartd: ParseOpts() now uses getopt_long() if HAVE_GETOPT_LONG is |
|---|
| 2921 | defined and uses getopt() otherwise. This is controlled by CPPFLAGS in |
|---|
| 2922 | the Makefile. |
|---|
| 2923 | |
|---|
| 2924 | [BA] smartd: Fixed a couple of error messages done with perror() |
|---|
| 2925 | to redirect them as needed. |
|---|
| 2926 | |
|---|
| 2927 | smartmontools-5.0.48 |
|---|
| 2928 | |
|---|
| 2929 | [BA] smartctl: The -O option to enable an Immediate off-line test |
|---|
| 2930 | did not print out the correct time that the test would take to |
|---|
| 2931 | complete. This is because the test timer is volatile and not |
|---|
| 2932 | fixed. This has been fixed, and the smartctl.8 man page has been |
|---|
| 2933 | updated to explain how to track the Immediate offline test as it |
|---|
| 2934 | progresses, and to further emphasize the differences between the |
|---|
| 2935 | off-line immediate test and the self-tests. |
|---|
| 2936 | |
|---|
| 2937 | [BA] smartd/smartctl: Added new attribute (200) Multi_Zone_Error_Rate |
|---|
| 2938 | |
|---|
| 2939 | [BA] smartctl: modified so that arguments could have either a single - |
|---|
| 2940 | as in -ea or multiple ones as in -e -a. Improved warning message for |
|---|
| 2941 | device not opened, and fixed error in redirection of error output of |
|---|
| 2942 | HD identity command. |
|---|
| 2943 | |
|---|
| 2944 | [PW] smartd: added support for long options. All short options are still |
|---|
| 2945 | supported; see manpage for available long options. |
|---|
| 2946 | |
|---|
| 2947 | [BA] smartctl. When raw Attribute value was 2^31 or larger, did |
|---|
| 2948 | not print correctly. |
|---|
| 2949 | |
|---|
| 2950 | smartmontools-5.0.46 |
|---|
| 2951 | |
|---|
| 2952 | [BA] smartd: added smartd.conf Directives -T and -s. The -T Directive |
|---|
| 2953 | enables/disables Automatic Offline Testing. The -s Directive |
|---|
| 2954 | enables/disables Attribute Autosave. Documentation and |
|---|
| 2955 | example configuration file updated to agree. |
|---|
| 2956 | |
|---|
| 2957 | [BA] smartd: user can make smartd check the disks at any time |
|---|
| 2958 | (ie, interrupt sleep) by sending signal SIGUSR1 to smartd. This |
|---|
| 2959 | can be done for example with: |
|---|
| 2960 | kill -USR1 <pid> |
|---|
| 2961 | where <pid> is the process ID number of smartd. |
|---|
| 2962 | |
|---|
| 2963 | [EB] scsi: don't trust the data we receive from the drive too |
|---|
| 2964 | much. It very well might have errors (like zero response length). |
|---|
| 2965 | Seen on Megaraid logical drive, and verified in the driver source. |
|---|
| 2966 | |
|---|
| 2967 | [BA] smartd: added Directive -m for sending test email and |
|---|
| 2968 | for modifying email reminder behavior. Updated manual, and sample |
|---|
| 2969 | configuration file to illustrate & explain this. |
|---|
| 2970 | |
|---|
| 2971 | [BA] smartd: increased size of a continued smartd.conf line to |
|---|
| 2972 | 1023 characters. |
|---|
| 2973 | |
|---|
| 2974 | [BA] Simplified Directive parsers and improved warning/error |
|---|
| 2975 | messages. |
|---|
| 2976 | |
|---|
| 2977 | smartmontools-5.0.45 |
|---|
| 2978 | |
|---|
| 2979 | [EB] Fixed bug in smartd where testunitready logic inverted |
|---|
| 2980 | prevented functioning on scsi devices. |
|---|
| 2981 | The bug in question only affects smartd users with scsi devices. |
|---|
| 2982 | To see if your version of smartd has the testunitready() bug, do |
|---|
| 2983 | smartd -V |
|---|
| 2984 | If the version of the module smartd.c in a line like: |
|---|
| 2985 | Module: smartd.c revision: 1.66 date: 2002/11/17 |
|---|
| 2986 | has a revision greater than or equal to 1.30, and less than or equal to |
|---|
| 2987 | 1.64, then your version of the code has this problem. |
|---|
| 2988 | This problem affected releases starting with RELEASE_5_0_16 up to and |
|---|
| 2989 | including RELEASE_5_0_43. |
|---|
| 2990 | |
|---|
| 2991 | [BA] Added testunitnotready to smartctl for symmetry with smartd. |
|---|
| 2992 | |
|---|
| 2993 | [SB] added Czech descriptions to .spec file |
|---|
| 2994 | [SB] corrected comment in smartd.conf example |
|---|
| 2995 | |
|---|
| 2996 | [BA] Changed way that entries in the ATA error log are printed, |
|---|
| 2997 | to make it clearer which is the most recent error and |
|---|
| 2998 | which is the oldest one. |
|---|
| 2999 | |
|---|
| 3000 | NOTE: All changes made prior to this point were done by Bruce Allen |
|---|
| 3001 | [BA] although several of them had been suggested by earlier postings |
|---|
| 3002 | by Stanislav Brabec [SB]. |
|---|
| 3003 | |
|---|
| 3004 | smartmontools-5.0.43 |
|---|
| 3005 | |
|---|
| 3006 | Changed Temperature_Centigrade to Temperature_Celsius. |
|---|
| 3007 | The term "Centigrade" ceased to exist in 1948. (c.f |
|---|
| 3008 | http://www.bartleby.com/64/C004/016.html). |
|---|
| 3009 | |
|---|
| 3010 | smartmontools-5.0.42 |
|---|
| 3011 | |
|---|
| 3012 | Modified SCSI device check to also send warning emails if |
|---|
| 3013 | requested in directives file. |
|---|
| 3014 | |
|---|
| 3015 | Added a new smartd configuration file Directive: -M ADDRESS. |
|---|
| 3016 | This sends a single warning email to ADDRESS for failures or |
|---|
| 3017 | errors detected with the -c, -L, -l, or -f Directives. |
|---|
| 3018 | |
|---|
| 3019 | smartmontools-5.0.38 |
|---|
| 3020 | |
|---|
| 3021 | Modified perror() statements in atacmds.c so that printout for SMART |
|---|
| 3022 | commands errors is properly suppressed or queued depending upon users |
|---|
| 3023 | choices for error reporting modes. |
|---|
| 3024 | |
|---|
| 3025 | Added Italian descriptions to smartmontools.spec file. |
|---|
| 3026 | |
|---|
| 3027 | Started impementing send-mail-on-error for smartd; not yet enabled. |
|---|
| 3028 | |
|---|
| 3029 | Added -P (Permissive) Directive to smartd.conf file to allow SMART |
|---|
| 3030 | monitoring of pre-ATA-3 Rev 4 disks that have SMART but do not have |
|---|
| 3031 | a SMART capability bit. |
|---|
| 3032 | |
|---|
| 3033 | Removed charset encodings from smartmontools.spec file for non-English |
|---|
| 3034 | fields. |
|---|
| 3035 | |
|---|
| 3036 | smartmontools-5.0.32 |
|---|
| 3037 | |
|---|
| 3038 | Added manual page smartd.conf.5 for configuration file. |
|---|
| 3039 | |
|---|
| 3040 | smartctl: Missing ANSI prototype in failuretest(); fixed. |
|---|
| 3041 | |
|---|
| 3042 | smartctl: Checksum warnings now printed on stdout, or are silent, |
|---|
| 3043 | depending upon -q and -Q settings. |
|---|
| 3044 | |
|---|
| 3045 | smartmontools-5.0.31 |
|---|
| 3046 | |
|---|
| 3047 | Changed Makefile so that the -V option does not reflect file state |
|---|
| 3048 | before commit! |
|---|
| 3049 | |
|---|
| 3050 | smartctl: added new options -W, -U, and -P to control if and how the |
|---|
| 3051 | smartctl exits if an error is detected in either a SMART data |
|---|
| 3052 | structure checksum, or a SMART command returns an error. |
|---|
| 3053 | |
|---|
| 3054 | modified manual page to break options into slightly more logical |
|---|
| 3055 | categories. |
|---|
| 3056 | |
|---|
| 3057 | reformatted 'usage' message order to agree with man page ordering |
|---|
| 3058 | |
|---|
| 3059 | modified .spec file so that locale information now contains |
|---|
| 3060 | character set definition. Changed pt_BR to pt since we do not use any |
|---|
| 3061 | aspect other than language. See man setlocale. |
|---|
| 3062 | |
|---|
| 3063 | smartmontools-5.0.30 |
|---|
| 3064 | smartctl: added new options -n and -N to force device to be ATA or SCSI |
|---|
| 3065 | smartctl: no longer dies silently if device path does not start/dev/X |
|---|
| 3066 | smartctl: now handles arbitrary device paths |
|---|
| 3067 | |
|---|
| 3068 | smartmontools-5.0.29 |
|---|
| 3069 | Modified .spec file and Makefile to make them more compliant with |
|---|
| 3070 | the "right" way of doing things. |
|---|
| 3071 | |
|---|
| 3072 | smartmontools-5.0.26 |
|---|
| 3073 | Fixed typesetting error in man page smartd.8 |
|---|
| 3074 | |
|---|
| 3075 | Removed redundant variable (harmless) from smartd.c |
|---|
| 3076 | |
|---|
| 3077 | smartmontools-5.0.25 |
|---|
| 3078 | |
|---|
| 3079 | Added a new directive for the configuration file. If the word |
|---|
| 3080 | DEVICESCAN appears before any non-commented material in the |
|---|
| 3081 | configuration file, then the confi file will be ignored and the |
|---|
| 3082 | devices wil be scanned. |
|---|
| 3083 | |
|---|
| 3084 | smartmontools-5.0.24 |
|---|
| 3085 | |
|---|
| 3086 | Note: it has now been confirmed that the code modifications between |
|---|
| 3087 | 5.0.23 and 5.0.24 have eliminated the GCC 3.2 problems. Note that |
|---|
| 3088 | there is a GCC bug howerver, see #8404 at |
|---|
| 3089 | http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&cmd=query |
|---|
| 3090 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8404 |
|---|
| 3091 | |
|---|
| 3092 | Added new Directive for Configuration file: |
|---|
| 3093 | -C <N> This sets the time in between disk checks to be <N> |
|---|
| 3094 | seconds apart. Note that although you can give |
|---|
| 3095 | this Directive multiple times on different lines of |
|---|
| 3096 | the configuration file, only the final value that |
|---|
| 3097 | is given has an effect, and applies to all the |
|---|
| 3098 | disks. The default value of <N> is 1800 sec, and |
|---|
| 3099 | the minimum allowed value is ten seconds. |
|---|
| 3100 | |
|---|
| 3101 | Problem wasn't the print format. F.L.W. Meunier <0@pervalidus.net> |
|---|
| 3102 | sent me a gcc 3.2 build and I ran it under a debugger. The |
|---|
| 3103 | problem seems to be with passing the very large (2x512+4) byte |
|---|
| 3104 | data structures as arguments. I never liked this anyway; it was |
|---|
| 3105 | inherited from smartsuite. So I've changed all the heavyweight |
|---|
| 3106 | functions (ATA ones, anyone) to just passing pointers, not hideous |
|---|
| 3107 | kB size structures on the stack. Hopefully this will now build OK |
|---|
| 3108 | under gcc 3.2 with any sensible compilation options. |
|---|
| 3109 | |
|---|
| 3110 | smartmontools-5.0.23 |
|---|
| 3111 | |
|---|
| 3112 | Because of reported problems with GCC 3.2 compile, I have gone |
|---|
| 3113 | thorough the code and explicitly changed all print format |
|---|
| 3114 | parameters to correspond EXACTLY to int unless they have to be |
|---|
| 3115 | promoted to long longs. To quote from the glibc bible: [From |
|---|
| 3116 | GLIBC Manual: Since the prototype doesn't specify types for |
|---|
| 3117 | optional arguments, in a call to a variadic function the default |
|---|
| 3118 | argument promotions are performed on the optional argument |
|---|
| 3119 | values. This means the objects of type char or short int (whether |
|---|
| 3120 | signed or not) are promoted to either int or unsigned int, as |
|---|
| 3121 | appropriate.] |
|---|
| 3122 | |
|---|
| 3123 | smartmontools-5.0.22 |
|---|
| 3124 | |
|---|
| 3125 | smartd, smartctl now warn if they find an attribute whose ID |
|---|
| 3126 | number does not match between Data and Threshold structures. |
|---|
| 3127 | |
|---|
| 3128 | Fixed nasty bug which led to wrong number of arguments for a |
|---|
| 3129 | varargs statement, with attendent stack corruption. Sheesh! |
|---|
| 3130 | Have added script to CVS attic to help find such nasties in the |
|---|
| 3131 | future. |
|---|
| 3132 | |
|---|
| 3133 | smartmontools-5.0.21 |
|---|
| 3134 | |
|---|
| 3135 | Eliminated some global variables out of header files and other |
|---|
| 3136 | minor cleanup of smartd. |
|---|
| 3137 | |
|---|
| 3138 | smartmontools-5.0.20 |
|---|
| 3139 | |
|---|
| 3140 | Did some revision of the man page for smartd and made the usage |
|---|
| 3141 | messages for Directives 100% consistent. |
|---|
| 3142 | |
|---|
| 3143 | smartmontools-5.0-19 |
|---|
| 3144 | |
|---|
| 3145 | smartd: prints warning message when it gets SIGHUP, saying that it |
|---|
| 3146 | is NOT re-reading the config file. |
|---|
| 3147 | |
|---|
| 3148 | smartctl: updated man page to say self-test commands -O,x,X,s,S,A |
|---|
| 3149 | appear to be supported in the code. [I can't test these, can anyone |
|---|
| 3150 | report?] |
|---|
| 3151 | |
|---|
| 3152 | smartmontools-5.0-18 |
|---|
| 3153 | |
|---|
| 3154 | smartctl: smartctl would previously print the LBA of a self-test |
|---|
| 3155 | if it completed, and the LBA was not 0 or 0xff...f However |
|---|
| 3156 | according to the specs this is not correct. According to the |
|---|
| 3157 | specs, if the self-test completed without error then LBA is |
|---|
| 3158 | undefined. This version fixes that. LBA value only printed if |
|---|
| 3159 | self-test encountered an error. |
|---|
| 3160 | |
|---|
| 3161 | smartmontools-5.0-17 |
|---|
| 3162 | |
|---|
| 3163 | smartd has changed significantly. This is the first CVS checkin of |
|---|
| 3164 | code that extends the options available for smartd. The following |
|---|
| 3165 | options can be placed into the /etc/smartd.conf file, and control the |
|---|
| 3166 | behavior of smartd. |
|---|
| 3167 | Configuration file Directives (following device name): |
|---|
| 3168 | -A Device is an ATA device |
|---|
| 3169 | -S Device is a SCSI device |
|---|
| 3170 | -c Monitor SMART Health Status |
|---|
| 3171 | -l Monitor SMART Error Log for changes |
|---|
| 3172 | -L Monitor SMART Self-Test Log for new errors |
|---|
| 3173 | -f Monitor for failure of any 'Usage' Attributes |
|---|
| 3174 | -p Report changes in 'Prefailure' Attributes |
|---|
| 3175 | -u Report changes in 'Usage' Attributes |
|---|
| 3176 | -t Equivalent to -p and -u Directives |
|---|
| 3177 | -a Equivalent to -c -l -L -f -t Directives |
|---|
| 3178 | -i ID Ignore Attribute ID for -f Directive |
|---|
| 3179 | -I ID Ignore Attribute ID for -p, -u or -t Directive |
|---|
| 3180 | # Comment: text after a hash sign is ignored |
|---|
| 3181 | \ Line continuation character |
|---|
| 3182 | |
|---|
| 3183 | cleaned up functions used for printing CVS IDs. Now use string |
|---|
| 3184 | library, as it should be. |
|---|
| 3185 | |
|---|
| 3186 | modified length of device name string in smartd internal structure |
|---|
| 3187 | to accomodate max length device name strings |
|---|
| 3188 | |
|---|
| 3189 | removed un-implemented (-e = Email notification) option from |
|---|
| 3190 | command line arg list. We'll put it back on when implemeneted. |
|---|
| 3191 | |
|---|
| 3192 | smartd now logs serious (fatal) conditions in its operation at |
|---|
| 3193 | loglevel LOG_CRIT rather than LOG_INFO before exiting with error. |
|---|
| 3194 | |
|---|
| 3195 | smartd used to open a file descriptor for each SMART enabled |
|---|
| 3196 | device, and then keep it open the entire time smartd was running. |
|---|
| 3197 | This meant that some commands, like IOREADBLKPART did not work, |
|---|
| 3198 | since the fd to the device was open. smartd now opens the device |
|---|
| 3199 | when it needs to read values, then closes it. Also, if one time |
|---|
| 3200 | around it can't open the device, it simply prints a warning |
|---|
| 3201 | message but does not give up. Have eliminated the .fd field from |
|---|
| 3202 | data structures -- no longer gets used. |
|---|
| 3203 | |
|---|
| 3204 | smartd now opens SCSI devices as well using O_RDONLY rather than |
|---|
| 3205 | O_RDWR. If someone can no longer monitor a SCSI device that used |
|---|
| 3206 | to be readable, this may well be the reason why. |
|---|
| 3207 | |
|---|
| 3208 | smartd never checked if the number of ata or scsi devices detected |
|---|
| 3209 | was greater than the max number it could monitor. Now it does. |
|---|
| 3210 | |
|---|
| 3211 | smartmontools-5.0-16 |
|---|
| 3212 | |
|---|
| 3213 | smartd on startup now looks in the configuration file /etc/smartd.conf for |
|---|
| 3214 | a list of devices which to include in its monitoring list. See man page |
|---|
| 3215 | (man smartd) for syntax. |
|---|
| 3216 | |
|---|
| 3217 | smartd: close file descriptors of SCSI device if not SMART capable |
|---|
| 3218 | Closes ALL file descriptors after forking to daemon. |
|---|
| 3219 | |
|---|
| 3220 | added new temperature attribute (231, temperature) |
|---|
| 3221 | |
|---|
| 3222 | smartd: now open ATA disks using O_RDONLY |
|---|
| 3223 | |
|---|
| 3224 | smartmontools-5.0-11 |
|---|
| 3225 | |
|---|
| 3226 | smartd now prints the name of a failed or changed attribute |
|---|
| 3227 | into logfile, not just ID number |
|---|
| 3228 | |
|---|
| 3229 | Changed name of -p (print version) option to -V |
|---|
| 3230 | |
|---|
| 3231 | Minor change in philosophy: if a SMART command fails or the device |
|---|
| 3232 | appears incapable of a SMART command that the user has asked for, |
|---|
| 3233 | complain by printing an error message, but go ahead and try |
|---|
| 3234 | anyway. Since unimplemented SMART commands should just return an |
|---|
| 3235 | error but not cause disk problems, this should't cause any |
|---|
| 3236 | difficulty. |
|---|
| 3237 | |
|---|
| 3238 | Added two new flags: q and Q. q is quiet mode - only print: For |
|---|
| 3239 | the -l option, errors recorded in the SMART error log; For the -L |
|---|
| 3240 | option, errors recorded in the device self-test log; For the -c |
|---|
| 3241 | SMART "disk failing" status or device attributes (pre-failure or |
|---|
| 3242 | usage) which failed either now or in the past; For the -v option |
|---|
| 3243 | device attributes (pre-failure or usage) which failed either now |
|---|
| 3244 | or in the past. Q is Very Quiet mode: Print no ouput. The only |
|---|
| 3245 | way to learn about what was found is to use the exit status of |
|---|
| 3246 | smartctl. |
|---|
| 3247 | |
|---|
| 3248 | smartctl now returns sensible values (bitmask). See smartctl.h |
|---|
| 3249 | for the values, and the man page for documentation. |
|---|
| 3250 | |
|---|
| 3251 | The SMART status check now uses the correct ATA call. If failure |
|---|
| 3252 | is detected we search through attributes to list the failed ones. |
|---|
| 3253 | If the SMART status check shows GOOD, we then look to see if their |
|---|
| 3254 | are any usage attributes or prefail attributes have failed at any |
|---|
| 3255 | time. If so we print them. |
|---|
| 3256 | |
|---|
| 3257 | Modified function that prints vendor attributes to say if the |
|---|
| 3258 | attribute has currently failed or has ever failed. |
|---|
| 3259 | |
|---|
| 3260 | -p option now prints out license info and CVS strings for all |
|---|
| 3261 | modules in the code, nicely formatted. |
|---|
| 3262 | |
|---|
| 3263 | Previous versions of this code (and Smartsuite) only generate |
|---|
| 3264 | SMART failure errors if the value of an attribute is below the |
|---|
| 3265 | threshold and the prefailure bit is set. However the ATA Spec |
|---|
| 3266 | (ATA4 <=Rev 4) says that it is a SMART failure if the value of an |
|---|
| 3267 | attribute is LESS THAN OR EQUAL to the threshold and the |
|---|
| 3268 | prefailure bit is set. This is now fixed in both smartctl and |
|---|
| 3269 | smartd. Note that this is a troubled subject -- the original |
|---|
| 3270 | SFF 8035i specification defining SMART was inconsistent about |
|---|
| 3271 | this. One section says that Attribute==Threshold is pass, |
|---|
| 3272 | and another section says it is fail. However the ATA specs are |
|---|
| 3273 | consistent and say Attribute==Threshold is a fail. |
|---|
| 3274 | |
|---|
| 3275 | smartd did not print the correct value of any failing SMART attribute. It |
|---|
| 3276 | printed the index in the attribute table, not the attribute |
|---|
| 3277 | ID. This is fixed. |
|---|
| 3278 | |
|---|
| 3279 | when starting self-tests in captive mode ioctl returns EIO because |
|---|
| 3280 | the drive has been busied out. Detect this and don't return an eror |
|---|
| 3281 | in this case. Check this this is correct (or how to fix it?) |
|---|
| 3282 | |
|---|
| 3283 | fixed possible error in how to determine ATA standard support |
|---|
| 3284 | for devices with no ATA minor revision number. |
|---|
| 3285 | |
|---|
| 3286 | device opened only in read-only not read-write mode. Don't need R/W |
|---|
| 3287 | access to get smart data. Check this with Andre. |
|---|
| 3288 | |
|---|
| 3289 | smartctl now handles all possible choices of "multiple options" |
|---|
| 3290 | gracefully. It goes through the following phases of operation, |
|---|
| 3291 | in order: INFORMATION, ENABLE/DISABLE, DISPLAY DATA, RUN/ABORT TESTS. |
|---|
| 3292 | Documentation has bee updated to explain the different phases of |
|---|
| 3293 | operation. Control flow through ataPrintMain() |
|---|
| 3294 | simplified. |
|---|
| 3295 | |
|---|
| 3296 | If reading device identity information fails, try seeing if the info |
|---|
| 3297 | can be accessed using a "DEVICE PACKET" command. This way we can |
|---|
| 3298 | at least get device info. |
|---|
| 3299 | |
|---|
| 3300 | Modified Makefile to automatically tag CVS archive on issuance of |
|---|
| 3301 | a release |
|---|
| 3302 | |
|---|
| 3303 | Modified drive detection so minor device ID code showing ATA-3 rev |
|---|
| 3304 | 0 (no SMART) is known to not be SMART capable. |
|---|
| 3305 | |
|---|
| 3306 | Now verify the checksum of the device ID data structure, and of the |
|---|
| 3307 | attributes threshold structure. Before neither of these |
|---|
| 3308 | structures had their checksums verified. |
|---|
| 3309 | |
|---|
| 3310 | New behavior vis-a-vis checksums. If they are wrong, we log |
|---|
| 3311 | warning messages to stdout, stderr, and syslog, but carry on |
|---|
| 3312 | anyway. All functions now call a checksumwarning routine if the |
|---|
| 3313 | checksum doesn't vanish as it should. |
|---|
| 3314 | |
|---|
| 3315 | Changed Read Hard Disk Identity function to get fresh info from |
|---|
| 3316 | the disk on each call rather than to use the values that were read |
|---|
| 3317 | upon boot-up into the BIOS. This is the biggest change in this |
|---|
| 3318 | release. The ioctl(device, HDIO_GET_IDENTITY, buf ) call should |
|---|
| 3319 | be avoided in such code. Note that if people get garbled strings |
|---|
| 3320 | for the model, serial no and firmware versions of their drives, |
|---|
| 3321 | then blame goes here (the BIOS does the byte swapping for you, |
|---|
| 3322 | apparently!) |
|---|
| 3323 | |
|---|
| 3324 | Function ataSmartSupport now looks at correct bits in drive |
|---|
| 3325 | identity structure to verify first that these bits are valid, |
|---|
| 3326 | before using them. |
|---|
| 3327 | |
|---|
| 3328 | Function ataIsSmartEnabled() written which uses the Drive ID state |
|---|
| 3329 | information to tell if SMART is enabled or not. We'll carry this |
|---|
| 3330 | along for the moment without using it. |
|---|
| 3331 | |
|---|
| 3332 | Function ataDoesSmartWork() guaranteed to work if the device |
|---|
| 3333 | supports SMART. |
|---|
| 3334 | |
|---|
| 3335 | Replace some numbers by #define MACROS |
|---|
| 3336 | |
|---|
| 3337 | Wrote Function TestTime to return test time associated with each |
|---|
| 3338 | different type of test. |
|---|
| 3339 | |
|---|
| 3340 | Thinking of the future, have added a new function called |
|---|
| 3341 | ataSmartStatus2(). Eventually when I understand how to use the |
|---|
| 3342 | TASKFILE API and am sure that this works correctly, it will |
|---|
| 3343 | replace ataSmartStatus(). This queries the drive directly to |
|---|
| 3344 | see if the SMART status is OK, rather than comparing thresholds to |
|---|
| 3345 | attribute values ourselves. But I need to get some drives that fail |
|---|
| 3346 | their SMART status to check it. |
|---|
| 3347 | |
|---|
| 3348 | |
|---|
| 3349 | smartmontools-5.0-10 |
|---|
| 3350 | Removed extraneous space before printing in some error messages |
|---|
| 3351 | Fixed additional typos in documentation |
|---|
| 3352 | Fixed some character buffers that were too short for their contents. |
|---|
| 3353 | |
|---|
| 3354 | smartmontools-5.0-9 |
|---|
| 3355 | |
|---|
| 3356 | Put project home path into all source files near the top |
|---|
| 3357 | Corrected typos in the documentation |
|---|
| 3358 | Modified Makefile so that Mandrake Cooker won't increment version number |
|---|
| 3359 | (unless they happen to be working on my machine, which I doubt!) |
|---|
| 3360 | |
|---|
| 3361 | smartmontools-5.0-8: |
|---|
| 3362 | |
|---|
| 3363 | For IBM disks whose raw temp data includes three temps. print all |
|---|
| 3364 | three |
|---|
| 3365 | |
|---|
| 3366 | print timestamps for error log to msec precision |
|---|
| 3367 | |
|---|
| 3368 | added -m option for Hitachi disks that store power on life in |
|---|
| 3369 | minutes |
|---|
| 3370 | |
|---|
| 3371 | added -L option for printing self-test error logs |
|---|
| 3372 | |
|---|
| 3373 | in -l option, now print power on lifetime, so that one can see |
|---|
| 3374 | when the error took place |
|---|
| 3375 | |
|---|
| 3376 | updated SMART structure definitions to ATA-5 spec |
|---|
| 3377 | |
|---|
| 3378 | added -p option |
|---|
| 3379 | |
|---|
| 3380 | added -f and -F options to enable/disable autosave threshold |
|---|
| 3381 | parameters |
|---|
| 3382 | |
|---|
| 3383 | changed argv parsing to use getops -- elminate buffer overflow |
|---|
| 3384 | vulnerability |
|---|
| 3385 | |
|---|
| 3386 | expanded and corrected documentation |
|---|
| 3387 | |
|---|
| 3388 | fixed problem with smartd. It did not actually call |
|---|
| 3389 | ataSmartEnable()! Since the argument was left out, the test |
|---|
| 3390 | always suceeded because it evaluated to a pointer to the function. |
|---|
| 3391 | |
|---|
| 3392 | smartd: closed open file descriptors if device does not support |
|---|
| 3393 | smart. Note: this still needs to be fixed for SCSI devices |
|---|
| 3394 | |
|---|
| 3395 | |
|---|
| 3396 | smartmontools-5.0-0 STARTED with smartsuite-2.1-2 |
|---|