lkml.org 
[lkml]   [2001]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: "sr: unaligned transfer" in 2.5.2-pre1
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:14    [W:0.023 / U:1.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site