Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752122AbYFVIS6 (ORCPT ); Sun, 22 Jun 2008 04:18:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751031AbYFVISs (ORCPT ); Sun, 22 Jun 2008 04:18:48 -0400 Received: from vervifontaine.sonytel.be ([80.88.33.193]:49442 "EHLO vervifontaine.sonycom.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750980AbYFVISp (ORCPT ); Sun, 22 Jun 2008 04:18:45 -0400 Date: Sun, 22 Jun 2008 10:18:36 +0200 (CEST) From: Geert Uytterhoeven To: Alessandro Suardi cc: linux-scsi@vger.kernel.org, Linux Kernel Development , "James E.J. Bottomley" , Maarten Bressers , Daniel Drake , Cell Broadband Engine OSS Development Subject: Re: [Cbe-oss-dev] [regression/bisected] corrupt CD data after media change and delay In-Reply-To: <5a4c581d0806210718m77be63c9l444d8d7d7a5266bd@mail.gmail.com> Message-ID: References: <5a4c581d0806180147qf8fc731y527c79bfb73401b2@mail.gmail.com> <5a4c581d0806180515g5f24e9d9m85369bfa0a5f2228@mail.gmail.com> <5a4c581d0806210718m77be63c9l444d8d7d7a5266bd@mail.gmail.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-584349381-741793478-1214122716=:9736" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4268 Lines: 98 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---584349381-741793478-1214122716=:9736 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Sat, 21 Jun 2008, Alessandro Suardi wrote: > On Wed, Jun 18, 2008 at 2:15 PM, Alessandro Suardi > wrote: > > On Wed, Jun 18, 2008 at 1:13 PM, Geert Uytterhoeven > > wrote: > >> On Wed, 18 Jun 2008, Alessandro Suardi wrote: > >>> On Fri, Jun 13, 2008 at 7:33 PM, Geert Uytterhoeven > >>> wrote: > >>> > On Fri, 6 Jun 2008, Geert Uytterhoeven wrote: > >>> >> When mounting a CD/DVD more than 30 seconds after inserting it, and reading > >>> >> from it, we get: > >>> > > >>> > Apparently the fix didn't make it to all the CCed lists... > >>> > > >>> > http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fjejb%2Fscsi-rc-fixes-2.6.git;a=commitdiff_plain;h=d1daeabf0da5bfa1943272ce508e2ba785730bf0 > >>> > >>> Oh, that's in mainline ? I still have the problem of having to > >> > >> Not yet, it's in the scsi-rc-fixes-2.6 tree. > >> > >>> insert DVD / try accessing it and get errors / eject / re-insert > >>> and then it magically works... the messages have changed > >>> from what they were as reported here > >>> > >>> http://bugzilla.kernel.org/show_bug.cgi?id=10116 > >>> > >>> (see comments #8 and #9) to these ones, in 2.6.26-rc6-git4: > >>> > >>> Jun 17 22:38:43 sandman kernel: sr 1:0:0:0: [sr0] Result: > >>> hostbyte=0x00 driverbyte=0x08 > >>> Jun 17 22:38:43 sandman kernel: sr 1:0:0:0: [sr0] Sense Key : 0x3 [current] > >>> Jun 17 22:38:43 sandman kernel: sr 1:0:0:0: [sr0] ASC=0x11 ASCQ=0x0 > >>> Jun 17 22:38:43 sandman kernel: end_request: I/O error, dev sr0, sector 232 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 29 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 30 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 31 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 32 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 33 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 34 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 35 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 36 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 37 > >>> Jun 17 22:38:43 sandman kernel: Buffer I/O error on device sr0, logical block 38 > >>> > >>> here I eject and reinsert the disc, and: > >>> > >>> Jun 17 22:39:10 sandman kernel: UDF-fs: No VRS found > >>> > >>> lo and behold, no problem. > >>> > >>> This does not, alas, happen every time. It might be at the first > >>> DVD access after booting the laptop, but I haven't investigated > >>> in this detail yet. > >> > >> Does /sys/block/sr0/size reflect the correct size of the DVD? > >> > >> Did you try applying the patch? > > > > ATM I'm away from home (as usual), I'll post back when > > I have the info you asked for and tried applying the > > above patch. Thanks ! > > Sigh. I haven't been able to reproduce the problem once since > I posted this. Will keep trying... Perhaps because the fix is now in mainline? 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-741793478-1214122716=:9736-- -- 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/