Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > d18fa7374095732a0ead4cb4065710a5 > files > 14

iscsi-initiator-utils-6.2.0.871-0.12.el5_4.1.src.rpm

diff -aurp open-iscsi-2.0-871-test4/etc/iscsid.conf open-iscsi-2.0-871-test4.work/etc/iscsid.conf
--- open-iscsi-2.0-871-test4/etc/iscsid.conf	2009-05-20 19:09:18.000000000 -0500
+++ open-iscsi-2.0-871-test4.work/etc/iscsid.conf	2009-05-20 19:20:27.000000000 -0500
@@ -27,8 +27,8 @@
 # To request that the iscsi initd scripts startup a session set to "automatic".
 # node.startup = automatic
 #
-# To manually startup the session set to "manual". The default is manual.
-node.startup = manual
+# To manually startup the session set to "manual". The default is automatic.
+node.startup = automatic
 
 # *************
 # CHAP Settings
@@ -225,29 +225,27 @@ node.conn[0].iscsi.MaxRecvDataSegmentLen
 discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
 
 # To allow the targets to control the setting of the digest checking,
-# with the initiator requesting a preference of enabling the checking, uncomment# one or both of the following lines:
+# with the initiator requesting a preference of enabling the checking, uncomment
+# the following lines (Data digests are not supported and on ppc/ppc64
+# both header and data digests are not supported.):
 #node.conn[0].iscsi.HeaderDigest = CRC32C,None
-#node.conn[0].iscsi.DataDigest = CRC32C,None
 #
 # To allow the targets to control the setting of the digest checking,
 # with the initiator requesting a preference of disabling the checking,
-# uncomment one or both of the following lines:
+# uncomment the following lines:
 #node.conn[0].iscsi.HeaderDigest = None,CRC32C
-#node.conn[0].iscsi.DataDigest = None,CRC32C
 #
 # To enable CRC32C digest checking for the header and/or data part of
-# iSCSI PDUs, uncomment one or both of the following lines:
+# iSCSI PDUs, uncomment the following lines:
 #node.conn[0].iscsi.HeaderDigest = CRC32C
-#node.conn[0].iscsi.DataDigest = CRC32C
 #
 # To disable digest checking for the header and/or data part of
-# iSCSI PDUs, uncomment one or both of the following lines:
+# iSCSI PDUs, uncomment the following lines:
 #node.conn[0].iscsi.HeaderDigest = None
-#node.conn[0].iscsi.DataDigest = None
 #
 # The default is to never use DataDigests or HeaderDigests.
 #
-
+node.conn[0].iscsi.HeaderDigest = None
 
 #************
 # Workarounds
diff -aurp open-iscsi-2.0-871-test4/README open-iscsi-2.0-871-test4.work/README
--- open-iscsi-2.0-871-test4/README	2009-05-20 19:09:18.000000000 -0500
+++ open-iscsi-2.0-871-test4.work/README	2009-05-20 19:20:27.000000000 -0500
@@ -75,11 +75,6 @@ the cache sync command will fail.
 - iscsiadm's -P 3 option will not print out scsi devices.
 - iscsid will not automatically online devices.
 
-You need to enable "Cryptographic API" under "Cryptographic options" in the
-kernel config. And you must enable "CRC32c CRC algorithm" even if
-you do not use header or data digests. They are the kernel options,
-CONFIG_CRYPTO and CONFIG_CRYPTO_CRC32C, respectively.
-
 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
@@ -791,7 +786,7 @@ Red Hat or Fedora:
 -----------------
 To start open-iscsi in Red Hat/Fedora you can do:
 
-	service open-iscsi start
+	service iscsi start
 
 To get open-iscsi to automatically start at run time you may have to
 run:
@@ -970,6 +965,8 @@ To login to all the automated nodes, sim
 e.g /etc/init.d/open-iscsi restart. On your next startup the nodes will
 be logged into autmotically.
 
+To set the startup value, so that nodes are not logged into automatically
+use the value "manual".
 
 8. Advanced Configuration
 =========================
diff -aurp open-iscsi-2.0-871-test4/usr/idbm.c open-iscsi-2.0-871-test4.work/usr/idbm.c
--- open-iscsi-2.0-871-test4/usr/idbm.c	2009-05-20 19:09:18.000000000 -0500
+++ open-iscsi-2.0-871-test4.work/usr/idbm.c	2009-05-20 19:20:27.000000000 -0500
@@ -393,9 +393,13 @@ idbm_recinfo_node(node_rec_t *r, recinfo
 				 IDBM_SHOW, "None", "CRC32C", "CRC32C,None",
 				 "None,CRC32C", num, 1);
 		sprintf(key, CONN_DATA_DIGEST, i);
+
+#if 0
+We do not support data digests
 		__recinfo_int_o4(key, ri, r, conn[i].iscsi.DataDigest, IDBM_SHOW,
 				 "None", "CRC32C", "CRC32C,None",
 				 "None,CRC32C", num, 1);
+#endif
 		sprintf(key, CONN_IFMARKER, i);
 		__recinfo_int_o2(key, ri, r, conn[i].iscsi.IFMarker, IDBM_SHOW,
 				"No", "Yes", num, 1);