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

Petr Titera (P.Titera@century.cz)
Thu, 27 Dec 2001 08:13:03 +0100


Peter Osterlund wrote:

> Hi!
>
> When trying to mount an ISO9660 CD on my USB CDRW unit, I get lots
> of "sr: unaligned transfer" messages from the kernel and the mount
> command fails. This message was added in kernel 2.5.1 and the
> sr_scatter_pad() function was removed at the same time. The comment
> above the message hints that unaligned transfers are (or were) a
> normal thing.
>
> I added a printk to get more information:
>
> sr: unaligned transfer
> sr: sector 64, s_size 2048, bufflen 1024
> sr: unaligned transfer
> sr: sector 68, s_size 2048, bufflen 1024
> sr: unaligned transfer
> sr: sector 72, s_size 2048, bufflen 1024
> ...
> sr: unaligned transfer
> sr: sector 396, s_size 2048, bufflen 1024
> Unable to identify CD-ROM format.
>
> So, what changes are needed to make CD support work?
>
>

Use -o block=2048 as your mount option. There is error in sr code
causing block sizes of CD-ROM drives to be incorrectly initialized to
1024 bytes.

Petr Titera
P.Titera@century.cz

-
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/