[lkml]   [2008]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [regression] CD-DA delay needed after insertion
    On Fri, 2008-06-13 at 13:57 +0200, Geert Uytterhoeven wrote:
    > We've found another regression in 2.6.25 w.r.t. CD media change on PS3.
    > It can easily be reproduced by:
    > 1. Inserting an audio CD
    > 2. Running the following command as soon as the blue CD/DVD/BD drive LED
    > stops blinking and is lit continuously:
    > cdparanoia -Z -q 1-1[:1] /dev/null || echo failed
    > On 2.6.25 (and current mainline), you have to wait ca. 10 seconds after
    > insertion, or it will fail.
    > On 2.6.24 and older, it just works immediately.
    > It does not matter whether
    > is applied or not.
    > We haven't bisected it yet.

    There aren't that many commits affecting sr between 2.6.24 and 2.6.25,
    so I'd bet on the previous culprits.

    This time, the taxonomy looks like NOT_READY isn't being waited for
    properly. I'd still tend to blame
    210ba1d1724f5c4ed87a2ab1a21ca861a915f734 it's just that this time I
    suspect this to be the problem line:

    if (sshdr.sense_key == NOT_READY && sshdr.asc == 0x04)
    return CDS_DISC_OK;

    Previously the code would have returned CDS_NO_DISC for the not ready
    case. The CD would have tried to close the door but (and this is the
    key) it would have waited for the door to close before trying again.


     \ /
      Last update: 2008-06-15 16:43    [W:0.036 / U:1.888 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site