summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README8
-rw-r--r--etc/initd/initd.debian2
-rw-r--r--etc/initd/initd.suse2
3 files changed, 8 insertions, 4 deletions
diff --git a/README b/README
index 4c6c7e7..862a63d 100644
--- a/README
+++ b/README
@@ -57,8 +57,8 @@ Open-iSCSI is partitioned into user and kernel parts.
The kernel portion of Open-iSCSI is a from-scratch code
licensed under GPL. The kernel part implements iSCSI data path
-(that is, iSCSI Read and iSCSI Write), and consists of two
-loadable modules: iscsi_if.ko and iscsi_tcp.ko.
+(that is, iSCSI Read and iSCSI Write), and consists of thee
+loadable modules: scsi_transport_iscsi.ko, libiscsi.ko and iscsi_tcp.ko.
User space contains the entire control plane: configuration
manager, iSCSI Discovery, Login and Logout processing,
@@ -108,8 +108,8 @@ on how to build kernel modules against your specific kernel.
For RedHat/Fedora and Debian distributions open-iscsi can be installed by
typing "make install". This will copy iscsid and iscsiadm to /usr/sbin, the
-init script to /etc/init.d, and the kernel modules: iscsi_tcp.ko and
-scsi_transport_iscsi to /lib/modules/`uname -r`/kernel/drivers/scsi/
+init script to /etc/init.d, and the kernel modules: iscsi_tcp.ko, libiscsi.ko
+and scsi_transport_iscsi to /lib/modules/`uname -r`/kernel/drivers/scsi/
overwriting existing iscsi modules.
4. Open-iSCSI daemon
diff --git a/etc/initd/initd.debian b/etc/initd/initd.debian
index d2c49ce..3be2e79 100644
--- a/etc/initd/initd.debian
+++ b/etc/initd/initd.debian
@@ -16,6 +16,7 @@ iscsid_start()
{
echo -n "Starting iSCSI initiator service: "
modprobe scsi_transport_iscsi
+ modprobe libiscsi
modprobe iscsi_tcp
start-stop-daemon --start --exec $DAEMON --quiet
RETVAL=$?
@@ -41,6 +42,7 @@ iscsid_stop()
echo -n "Removing iSCSI enterprise target modules: "
modprobe -r iscsi_tcp
+ modprobe -r libiscsi
modprobe -r scsi_transport_iscsi
RETVAL=$?
if [ $RETVAL == "0" ]; then
diff --git a/etc/initd/initd.suse b/etc/initd/initd.suse
index b88beb6..b87bf84 100644
--- a/etc/initd/initd.suse
+++ b/etc/initd/initd.suse
@@ -80,6 +80,7 @@ case "$1" in
[ ! -d /var/lib/iscsi ] && mkdir -p /var/lib/iscsi
echo -n "Starting iSCSI initiator service: "
modprobe scsi_transport_iscsi
+ modprobe libiscsi
modprobe iscsi_tcp
startproc $DAEMON $ARGS
RETVAL=$?
@@ -100,6 +101,7 @@ case "$1" in
if [ "$RETVAL" == "0" ]; then
rm -f $PID_FILE
rmmod iscsi_tcp
+ rmmod libiscsi
rmmod scsi_transport_iscsi
rc_failed 0
else