- There are two parts of smartmontools that may require a patched or
- nonstandard kernel:
-
- (1) To get the ATA RETURN SMART STATUS command, the kernel needs
- to support the HDIO_DRIVE_TASK ioctl().
-
- (2) To run Selective Self-tests, the kernel needs to support the
- HDIO_DRIVE_TASKFILE ioctl().
-
- If your kernel does not support one or both of these ioctls, then
- smartmontools will "mostly" work. The things that don't work will
- give you harmless warning messages.
-
- Although "not officially supported" by the developers, smartmontools
- has also been successfully build and run on a legacy Linux system
- with kernel 2.0.33 and libc.so.5. On such systems, the restrictions
- above apply.
-
- For item (1) above, any 2.4 or 2.6 series kernel will provide
- HDIO_DRIVE_TASK support. Some 2.2.20 and later kernels also
- provide this support IF they're properly patched and
- configured. [Andre Hedrick's IDE patches may be found at
- http://www.funet.fi/pub/linux/kernel/people/hedrick/ide-2.2.20/ or
- are available from your local kernel.org mirror. They are not
- updated for 2.2.21 or later, and may contain a few bugs.].
- If the configuration option CONFIG_IDE_TASK_IOCTL
- exists in your 2.2.X kernel source code tree, then your 2.2.X
- kernel will probably support this ioctl. [Note that this kernel
- configuration option does NOT need to be enabled. Its presence
- merely indicates that the required HDIO_DRIVE_TASK ioctl() is
- supported.]
-
- For item (2) above, your kernel must be configured with the kernel
- configuration option CONFIG_IDE_TASKFILE_IO enabled. This
- configuration option is present in all 2.4 and 2.6 series
- kernels. Some 2.2.20 and later kernels also provide this support
- IF they're properly patched and configured as described above.
-
- Please see FAQ section of the URL above for additional details.
-
- If you are using 3ware controllers, for full functionality you
- must either use version 1.02.00.037 or greater of the 3w-xxxx
- driver, or patch earlier 3ware 3w-xxxx drivers. See
- http://smartmontools.sourceforge.net/3w-xxxx.txt
- for the patch. The version 1.02.00.037 3w-xxxx.c driver was
- incorporated into kernel 2.4.23-bk2 on 3 December 2003 and into
- kernel 2.6.0-test5-bk11 on 23 September 2003.
-