Re: macbook pro dvd playback after suspend Buffer I/O error

From: Tejun Heo
Date: Tue Jun 10 2008 - 22:00:42 EST


Andrew Morton wrote:
> On Fri, 4 Apr 2008 05:07:45 +0000 "Justin Mattock" <justinmattock@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/