From 4353670c281ccd4dd1c028be8c806797580ecd66 Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Mon, 25 Oct 2021 17:12:25 -0700 Subject: 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. --- README | 55 +++++++++++-------------------------------------------- 1 file changed, 11 insertions(+), 44 deletions(-) (limited to 'README') 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= - -or to use cross-compilation: - make kernel KSRC= 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// - -where 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 ==================== -- cgit v1.2.1