I followed the howto http://tldp.org/HOWTO/SCSI-Generic-HOWTO/scsi_snd_cmd.html to pass through scsi cmd with data (self defined,target can handle it) to iscsi disk. however,the request was handled six times ,I checked the log ,the reason is shown below. The connection failed and recovered six times ,and I tested many times ,each time ,the same :six times! I'm newbie to scsi program. Any idea that can cause this problem ?
error occurred in function iscsi_data_rsp tcp debug infomations show below : ....................................... Sep 27 09:37:01 localhost kernel: tcp: skb dfab65c0 ptr=da5a5a54 avail=60 Sep 27 09:37:01 localhost kernel: tcp: copied 0 0 size 48 recv Sep 27 09:37:01 localhost kernel: tcp: iscsi_tcp_segment_recv copying 48 Sep 27 09:37:01 localhost kernel: tcp: copied 0 48 size 48 recv Sep 27 09:37:01 localhost kernel: tcp: iscsi_tcp_segment_unmap cb76be10 Sep 27 09:37:01 localhost kernel: tcp: total copied 48 total size 48 Sep 27 09:37:01 localhost kernel: tcp: segment done Sep 27 09:37:01 localhost kernel: tcp: opcode 0x25 ahslen 0 datalen 12 Sep 27 09:37:01 localhost kernel: tcp: iscsi_data_rsp: ctask- >exp_datasn(1) != rhdr->datasn(0) Sep 27 09:37:01 localhost kernel: tcp: Error receiving PDU, errno=1001 Sep 27 09:37:01 localhost kernel: connection1:0: detected conn error (1011) Sep 27 09:37:01 localhost kernel: tcp: iscsi_tcp_segment_unmap cb76be10 Sep 27 09:37:01 localhost iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3) Sep 27 09:37:03 localhost kernel: tcp: iscsi_tcp_hdr_recv_prep (cb76be00) Sep 27 09:37:03 localhost kernel: tcp: iscsi_tcp_send_hdr_prep (cb76be00) ..................................... --~--~---------~--~----~------------~-------~--~----~ 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 open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---