Re: "sr: unaligned transfer" in 2.5.2-pre1

Jens Axboe (axboe@suse.de)
Mon, 31 Dec 2001 12:51:57 +0100


On Sun, Dec 30 2001, Matthew Dharm wrote:
> If it shouldn't be used, it should be removed from the structure to force
> people to change.

It will be soonish. Davem has practically finished this already.

> This is probably why usb-storage broke, and it wasn't obvious to me what
> went wrong.

It's been discussed here before, both wrt 2.5 and 2.4 with the block
highmem patches.

> So now I guess I need to either (a) compute the address for the USB layer,
> or (b) figure out how to pass the memory parameters directly, so we can use
> highmem.

If you don't set highmem_io in the scsi host structure, then you can
always do

vaddr = page_address(sg->page) + sg->offset;

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/