--- embedaddon/smartmontools/INSTALL 2012/02/21 16:32:16 1.1.1.1 +++ embedaddon/smartmontools/INSTALL 2013/10/14 07:54:03 1.1.1.4 @@ -1,7 +1,7 @@ Smartmontools installation instructions ======================================= -$Id: INSTALL,v 1.1.1.1 2012/02/21 16:32:16 misho Exp $ +$Id: INSTALL,v 1.1.1.4 2013/10/14 07:54:03 misho Exp $ Please also see the smartmontools home page: http://smartmontools.sourceforge.net/ @@ -97,7 +97,7 @@ Table of contents: 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 @@ -106,40 +106,14 @@ Table of contents: F) Windows - The code was tested on Windows 98SE, ME, NT4(SP5,SP6), 2000(SP4), - XP(up to SP3), 2003, Vista and Windows 7. + 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. - -- 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 - 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. @@ -193,6 +167,13 @@ Table of contents: 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 @@ -204,7 +185,7 @@ Table of contents: ======================= Get the sources from the SVN repository: - svn co https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools smartmontools + svn co http://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools smartmontools Then type: ./autogen.sh @@ -419,15 +400,10 @@ Same as Red Hat: 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: + 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. - bash -o igncr ./autogen.sh - - instead. This is not necessary for the generated ./configure script. - [10] Guidelines for Windows =========================== @@ -456,8 +432,6 @@ Cross-compile statically linked 64-bit version with Mi 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) \ @@ -500,6 +474,11 @@ To create a Windows installer, use: 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 @@ -525,10 +504,9 @@ use the following on MSYS or Cygwin: ../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. @@ -614,7 +592,7 @@ The following files are installed if ./configure has n /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]