From d8060001c26cc5d8206525900cb1ef6a8a2e9da2 Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Thu, 20 Mar 2008 10:43:36 -0500 Subject: Fixup debian info Patch and info from Andrew Moise: Okay, patch is attached. I wound up doing some things differently than I mentioned -- the trouble with KERNEL_TARGET turned out to just be because I hadn't installed the needed headers, and I added the dpkg-divert script as a Makefile target instead of a snippet of code in the docs that people have to cut and paste. I also mentioned the ib_iser situation (which I hope I described accurately). --- README | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index 95657e2..21f961a 100644 --- a/README +++ b/README @@ -101,16 +101,26 @@ To compile on SUSE Linux you'll have to use where is the kernel configuration to use (eg. 'smp'). -If you choose to install the Debian packages instead of building from source, -please read the file /usr/share/doc/linux-iscsi/README.debian for information -on how to build kernel modules against your specific kernel. - For Red Hat/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, libiscsi.ko and scsi_transport_iscsi 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. + 4. Open-iSCSI daemon ==================== -- cgit v1.2.1