Mike Christie wrote:
> swejis wrote:
>> Hello everyone. I'm not very experienced with iscsi, so please excuse
>> me if asking stupid questions.
>>
>> I'm evaluation opensuse 11 (Beta1) for my servers and have found some
>> worrying errors in the log. The following error quite frequently shows
>> up.
>>
>> May  5 21:15:05 manjula klogd:  connection1:0: ping timeout of 5 secs
>> expired, last rx 4626267449, last ping 4626264949, now 4626269949
>> May  5 21:15:05 manjula klogd:  connection1:0: detected conn error
>> (1011)
>> May  5 21:15:05 manjula iscsid: Kernel reported iSCSI connection 1:0
>> error (1011) state (3)
>> May  5 21:15:09 manjula iscsid: connection1:0 is operational after
>> recovery (1 attempts)
>>
> 
> Could you send me the /boot/config-2.6.whatever-kernel-version-you-are-using
> 

Could you also use the attached patch, and send the output? It should 
look similar to the above, but I added one more value to be printed out. 
Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

--- linux-2.6.25/drivers/scsi/libiscsi.c.orig	2008-05-05 16:08:16.000000000 -0500
+++ linux-2.6.25/drivers/scsi/libiscsi.c	2008-05-05 16:09:18.000000000 -0500
@@ -1369,8 +1369,9 @@ static void iscsi_check_transport_timeou
 			   jiffies)) {
 		iscsi_conn_printk(KERN_ERR, conn, "ping timeout of %d secs "
 				  "expired, last rx %lu, last ping %lu, "
-				  "now %lu\n", conn->ping_timeout, last_recv,
-				  conn->last_ping, jiffies);
+				  "now %lu recv %lu\n", conn->ping_timeout,
+				  last_recv, conn->last_ping, jiffies,
+				  last_recv + timeout + (conn->ping_timeout * HZ));
 		spin_unlock(&session->lock);
 		iscsi_conn_failure(conn, ISCSI_ERR_CONN_FAILED);
 		return;

Reply via email to