On Mon, 2011-11-14 at 00:16 -0500, lists wrote: > Hi, > Greetings fil, > I am not sure if this the correct place to post an issues with new LIO > TCM target code. I am using fedora 16 (3.1.0-7.fc16.x86_64) and every > time I try to setup multi-pathing my target server crashes. Any help > would be much appreciated. > > thanks > fil > > here is the crash > Thanks for reporting! > [ 1026.964899] TARGET_CORE[iSCSI]: Expected Transfer Length: 4096 does > not match SCSI CDB Length: 512 for SAM Opcode: 0x28 > [ 1026.967700] BUG: unable to handle kernel NULL pointer dereference at > 000000000000000c > [ 1026.968631] IP: [<ffffffffa0356063>] iscsit_map_iovec+0x54/0xf6 > [iscsi_target_mod] So it looks like the v3.1 conversion of iscsi-target to use SGL <-> iovec may have a problem with the handling a sub PAGE_SIZE requests generated by a CDB length vs. iSCSI expected data transfer length (EDTL) underflow. I'll take a look at reproducing this crash soon and see what needs to be done to properly handle this special case. Also just to verify, please send the output of your 'head /sys/kernel/config/target/core/$HBA/$DEV/attrib/*' so I can verify what the backend in question looks like. Thanks, --nab -- 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