Bug 206647 - SATA DVD / Bluray Optical drive detection not working
Summary: SATA DVD / Bluray Optical drive detection not working
Status: NEW
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Tejun Heo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-23 14:34 UTC by Alan Robertson
Modified: 2025-03-04 17:38 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.6 rc1 and rc2
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Alan Robertson 2020-02-23 14:34:51 UTC
DVD drive is detected with kernel 5.5.5

DVD drive is NOT detected with kernel 5.6 rc1 and 5.6 rc2

Drive is SATA

Also tried Bluray drive - same result

Tried this with the same hardware with different kernels on Mint 19.

Additionally tried this with another different computer running Fedora 31 - same result with kernel 5.6 rc1 and 5.6 rc2

Something has definitely changed within the kernel which is no longer detecting optical drives.

I'm aware the floppy is being retired but it's a little too soon for optical media - I still have a lot of older backups on DVD.

Could you please restore the optical drive detection.
Comment 1 Alan Robertson 2020-02-27 20:10:34 UTC
Still problematic with 5.6 rc3

Manjaro users are also reporting this:

https://forum.manjaro.org/t/optical-drives-not-recognized-in-kernels-5-6rc2/126067

The system is able to see the drives:

$ inxi -d

Optical-1: /dev/sr0 vendor: HL-DT-ST model: BD-RE BH16NS40 dev-links: N/A 
Features: speed: 48 multisession: yes audio: yes dvd: yes 
rw: cd-r,cd-rw,dvd-r,dvd-ram

Optical-2: /dev/sr1 vendor: TSSTcorp model: CDDVDW SH-S223C dev-links: N/A 
Features: speed: 52 multisession: yes audio: yes dvd: yes

Reverting to kernel 5.5.5 fixes this.
Comment 2 Josh 2020-02-27 23:36:18 UTC
On kernel 5.6rc3 I was able to play a DVD in VLC after opening the disc in MakeMKV. It is still not showing in the device notifier in Plasma, nor does K3b detect a disc in inserted.

Here are my drives:

Optical-1: /dev/sr0 vendor: PIONEER model: BD-RW BDR-209D dev-links: cdrom 
Features: speed: 125 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r 

Optical-2: /dev/sr1 vendor: ASUS model: DRW-24F1ST c dev-links: N/A 
Features: speed: 94 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram
Comment 3 Alan Robertson 2020-03-02 09:44:01 UTC
I can confirm that kernel 5.6 rc4 has resolved drive detection - I will try out a few disks to verify this is fully functional.
Comment 4 Josh 2020-03-02 14:57:03 UTC
Kernel 5.6rc4 has resolved the issues I had with my optical drives as well. I have tried both video and audio discs.
Comment 5 Valso 2025-03-03 18:58:05 UTC
Kernel 6.12.10: the BD-RE device isn't detected nor is a media present in it also detected. The device opens and closes but it doesn't spin the media when inserted and therefore it's not reading it. When an empty media is inserted, programs like k3b return "no media detected".

The BluRay device is HL-DT-ST BD-RE LG BH16NS55.

Note: I can't try kernel 6.13 (Arch Linux) because with all kernels of version 6.13 and above (the current kernel for Arch is 6.13.4) my hardware (Intel i7-12700F CPU + RTX 3060 GPU) are running way hotter than they should be when idling. Like 13-20 degrees hotter.
Comment 6 Valso 2025-03-04 17:38:48 UTC
Since I can't edit my previous comment, I'll add a new one: I figured it out what the problem is - somewhere between kernels 6.1 and 6.12 (both rolling and LTS) something has been removed from them that helps the BluRay device recognize the "Linux only" filesystem on the bluray disc. I have burned a few TV shows with this filesystem ("Linux only", which is available in k3b) with the same device and these are the discs that the optical device now doesn't recognize and behaves as if there's no disc in it. All older TV shows which were burned with filesystem "Windows/Linux" (9660) are being recognized and read just fine.

Note You need to log in before you can comment on or make changes to this bug.