Page 1 of 1

KEY NOT PRESENT error

Posted: Sat Feb 01, 2025 1:56 pm
by cryox
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?

Re: KEY NOT PRESENT error

Posted: Tue Feb 11, 2025 2:52 pm
by dcoke22
Is your drive LibreDrive compatible? Have you flashed it to enable LibreDrive?

Re: KEY NOT PRESENT error

Posted: Mon Feb 17, 2025 8:57 pm
by hobbified
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.

Re: KEY NOT PRESENT error

Posted: Mon Feb 17, 2025 9:51 pm
by Woodstock
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.

Re: KEY NOT PRESENT error

Posted: Tue Feb 18, 2025 5:08 pm
by cryox
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.

Re: KEY NOT PRESENT error

Posted: Wed Feb 19, 2025 1:36 pm
by cryox
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?

Re: KEY NOT PRESENT error

Posted: Mon Mar 03, 2025 1:37 am
by HeyQuitThat
Just to jump on this bandwagon, I'm seeing the same thing. Linux Mint 22.1 on x86_64. I'm running an LG BU40N with patched firmware 1.03MK. It rips DVDs OK in Linux but chokes on UHD. Same exact setup works in Windows. I'm running registered Make MKV 1.17.9.

Re: KEY NOT PRESENT error

Posted: Mon Mar 03, 2025 5:40 am
by dcoke22
I've seen it suggested on this forum that a BU40N needs to be flashed to firmware 1.00 to work the best on Linux.

https://forum.makemkv.com/forum/viewtopic.php?p=154090#p154090