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