[Bug 283316] Re: CD-ROM tray closes automatically after eject

Martin Pitt martin.pitt at ubuntu.com
Sun Oct 9 09:08:56 UTC 2011


The difference between the two has been an udev change:

  https://launchpad.net/ubuntu/+source/udev/173-0ubuntu4

I don't fully understand the ramifications of that patch towards
picking up CD-ROM events, but all other package updates which went
into the 1107.1 build has anything remotely to do with CD handling.

So if it's confirmed that 1107 has that bug, but 1107.1 not, then most
likely that udev change magically fixed the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/283316

Title:
  CD-ROM tray closes automatically after eject

Status in The Linux Kernel:
  Invalid
Status in Release Notes for Ubuntu:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “udev” package in Ubuntu:
  Fix Released
Status in “linux” source package in Intrepid:
  Invalid
Status in “udev” source package in Intrepid:
  Fix Released
Status in “udev” package in Fedora:
  In Progress
Status in Gentoo Linux:
  Fix Released

Bug 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 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 at 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

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




More information about the foundations-bugs mailing list