lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 11 Jun 2008 18:31:17 +0000
From:	"Justin Mattock" <justinmattock@...il.com>
To:	"Tejun Heo" <htejun@...il.com>
Cc:	"Andrew Morton" <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org
Subject: Re: macbook pro dvd playback after suspend Buffer I/O error

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ