makemkvcon hangs indefinitely during drive capability auto-detection ("SDF auto") with disc loaded via USB Blu-ray enclo
Posted: Sun Sep 06, 2026 1:38 pm
System:
- Debian 13 (trixie), kernel 6.12.107+deb13-amd64
- MakeMKV 1.18.4, built from source (makemkv-oss + makemkv-bin), GUI (Qt5) + makemkvcon
Drive: ASUS BW-16D1HT, firmware 3.11
Enclosure: OWC Mercury Pro Optical (USB bridge, VID:PID 1e91:de2c)
Symptom:
`makemkvcon -r info disc:0` hangs indefinitely with no output beyond the
startup message. Debug log (--debug=) shows it hangs right after starting
automatic drive-capability detection:
No SDF v0a6: ASUS_BW-16D1HT_3.11_212012011759_KL5P48B5603
SDF auto v0a6: ASUS_BW-16D1HT_3.11_212012011759_KL5P48B5603
No further lines are ever written after "SDF auto ...". Full debug log
attached (MakeMKV_log.txt). Reproduced consistently across two different
commercial Blu-ray discs.
What I've ruled out:
- Empty drive tray: works instantly and correctly (full DRV: listing,
clean error for invalid disc index). Only hangs once a disc is
physically loaded and this auto-detection step is reached.
- Root privileges: `sudo makemkvcon -r info disc:0` hangs identically.
Rules out CAP_SYS_RAWIO / SG_IO permission restrictions.
- USB speed: tested at both USB 3.0 (5000M, native port) and USB 2.0
(480M, via a USB2-only port). Identical hang in both cases.
- Kernel quirks: checked drivers/usb/storage/unusual_devs.h and
unusual_uas.h (v6.12) — no entry for VID 1e91. Driver bound is plain
`usb-storage` (Bulk-Only Transport, bInterfaceProtocol=80); the device
offers no UAS alternate interface at all.
- KEYDB.cfg: tested both with and without a KEYDB.cfg present in
~/.MakeMKV/ — no difference in behavior.
- Competing processes: `lsof /dev/sr0 /dev/sg0` shows no other process
holding the device; udisks2 is running but not actively polling during
the test.
- Drive power-cycle (full unplug/replug of the enclosure): no change.
Kernel-level observation:
`sudo dmesg -w` shows *zero* new lines during the entire hang — no USB
resets, no SCSI errors/timeouts, nothing. The kernel/USB layer appears
completely unaware of any problem.
Process behavior during hang:
`ps -o pid,stat,wchan,pcpu` shows the makemkvcon process at ~98-100% CPU,
wchan cycling through `hrtimer_nanosleep` — consistent with an
application-level poll/retry loop rather than a blocked kernel I/O wait.
/proc/<pid>/fd shows an open handle on /dev/sg0.
Cross-check:
- The exact same drive + exact same enclosure works correctly with
MakeMKV on Windows.
- VLC (libbluray/libaacs/libbdplus) on this same Linux machine reads,
decrypts and plays the same disc through the same drive without
issue, so the disc and drive are not physically at fault.
My guess: the "SDF auto" drive-capability probe (LibreDrive detection?)
sends a vendor-specific command sequence that this particular USB bridge
either doesn't pass through correctly or responds to in a way the Linux
build doesn't handle (no kernel-level error is generated either way, so
whatever is sent/received "succeeds" at the transport level but the
parsing/state machine on the MakeMKV side never completes). Happy to
provide strace or any other diagnostics if useful.
regards
Einkauf
- Debian 13 (trixie), kernel 6.12.107+deb13-amd64
- MakeMKV 1.18.4, built from source (makemkv-oss + makemkv-bin), GUI (Qt5) + makemkvcon
Drive: ASUS BW-16D1HT, firmware 3.11
Enclosure: OWC Mercury Pro Optical (USB bridge, VID:PID 1e91:de2c)
Symptom:
`makemkvcon -r info disc:0` hangs indefinitely with no output beyond the
startup message. Debug log (--debug=) shows it hangs right after starting
automatic drive-capability detection:
No SDF v0a6: ASUS_BW-16D1HT_3.11_212012011759_KL5P48B5603
SDF auto v0a6: ASUS_BW-16D1HT_3.11_212012011759_KL5P48B5603
No further lines are ever written after "SDF auto ...". Full debug log
attached (MakeMKV_log.txt). Reproduced consistently across two different
commercial Blu-ray discs.
What I've ruled out:
- Empty drive tray: works instantly and correctly (full DRV: listing,
clean error for invalid disc index). Only hangs once a disc is
physically loaded and this auto-detection step is reached.
- Root privileges: `sudo makemkvcon -r info disc:0` hangs identically.
Rules out CAP_SYS_RAWIO / SG_IO permission restrictions.
- USB speed: tested at both USB 3.0 (5000M, native port) and USB 2.0
(480M, via a USB2-only port). Identical hang in both cases.
- Kernel quirks: checked drivers/usb/storage/unusual_devs.h and
unusual_uas.h (v6.12) — no entry for VID 1e91. Driver bound is plain
`usb-storage` (Bulk-Only Transport, bInterfaceProtocol=80); the device
offers no UAS alternate interface at all.
- KEYDB.cfg: tested both with and without a KEYDB.cfg present in
~/.MakeMKV/ — no difference in behavior.
- Competing processes: `lsof /dev/sr0 /dev/sg0` shows no other process
holding the device; udisks2 is running but not actively polling during
the test.
- Drive power-cycle (full unplug/replug of the enclosure): no change.
Kernel-level observation:
`sudo dmesg -w` shows *zero* new lines during the entire hang — no USB
resets, no SCSI errors/timeouts, nothing. The kernel/USB layer appears
completely unaware of any problem.
Process behavior during hang:
`ps -o pid,stat,wchan,pcpu` shows the makemkvcon process at ~98-100% CPU,
wchan cycling through `hrtimer_nanosleep` — consistent with an
application-level poll/retry loop rather than a blocked kernel I/O wait.
/proc/<pid>/fd shows an open handle on /dev/sg0.
Cross-check:
- The exact same drive + exact same enclosure works correctly with
MakeMKV on Windows.
- VLC (libbluray/libaacs/libbdplus) on this same Linux machine reads,
decrypts and plays the same disc through the same drive without
issue, so the disc and drive are not physically at fault.
My guess: the "SDF auto" drive-capability probe (LibreDrive detection?)
sends a vendor-specific command sequence that this particular USB bridge
either doesn't pass through correctly or responds to in a way the Linux
build doesn't handle (no kernel-level error is generated either way, so
whatever is sent/received "succeeds" at the transport level but the
parsing/state machine on the MakeMKV side never completes). Happy to
provide strace or any other diagnostics if useful.
regards
Einkauf