Hi,
I want to report an error in target. I am trying to confirm SNACK-R2T
that the target properly responds to a SNACK request. Whenever I
am putting runLength>0 it is crashing the target (machine reboot).
Sequence of PDU is like below.
I->T SCSI WRITE Command for 512B // Send out write
T->I R2T // Got R2T.
I->T SNACK BegRun=0 RunLength=1 // This crashes the Target.
/*
Send out SNACK
BegRun = First PDU whose retransmission is requested. (r2tsn)
RunLength = Number of PDU whose retransmission is requested.
*/
However, if the begrun and runlength is modified to 0 (Send all) it works.
I->T SCSI WRITE Command for 512B // Send out write
T->I R2T // Got R2T.
I->T SNACK BegRun=0 RunLength=0 // Works correctly.
My Machine Details.
[root@localhost test_suite_iscsi]# cat /sys/kernel/config/target/version
Target Engine Core ConfigFS Infrastructure v4.1.0-rc2-ml on Linux/x86_64
on 3.10.13-101.fc18.x86_64
[root@localhost test_suite_iscsi]#
[root@localhost test_suite_iscsi]# uname -a
Linux localhost.localdomain 3.10.13-101.fc18.x86_64 #1 SMP Fri Sep 27
20:22:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost test_suite_iscsi]#
Thanks,
Arshad
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html