Re: [regression] CD-DA delay needed after insertion

Pat Read
2008-06-18T05:19:00Z

> 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
> http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fjejb%2Fscsi-rc-fixes-2.6.git;a=commitdiff_plain;h=d1daeabf0da5bfa1943272ce508e2ba785730bf0
> is applied or not.
>
> We haven't bisected it yet.
>
> With kind regards,
>
> Geert Uytterhoeven
> Software Architect
>
> Sony Techsoft Centre
> The Corporate Village Â· Da Vincilaan 7-D1 Â· B-1935 Zaventem Â· Belgium
>
> Phone: +32 (0)2 700 8453
> Fax: +32 (0)2 700 8622
> E-mail: Geert.Uytterhoeven@sonycom.com
> Internet: http://www.sony-europe.com/
>
> Sony Technology and Software Centre Europe
> A division of Sony Service Centre (Europe) N.V.
> Registered office: Technologielaan 7 Â· B-1840 Londerzeel Â· Belgium
> VAT BE 0413.825.160 Â· RPR Brussels
> Fortis 293-0376800-10 GEBA-BE-BB
> ---584349381-1822578177-1213358241=:2141--

Curious, might someone look at
http://bugzilla.kernel.org/show_bug.cgi?id=10901 and tell me if this
is the same issue as the above regression?

I'm currently looking at the sr_test_unit_ready() function in
drivers/scsi/sr.c (as this is new to 2.6.25), although Tejun Heo seems
skeptical that the TUR functions are the source of this issue (based
on his latest comment in Bugzilla tracker). Thanks also to Tejun for
pointing me to this thread.

Thanks,
Patrick A. Read