Bug 1781762

Summary: Read on a Copy Protected DVD results in Seek Errors
Product: [Fedora] Fedora Reporter: Steven A. Falco <stevenfalco>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: airlied, bskeggs, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, labbott, linville, masami256, mchehab, mjg59, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-06 20:55:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[PATCH 1/2] bdev: Factor out bdev revalidation into a common helper
none
[PATCH 2/2] bdev: Refresh bdev size for disks without partitioning none

Description Steven A. Falco 2019-12-10 14:25:13 UTC
As described in https://bugzilla.kernel.org/show_bug.cgi?id=194965 there is a bug which results in failures when reading certain DVDs.  This is caused by a failure to properly detect the size of the DVD.

I am having this problem with kernel-5.3.14 in F31.

I tried building a new kernel incorporating the patches noted in comments 41 and 42 of the aforementioned bug, and that fixes the problem for me.

The fix has been applied upstream.  Please see commits 731dc4868311 and cba22d86e0a10 in Linus' tree (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git).

It would be great if these two patches could be added to Fedora 31.

Comment 1 Steven A. Falco 2019-12-10 15:10:53 UTC
Created attachment 1643658 [details]
[PATCH 1/2] bdev: Factor out bdev revalidation into a common helper

Comment 2 Steven A. Falco 2019-12-10 15:11:33 UTC
Created attachment 1643659 [details]
[PATCH 2/2] bdev: Refresh bdev size for disks without partitioning

Comment 3 Laura Abbott 2019-12-10 16:28:44 UTC
I queued this up to come in with the 5.4 rebase and also asked for it to be queued up in stable releases. I'd expect this sometime next week (bug should get updated when a build is available)

Comment 4 Steven A. Falco 2019-12-10 16:47:48 UTC
Excellent!  Thanks so much!

Comment 5 Steven A. Falco 2020-01-06 20:37:49 UTC
Tested with 5.4.7-200.fc31.x86_64 and the problem has been corrected.  Please close the bug at your convenience.

Comment 6 Laura Abbott 2020-01-06 20:55:52 UTC
Thanks for letting us know