Page 1 of 1

KeyDB.cfg configuration help

Posted: Fri Sep 26, 2025 3:11 am
by kingpeep
The last few UHD discs I have tried to make copies of on MakeMKV have resulted in the following errors:
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
I stumbled onto a post by SamuriHL using his KeyDB Helper too. With the tool, I was able to syncrhonize and validate that the disc ID I have in my drive is located in the keydb.cg. I copied that newly syncrhonized keydb.cfg from Appdata/roaming/aacs to users/makemkv folder. But I am still getting errors when trying to make a copy of the disc on MakeMkv. I am also seeing in the log that the drive posts:
Using LibreDrive mode (v06.3 id=7FA2657C7667)
Using direct disc access mode
Loaded content hash table, will verify integrity of M2TS files.
Downloading latest HK to C:\Users\notha/.MakeMKV ...
Using Java runtime from C:\Program Files\Java\jre1.8.0_461\bin\java.exe
Which indicates its using its built in hash table not the keydb.cfg. Am i doing something wrong, I know for sure that my key for this disc is in my keydb.cfg so I'm not sure why I cannot perform a rip

Re: KeyDB.cfg configuration help

Posted: Fri Sep 26, 2025 3:29 am
by SamuriHL
Are you sure your drive is libredrive enabled? Post the makemkv info for your drive.

Sent from my SM-S938U1 using Tapatalk


Re: KeyDB.cfg configuration help

Posted: Fri Sep 26, 2025 3:39 am
by keydb_helper
kingpeep wrote:
Fri Sep 26, 2025 3:11 am
The last few UHD discs I have tried to make copies of on MakeMKV have resulted in the following errors:
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
...
Your disc drive is having trouble reading the disc.

The public keydb can help to resolve decryption errors due to missing keys but it will not assist with read errors.

Re: KeyDB.cfg configuration help

Posted: Fri Sep 26, 2025 4:15 am
by kingpeep
Yes Libre drive is enabled. Here is MakeMKV info
Drive Information
OS device name: \Device\CdRom0
Current profile: BD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE WH16NS60
Revision: 1.02
Serial number: XXXXXXXXX
Firmware date: 2118-10-29 19:36
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.02
DVD all regions: Yes
BD raw data read: Yes
BD raw metadata read: Yes
Unrestricted read speed: Yes

Re: KeyDB.cfg configuration help

Posted: Fri Sep 26, 2025 6:31 am
by MartyMcNuts
kingpeep wrote:
Fri Sep 26, 2025 3:11 am
The last few UHD discs I have tried to make copies of on MakeMKV have resulted in the following errors:
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'OS error - The specified request is not a valid operation for the target device' occurred while reading '\Device\CdRom0' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while reading '/BDMV/STREAM/00294.m2ts' at offset '9842061312'
I stumbled onto a post by SamuriHL using his KeyDB Helper too. With the tool, I was able to syncrhonize and validate that the disc ID I have in my drive is located in the keydb.cg. I copied that newly syncrhonized keydb.cfg from Appdata/roaming/aacs to users/makemkv folder. But I am still getting errors when trying to make a copy of the disc on MakeMkv. I am also seeing in the log that the drive posts:
Using LibreDrive mode (v06.3 id=7FA2657C7667)
Using direct disc access mode
Loaded content hash table, will verify integrity of M2TS files.
Downloading latest HK to C:\Users\notha/.MakeMKV ...
Using Java runtime from C:\Program Files\Java\jre1.8.0_461\bin\java.exe
Which indicates its using its built in hash table not the keydb.cfg. Am i doing something wrong, I know for sure that my key for this disc is in my keydb.cfg so I'm not sure why I cannot perform a rip
It is not a decryption problem. It is a disc reading problem. The drive is struggling to read it and may also be running low on power. Try cleaning the disc before attempting to read it again. This often resolves read issues. See how you go.