lkml.org 
[lkml]   [2008]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: macbook pro dvd playback after suspend Buffer I/O error
On Wed, Jun 11, 2008 at 7:45 AM, Justin Mattock <justinmattock@gmail.com> wrote:
> On Wed, Jun 11, 2008 at 2:00 AM, Tejun Heo <htejun@gmail.com> wrote:
>> Andrew Morton wrote:
>>> On Fri, 4 Apr 2008 05:07:45 +0000 "Justin Mattock" <justinmattock@gmail.com> wrote:
>>>
>>>> When playing a DVD and then suspending the system while the DVD is
>>>> still in play, upon wakeup I'm receiving a Buffer I/O error on device
>>>> sr0, logical block 356490.
>>>> the DVD will continue to play but then gmplayer complains: Warning!
>>>> FPS changed 23.976 -> 29.970 (-5.994005) [4] then the video becomes
>>>> very choppy. When looking at osx in the same test the DVD will be
>>>> paused until the cd player aligns itself, then playback will start.
>>>> With looking further at this I think this is an issue of a library or
>>>> codec, So with this in mind is there a package that I might look at to
>>>> see if this resolves the issue. Attached is dmesg of the Buffer I/O
>>>> regards;
>>>
>>> An ata thing, I assume. Let's cc linux-ide.
>>>
>>> Is this new behaviour in 2.6.25-rc8, or were earlier kernels OK?
>>
>> This is due to UNIT ATTENTION condition triggered by reset during
>> resume. The following patches should fix it.
>>
>> http://marc.info/?l=linux-ide&m=121309016918976&w=2
>> http://marc.info/?l=linux-ide&m=121309016918979&w=2
>>
>> Thanks.
>>
>> --
>> tejun
>>
>
> alright!! I'll give that a test and see; give me some time right now
> it's midnight, and a couple of beer's in; so doing anything that
> requires
> thinking isn't going to happen, but tomorrow it will.
> regards;
>
> --
> Justin P. Mattock
>

O.K. I applied the patch here is what I'm seeing:

[ 920.237141] end_request: I/O error, dev sr0, sector 2931560
[ 920.237141] Buffer I/O error on device sr0, logical block 366445
[ 920.237141] Buffer I/O error on device sr0, logical block 366446
[ 920.237141] Buffer I/O error on device sr0, logical block 366447
[ 920.237141] Buffer I/O error on device sr0, logical block 366448
[ 920.237141] Buffer I/O error on device sr0, logical block 366449
[ 920.237141] Buffer I/O error on device sr0, logical block 366450
[ 920.237141] Buffer I/O error on device sr0, logical block 366451
[ 920.237141] Buffer I/O error on device sr0, logical block 366452
[ 920.237141] Buffer I/O error on device sr0, logical block 366453
[ 920.237141] Buffer I/O error on device sr0, logical block 366454
[ 925.431105] __ratelimit: 10100 messages suppressed
[ 925.431118] Buffer I/O error on device sr0, logical block 371516
[ 930.772658] __ratelimit: 2407 messages suppressed
[ 930.772658] Buffer I/O error on device sr0, logical block 372720
[ 935.674943] __ratelimit: 6995 messages suppressed
[ 935.674955] Buffer I/O error on device sr0, logical block 376218
[ 940.685317] __ratelimit: 16949 messages suppressed
[ 940.685329] Buffer I/O error on device sr0, logical block 384693
[ 945.770547] __ratelimit: 17881 messages suppressed
[ 945.770558] Buffer I/O error on device sr0, logical block 393634
[ 950.777243] __ratelimit: 19031 messages suppressed
[ 950.777243] Buffer I/O error on device sr0, logical block 403150
[ 955.788427] __ratelimit: 19035 messages suppressed
[ 955.788439] Buffer I/O error on device sr0, logical block 412668
[ 961.575327] __ratelimit: 16603 messages suppressed
[ 961.575338] Buffer I/O error on device sr0, logical block 420970
[ 1006.919733] __ratelimit: 9315 messages suppressed

Almost as if the drive is taking to long to think, by then the cache
has run out, and the FPS changes,
the movie itself doesn't become choppy like before, just freezes.
If you have any other ideas I'm up for that to see.
regards;

--
Justin P. Mattock


\
 
 \ /
  Last update: 2008-06-11 20:33    [W:0.062 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site