Hi everyone,

The kernels with the fix "scsi: sr: Return correct event when media
event code is 3" were released to -updates yesterday.

Could you please install the latest kernel update, and double check that
it fixes the issue for you?

List of new kernels:
Bionic 4.15.0-155-generic
Focal 5.4.0-82-generic
Hirsute 5.11.0-32-generic
Impish 5.13.0-1-generic

Thanks,
Matthew

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1942299

Title:
  CD/DVD tray ejects on boot or waking from suspend

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Focal:
  Fix Released
Status in linux source package in Hirsute:
  Fix Released
Status in linux source package in Impish:
  Fix Released

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 7dd753ca59d6c8cc09aa1ed24f7657524803c7f3
  Author: ManYi Li <lima...@uniontech.com>
  Date:   Fri Jun 11 17:44:02 2021 +0800
  Subject: scsi: sr: Return appropriate error code when disk is ejected
  Link: 
https://github.com/torvalds/linux/commit/7dd753ca59d6c8cc09aa1ed24f7657524803c7f3

  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 5c04243a56a7977185b00400e59ca7e108004faf
  Author: Li Manyi <lima...@uniontech.com>
  Date:   Mon Jul 26 19:49:13 2021 +0800
  Subject: scsi: sr: Return correct event when media event code is 3
  Link: 
https://github.com/torvalds/linux/commit/5c04243a56a7977185b00400e59ca7e108004faf

  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]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1942299/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to