** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Impish)
   Importance: Undecided
       Status: Confirmed

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** 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

** Changed in: linux (Ubuntu Bionic)
   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 changed:

- Lubuntu impish daily boot on 
- - dell [optiplex] 780 (c2q-q9400, 8gb, amd/ati cedar radeon hd 
5000/6000/7350/8350)
+ [Impact]
  
- This daily was booted more than once, on each boot, just prior to
- plymouth screen appearing the cd/dvd tray would be ejected.
+ 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.
  
- If my installation media was on the cd/dvd - would that have crashed
- install?
+ 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.
  
- I've been noting this behavior on my primary box
- - dell [optiplex] 960 (c2q-q9400, 8gb, amd/ati cedar radeon hd 
5000/6000/7350/8350)
- each day (Ubuntu impish, ubuntu, xubuntu & lubuntu desktops installed; occurs 
when Xfce or LXQt is running.. I don't think I've tried suspend with GNOME with 
5.13 kernel) when I resume it in the morning (I suspend each night), likely the 
11 days since `uptime` says  I last rebooted (I tend to reboot only about once 
per fortnight)
+ The problematic patch is:
  
- ** actual results
+ 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
  
- On booting daily; the CD/DVD tray ejects
+ This was backported to:
  
- ** expected results
+ Bionic 4.15.0-155-generic
+ Focal 5.4.0-82-generic
+ Hirsute 5.11.0-32-generic
+ Impish 5.13.0-1-generic
  
- The CD/DVD is not being used on this boot; I'd expect the tray to remain
- as it was
+ [Fix]
  
- ProblemType: Bug
- DistroRelease: Ubuntu 21.10
- Package: linux-image-5.13.0-14-generic 5.13.0-14.14
- ProcVersionSignature: Ubuntu 5.13.0-14.14-generic 5.13.1
- Uname: Linux 5.13.0-14-generic x86_64
- ApportVersion: 2.20.11-0ubuntu68
- Architecture: amd64
- AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  lubuntu    1602 F.... pulseaudio
-  /dev/snd/controlC1:  lubuntu    1602 F.... pulseaudio
- CasperMD5CheckResult: pass
- CasperVersion: 1.465
- CurrentDesktop: LXQt
- Date: Wed Sep  1 07:03:31 2021
- IwConfig:
-  lo        no wireless extensions.
+ The issue was fixed in the below commit:
  
-  enp0s25   no wireless extensions.
- LiveMediaBuild: Lubuntu 21.10 "Impish Indri" - Alpha amd64 (20210831)
- MachineType: Dell Inc. OptiPlex 780
- ProcFB: 0 radeondrmfb
- ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz 
file=/cdrom/preseed/username.seed quiet splash ---
- RelatedPackageVersions:
-  linux-restricted-modules-5.13.0-14-generic N/A
-  linux-backports-modules-5.13.0-14-generic  N/A
-  linux-firmware                             1.199
- RfKill:
-  0: hci0: Bluetooth
-   Soft blocked: no
-   Hard blocked: no
- SourcePackage: linux
- UpgradeStatus: No upgrade log present (probably fresh install)
- dmi.bios.date: 02/13/2010
- dmi.bios.release: 3.0
- dmi.bios.vendor: Dell Inc.
- dmi.bios.version: A03
- dmi.board.name: 0200DY
- dmi.board.vendor: Dell Inc.
- dmi.board.version: A00
- dmi.chassis.type: 3
- dmi.chassis.vendor: Dell Inc.
- dmi.modalias: 
dmi:bvnDellInc.:bvrA03:bd02/13/2010:br3.0:svnDellInc.:pnOptiPlex780:pvr:sku:rvnDellInc.:rn0200DY:rvrA00:cvnDellInc.:ct3:cvr:
- dmi.product.name: OptiPlex 780
- dmi.sys.vendor: Dell Inc.
+ 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]

** Tags added: bionic focal hirsute regression-update sts

** Summary changed:

- On booting (or wake from suspend) Ubuntu/Lubuntu impish daily - cd/dvd tray 
ejects
+ CD/DVD tray ejects on boot or waking from suspend

-- 
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 Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

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