Skip to contentSkip to conversation

New: Hang when reading encrypted DVD

Bug 207327 [email protected] 1 participant 1 message Apr 17, 2020 USB

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=207327

            Bug ID: 207327
           Summary: Hang when reading encrypted DVD
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.5.15-200.fc31.x86_64
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

This redhat bug has a huge collection of comments analyzing the problem.

https://bugzilla.redhat.com/show_bug.cgi?id=1822948

It comes down to two issues:

1. Reading an encrypted sector on a commercial movie DVD simply generates a scsi error with a directly connected sata drive, but put that same drive in an external USB enclosure and read the same sector, and the read seems to hang and leave the drive unusable.

2. systemd-udevd apparently decides to randomly read sectors, thus causing the drive to be useless as soon as you insert a movie DVD.

Probably udevd shouldn't be doing that, but it also seems like it should be getting an error rather than a hung process, which seems like a kernel bug (unless it is a fundamental flaw in usb enclosures. I tried two different ones with the same results, though they may be using the same chipset).

Comment 99 in the redhat bug has a somewhat more detailed summary:

https://bugzilla.redhat.com/show_bug.cgi?id=1822948#c99

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.