cd/dvd tray opens and closes during boot after kernel update [Solved]

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
deepakdeshp
Level 20
Level 20
Posts: 12334
Joined: Sun Aug 09, 2015 10:00 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by deepakdeshp »

johnswan wrote: Fri Sep 10, 2021 4:35 am I am having the same problem with Linux Mint 19.1 since a recent update
Check your running kernel with

Code: Select all

 uname -r
command
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
User avatar
Night Wing
Level 4
Level 4
Posts: 474
Joined: Wed Dec 25, 2013 10:21 pm
Location: Piney Woods of Southeast Texas

Re: cd/dvd tray opens and closes during boot after kernel update

Post by Night Wing »

Here is an easy solution which solves the "opening and closing of the DVD tray upon a cold boot" if you have the 5.4.0-84.94 kernel installed which caused the problem for me on my two desktop tower computers running 64 bit Mint 20.2 (Uma) Xfce.

I turn off my computers every night. When this morning came and I turned on my computers, as the computer was booting I held down the "Shift" key. This brought up the "Boot Menu".

On the line which said "Advanced". Using the down arrow key, I left clicked on the 81 kernel and hit my Enter key. Mint booted up and took me to my Desktop. Once on the Desktop, I left clicked on the Shield which brought up the Update Manager.

Left clicking on the "View" tab, I left clicked on "Linux Kernels". This brought up the Kernel list and I left clicked on the 84 kernel and when I did, a context window opened up giving me the choice to remove the 84 problem kernel.

In the window which opened up, I left clicked in the box labeled, "Remove". The next prompt asked me for my Password which I gave and the 84 kernel was removed. As soon as the 84 kernel was removed, the Update Manager popped up and wanted to re-install 5.4.0-84.94 which is the kernel update which caused the DVD tray to open and close upon booting Mint.

I "right clicked" on the kernel update and another small context window opened up which gave me two choices. One choice was to ignore the present 5.4.0-84.94 kernel update and the other choice was to ignore the entire 84 kernel series altogether.

I left clicked and chose just to ignore the 5.4.0-84.94 package at this time. If another 84 kernel update comes, if it is "not" the 84.94 package, I'll install that kernel and see if there is a problem with it.

If there is a continuing problem with the 84 kernel series, then I'll go back in, uninstall that 84 series kernel again, repeat the process with the Boot Menu and then when the Update Manager wants to install the newest 84 kernel again, then I will choose to completely ignore the 84 kernel series from then on.

BTW, once the 81 kernel was Active, I completely turned off my two desktop tower computers, turned them again and with the 81 series kernel active, the DVD trays did not open and close like it did with the 84.94 problem child kernel.
Linux Mint 21.3 (Virginia) Xfce
MX Linux 23.2 (Libretto) Xfce
Linux Debian 12.5 (Bookworm) Xfce
momo608
Level 1
Level 1
Posts: 17
Joined: Wed Sep 08, 2021 9:13 pm

Re: cd/dvd tray opens and closes during boot after kernel update

Post by momo608 »

I installed the updates that were available prior to my Timeshift snapshot reload with the exception of the problem causing Kernel 4.15.0-156.163. Now Kernel 4.15.0-156.163 sits as a constant reminder that it's available in my update manager. Can I clear this from the update manager? if so how?

Thanks!

Edit, I found the answer

Right click the update in Update Manager and select 'ignore the current update for this package
vimes666
Level 6
Level 6
Posts: 1204
Joined: Tue Jan 19, 2016 6:08 pm

Re: cd/dvd tray opens and closes during boot after kernel update

Post by vimes666 »

Right click the update in Update Manager and select 'ignore the current update for this package
You better set it to 'ignore forever' and comes a time, remove it from the blacklist when there is a solution.
If you think the issue is solved, edit your original post and add the word solved to the title.
jerome62
Level 1
Level 1
Posts: 1
Joined: Sat Sep 11, 2021 3:59 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by jerome62 »

I reverted the kernel from 8.4.0-84 to 8.4.0-81 and the problem is gone.
MikeNavy
Level 1
Level 1
Posts: 38
Joined: Sat May 08, 2021 9:08 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by MikeNavy »

Hi,

I am afraid there is another optical disk related bug with kernel 5.4.0-84: to boot from a DVD seems impossible.

In my BIOS the boor order is CD/DVD, then hard disk.

I mounted my Mint 20.2 install DVD (that I used to install Mint 20.2 Mate) and System Rescue DVD; in both cases the DVD was ignored and the Grub menu directly appeared.

Formerly, when I installed Mint, there was a message "press any key to boot from CD/DVD" and, once a key pressed, boot was done from DVD.

(Hardware: ASUS G74 SX, DVD/CD recorder and BluRay/DVD/CD player "Slimtype BD E DS4E1S (EA2B)"; Linux Mint Mate 20.2, kernel 5.4.0-84)

Do you have the same problem ?

EDIT: I reverted to 5.4.0-81; the trey opens problem disappears but it is still impossible to boot from DVD

MN
Last edited by MikeNavy on Sat Sep 11, 2021 9:05 am, edited 1 time in total.
User avatar
winemaker9
Level 1
Level 1
Posts: 39
Joined: Mon Oct 26, 2009 11:18 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by winemaker9 »

Same here, reverting to previous kernel. Thanks for the help!

Custom built tower.

Code: Select all

System:    Kernel: 5.4.0-84-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 
           wm: muffin dm: GDM3, LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASUSTeK model: M5A97 R2.0 v: Rev 1.xx serial: <filter> 
           UEFI: American Megatrends v: 2603 date: 06/26/2015 
CPU:       Topology: 8-Core model: AMD FX-8350 bits: 64 type: MCP arch: Bulldozer 
           L2 cache: 2048 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 64210 
           Speed: 1903 MHz min/max: 1400/4000 MHz Core speeds (MHz): 1: 1589 2: 1898 3: 1521 
           4: 1411 5: 2380 6: 1608 7: 1683 8: 1777 
Graphics:  Device-1: NVIDIA GF108GL [Quadro 600] driver: nvidia v: 390.144 bus ID: 01:00.0 
           chip ID: 10de:0df8 
           Display: x11 server: X.Org 1.20.11 driver: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa resolution: 1680x1050~60Hz 
           OpenGL: renderer: Quadro 600/PCIe/SSE2 v: 4.6.0 NVIDIA 390.144 direct render: Yes 
Audio:     Device-1: AMD SBx00 Azalia vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 chip ID: 1002:4383 
           Device-2: NVIDIA GF108 High Definition Audio driver: snd_hda_intel v: kernel 
           bus ID: 01:00.1 chip ID: 10de:0bea 
           Device-3: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo 
           bus ID: 1-1.1:4 chip ID: 046d:082d 
           Sound Server: ALSA v: k5.4.0-84-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: ASUSTeK P8 series driver: r8169 v: kernel port: d000 bus ID: 02:00.0 
           chip ID: 10ec:8168 
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.95 TiB used: 720.74 GiB (23.9%) 
           ID-1: /dev/sda vendor: SanDisk model: SDSSDA240G size: 223.57 GiB speed: 6.0 Gb/s 
           serial: <filter> 
           ID-2: /dev/sdb vendor: Western Digital model: WD2003FZEX-00SRLA0 size: 1.82 TiB 
           speed: 6.0 Gb/s serial: <filter> 
           ID-3: /dev/sdc vendor: Western Digital model: WD10EFRX-68JCSN0 size: 931.51 GiB 
           speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 56.07 GiB used: 15.97 GiB (28.5%) fs: ext4 dev: /dev/sda3 
           ID-2: /home size: 1.79 TiB used: 664.79 GiB (36.3%) fs: ext4 dev: /dev/sdb1 
           ID-3: swap-1 size: 15.26 GiB used: 4.8 MiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   Missing: Required tool sensors not installed. Check --recommends 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/gezakovacs-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/gezakovacs/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 
           1: deb [arch=amd64] http: //dl.google.com/linux/earth/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https: //deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb https: //linux.teamviewer.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb http: //repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 328 Uptime: 3d 15h 49m Memory: 15.54 GiB used: 5.25 GiB (33.8%) 
           Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 
           Client: Unknown python3.8 client inxi: 3.0.38
Last edited by karlchen on Sat Sep 11, 2021 9:12 am, edited 1 time in total.
Reason: added [code] [/code] tags around the inxi output. Preserves inxi screen formatting
Steve
varco
Level 1
Level 1
Posts: 3
Joined: Sat Sep 11, 2021 9:00 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by varco »

hi all
same here:

Code: Select all

System:    Kernel: 5.4.0-84-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 
           wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Hewlett-Packard product: HP Z400 Workstation v: N/A 
           serial: <filter> Chassis: type: 6 serial: <filter> 
           Mobo: Hewlett-Packard model: 0B4Ch v: D serial: <filter> BIOS: Hewlett-Packard 
           v: 786G3 v03.61 date: 03/05/2018
on 23.september.2021I have updated to 5.4.0-86-generic. problem solved. thank you all.

sorry, I have to correct myself: on the first reboot after the update it was ok but now it has started to open the cd / dvd player
Last edited by varco on Thu Sep 23, 2021 2:52 am, edited 2 times in total.
id3
Level 1
Level 1
Posts: 6
Joined: Sat Jun 13, 2020 10:57 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by id3 »

jcoles wrote: Wed Sep 08, 2021 2:25 pm I have exactly the same behaviour after updating to kernel 5.11.0-34 from 5.11.0-27.
CD/DVD tray does not open when cold-booting from the previous kernel, confirming that this must be kernel-related.
This is not a show-stopper for me, but it is a little annoying.

HP Compaq Elite 8300 SFF mobo model 3397
Intel Core i7-3770
HP DVD D DH16D6SH
Linux Mint 20.2 Uma MATE
Exactly the same on my machine. The problem happens on 5.11.0-34, but doesn't happen when I revert to 5.11.0-27.
deepakdeshp
Level 20
Level 20
Posts: 12334
Joined: Sun Aug 09, 2015 10:00 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by deepakdeshp »

MikeNavy wrote: Sat Sep 11, 2021 8:42 am Hi,




EDIT: I reverted to 5.4.0-81; the trey opens problem disappears but it is still impossible to boot from DVD

MN
The DVD media may be bad. Boot the system from disk and see if you can read the DVD.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
DisturbedDragon
Level 5
Level 5
Posts: 571
Joined: Mon Oct 29, 2012 6:29 pm
Location: Texas

Re: cd/dvd tray opens and closes during boot after kernel update

Post by DisturbedDragon »

My main did this today for the first time. Self-built listed in my signature. Linux Mint Cinnamon Kernel 5.11.0-34 It ejected one of my two optical drives.
Last edited by DisturbedDragon on Sun Sep 12, 2021 10:06 am, edited 1 time in total.
AMD Ryzen 9 5950X 16C/32T | MSI MPG x570 Gaming Plus | 2TB Mushkin Pilot-E NVMe | 1TB Crucial P1 NVMe | 2x 2TB Inland Gen4 NVMe | 32GB Trident Z DDR4 3600 | Nvidia RTX4090 | Fedora 39 Cinnamon | Linux Mint 21.3 Cinnamon | Kernel 5.15.x lowlatency
gittiest personITW
Level 12
Level 12
Posts: 4289
Joined: Tue May 28, 2019 4:27 pm

Re: cd/dvd tray opens and closes during boot after kernel update

Post by gittiest personITW »

DisturbedDragon wrote: Sat Sep 11, 2021 5:45 pm My main did this today for the first time. Self-built listed in my signature. Kernel 5.11.0-34 It ejected one of my two optical drives.
What connections are your optical drives on and which one ejected?
DisturbedDragon
Level 5
Level 5
Posts: 571
Joined: Mon Oct 29, 2012 6:29 pm
Location: Texas

Re: cd/dvd tray opens and closes during boot after kernel update

Post by DisturbedDragon »

gittiest personITW wrote: Sat Sep 11, 2021 5:49 pm What connections are your optical drives on and which one ejected?
Both are connected to motherboard sata. The Asus DVD drive ejected. Pioneer BluRay drive did not.
AMD Ryzen 9 5950X 16C/32T | MSI MPG x570 Gaming Plus | 2TB Mushkin Pilot-E NVMe | 1TB Crucial P1 NVMe | 2x 2TB Inland Gen4 NVMe | 32GB Trident Z DDR4 3600 | Nvidia RTX4090 | Fedora 39 Cinnamon | Linux Mint 21.3 Cinnamon | Kernel 5.15.x lowlatency
MikeNavy
Level 1
Level 1
Posts: 38
Joined: Sat May 08, 2021 9:08 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by MikeNavy »

deepakdeshp wrote: Sat Sep 11, 2021 1:03 pm
MikeNavy wrote: Sat Sep 11, 2021 8:42 am Hi,




EDIT: I reverted to 5.4.0-81; the trey opens problem disappears but it is still impossible to boot from DVD

MN
The DVD media may be bad. Boot the system from disk and see if you can read the DVD.
Hi,

Drive problem, it needs a replacement...

MN

PS:
- Note that the "drive opens" problem affects internal drive (SATA) not external one (USB).
- I have made several attempts to mention the bug to Ubuntu via Launchpad, but at each time there was a launchpad bug preventing connection :(
DonB
Level 1
Level 1
Posts: 2
Joined: Sun Apr 21, 2019 11:21 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by DonB »

I have Linux Mint 20.2 installed on an old Acer Aspire TC-605 and immediately after installing the update to kernel 5.4.0-84, the CD/DVD tray opened/closed (rapidly) every time I did a cold boot. I timeshifted back to kernel 5.4.0-81 and the mysterious open/close is gone. I agree it's annoying and it scared my cat half to death :lol: I hope it gets resolved soon.
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by blueicetwice »

Same kernel, same issue. Our kat attacked the DVD tray. :lol:
User avatar
minty-man
Level 1
Level 1
Posts: 1
Joined: Sun Sep 12, 2021 2:53 pm

Re: cd/dvd tray opens and closes during boot after kernel update

Post by minty-man »

First things first, please excuse me if I sound like an idiot or am not following proper forum etiquette or something. I've only been using Linux (laptop runs Manjaro, desktop runs Linux Mint) as my daily driver OS for about a month & a half and this is my first time posting on these forums.

I'm having the same issue here on Mint Cinnamon 20.2 after upgrading to kernel version 5.4.0-84. What's especially annoying for me is the fact that my case has a hinged panel covering the CD drive, so every time I boot or wake my PC it (quite loudly) bumps against the inside of the panel.

My system specs, in case it'll help diagnose anything:
Gigabyte GA-970A-D3 mobo
AMD FX-8320 OC'd to 4.1GHz
16gb DDR3
GTX 1070
milon
Level 2
Level 2
Posts: 78
Joined: Thu Jan 10, 2019 3:20 pm

Re: cd/dvd tray opens and closes during boot after kernel update

Post by milon »

Another bugged kernel 5.4.0-84 here. Just upgraded from 5.4.0-81 (problem wasn't present before upgrade). Custom build PC, with these specs:

Code: Select all

$ inxi -v 3
System:
  Host: Desktop Kernel: 5.4.0-84-generic x86_64 bits: 64 compiler: gcc 
  v: 9.3.0 Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: ASRock model: B365M-HDV 
  serial: <superuser/root required> UEFI: American Megatrends v: P4.30 
  date: 05/29/2020 
Battery:
  Device-1: hidpp_battery_0 model: Logitech M570 charge: 90% 
  status: Discharging 
CPU:
  Topology: 6-Core model: Intel Core i5-9400 bits: 64 type: MCP 
  arch: Kaby Lake rev: D L2 cache: 9216 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 34798 
  Speed: 800 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 836 2: 1732 
  3: 879 4: 1043 5: 1237 6: 1297 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: ASRock driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.11 driver: modesetting 
  unloaded: fbdev,vesa resolution: 1280x1024~60Hz, 1280x1024~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 21.0.3 
  direct render: Yes 
Network:
  Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: 3.2.6-k 
  port: f040 bus ID: 00:1f.6 
  IF: eno1 state: down mac: a8:a1:59:40:8e:3d 
  Device-2: Qualcomm Atheros AR9287 Wireless Network Adapter driver: ath9k 
  v: kernel port: f040 bus ID: 01:00.0 
  IF: wlp1s0 state: up mac: 30:b5:c2:67:be:cc 
Drives:
  Local Storage: total: 2.27 TiB used: 729.83 GiB (31.3%) 
Info:
  Processes: 233 Uptime: 1h 40m Memory: 15.32 GiB used: 1.65 GiB (10.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 
jerome62 wrote: Sat Sep 11, 2021 4:05 am I reverted the kernel from 8.4.0-84 to 8.4.0-81 and the problem is gone.
Hehe, looks like this bug affects the future 8.x kernel series too! :wink:
varco
Level 1
Level 1
Posts: 3
Joined: Sat Sep 11, 2021 9:00 am

Re: cd/dvd tray opens and closes during boot after kernel update

Post by varco »

blueicetwice wrote: Sun Sep 12, 2021 11:21 am Same kernel, same issue. Our kat attacked the DVD tray. :lol:
my cat says if these jokes amuse me I could have a dog
vimes666
Level 6
Level 6
Posts: 1204
Joined: Tue Jan 19, 2016 6:08 pm

Re: cd/dvd tray opens and closes during boot after kernel update

Post by vimes666 »

If you think the issue is solved, edit your original post and add the word solved to the title.
Locked

Return to “Software & Applications”