CD/DVD tray ejects on boot or waking from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
Hirsute |
Fix Released
|
High
|
Unassigned | ||
Impish |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
A regression was introduced via upstream -stable patches which causes the CD / DVD rom drive to open when the system boots, or wakes from suspend.
This has had some side effects on some systems where you cannot insert media at all, since the drive will eject as soon as the tray is closed.
The problematic patch is:
commit 7dd753ca59d6c8c
Author: ManYi Li <email address hidden>
Date: Fri Jun 11 17:44:02 2021 +0800
Subject: scsi: sr: Return appropriate error code when disk is ejected
Link: https:/
This was backported to:
Bionic 4.15.0-155-generic
Focal 5.4.0-82-generic
Hirsute 5.11.0-32-generic
Impish 5.13.0-1-generic
[Fix]
The issue was fixed in the below commit:
commit 5c04243a56a7977
Author: Li Manyi <email address hidden>
Date: Mon Jul 26 19:49:13 2021 +0800
Subject: scsi: sr: Return correct event when media event code is 3
Link: https:/
This patch is already applied to Ubuntu kernels through upstream -stable, and will land in the following releases, currently in -proposed:
Bionic 4.15.0-159-generic
Focal 5.4.0-87-generic
Hirsute 5.11.0-37-generic
Impish 5.13.0-16-generic
[Testcase]
If your machine is affected, the CD / DVD rom drive will eject and / or open during boot or waking from suspend.
This can be seen on some hypervisors, particularly VMware.
[Where problems could occur]
Changed in linux (Ubuntu Impish): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Hirsute): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Impish): | |
importance: | Undecided → High |
description: | updated |
tags: | added: bionic focal hirsute regression-update sts |
summary: |
- On booting (or wake from suspend) Ubuntu/Lubuntu impish daily - cd/dvd - tray ejects + CD/DVD tray ejects on boot or waking from suspend |
This change was made by a bot.