Smartmontools installation instructions
=======================================
-$Id: INSTALL 3414 2011-09-09 21:07:55Z chrfranke $
+$Id: INSTALL 3713 2012-11-23 21:26:17Z chrfranke $
Please also see the smartmontools home page:
http://smartmontools.sourceforge.net/
E) Cygwin
- The code was tested on Cygwin 1.7.7-1. It should also work on other
+ The code was tested on Cygwin 1.7.15-1. It should also work on other
recent releases.
Both Cygwin and Windows versions of smartmontools share the same code
F) Windows
- The code was tested on Windows 98SE, ME, NT4(SP5,SP6), 2000(SP4),
- XP(up to SP3), 2003, Vista and Windows 7.
-
- -- Windows 9x/ME
-
- On 9x/ME, only standard (legacy) IDE/ATA devices 0-3 are supported.
- The driver SMARTVSD.VXD must be present in WINDOWS\SYSTEM\IOSUBSYS
- to get loaded at Windows startup. The default location in a new
- installation of some versions of Windows is the WINDOWS\SYSTEM folder.
- In this case, move SMARTVSD.VXD to WINDOWS\SYSTEM\IOSUBSYS and reboot
- (http://support.microsoft.com/kb/265854/en-us).
-
- SMARTVSD.VXD relies on the standard IDE port driver ESDI_506.PDR.
- If the system uses a vendor specific driver, access of SMART data
- is not possible.
-
- Some ATA controllers (e.g. Promise) provided a custom SMARTVSD.VXD
- for their Win9x/ME driver. To access SMART data from both the legacy
- (/dev/h[a-d]) and this additional (/dev/hd[e-h]) controller, rename
- this file to SMARTVSE.VXD. Open the file with a hex editor and replace
- all occurrences of the string "SMARTVSD" with "SMARTVSE". Then reinstall
- the original Windows SMARTVSD.VXD.
-
- To access SCSI and USB devices, an installed ASPI interface (WNASPI32.DLL)
- is required. The code was tested with Adaptec Windows ASPI drivers 4.71.2.
- (http://www.adaptec.com/en-US/support/_eol/scsi_sw/ASPI-4.70/)
- Links to other ASPI drivers can be found at http://www.nu2.nu/aspi/.
-
- -- Windows NT4/2000/XP/2003/Vista/Win7
+ The code was tested on Windows XP SP3, 2003, Vista, Windows 7 and
+ Windows 8 Release Preview. Support von Windows 9x/ME and NT4 was removed
+ after smartmontools 5.43.
ATA or SATA devices are supported if the device driver implements
the SMART IOCTLs or IOCTL_IDE_PASS_THROUGH or IOCTL_ATA_PASS_THROUGH.
- The ATA SMART READ LOG command (smartctl -l, --log, -a, --all) is not
- supported if only the SMART IOCTLs are implemented.
+ Only the latter provides full pass-through support which is needed
+ for all smartmontools features.
SCSI and USB devices are accessed through SPTI. Special driver support
is not required.
hard drive comes with the offline test switched on by default, so
even that works.
+ The OS X SAT SMART Driver provides access to SMART data for SAT capable
+ USB and Firewire devices:
+ https://github.com/kasbert/OS-X-SAT-SMART-Driver
+ https://github.com/RJVB/OS-X-SAT-SMART-Driver
+ This does not require any smartctl -d TYPE option and should work also
+ with older smartmontools releases.
+
H) OS/2, eComStation
The code was tested on eComStation 1.1, but it should work on all versions
file type ("binmode" mount option) set. The "autogen.sh" script prints a
warning if DOS type is selected.
- If installing from SVN, you may check out all files either with CR/LF
- or LF line endings. Starting with release 3.1-7, Cygwin's bash does no
- longer accept scripts with CR/LF by default. To run the initial script
- ./autogen.sh checked out with CR/LF on a "binmode" mount, type:
-
- bash -o igncr ./autogen.sh
-
- instead. This is not necessary for the generated ./configure script.
+ Files may also be checked out with a non-Cygwin SVN client which uses CR/LF
+ for svn:eol-style=native. The "autogen.sh" script has svn:eol-style=LF.
+ Bash option "-o igncr" is not required.
[10] Guidelines for Windows
===========================
Tested on Cygwin and Debian Linux with MinGW-w64 from
http://mingw-w64.sourceforge.net/.
-WARNING: The smartmontools version for 64-bit Windows is still EXPERIMENTAL.
-
Cross-compile on Cygwin with old gcc-mingw 3.x:
./configure --build=$(./config.guess) \
It is also possible to (cross-)build the installer on Linux.
This was successfully tested on Debian with package "nsis".
+To create a combined 32-/64-bit installer, use this in 32-bit build
+directory if 64-build directory is at ../build64:
+
+ make builddir_win64=../build64 installer_win32
+
To both create and run the (interactive) installer, use:
make install-win32
../configure [... any MinGW option set from above ...]
make config-vc10
- The MSVC project files (os_win32/smartmontools_vc10.sln,
- os_win32/smart{ctl,d}_vc10.vcxproj) are included in SVN (but not in
- source tarball). The target config-vc10 from a Makefile configured
- for MinGW creates os_win32/{config,svnversion}_vc10.h from
+ The MSVC project files (os_win32/vc10/*) are included in SVN (but not
+ in source tarball). The target config-vc10 from a Makefile configured
+ for MinGW creates os_win32/vc10/{config,svnversion}.h from
./{config,svnversion}.h. The configure skript must be run outside
of the source directory to avoid inclusion of the original config.h.
/usr/local/share/man/man8/smartctl.8 [Manual page]
/usr/local/share/man/man8/smartd.8 [Manual page]
/usr/local/share/doc/smartmontools/AUTHORS [Information about the authors and developers]
-/usr/local/share/doc/smartmontools/CHANGELOG [A log of changes. Also see SVN]
+/usr/local/share/doc/smartmontools/ChangeLog [A log of changes. Also see SVN]
/usr/local/share/doc/smartmontools/COPYING [GNU General Public License Version 2]
/usr/local/share/doc/smartmontools/INSTALL [Installation instructions: what you're reading!]
/usr/local/share/doc/smartmontools/NEWS [Significant bugs discovered in old versions]