KEY NOT PRESENT error

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
cryox
Posts: 5
Joined: Mon Sep 25, 2023 6:42 pm

KEY NOT PRESENT error

#1 Post by cryox » Sat Feb 01, 2025 1:56 pm

I'm receiving a lot of 'KEY NOT PRESENT' and some 'KEY NOT ESTABLISHED' errors using the linux version:

Code: Select all

MakeMKV v1.17.8 linux(x64-release) started
Backing up disc into folder ...
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - KEY NOT PRESENT' occurred while issuing SCSI command A30..0020..03F to device 'SG:dev_21:0'
...
Error 'Scsi error - ILLEGAL REQUEST:COPY PROTECTION KEY EXCHANGE FAILURE - KEY NOT ESTABLISHED' occurred while issuing SCSI command AD010..080002400 to device 'SG:dev_21:0'
...
Can't read AACS VID from disc - most likely current AACS host certificate is revoked by your drive
Saved AACS dump file as ...
LibreDrive compatible drive is required to open this disc - video can't be decrypted.
Backup failed
What I tried so far (always the same drive with the same BluRay):
Machine A (Arch) -> MakeMKV from AUR -> fails
Machine A (Arch) -> MakeMKV from Flatpak -> fails
Machine A (Arch) -> Ubuntu VM -> MakeMKV built as described here -> fails
Machine A (Arch) -> Windows VM -> MakeMVK from the website -> works
Machine B (Windows) -> MakeMVK from the website -> works

So I'm pretty confident there is something wrong with the Linux version. Also, since running it on a vanilla Ubuntu 24.10 VM using the manual as described doesn't work.

Has anyone faced a similar issue and was able to solve it?

dcoke22
Posts: 3380
Joined: Wed Jul 22, 2020 11:25 pm

Re: KEY NOT PRESENT error

#2 Post by dcoke22 » Tue Feb 11, 2025 2:52 pm

Is your drive LibreDrive compatible? Have you flashed it to enable LibreDrive?

hobbified
Posts: 1
Joined: Mon Feb 17, 2025 8:47 pm

Re: KEY NOT PRESENT error

#3 Post by hobbified » Mon Feb 17, 2025 8:57 pm

Same thing here. Yes it's a compatible drive, a BRUHD-PU3-BK that I flashed. Rips work okay on MakeMKV 1.17.9 for Windows, but if I take the same drive and same disc and plug them into my Linux machine the copying process will start, then after a few seconds the drive spins down and there are a bunch of SCSI NOT READY errors, then when it spins up again it shows the KEY NOT PRESENT error several times. It continues copying data but the results are garbage. Kernel logs show

Code: Select all

sr 7:0:0:0: Power-on or device reset occurred
at the same time. So it seems like it's essentially crashing the drive.

Woodstock
Posts: 10490
Joined: Sun Jul 24, 2011 11:21 pm

Re: KEY NOT PRESENT error

#4 Post by Woodstock » Mon Feb 17, 2025 9:51 pm

Another possibility is that it powered down, due to an over-speed condition. If the USB port isn't a "fully compatible" USB3 port, a drive can run out of power with only one plug inserted. This would tend to happen on a long read.

If it's happening right after the read starts, it would be strange.

cryox
Posts: 5
Joined: Mon Sep 25, 2023 6:42 pm

Re: KEY NOT PRESENT error

#5 Post by cryox » Tue Feb 18, 2025 5:08 pm

Thanks for your suggestions! As indicated in the original post, the same drive, with the same firmware, same disc, same PC and same USB-Port works just fine when using Windows.

I can't really find any other reason than there is something missing or broken with the Linux version.

cryox
Posts: 5
Joined: Mon Sep 25, 2023 6:42 pm

Re: KEY NOT PRESENT error

#6 Post by cryox » Wed Feb 19, 2025 1:36 pm

Problem still present in 1.17.9

Code: Select all

Saved AACS dump file as ...
The volume key is unknown for this disc - video can't be decrypted
I could further narrow it down: It works with normal Blu-rays (tested with AACS v28), but not with UHD Blu-rays (tested with AACS2.0/C v77).

The issue is probably related to how MakeMKV handles UHD decryption on Linux.

Can anyone give further hints to where to look for insights?

Post Reply