[stgt] stgt: backing store NULL sets uaddr to 0

Joe Eykholt jeykholt at cisco.com
Fri Aug 6 02:20:46 CEST 2010


Hi all,

When I add a LUN using btype NULL:

tgtadm --lld ftgt --op new --mode logicalunit --tid 1 --lun 2 -b null2 --bstype null

I get this failure in the kernel on every read:

[  711.424119] scsi_map_user_pages(378) Could not handle request of size 4096.
[  711.431907] scsi_tgt_kspace_exec(514) cmd ffff88045b628eb8 ret -22 uaddr 0 len 4096 rw 2

scsi_map_user_pages() doesn't like uaddr == 0.

Should this be fixed in the kernel or in tgtd?
I'm using tgt-1.0.5 (very lightly modified to add ftgt).

	Thanks,
	Joe
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list