Drive fails on UHD on Linux

The place to discuss linux version of MakeMKV
kenwilliams5
Posts: 6
Joined: Wed Nov 25, 2026 5:43 am

Drive fails on UHD on Linux

Post by kenwilliams5 »

I don't know exactly where to start, but I have a USB drive that worked fine under Windows and I have ripped many UHD movies.
I decided to move away from Windows and loaded Linux Mint. I loaded MakeMKV v2.0.0 linux(x64-release) and it works fine for Bluray, but errors out on UHD disks.

I get a lot of:
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - KEY NOT PRESENT' occurred while issuing SCSI command A40..0020..07F to device 'SG:dev_21:0'
errors, and at the end, it says:
Can't read AACS VID from disc - most likely current AACS host certificate is revoked by your drive
Downloading latest HK to /home/ken/.MakeMKV ...
and just sits there.

I wouldn't think it's the firmware on the drive, since it work flawlessly on Windows.

Anyone have any ideas?

Thanks in advance
tomty89
Posts: 258
Joined: Sun Dec 13, 2020 8:48 am

Re: Drive fails on UHD on Linux

Post by tomty89 »

just sits there
"Downloading latest HK" could be really slow, especially for the first sync. You can e.g. `watch du` the private data tar file in ~/.MakeMKV to see if its size is actually growing to find out whether it is really "sitting there" or not (and how fast/slow the download is).

Using a VPN (with a Russia server/node) might help.

---

The errors might not actually matter. It could be just "red herring", although they shouldn't show up if you are using a LibreDrive (and that the support isn't "blocked" by a lame USB bridge). Also better switch to 1.18.4 since 2.0.0 is somewhat broken anyway.
kenwilliams5
Posts: 6
Joined: Wed Nov 25, 2026 5:43 am

Re: Drive fails on UHD on Linux

Post by kenwilliams5 »

Thanks for the response.

You are correct...after a while the .tgz file was created. The lines after that are:
LibreDrive compatible drive is required to open this disc - video can't be decrypted.
Failed to open disc
I cannot find the 1.1.18.4 version for Linux is!! If you know where I could get it, I'll try that.

I just think it's strange that the same drive worked with Windows, but not with Linux.

Thanks again...
tomty89
Posts: 258
Joined: Sun Dec 13, 2020 8:48 am

Re: Drive fails on UHD on Linux

Post by tomty89 »

https://makemkv.com/download/old/

So what's the drive model after all? Can you copy the the drive information text (NOT screenshot) and post it here? (Also, do you see obvious difference / LibreDrive information when in Windows?)
kenwilliams5
Posts: 6
Joined: Wed Nov 25, 2026 5:43 am

Re: Drive fails on UHD on Linux

Post by kenwilliams5 »

Here is the drive information from the MakeMKV screen:
Drive Information
OS device name: /dev/sr0
Current profile: BD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE BU40N
Revision: 1.04
Serial number: MODLC2F3736
Firmware date: 2120-05-06 11:42
Bus encryption flags: 17
Highest AACS version: 82

LibreDrive Information
Status: Enabled
Drive platform: MT1959
Firmware type: Patched (microcode access re-enabled)
Firmware version: 1.04
DVD all regions: Yes
BD raw data read: Yes
BD raw metadata read: Yes
Unrestricted read speed: Yes
And I couldn't tell you what the Windows version had...I didn't ever record it and Windows crashed on me so I loaded Linux!!

I got the old source and will compile it and let you know how it works.

Thanks again for the help
kenwilliams5
Posts: 6
Joined: Wed Nov 25, 2026 5:43 am

Re: Drive fails on UHD on Linux

Post by kenwilliams5 »

After compiling and running 1.18.4 version, I still get errors. This is what it says at the end of the errors:
Can't read AACS VID from disc - most likely current AACS host certificate is revoked by your drive
Saved AACS dump file as /home/ken/.MakeMKV/MKB20_v82_F1_FBFB.tgz
LibreDrive compatible drive is required to open this disc - video can't be decrypted.
Failed to open disc
Any more ideas?

I really do appreciate your help!
MrPenguin
Posts: 1987
Joined: Thu Oct 19, 2023 11:31 pm

Re: Drive fails on UHD on Linux

Post by MrPenguin »

kenwilliams5 wrote: Wed Nov 25, 2026 9:31 pm
Can't read AACS VID from disc - most likely current AACS host certificate is revoked by your drive
Saved AACS dump file as /home/ken/.MakeMKV/MKB20_v82_F1_FBFB.tgz
LibreDrive compatible drive is required to open this disc - video can't be decrypted.
Your drive could not enable LibreDrive, and so failed to disable bus encryption.
kenwilliams5
Posts: 6
Joined: Wed Nov 25, 2026 5:43 am

Re: Drive fails on UHD on Linux

Post by kenwilliams5 »

Thank you MrPenguin!

I guess I don't understand how it can be a drive problem when the UHD disk I'm trying to rip worked fine under Windows!

And in the Libre Drive section, it says it's enabled.

So what do I need to do? I don't mind buying a new drive if that would fix it, but I don't know that that's the answer. Anything would have to be USB as I'm running my Linux desktop on a NUC.
tomty89
Posts: 258
Joined: Sun Dec 13, 2020 8:48 am

Re: Drive fails on UHD on Linux

Post by tomty89 »

Have you been using the same USB adapter / enclosure though?

Also I think for BU40N the recommended versions of firmware to use are 1.03-MK or 1.00. (Rumor has it for Linux 1.00 is preferred, I think.)
kenwilliams5
Posts: 6
Joined: Wed Nov 25, 2026 5:43 am

Re: Drive fails on UHD on Linux

Post by kenwilliams5 »

I'm using everything the same except the computer OS. I didn't change any hardware on the box, just installed Linux Mint and erased Windows! I hate to make any changes to the drive since it was working.

I think what I'm going to do is buy a mini computer to run Windows to do the stuff I can't get to work on Linux (there are a few more things I like better on windows, like my photo scanning software) and keep my Linux computer for my development. I'm out of ideas on what to do! I just bought a few more 4K movies that luckily had Bluray disks that I could rip.

Thanks for the help!!
norddovakhin
Posts: 1
Joined: Sun Nov 29, 2026 5:40 pm

Re: Drive fails on UHD on Linux

Post by norddovakhin »

tomty89 wrote: Thu Nov 26, 2026 4:37 am Have you been using the same USB adapter / enclosure though?

Also I think for BU40N the recommended versions of firmware to use are 1.03-MK or 1.00. (Rumor has it for Linux 1.00 is preferred, I think.)
Hi, I have the almost exact same issue as OP here, with the same drive. But mine is 1.03 Libredrive firmware. Are you able to expand on the 1.00 is preferred comment that you made? Flashing to 1.00 (currently 1.03) is the only thing I haven't tried, but I'd like more support for this before I risk bricking the drive. Thank you!
particularly_spooky
Posts: 1
Joined: Sun Nov 29, 2026 4:56 pm

Re: Drive fails on UHD on Linux

Post by particularly_spooky »

I had pretty much exactly the issue that OP described (key exchange failures, "Can't read AACS VID", "LibreDrive compatible drive is required", regular Blu-Rays worked, worked on Windows). Happened to me on versions 1.17.7 / 1.18.4 / 2.0.0.

I'm using BU40N on 1.03 patched firmware, in an Archgon MD-810x USB enclosure, Ubuntu 26.04.

Code: Select all

Drive Information
OS device name: /dev/sr0
Current profile: BD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE BU40N
Revision: 1.03
Firmware date: 2118-10-24 19:34
Bus encryption flags: 17
Highest AACS version: 77

LibreDrive Information
Status: Enabled
Drive platform: MT1959
Firmware type: Patched (microcode access re-enabled)
Firmware version: 1.03
DVD all regions: Yes
BD raw data read: Yes
BD raw metadata read: Yes
Unrestricted read speed: Yes
Long story short, seems like it was the USB-SATA chip in the enclosure causing MakeMKV to not turn LibreDrive on. When LibreDrive is really in use there seems to be a "Using LibreDrive mode" log line near the top but mine wasn't showing it.

To check if this might be happening to you, unplug and replug the drive and run this (change /dev/sr0 if your drive is something else).

Code: Select all

strace -f -v -e trace=ioctl -o trace.txt makemkvcon info dev:/dev/sr0
grep SG_DXFER_TO_DEV trace.txt | grep -o -E 'dxfer_len=[0-9]+|resid=[0-9]+' | head -2
Mine printed

Code: Select all

dxfer_len=1888
resid=1888
If both numbers match like that, you might have the same problem.

The fix is to use the IGNORE_RESIDUE (r) quirk flag, which needs the USB ID of your enclosure (e.g. from lsusb). Mine is 13fd:3910, so swap in yours below for <YOUR ID>

Code: Select all

# Quick Test (replaces any existing quirks value, resets on reboot)
# E.g. sudo sh -c 'echo 13fd:3910:r > /sys/module/usb_storage/parameters/quirks'
sudo sh -c 'echo <YOUR ID>:r > /sys/module/usb_storage/parameters/quirks'

# Then close makemkv, unplug / replug the drive, and restart makemkv
If that fixes it you can make it permanent with

Code: Select all

# E.g. echo 'options usb-storage quirks=13fd:3910:r' | sudo tee /etc/modprobe.d/bu40n-enclosure.conf
echo 'options usb-storage quirks=<YOUR ID>:r' | sudo tee /etc/modprobe.d/bu40n-enclosure.conf
sudo update-initramfs -u  # If Debian/Ubuntu/Mint