Re: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)

2009-12-14 Thread Anuarg Vora
I have got a reproducible test case for this.
It seems that SCSI layer returns DID_BUS_BUSY many times when 'conn error 
(1011)' is seen.

for p in `ls /dev/sd*`
do
dd if=$p of=/dev/zero count=1 
done
wait

# ./io-script
1+0 records in
1+0 records out
512 bytes (5.1 MB) copied, 0.177076 seconds, 28.9 MB/s

dd: reading `/dev/sdaa8': Input/output error
2976+0 records in
2976+0 records out

Dec 14 11:15:12 cdc-r710s3 iscsid: Kernel reported iSCSI connection 1:0 error 
(1011) state (3)
Dec 14 11:15:13 cdc-r710s3 kernel:  connection2:0: detected conn error (1011)
Dec 14 11:15:13 cdc-r710s3 iscsid: connection2:0 is operational after recovery 
(1 attempts)
Dec 14 11:15:13 cdc-r710s3 iscsid: Kernel reported iSCSI connection 2:0 error 
(1011) state (3)
Dec 14 11:15:14 cdc-r710s3 kernel:  connection1:0: detected conn error (1011)
...
Dec 14 11:15:14 cdc-r710s3 kernel: sd 9:0:0:13: SCSI error: return code = 
0x0002  == DID_BUS_BUSY
Dec 14 11:15:14 cdc-r710s3 kernel: end_request: I/O error, dev sdaa, sector 2976

I am unable to upload ethereal on 
http://groups-beta.google.com/group/open-iscsi/files

Regards,
Anurag

--- On Fri, 12/11/09, Anuarg Vora anurag_vo...@yahoo.com wrote:

 From: Anuarg Vora anurag_vo...@yahoo.com
 Subject: Re: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)
 To: open-iscsi@googlegroups.com
 Date: Friday, December 11, 2009, 12:22 AM
 Sorry, I do not see an upload option
 for me even after (signing-in).
 How to upload ?
 
 --- On Thu, 12/10/09, Mike Christie micha...@cs.wisc.edu
 wrote:
 
  From: Mike Christie micha...@cs.wisc.edu
  Subject: Re: SLES10 SP3 x86_64 - connection2:0:
 detected conn error (1011)
  To: open-iscsi@googlegroups.com
  Date: Thursday, December 10, 2009, 11:39 PM
  Anuarg Vora wrote:
   I did sent the ethereal trace yesterday.
   I am not sure why it didn't reach, is there any
 place
  I can upload it ?
   
  
  http://groups-beta.google.com/group/open-iscsi/files
  
  --
  
  You received this message because you are subscribed
 to the
  Google Groups open-iscsi group.
  To post to this group, send email to open-is...@googlegroups.com.
  To unsubscribe from this group, send email to
 open-iscsi+unsubscr...@googlegroups.com.
  For more options, visit this group at 
  http://groups.google.com/group/open-iscsi?hl=en.
  
  
  
 
 
       
 
 --
 
 You received this message because you are subscribed to the
 Google Groups open-iscsi group.
 To post to this group, send email to open-is...@googlegroups.com.
 To unsubscribe from this group, send email to 
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/open-iscsi?hl=en.
 
 
 


  

--

You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.




Re: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)

2009-12-11 Thread Anuarg Vora
Sorry, I do not see an upload option for me even after (signing-in).
How to upload ?

--- On Thu, 12/10/09, Mike Christie micha...@cs.wisc.edu wrote:

 From: Mike Christie micha...@cs.wisc.edu
 Subject: Re: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)
 To: open-iscsi@googlegroups.com
 Date: Thursday, December 10, 2009, 11:39 PM
 Anuarg Vora wrote:
  I did sent the ethereal trace yesterday.
  I am not sure why it didn't reach, is there any place
 I can upload it ?
  
 
 http://groups-beta.google.com/group/open-iscsi/files
 
 --
 
 You received this message because you are subscribed to the
 Google Groups open-iscsi group.
 To post to this group, send email to open-is...@googlegroups.com.
 To unsubscribe from this group, send email to 
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/open-iscsi?hl=en.
 
 
 


  

--

You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.




RE: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)

2009-12-10 Thread Anuarg Vora
There is no CHAP configured on the array.


--- On Thu, 12/10/09, berthiaume_wa...@emc.com berthiaume_wa...@emc.com wrote:

 From: berthiaume_wa...@emc.com berthiaume_wa...@emc.com
 Subject: RE: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)
 To: open-iscsi@googlegroups.com
 Date: Thursday, December 10, 2009, 7:29 AM
 Is CHAP configured on the array? 
 
 -Original Message-
 From: open-iscsi@googlegroups.com
 [mailto:open-is...@googlegroups.com]
 On Behalf Of Mike Christie
 Sent: Wednesday, December 09, 2009 9:54 PM
 To: open-iscsi@googlegroups.com
 Subject: Re: SLES10 SP3 x86_64 - connection2:0: detected
 conn error
 (1011)
 
 avora wrote:
  I do not see ping/nop timeout message in the logs
  (probably that's why changing the noop timeouts did
 not work).
  Simply starting the session does not cause these
 errors.
  On starting the second session, I start a daemon
  that does SCSI commands like INQUIRY on all the
 paths.
  After that I see these messages, and the daemon gets
 stuck
  for a very long time waiting for SCSI commands to
 finish.
  
  At the backend I have EMC CLARiiON.
  
  # iscsiadm -m node -P 1
  Target: iqn.1992-04.com.emc:cx.ckm00091100683.a2
          Portal:
 192.168.10.1:3260,1
              
    Iface Name: iface0
  Target: iqn.1992-04.com.emc:cx.ckm00091100683.b2
          Portal:
 192.168.12.1:3260,3
              
    Iface Name: iface1
 
 
 Does the same path always fail?
 
 If you log into one can you use it, then if you logout and
 log into the 
 other does that other one then work?
 
 Is there any info the clarrion logs?
 
 --
 
 You received this message because you are subscribed to the
 Google
 Groups open-iscsi group.
 To post to this group, send email to open-is...@googlegroups.com.
 To unsubscribe from this group, send email to
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/open-iscsi?hl=en.
 
 
 
 --
 
 You received this message because you are subscribed to the
 Google Groups open-iscsi group.
 To post to this group, send email to open-is...@googlegroups.com.
 To unsubscribe from this group, send email to 
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/open-iscsi?hl=en.
 
 
 


  

--

You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.




Re: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)

2009-12-10 Thread Anuarg Vora
I did sent the ethereal trace yesterday.
I am not sure why it didn't reach, is there any place I can upload it ?

There is only 1 initiator.

# iscsiadm -m session -P 1
Target: iqn.1992-04.com.emc:cx.ckm00091100683.a3
Current Portal: 192.168.11.1:3260,2
Persistent Portal: 192.168.11.1:3260,2
**
Interface:
**
Iface Name: iface0
Iface Transport: tcp
Iface Initiatorname: iqn.1996-04.de.suse:02:9914ca52960
Iface IPaddress: 192.168.11.11
Iface HWaddress: 00:15:17:A8:A9:1E
Iface Netdev: eth0
SID: 10
iSCSI Connection State: TRANSPORT WAIT
iSCSI Session State: FAILED
Internal iscsid Session State: REPOEN
Target: iqn.1992-04.com.emc:cx.ckm00091100683.b3
Current Portal: 192.168.13.1:3260,4
Persistent Portal: 192.168.13.1:3260,4
**
Interface:
**
Iface Name: iface1
Iface Transport: tcp
Iface Initiatorname: iqn.1996-04.de.suse:02:9914ca52960
Iface IPaddress: 192.168.13.11
Iface HWaddress: 00:15:17:A8:A9:1F
Iface Netdev: eth1
SID: 11
iSCSI Connection State: TRANSPORT WAIT
iSCSI Session State: FAILED
Internal iscsid Session State: REPOEN


--- On Thu, 12/10/09, Mike Christie micha...@cs.wisc.edu wrote:

 From: Mike Christie micha...@cs.wisc.edu
 Subject: Re: SLES10 SP3 x86_64 - connection2:0: detected conn error (1011)
 To: open-iscsi@googlegroups.com
 Date: Thursday, December 10, 2009, 11:22 PM
 avora wrote:
  Yes Mike, the recovery message is seen right away.
  
  Dec  7 18:42:06 cdc-r710s1 iscsid: connection2:0
 is operational after
  recovery (1 attempts)
  
  'conn error' and 'recovery' are seen one after the
 other, continuosly.
  
 
 Do you have other initiators connected to the target?
 
 Can you get me a wireshark trace?
 
 --
 
 You received this message because you are subscribed to the
 Google Groups open-iscsi group.
 To post to this group, send email to open-is...@googlegroups.com.
 To unsubscribe from this group, send email to 
 open-iscsi+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/open-iscsi?hl=en.
 
 
 


  

--

You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.