I have problem with booting DELL r620 from LIO-Target. DELL server have NIC Broadcom 57800. I try to boot it from fedora 19 with lio-target. Linux nas.localhost 3.11.8-200.fc19.x86_64 #1 SMP Wed Nov 13 16:29:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux lio config : o- / ......................................................................................................................... [...] o- backstores .............................................................................................................. [...] | o- block .................................................................................................. [Storage Objects: 0] | o- fileio ................................................................................................. [Storage Objects: 1] | | o- vol0 ..................................................................... [/mnt/shares/vol0 (9.3GiB) write-back activated] | o- pscsi .................................................................................................. [Storage Objects: 0] | o- ramdisk ................................................................................................ [Storage Objects: 0] o- iscsi ............................................................................................................ [Targets: 1] | o- iqn.1999-01.xx.xx:boot1 ....................................................................................... [TPGs: 1] | o- tpg1 ............................................................................................... [no-gen-acls, no-auth] | o- acls .......................................................................................................... [ACLs: 1] | | o- iqn.1999-01.local.int:server.2.nic.2 ................................................................. [Mapped LUNs: 1] | | o- mapped_lun0 ................................................................................. [lun0 fileio/vol0 (rw)] | o- luns .......................................................................................................... [LUNs: 1] | | o- lun0 ................................................................................. [fileio/vol0 (/mnt/shares/vol0)] | o- portals .................................................................................................... [Portals: 1] | o- 192.168.xx.xx:3260 .............................................................................................. [OK] o- loopback ......................................................................................................... [Targets: 0] o- vhost ............................................................................................................ [Targets: 0] dmesg : [23733.006030] ISCSI_FLAG_CMD_READ or ISCSI_FLAG_CMD_WRITE set when Expected Data Transfer Length is 0 for CDB: 0x00. Bad iSCSI Initiator. [24873.892031] ISCSI_FLAG_CMD_READ or ISCSI_FLAG_CMD_WRITE set when Expected Data Transfer Length is 0 for CDB: 0x00. Bad iSCSI Initiator. When I switch to scst i have no problem with this - server login to target and boot properly. This portion of code makes some problems if (((hdr->flags & ISCSI_FLAG_CMD_READ) || @@ -865,8 +852,8 @@ int iscsit_setup_scsi_cmd(struct iscsi_c pr_err("ISCSI_FLAG_CMD_READ or ISCSI_FLAG_CMD_WRITE" " set when Expected Data Transfer Length is 0 for" " CDB: 0x%02x. Bad iSCSI Initiator.\n", hdr->cdb[0]); - return iscsit_add_reject_from_cmd(ISCSI_REASON_BOOKMARK_INVALID, - 1, 1, buf, cmd); + return iscsit_add_reject_cmd(cmd, + ISCSI_REASON_BOOKMARK_INVALID, buf); } done: but i have no idea what should i change on target configuration to resolve this problem. -- 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