summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2021-10-25 17:12:25 -0700
committerLee Duncan <lduncan@suse.com>2021-10-25 17:12:25 -0700
commit4353670c281ccd4dd1c028be8c806797580ecd66 (patch)
treec55f68f92d58fed32854c2c7034b098ef4b8ff1c /README
parentcabc3a84a26035fa4102138d305cfa7c201dd0d0 (diff)
downloadopen-iscsi-4353670c281ccd4dd1c028be8c806797580ecd66.tar.gz
Updated README a bit
Remove stuff about a kernel module, since that's ancient history. Also, add a bit about compiling iscsiuio, since it's part of open-iscsi now, and lastly update info on putting the binaries some place other than /sbin, if desired.
Diffstat (limited to 'README')
-rw-r--r--README55
1 files changed, 11 insertions, 44 deletions
diff --git a/README b/README
index 508c9d7..3e0459a 100644
--- a/README
+++ b/README
@@ -100,53 +100,20 @@ By default the kernel's iSCSI modules will be used. Running:
make
make install
-will install the iSCSI tools iscsiadm and iscsid to /sbin.
+will install the iSCSI tools iscsiadm and iscsid to /sbin, by default,
+though that location can be overridden by passing in "sbindir", e.g. to
+install in /usr/bin instead of /sbin:
-For 2.6.14 - 2.6.34 the modules in the kernel dir can be built and installed
-by running:
+ make sbindir="/usr/sbin"
- make kernel
-
-When building those modules the kernel source found at
- /lib/modules/`uname -r`/build
-
-will be used to compile the open-iscsi modules. To specify a different
-kernel to build against, use:
- make kernel KSRC=<kernel-src>
-
-or to use cross-compilation:
- make kernel KSRC=<kernel-src> KARCH="ARCH=um"
-
-To compile on SUSE Linux you'll have to use
-
- make kernel KSRC=/usr/src/linux \
- KBUILD_OUTPUT=/usr/src/linux-obj/<arch>/<config>
-
-where <config> is the kernel configuration to use (eg. 'smp').
-
-To install the kernel modules that were built, run:
-
- make install_kernel
-
-This will copy iscsi_tcp.ko, libiscsi_tcp.ko, libiscsi.ko and
-scsi_transport_iscsi.ko to
- /lib/modules/`uname -r`/kernel/drivers/scsi/
-overwriting existing iscsi modules.
-
-For Debian, be sure to install the linux-headers package that
-corresponds to your kernel in order to compile the kernel modules
-('aptitude install linux-headers-`uname -r`'). You may also wish to
-run 'make -C kernel/ dpkg_divert' before installing kernel modules if
-you run a Debian-provided kernel. This will use dpkg-divert(8) to
-move the packaged kernel modules out of the way, and ensure that
-future kernel upgrades will not overwrite them.
-
-Also, please be aware that the compatibility patches that enable these
-iscsi modules to run on kernels older than 2.6.25 will not update the
-ib_iser module; you may get warnings related to mismatched symbols on
-this driver, in which case you'll be unable to load ib_iser and
-open-iscsi simultaneously.
+To build and install iscsiuio, use something like:
+ cd iscsiuio
+ touch AUTHORS NEWS
+ autoreconf --install
+ ./configure [--sbindir="/usr/sbin"]
+ make
+ make install
4. Open-iSCSI daemon
====================