Page 1 of 1

Flashing Firmware for Blu-Ray Drive in Linux

Posted: Wed Jan 24, 2024 9:06 pm
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

Re: Flashing Firmware for Blu-Ray Drive in Linux

Posted: Thu Jan 25, 2024 2:30 am
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.

Re: Flashing Firmware for Blu-Ray Drive in Linux

Posted: Thu Jan 25, 2024 2:52 am
by corkncat
Since I only own regular DVD's and a couple of Blu-Ray discs, I won't bother flashing.
Thanks, Woodstock

Re: Flashing Firmware for Blu-Ray Drive in Linux

Posted: Thu Jan 25, 2024 9:33 am
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.

Re: Flashing Firmware for Blu-Ray Drive in Linux

Posted: Sun Jan 28, 2024 3:03 pm
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.