version 1.1.1.2, 2012/10/09 09:36:45
|
version 1.1.1.4, 2013/10/14 07:54:03
|
Line 97 Table of contents:
|
Line 97 Table of contents:
|
|
|
E) Cygwin |
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. |
recent releases. |
|
|
Both Cygwin and Windows versions of smartmontools share the same code |
Both Cygwin and Windows versions of smartmontools share the same code |
Line 106 Table of contents:
|
Line 106 Table of contents:
|
|
|
F) Windows |
F) Windows |
|
|
The code was tested on Windows 98SE, ME, NT4(SP5,SP6), 2000(SP4), | The code was tested on Windows XP SP3, 2003, Vista, Windows 7 and |
XP(up to SP3), 2003, Vista and Windows 7. | 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 |
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 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 | Only the latter provides full pass-through support which is needed |
supported if only the SMART IOCTLs are implemented. | for all smartmontools features. |
|
|
SCSI and USB devices are accessed through SPTI. Special driver support |
SCSI and USB devices are accessed through SPTI. Special driver support |
is not required. |
is not required. |
Line 211 Table of contents:
|
Line 185 Table of contents:
|
======================= |
======================= |
|
|
Get the sources from the SVN repository: |
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: |
Then type: |
./autogen.sh |
./autogen.sh |
Line 458 Cross-compile statically linked 64-bit version with Mi
|
Line 432 Cross-compile statically linked 64-bit version with Mi
|
Tested on Cygwin and Debian Linux with MinGW-w64 from |
Tested on Cygwin and Debian Linux with MinGW-w64 from |
http://mingw-w64.sourceforge.net/. |
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: |
Cross-compile on Cygwin with old gcc-mingw 3.x: |
|
|
./configure --build=$(./config.guess) \ |
./configure --build=$(./config.guess) \ |
Line 532 use the following on MSYS or Cygwin:
|
Line 504 use the following on MSYS or Cygwin:
|
../configure [... any MinGW option set from above ...] |
../configure [... any MinGW option set from above ...] |
make config-vc10 |
make config-vc10 |
|
|
The MSVC project files (os_win32/smartmontools_vc10.sln, | The MSVC project files (os_win32/vc10/*) are included in SVN (but not |
os_win32/smart{ctl,d}_vc10.vcxproj) are included in SVN (but not in | in source tarball). The target config-vc10 from a Makefile configured |
source tarball). The target config-vc10 from a Makefile configured | for MinGW creates os_win32/vc10/{config,svnversion}.h from |
for MinGW creates os_win32/{config,svnversion}_vc10.h from | |
./{config,svnversion}.h. The configure skript must be run outside |
./{config,svnversion}.h. The configure skript must be run outside |
of the source directory to avoid inclusion of the original config.h. |
of the source directory to avoid inclusion of the original config.h. |
|
|
Line 621 The following files are installed if ./configure has n
|
Line 592 The following files are installed if ./configure has n
|
/usr/local/share/man/man8/smartctl.8 [Manual page] |
/usr/local/share/man/man8/smartctl.8 [Manual page] |
/usr/local/share/man/man8/smartd.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/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/COPYING [GNU General Public License Version 2] |
/usr/local/share/doc/smartmontools/INSTALL [Installation instructions: what you're reading!] |
/usr/local/share/doc/smartmontools/INSTALL [Installation instructions: what you're reading!] |
/usr/local/share/doc/smartmontools/NEWS [Significant bugs discovered in old versions] |
/usr/local/share/doc/smartmontools/NEWS [Significant bugs discovered in old versions] |