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

Mike Mestnik 283316 at bugs.launchpad.net
Tue Oct 4 17:41:15 UTC 2011


Hello, I thought I'd bump this as it's still vary annoying.  What
bothers me most about this is that there is some process that is
obviously hammering the optical drive with requests.  This might not
disrupt throughput to/from the drive, but it can't be good for it.

I'd like to test with a patched kernel that would hopefully print the
PID and/or name of the application responsible.  Is there anyone who
could write such a patch?

Another note is that only the first opdrive is effected, the second on
my system operates without issue.

I'd like to be able to have the drive auto-close, so disabling this nice
feature is not an option for me...  even if it where to work around this
bug.

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