mchristi 3c98002
diff -aurp open-iscsi-2.0-872-rc4-bnx2i.base/etc/iscsid.conf open-iscsi-2.0-872-rc4-bnx2i.build/etc/iscsid.conf
mchristi 3c98002
--- open-iscsi-2.0-872-rc4-bnx2i.base/etc/iscsid.conf	2011-08-14 16:33:53.000000000 -0500
mchristi 3c98002
+++ open-iscsi-2.0-872-rc4-bnx2i.build/etc/iscsid.conf	2011-08-14 16:37:47.000000000 -0500
mchristi aadf696
@@ -17,10 +17,10 @@
mchristi 05db5ec
 # maintainers.
mchristi 05db5ec
 #
mchristi 05db5ec
 # Default for Fedora and RHEL. (uncomment to activate).
mchristi 05db5ec
-# iscsid.startup = /etc/rc.d/init.d/iscsid force-start
mchristi 05db5ec
+iscsid.startup = /etc/rc.d/init.d/iscsid force-start
mchristi 05db5ec
 # 
mchristi 05db5ec
 # Default for upstream open-iscsi scripts (uncomment to activate).
mchristi 05db5ec
-iscsid.startup = /sbin/iscsid
mchristi 05db5ec
+# iscsid.startup = /sbin/iscsid
mchristi 05db5ec
 
mchristi 05db5ec
 
mchristi f8d692d
 #############################
mchristi f8d692d
@@ -36,8 +36,8 @@ iscsid.startup = /sbin/iscsid
mchristi 6425a35
 # To request that the iscsi initd scripts startup a session set to "automatic".
mchristi 6425a35
 # node.startup = automatic
mchristi 6425a35
 #
mchristi 6425a35
-# To manually startup the session set to "manual". The default is manual.
mchristi 6425a35
-node.startup = manual
mchristi 6425a35
+# To manually startup the session set to "manual". The default is automatic.
mchristi 6425a35
+node.startup = automatic
mchristi 6425a35
 
mchristi 3c98002
 # For "automatic" startup nodes, setting this to "Yes" will try logins on each
mchristi 3c98002
 # available iface until one succeeds, and then stop.  The default "No" will try
mchristi 3c98002
@@ -259,28 +259,27 @@ node.conn[0].iscsi.MaxXmitDataSegmentLen
mchristi 05db5ec
 discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
mchristi 05db5ec
 
mchristi 05db5ec
 # To allow the targets to control the setting of the digest checking,
mchristi 05db5ec
-# with the initiator requesting a preference of enabling the checking, uncomment# one or both of the following lines:
mchristi 05db5ec
+# with the initiator requesting a preference of enabling the checking, uncomment
mchristi aadf696
+# the following lines (Data digests are not supported.):
mchristi 05db5ec
 #node.conn[0].iscsi.HeaderDigest = CRC32C,None
mchristi 05db5ec
-#node.conn[0].iscsi.DataDigest = CRC32C,None
mchristi 3c98002
+
mchristi 05db5ec
 #
mchristi 05db5ec
 # To allow the targets to control the setting of the digest checking,
mchristi 05db5ec
 # with the initiator requesting a preference of disabling the checking,
mchristi 05db5ec
-# uncomment one or both of the following lines:
mchristi 3c98002
+# uncomment the following line:
mchristi 05db5ec
 #node.conn[0].iscsi.HeaderDigest = None,CRC32C
mchristi 05db5ec
-#node.conn[0].iscsi.DataDigest = None,CRC32C
mchristi 05db5ec
 #
mchristi 05db5ec
 # To enable CRC32C digest checking for the header and/or data part of
mchristi 05db5ec
-# iSCSI PDUs, uncomment one or both of the following lines:
mchristi 3c98002
+# iSCSI PDUs, uncomment the following line:
mchristi 05db5ec
 #node.conn[0].iscsi.HeaderDigest = CRC32C
mchristi 05db5ec
-#node.conn[0].iscsi.DataDigest = CRC32C
mchristi 05db5ec
 #
mchristi 05db5ec
 # To disable digest checking for the header and/or data part of
mchristi 05db5ec
-# iSCSI PDUs, uncomment one or both of the following lines:
mchristi 3c98002
+# iSCSI PDUs, uncomment the following line:
mchristi 05db5ec
 #node.conn[0].iscsi.HeaderDigest = None
mchristi 05db5ec
-#node.conn[0].iscsi.DataDigest = None
mchristi 05db5ec
 #
mchristi 05db5ec
 # The default is to never use DataDigests or HeaderDigests.
mchristi 05db5ec
 #
mchristi 05db5ec
+node.conn[0].iscsi.HeaderDigest = None
mchristi 05db5ec
 
mchristi 3c98002
 # For multipath configurations, you may want more than one session to be
mchristi 3c98002
 # created on each iface record.  If node.session.nr_sessions is greater
mchristi 3c98002
diff -aurp open-iscsi-2.0-872-rc4-bnx2i.base/README open-iscsi-2.0-872-rc4-bnx2i.build/README
mchristi 3c98002
--- open-iscsi-2.0-872-rc4-bnx2i.base/README	2011-08-14 16:33:53.000000000 -0500
mchristi 3c98002
+++ open-iscsi-2.0-872-rc4-bnx2i.build/README	2011-08-14 16:34:12.000000000 -0500
mchristi f8d692d
@@ -74,11 +74,6 @@ the cache sync command will fail.
mchristi f8d692d
 - iscsiadm's -P 3 option will not print out scsi devices.
mchristi f8d692d
 - iscsid will not automatically online devices.
mchristi f8d692d
 
mchristi f8d692d
-You need to enable "Cryptographic API" under "Cryptographic options" in the
mchristi f8d692d
-kernel config. And you must enable "CRC32c CRC algorithm" even if
mchristi f8d692d
-you do not use header or data digests. They are the kernel options,
mchristi f8d692d
-CONFIG_CRYPTO and CONFIG_CRYPTO_CRC32C, respectively.
mchristi f8d692d
-
mchristi f8d692d
 By default the kernel source found at
mchristi f8d692d
 /lib/modules/`uname -a`/build
mchristi f8d692d
 will be used to compile the open-iscsi modules. To specify a different
mchristi 3c98002
@@ -975,7 +970,7 @@ Red Hat or Fedora:
mchristi f8d692d
 -----------------
mchristi f8d692d
 To start open-iscsi in Red Hat/Fedora you can do:
mchristi f8d692d
 
mchristi f8d692d
-	service open-iscsi start
mchristi f8d692d
+	service iscsi start
mchristi f8d692d
 
mchristi f8d692d
 To get open-iscsi to automatically start at run time you may have to
mchristi f8d692d
 run:
mchristi 3c98002
@@ -1183,6 +1178,8 @@ iscsid will only perform rediscovery whe
mchristi f8d692d
 #   linux-isns (SLES's iSNS server) where it sometimes does not send SCN
mchristi f8d692d
 #   events in the proper format, so they may not get handled.
mchristi f8d692d
 
mchristi f8d692d
+To set the startup value, so that nodes are not logged into automatically
mchristi f8d692d
+use the value "manual".
mchristi f8d692d
 
mchristi f8d692d
 Example:
mchristi f8d692d
 --------
mchristi 3c98002
diff -aurp open-iscsi-2.0-872-rc4-bnx2i.base/usr/idbm.c open-iscsi-2.0-872-rc4-bnx2i.build/usr/idbm.c
mchristi 3c98002
--- open-iscsi-2.0-872-rc4-bnx2i.base/usr/idbm.c	2011-08-14 16:33:53.000000000 -0500
mchristi 3c98002
+++ open-iscsi-2.0-872-rc4-bnx2i.build/usr/idbm.c	2011-08-14 16:34:12.000000000 -0500
mchristi 3c98002
@@ -373,9 +373,13 @@ idbm_recinfo_node(node_rec_t *r, recinfo
mchristi 05db5ec
 				 IDBM_SHOW, "None", "CRC32C", "CRC32C,None",
mchristi 05db5ec
 				 "None,CRC32C", num, 1);
mchristi 05db5ec
 		sprintf(key, CONN_DATA_DIGEST, i);
mchristi 05db5ec
+
mchristi 05db5ec
+#if 0
mchristi 05db5ec
+We do not support data digests
mchristi 05db5ec
 		__recinfo_int_o4(key, ri, r, conn[i].iscsi.DataDigest, IDBM_SHOW,
mchristi 05db5ec
 				 "None", "CRC32C", "CRC32C,None",
mchristi 05db5ec
 				 "None,CRC32C", num, 1);
mchristi 05db5ec
+#endif
mchristi 05db5ec
 		sprintf(key, CONN_IFMARKER, i);
mchristi 05db5ec
 		__recinfo_int_o2(key, ri, r, conn[i].iscsi.IFMarker, IDBM_SHOW,
mchristi 05db5ec
 				"No", "Yes", num, 1);