5a3872e
diff -aurp open-iscsi-2.0-868-test1/etc/iscsid.conf open-iscsi-2.0-868-test1.tmp/etc/iscsid.conf
5a3872e
--- open-iscsi-2.0-868-test1/etc/iscsid.conf	2008-01-03 13:23:36.000000000 -0600
5a3872e
+++ open-iscsi-2.0-868-test1.tmp/etc/iscsid.conf	2008-01-03 13:55:59.000000000 -0600
5a3872e
@@ -27,8 +20,8 @@
mchristi 63a3144
 # To request that the iscsi initd scripts startup a session set to "automatic".
mchristi 63a3144
 # node.startup = automatic
mchristi 63a3144
 #
mchristi 63a3144
-# To manually startup the session set to "manual". The default is manual.
mchristi 63a3144
-node.startup = manual
mchristi 63a3144
+# To manually startup the session set to "manual". The default is automatic.
mchristi 63a3144
+node.startup = automatic
mchristi 63a3144
 
mchristi 63a3144
 # *************
mchristi 63a3144
 # CHAP Settings
5a3872e
@@ -92,17 +85,6 @@ node.conn[0].timeo.noop_out_interval = 5
5a3872e
 # this will cause the IO to be failed to the multipath layer.
5a3872e
 node.conn[0].timeo.noop_out_timeout = 5
5a3872e
 
5a3872e
-# To specify the time to wait for abort response before
5a3872e
-# failing the operation and trying a logical unit reset edit the line.
5a3872e
-# The value is in seconds and the default is 15 seconds.
5a3872e
-node.session.err_timeo.abort_timeout = 15
5a3872e
-
5a3872e
-# To specify the time to wait for a logical unit response
5a3872e
-# before failing the operation and trying session re-establishment
5a3872e
-# edit the line.
5a3872e
-# The value is in seconds and the default is 30 seconds.
5a3872e
-node.session.err_timeo.lu_reset_timeout = 20
5a3872e
-
5a3872e
 #******
5a3872e
 # Retry
5a3872e
 #******
5a3872e
@@ -188,41 +170,24 @@ node.conn[0].iscsi.MaxRecvDataSegmentLen
5a3872e
 discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
5a3872e
 
5a3872e
 # To allow the targets to control the setting of the digest checking,
5a3872e
-# with the initiator requesting a preference of enabling the checking, uncomment# one or both of the following lines:
5a3872e
+# with the initiator requesting a preference of enabling the checking, uncommen
5a3872e
+# the following lines (Data digests are not supported and on ppc/ppc64
5a3872e
+# both header and data digests are not supported.):
5a3872e
 #node.conn[0].iscsi.HeaderDigest = CRC32C,None
5a3872e
-#node.conn[0].iscsi.DataDigest = CRC32C,None
5a3872e
 #
5a3872e
 # To allow the targets to control the setting of the digest checking,
5a3872e
 # with the initiator requesting a preference of disabling the checking,
5a3872e
-# uncomment one or both of the following lines:
5a3872e
+# uncomment the following lines:
5a3872e
 #node.conn[0].iscsi.HeaderDigest = None,CRC32C
5a3872e
-#node.conn[0].iscsi.DataDigest = None,CRC32C
5a3872e
 #
5a3872e
 # To enable CRC32C digest checking for the header and/or data part of
5a3872e
-# iSCSI PDUs, uncomment one or both of the following lines:
5a3872e
+# iSCSI PDUs, uncomment the following lines:
5a3872e
 #node.conn[0].iscsi.HeaderDigest = CRC32C
5a3872e
-#node.conn[0].iscsi.DataDigest = CRC32C
5a3872e
 #
5a3872e
 # To disable digest checking for the header and/or data part of
5a3872e
-# iSCSI PDUs, uncomment one or both of the following lines:
5a3872e
+# iSCSI PDUs, uncomment the following lines:
5a3872e
 #node.conn[0].iscsi.HeaderDigest = None
5a3872e
-#node.conn[0].iscsi.DataDigest = None
5a3872e
 #
5a3872e
 # The default is to never use DataDigests and to allow the target to control
5a3872e
 # the setting of the HeaderDigest checking with the initiator requesting
5a3872e
 # a preference of disabling the checking.
5a3872e
-
5a3872e
-#************
5a3872e
-# Workarounds
5a3872e
-#************
5a3872e
-
5a3872e
-# Some targets like IET prefer after an initiator has sent a task
5a3872e
-# management function like an ABORT TASK or LOGICAL UNIT RESET, that
5a3872e
-# it does not respond to PDUs like R2Ts. To enable this behavior uncomment
5a3872e
-# the following line (The default behavior is Yes):
5a3872e
-node.session.iscsi.FastAbort = Yes
5a3872e
-
5a3872e
-# Some targets like Equalogic prefer that after an initiator has sent
5a3872e
-# a task management function like an ABORT TASK or LOGICAL UNIT RESET, that
5a3872e
-# it continue to respond to R2Ts. To enable this uncomment this line
5a3872e
-# node.session.iscsi.FastAbort = No
5a3872e
diff -aurp open-iscsi-2.0-868-test1/README open-iscsi-2.0-868-test1.tmp/README
5a3872e
--- open-iscsi-2.0-868-test1/README	2008-01-03 13:23:36.000000000 -0600
5a3872e
+++ open-iscsi-2.0-868-test1.tmp/README	2008-01-03 13:53:11.000000000 -0600
5a3872e
@@ -78,11 +78,6 @@ the cache sync command will fail.
5a3872e
 - iscsiadm's -P 3 option will not print out scsi devices.
5a3872e
 - iscsid will not automatically online devices.
5a3872e
 
5a3872e
-You need to enable "Cryptographic API" under "Cryptographic options" in the
5a3872e
-kernel config. And you must enable "CRC32c CRC algorithm" even if
5a3872e
-you do not use header or data digests. They are the kernel options,
5a3872e
-CONFIG_CRYPTO and CONFIG_CRYPTO_CRC32C, respectively.
5a3872e
-
5a3872e
 By default the kernel source found at
5a3872e
 /lib/modules/`uname -a`/build
5a3872e
 will be used to compile the open-iscsi modules. To specify a different
5a3872e
@@ -613,7 +608,7 @@ Red Hat or Fedora:
d3d8564
 -----------------
d3d8564
 To start open-iscsi in Red Hat/Fedora you can do:
d3d8564
 
d3d8564
-	service open-iscsi start
d3d8564
+	service iscsi start
d3d8564
 
d3d8564
 To get open-iscsi to automatically start at run time you may have to
d3d8564
 run:
5a3872e
@@ -792,6 +778,8 @@ To login to all the automated nodes, sim
d3d8564
 e.g /etc/init.d/open-iscsi restart. On your next startup the nodes will
d3d8564
 be logged into autmotically.
d3d8564
 
d3d8564
+To set the startup value, so that nodes are not logged into automatically
d3d8564
+use the value "manual".
d3d8564
 
5a3872e
 8. Advanced Configuration
5a3872e
 =========================
5a3872e
diff -aurp open-iscsi-2.0-868-test1/usr/idbm.c open-iscsi-2.0-868-test1.tmp/usr/idbm.c
5a3872e
--- open-iscsi-2.0-868-test1/usr/idbm.c	2008-01-03 13:23:36.000000000 -0600
5a3872e
+++ open-iscsi-2.0-868-test1.tmp/usr/idbm.c	2008-01-03 13:52:01.000000000 -0600
5a3872e
@@ -364,10 +364,14 @@ idbm_recinfo_node(node_rec_t *r, recinfo
5a3872e
 		__recinfo_int_o4(key, ri, r, conn[i].iscsi.HeaderDigest,
5a3872e
 				 IDBM_SHOW, "None", "CRC32C", "CRC32C,None",
5a3872e
 				 "None,CRC32C", num);
5a3872e
+/*
5a3872e
+	We only support data digests
5a3872e
+
5a3872e
 		sprintf(key, "node.conn[%d].iscsi.DataDigest", i);
5a3872e
 		__recinfo_int_o4(key, ri, r, conn[i].iscsi.DataDigest, IDBM_SHOW,
5a3872e
 				 "None", "CRC32C", "CRC32C,None",
5a3872e
 				 "None,CRC32C", num);
5a3872e
+*/
5a3872e
 		sprintf(key, "node.conn[%d].iscsi.IFMarker", i);
5a3872e
 		__recinfo_int_o2(key, ri, r, conn[i].iscsi.IFMarker, IDBM_SHOW,
5a3872e
 				"No", "Yes", num);