Flashing Firmware for Blu-Ray Drive in Linux

The place to discuss linux version of MakeMKV
Post Reply
corkncat
Posts: 2
Joined: Wed Jan 24, 2024 8:44 pm

Flashing Firmware for Blu-Ray Drive in Linux

Post by corkncat »

I'm using MakeMKV to rip my DVD collection. I got this error message today:

"Error 'Scsi error - ILLEGAL REQUEST:READ OF SCRAMBLED SECTOR WITHOUT AUTHENTICATION' occurred while reading 'BD-RE HL-DT-ST BD-RE WH14NS40 1.05 KLBM8V94743' at offset '1048576' "

Drive Information
OS device name: /dev/sr0
Current profile: DVD-ROM
Manufacturer: HL-DT-ST
Product: BD-RE WH14NS40
Revision: 1.05
Serial number: KLBM8V94743
Firmware date: 2120-05-06 14:44
Bus encryption flags: 17

LibreDrive Information
Status: Possible (with patched firmware)
Drive platform: MT1959
Harware support: Yes
Firmware support: No
Firmware type: Original (patched version available)
Firmware version: 1.05
DVD all regions: Possible (with patched firmware)
BD raw data read: Possible (with patched firmware)
BD raw metadata read: Possible (with patched firmware)
Unrestricted read speed: Possible (with patched firmware)

How do I patch the firmware? I'm using Linux Mint 21.3
Woodstock
Posts: 10293
Joined: Sun Jul 24, 2011 11:21 pm

Re: Flashing Firmware for Blu-Ray Drive in Linux

Post by Woodstock »

Just a note that, reading DVDs, it isn't necessary to install patched firmware. The error you're getting is most likely a "bad" (dirty) sector of the disk. You really only need to change the firmware if you're going to be reading 4K UHD disks.
corkncat
Posts: 2
Joined: Wed Jan 24, 2024 8:44 pm

Re: Flashing Firmware for Blu-Ray Drive in Linux

Post by corkncat »

Since I only own regular DVD's and a couple of Blu-Ray discs, I won't bother flashing.
Thanks, Woodstock
georgesgiralt
Posts: 62
Joined: Thu Jun 04, 2020 12:40 pm

Re: Flashing Firmware for Blu-Ray Drive in Linux

Post by georgesgiralt »

Woodstock wrote:
Thu Jan 25, 2024 2:30 am
Just a note that, reading DVDs, it isn't necessary to install patched firmware. The error you're getting is most likely a "bad" (dirty) sector of the disk. You really only need to change the firmware if you're going to be reading 4K UHD disks.
Hello,
I second this. All the errors I got reading/ripping DVD where from worn discs or bad drive enclosure not providing enough power to the drive.
But if you want to flash the drive, here is the command I used when I flashed my BU40N long ago.
I ran this command in a Super User shell (in order to circumvent access issues on device files, don't know if this is mandatory) and I flashed the 1.03 firmware I got from this site :
#makemkvcon f -d /dev/sr0 -f <Place where you put sdf.bin file> rawflash main -i HL-DT-ST-BD-RE_BU40N-1.03-NM00000-211810241934.bin

You may have to set the encrypted flag if your original firmware in the drive is newer than a certain one (check the relevant post on flashing under Windows to ascertain this).
Hope this helps.
jemima
Posts: 55
Joined: Fri Oct 06, 2023 1:16 am

Re: Flashing Firmware for Blu-Ray Drive in Linux

Post by jemima »

When I got scrambled sector errors on the SCSI level in Linux, then it helped when I first played the DVD with e.g. mpv and libdvdcss. Seems like this brings the device in an " "authenticated" mode... similar to what libredrive does with for bus encryption

Interestingly though, this isn't necessary with all drives.
Post Reply