Activity log for bug #283316

Date Who What changed Old value New value Message
2008-10-14 16:14:25 Savvas Radevic bug added bug
2008-10-14 16:15:50 Savvas Radevic description Binary package hint: hal Ubuntu intrepid ibex beta (updated) Problem: When I try to eject a cd/dvd, Ubuntu intrepid inserts the cdrom right back in the cd/dvd drive Steps to reproduce: 1) Either by pressing eject button on the device or using the "eject" command or using the eject icon in nautilus sidebar 2) The dvd is ejected successfully 3) The dvd is loaded back in right after being ejected. This happens after the message "eject: CD-ROM eject command succeeded" of "eject -v" command. Note 1: The cd/dvd-rw drive is a SATA device Note 2: This happens in tty and ubuntu desktop $ apt-cache policy eject hal eject: Installed: 2.1.5-9ubuntu2 Candidate: 2.1.5-9ubuntu2 Version table: *** 2.1.5-9ubuntu2 0 500 http://archive.ubuntu.com intrepid/main Packages 100 /var/lib/dpkg/status hal: Installed: 0.5.11-4ubuntu2 Candidate: 0.5.11-4ubuntu2 Version table: *** 0.5.11-4ubuntu2 0 500 http://archive.ubuntu.com intrepid/main Packages 100 /var/lib/dpkg/status $ eject -v eject: using default device `cdrom' eject: device name is `cdrom' eject: expanded name is `/dev/cdrom' eject: `/dev/cdrom' is a link to `/dev/scd0' eject: `/dev/scd0' is mounted at `/media/cdrom0' eject: unmounting device `/dev/scd0' from `/media/cdrom0' eject: `/dev/scd0' is not a multipartition device eject: trying to eject `/dev/scd0' using CD-ROM eject command eject: CD-ROM eject command succeeded $ sudo lshw -C disk [...] *-cdrom description: DVD-RAM writer product: DVD-RW DVR-212 vendor: PIONEER physical id: 0.0.0 bus info: scsi@2:0.0.0 logical name: /dev/cdrom logical name: /dev/cdrw logical name: /dev/dvd logical name: /dev/dvdrw logical name: /dev/scd0 logical name: /dev/sr0 logical name: /media/cdrom0 version: 1.21 capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram configuration: ansiversion=5 mount.fstype=iso9660 mount.options=ro,nosuid,nodev,utf8 state=mounted status=ready *-medium physical id: 0 logical name: /dev/cdrom logical name: /media/cdrom0 configuration: mount.fstype=iso9660 mount.options=ro,nosuid,nodev,utf8 state=mounted Binary package hint: hal Ubuntu intrepid ibex beta (updated) Problem: When I try to eject a cd/dvd, Ubuntu intrepid inserts the cdrom right back in the cd/dvd drive Steps to reproduce: 1) Either by pressing eject button on the device or using the "eject" command or using the eject icon in nautilus sidebar 2) The dvd is ejected successfully 3) The dvd is loaded back in right after being ejected. This happens after the message "eject: CD-ROM eject command succeeded" of "eject -v" command. Note 1: The cd/dvd-rw drive is a SATA device Note 2: This happens while in tty and ubuntu gnome desktop manager $ apt-cache policy eject hal eject: Installed: 2.1.5-9ubuntu2 Candidate: 2.1.5-9ubuntu2 Version table: *** 2.1.5-9ubuntu2 0 500 http://archive.ubuntu.com intrepid/main Packages 100 /var/lib/dpkg/status hal: Installed: 0.5.11-4ubuntu2 Candidate: 0.5.11-4ubuntu2 Version table: *** 0.5.11-4ubuntu2 0 500 http://archive.ubuntu.com intrepid/main Packages 100 /var/lib/dpkg/status $ eject -v eject: using default device `cdrom' eject: device name is `cdrom' eject: expanded name is `/dev/cdrom' eject: `/dev/cdrom' is a link to `/dev/scd0' eject: `/dev/scd0' is mounted at `/media/cdrom0' eject: unmounting device `/dev/scd0' from `/media/cdrom0' eject: `/dev/scd0' is not a multipartition device eject: trying to eject `/dev/scd0' using CD-ROM eject command eject: CD-ROM eject command succeeded $ sudo lshw -C disk [...] *-cdrom description: DVD-RAM writer product: DVD-RW DVR-212 vendor: PIONEER physical id: 0.0.0 bus info: scsi@2:0.0.0 logical name: /dev/cdrom logical name: /dev/cdrw logical name: /dev/dvd logical name: /dev/dvdrw logical name: /dev/scd0 logical name: /dev/sr0 logical name: /media/cdrom0 version: 1.21 capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram configuration: ansiversion=5 mount.fstype=iso9660 mount.options=ro,nosuid,nodev,utf8 state=mounted status=ready *-medium physical id: 0 logical name: /dev/cdrom logical name: /media/cdrom0 configuration: mount.fstype=iso9660 mount.options=ro,nosuid,nodev,utf8 state=mounted
2008-10-17 13:03:00 Savvas Radevic hal: status New Confirmed
2008-10-17 13:03:00 Savvas Radevic hal: assignee desktop-bugs
2008-10-17 13:03:00 Savvas Radevic hal: statusexplanation Cool, confirmed :) I'm not sure about the package though
2008-10-21 19:43:15 Martin Pitt hal: importance Undecided High
2008-10-21 19:43:15 Martin Pitt hal: assignee desktop-bugs pitti
2008-10-21 19:43:15 Martin Pitt hal: statusexplanation
2008-10-21 19:43:15 Martin Pitt hal: milestone ubuntu-8.10
2008-10-21 19:44:11 Martin Pitt hal: status Confirmed In Progress
2008-10-21 19:44:11 Martin Pitt hal: statusexplanation hal basically didn't change in intrepid, so I guess the new kernel treats the polling ioctls differently/badly. WHen killing hald-addon-cdrom, the phenomenon disappears, so I'm pretty sure it is that.
2008-10-21 20:35:24 Martin Pitt hal: status In Progress Triaged
2008-10-21 20:35:24 Martin Pitt hal: title Bug #283316 in hal (Ubuntu Intrepid): "intrepid - ejected dvd media is inserted right back in" Bug #283316 in linux (Ubuntu Intrepid): "intrepid - ejected dvd media is inserted right back in"
2008-10-21 20:35:24 Martin Pitt hal: bugtargetname hal (Ubuntu Intrepid) linux (Ubuntu Intrepid)
2008-10-21 20:35:24 Martin Pitt hal: statusexplanation hal basically didn't change in intrepid, so I guess the new kernel treats the polling ioctls differently/badly. WHen killing hald-addon-cdrom, the phenomenon disappears, so I'm pretty sure it is that. Given that the ioctl documentation about CDROM_DRIVE_STATUS has a possible value of CDS_TRAY_OPEN, it does not say that it causes the tray to close, and it behaved correctly in earlier kernel versions, I am inclined to claim that this is a kernel regression.
2008-10-21 20:35:24 Martin Pitt hal: assignee pitti
2008-10-21 20:35:24 Martin Pitt hal: bugtargetdisplayname hal (Ubuntu Intrepid) linux (Ubuntu Intrepid)
2008-10-21 20:36:20 Martin Pitt title intrepid - ejected dvd media is inserted right back in CDROM_DRIVE_STATUS ioctl causes tray to be closec
2008-10-21 20:36:57 Martin Pitt title CDROM_DRIVE_STATUS ioctl causes tray to be closec CDROM_DRIVE_STATUS ioctl causes tray to be closed
2008-10-21 20:53:42 Martin Pitt bug added subscriber Ubuntu Kernel Team
2008-10-21 22:38:13 Martin Pitt bug assigned to linux
2008-10-21 22:41:34 Bug Watch Updater linux: status Unknown Confirmed
2008-10-22 07:58:45 Martin Pitt title CDROM_DRIVE_STATUS ioctl causes tray to be closed opening /dev/scd0 causes tray to be closed
2008-10-22 08:33:28 Matthias Urlichs title opening /dev/scd0 causes tray to be closed CDROM_DRIVE_STATUS ioctl causes tray to be closed
2008-10-22 09:20:20 Martin Pitt title CDROM_DRIVE_STATUS ioctl causes tray to be closed opening /dev/scdN causes tray to be closed
2008-10-22 22:00:54 Bug Watch Updater linux: status Confirmed In Progress
2008-10-23 14:30:09 Matt Zimmerman linux: statusexplanation Given that the ioctl documentation about CDROM_DRIVE_STATUS has a possible value of CDS_TRAY_OPEN, it does not say that it causes the tray to close, and it behaved correctly in earlier kernel versions, I am inclined to claim that this is a kernel regression.
2008-10-23 14:30:09 Matt Zimmerman linux: milestone ubuntu-8.10 intrepid-updates
2008-10-23 18:03:58 Pete Graner bug assigned to ubuntu-release-notes
2008-10-30 03:54:29 Colin Watson ubuntu-release-notes: status New Fix Released
2008-10-30 03:54:29 Colin Watson ubuntu-release-notes: assignee kamion
2008-10-30 03:54:29 Colin Watson ubuntu-release-notes: statusexplanation Release notes text added: == CD eject problems == After ejecting a CD tray containing a disc, the tray will be immediately retracted, making it difficult to remove the disc ([[https://launchpad.net/bugs/283316|bug 283316]]. This can be worked around by pressing the eject button again before the disc is fully mounted, after which it will stay open. We expect to fix this in a post-release update.
2008-11-01 12:04:14 prower2000@hotmail.com bug added attachment '60-persistent-storage.rules' (Modified to include untested patch for cd/dvd tray issue)
2008-11-01 14:36:22 Savvas Radevic bug added attachment 'udev_124-8ubuntu1.debdiff' (udev_124-8ubuntu1.debdiff)
2008-11-01 16:35:59 Savvas Radevic bug assigned to udev (Fedora)
2008-11-01 16:44:59 Savvas Radevic bug assigned to gentoo
2008-11-01 17:01:05 Bug Watch Updater None: status Unknown Fix Released
2008-11-02 15:42:10 Bug Watch Updater udev: status Unknown Fix Released
2008-11-03 17:58:28 Martin Pitt linux: milestone intrepid-updates
2008-11-03 17:58:28 Martin Pitt linux: bugtargetdisplayname linux (Ubuntu) udev (Ubuntu)
2008-11-03 17:58:28 Martin Pitt linux: bugtargetname linux (Ubuntu) udev (Ubuntu)
2008-11-03 17:58:28 Martin Pitt linux: statusexplanation Cool, confirmed :) I'm not sure about the package though It seems that this this actually an udev problem after all: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=f755fd5657b619fd27160ad202fc5d773d096e9c So it seems that the last ioctl kernel patch referenced above just fixed the return status enough to make the emitted change events actually work, so that udev's rules would kick in.
2008-11-03 17:58:28 Martin Pitt linux: title Bug #283316 in linux (Ubuntu): "opening /dev/scdN causes tray to be closed" Bug #283316 in udev (Ubuntu): "opening /dev/scdN causes tray to be closed"
2008-11-03 17:59:18 Martin Pitt title opening /dev/scdN causes tray to be closed CD-ROM tray closes automatically after eject
2008-11-03 18:03:55 Martin Pitt udev: status Triaged In Progress
2008-11-03 18:03:55 Martin Pitt udev: assignee pitti
2008-11-03 18:11:42 Martin Pitt udev: status In Progress Fix Committed
2008-11-03 18:11:42 Martin Pitt udev: milestone intrepid-updates
2008-11-03 18:12:18 Martin Pitt bug added subscriber SRU Verification
2008-11-04 07:18:14 Martin Pitt linux: status New Invalid
2008-11-04 07:18:14 Martin Pitt linux: statusexplanation
2008-11-04 07:18:28 Martin Pitt linux: status New Invalid
2008-11-04 07:18:28 Martin Pitt linux: statusexplanation
2008-11-04 22:24:12 Bug Watch Updater linux: status In Progress Invalid
2008-11-04 23:45:06 Launchpad Janitor udev: status Triaged Fix Released
2008-11-09 11:59:55 dj3 bug added attachment 'cdrom.txt' (cdrom.txt)
2008-11-10 07:55:20 Martin Pitt udev: status Fix Committed Fix Released
2008-11-10 07:55:20 Martin Pitt udev: statusexplanation Copied to intrepid-updates.
2008-12-30 17:27:47 Bug Watch Updater udev: status Fix Released In Progress
2009-01-08 01:11:04 Savvas Radevic udev: status Fix Released Confirmed
2009-01-08 01:11:04 Savvas Radevic udev: statusexplanation Copied to intrepid-updates. Re-opening the bug - 4 people still facing cd retraction (Intrepid amd64 and i386).
2009-01-15 06:50:20 jhfhlkjlj bug added attachment '60-persistent-storage.rules' (60-persistent-storage.rules)
2009-01-25 19:19:33 Graham Bleach bug added attachment '60-persistent-storage.rules' (Original udev rules file)
2009-01-27 12:25:06 Martin Pitt udev: status Confirmed Fix Released
2009-01-27 12:25:06 Martin Pitt udev: statusexplanation Re-opening the bug - 4 people still facing cd retraction (Intrepid amd64 and i386). This bug has a lot of subscribers, and it is fixed for most of them. So let's not spam all those with the remaining corner cases. If you still experience it, please open a new one, subscribe "pitti" to it, and do the following things: * Open a terminal and run "sudo udevadm monitor --udev 2>&1 | tee /tmp/udev.log". Then reproduce the problem by inserting/ejecting CDs. Attach /tmp/udev.log to that new bug afterwards. * Do "sudo /etc/init.d/hal stop" and check whether you still can reproduce the problem. Do "sudo /etc/init.d/hal start" to bring system into normal state again after the test.
2009-03-19 14:16:10 Savvas Radevic removed subscriber Savvas Radevic
2009-04-08 17:33:32 Kenneth Perry removed subscriber Kenneth Perry
2009-05-30 16:52:18 unggnu removed subscriber unggnu
2009-07-08 18:11:15 Nerd_bloke removed subscriber Nerd_bloke
2009-07-16 03:53:53 Chinmay Kamat removed subscriber chinmay
2009-09-22 20:28:03 Manuel Duran Moyano removed subscriber Manuel Duran Moyano
2009-11-01 08:17:19 renbag removed subscriber Renzo Bagnati
2009-12-18 21:36:18 Scott removed subscriber Scott
2010-03-01 20:41:08 Andrew Fackey removed subscriber Andrew Fackey
2010-03-14 20:16:54 i removed subscriber Sergio
2010-06-03 14:27:59 Paul Sinnett nominated for series Ubuntu Lucid
2010-06-05 14:28:30 J.M. "Peng" Hardin removed subscriber J.M. "Peng" Hardin
2010-09-12 18:57:00 TGP1994 bug added subscriber TGP1994
2010-09-12 23:58:46 Caysho removed subscriber Caysho
2011-02-04 10:15:54 Bug Watch Updater gentoo: importance Unknown Medium
2011-02-04 10:26:24 Bug Watch Updater linux: importance Unknown Medium
2011-02-06 09:08:59 Jochen Fahrner bug added subscriber Jochen Fahrner
2011-02-23 00:22:10 Rob Ostapiuk removed subscriber Rob Ostapiuk
2011-04-21 10:28:50 FrenchNux removed subscriber FrenchNux
2011-08-08 17:05:15 Michael B. Trausch removed subscriber Michael B. Trausch
2011-10-07 04:03:05 Ubuntu QA Website tags regression-release verification-done iso-testing regression-release verification-done
2011-10-07 07:23:25 Bolderbast removed subscriber Bolderbast
2011-10-08 12:24:59 Erick Brunzell bug added subscriber Erick Brunzell
2011-10-09 10:35:11 davee bug added subscriber davee
2011-10-09 13:38:44 navsnipe removed subscriber navsnipe
2011-10-09 23:35:03 THCJB bug added subscriber THCJB
2011-10-11 13:24:10 eagleton removed subscriber eagleton
2011-12-10 09:42:41 eagleton bug added subscriber eagleton
2012-05-14 13:21:48 Oliver R. bug added subscriber Oliver R.
2012-05-14 14:59:17 Brian Murray removed subscriber Brian Murray
2014-05-07 06:58:23 Jochen Fahrner removed subscriber Jochen Fahrner
2014-09-23 14:32:13 Alan removed subscriber Alan
2017-10-26 22:06:40 Bug Watch Updater udev (Fedora): status In Progress Won't Fix
2017-10-26 22:06:40 Bug Watch Updater udev (Fedora): importance Unknown High
2017-10-27 08:39:06 S├ębastien Valette removed subscriber S├ębastien Valette