Actually I'm not sure removing cmd_spdtl is the right answer. If /dev/sda is a device on an iSCSI initiator exported by an LIO target, try doing: # sg_raw -r512 /dev/sda 28 0 0 0 0 0 0 0 2 0 This issues a READ (10) for 2 sectors, but only sends a length of 512 at the transfer level. The target responds by setting the residual to 512 but transmits all 1024 bytes, and the Linux initiator at least rejects it because it hits: if (tcp_task->data_offset + tcp_conn->in.datalen > total_in_length) { ISCSI_DBG_TCP(conn, "data_offset(%d) + data_len(%d) > " "total_length_in(%d)\n", tcp_task->data_offset, tcp_conn->in.datalen, total_in_length); return ISCSI_ERR_DATA_OFFSET; } - R. -- 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