← Back to team overview

kernel-packages team mailing list archive

[Bug 415539] Re: DVD/CD drive isn't picked up after eject

 

I am seeing this in 13.10, on a Lenovo L430.
- There is no CD in the drive. The drive is empty.
- The physical switch on the CD-ROM drive does nothing.
- The door works fine after reboot. It gets locked after ejecting 1 CD.
- This happens when ejecting using Nautilus, and also when ejecting using Unity dock right-click-eject.

$ sudo eject -v
[sudo] password for xxx:
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/sr0'
eject: `/dev/sr0' is not mounted
eject: `/dev/sr0' is not a mount point
eject: `/dev/sr0' is not a multipartition device
eject: trying to eject `/dev/sr0' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/sr0' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/sr0' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/sr0' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Inappropriate ioctl for device

$ sudo hdparm -I /dev/sr0

/dev/sr0:

ATAPI CD-ROM, with removable media
 Model Number: HL-DT-ST DVDRAM GT80N
 Serial Number: M8LD9N22229
 Firmware Revision: LN81
 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
 Likely used CD-ROM ATAPI-1
Configuration:
 DRQ response: 50us.
 Packet size: 12 bytes
 cache/buffer size = unknown
Capabilities:
 LBA, IORDY(can be disabled)
 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
      Cycle time: min=120ns recommended=120ns
 PIO: pio0 pio1 pio2 pio3 pio4
      Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
 Enabled Supported:
    * Power Management feature set
    * PACKET command feature set
    * DEVICE_RESET command
    * NOP cmd
    * 64-bit World wide name
    * Gen1 signaling speed (1.5Gb/s)
    * Phy event counters
      Device-initiated interface power management
      Asynchronous notification (eg. media change)
    * Software settings preservation

Nothing about this is showing in dmesg.

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

Title:
  DVD/CD drive isn't picked up after eject

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: nautilus

  Installed Ubuntu on my new laptop recently (Acer Timeline 4810T) and
  have been enjoying it immensely however I've recently watched a DVD
  and then, when finished, I ejected it and wanted to watch a new one
  but suddenly the drive is  longer detected!

  DMesg output follows:
  * Eject pressed
  [ 3905.408667] ata5: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
  [ 3905.408676] ata5: irq_stat 0x40000001
  * New disc inserted and tray reinserted
  [ 3908.592037] ata5: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
  [ 3908.592047] ata5: irq_stat 0x40000001
  [ 3940.000375] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
  [ 3940.000393] ata5.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
  [ 3940.000395]          cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  [ 3940.000398]          res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
  [ 3940.000405] ata5.00: status: { DRDY }
  [ 3940.000416] ata5: hard resetting link
  [ 3945.845827] ata5: failed to reset engine (errno=-5)
  [ 3950.016256] ata5: softreset failed (device not ready)
  [ 3950.016277] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  [ 3955.016082] ata5.00: qc timeout (cmd 0xa1)
  [ 3955.516272] ata5.00: failed to IDENTIFY (I/O error, err_mask=0x4)
  [ 3955.516280] ata5.00: revalidation failed (errno=-5)
  [ 3955.516292] ata5: hard resetting link

  Hope that helps, apologies if this isn't due to Nautilus but it was
  the only relevant 'Report A Problem' button, feel free to reassign.

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 9.04
  ExecutablePath: /usr/bin/nautilus
  Package: nautilus 1:2.26.2-0ubuntu2
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  Uname: Linux 2.6.28-15-generic i686

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