diff options
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | kernel/Makefile | 23 |
2 files changed, 7 insertions, 26 deletions
@@ -73,7 +73,7 @@ iscsid, and a management utility iscsiadm. =============== As of today, the Open-iSCSI Initiator requires a host running the -Linux operating system with kernel version 2.6.11, or later. See +Linux operating system with kernel version 2.6.16, or later. See http://www.open-iscsi.org/cgi-bin/wiki.pl/Supported_Kernels for a more information about which kernels Open-iSCSI supports. You need to enable "Cryptographic API" under "Cryptographic options" in the @@ -81,14 +81,6 @@ kernel config. You also need to enable "CRC32c CRC algorithm" if you use header or data digests. They are the kernel options, CONFIG_CRYPTO and CONFIG_CRYPTO_CRC32C, respectively. -For kernels 2.6.13-2.6.15 there are compatibility patches that must be -applied before compiling. Standing in the root of the open-iscsi source -directory the following command must be done in order to apply the patch -for your kernel: - -patch -p1 < kernel/2.6.13-compat.patch -patch -p1 < kernel/2.6.14-and-2.6.15-compat.patch - By default the kernel source found at /lib/modules/`uname -a`/build will be used to compile the open-iscsi modules. To specify a different diff --git a/kernel/Makefile b/kernel/Makefile index 14a9d5b..dcf4b58 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -74,25 +74,14 @@ check_iscsi_compat = $(call generic_check_command, $(check_iscsi_compat_command) # since Make doesn't support a switch construct .NOTPARALLEL: kernel_check kernel_check: -ifeq ($(KSUBLEVEL),11) - @$(call check_iscsi_compat, 2.6.11-compat.patch) +ifeq ($(KSUBLEVEL),16) + echo "kernel check... OK" else -ifeq ($(KSUBLEVEL),12) - @$(call check_iscsi_compat, 2.6.12-compat.patch) +ifeq ($(KSUBLEVEL),17) + echo "kernel check... OK" else -ifeq ($(KSUBLEVEL),13) - @$(call check_iscsi_compat, 2.6.13-compat.patch) -else -ifeq ($(KSUBLEVEL),14) - @$(call check_iscsi_compat, 2.6.14-and-2.6.15-compat.patch) -else -ifeq ($(KSUBLEVEL),15) - @$(call check_iscsi_compat, 2.6.14-and-2.6.15-compat.patch) -else - @echo "kernel check... OTHER KERNEL DETECTED" -endif -endif -endif + @echo "kernel check... UNSUPPORTED KERNEL DETECTED" + exit 1; endif endif |