← Back to team overview

kernel-packages team mailing list archive

[Bug 726785] Re: Cannot eject CDROM with bad media inserted - IO error

 

Confirming.

[21281.116107] Volume set (in), Read cd: be 00 00 02 3d 13 00 00 01 f8 00 00
[21281.116130] ata2.00: cmd a0/01:00:00:30:09/00:00:00:00:00/a0 tag 19 dma 2352 in
[21281.116130]          res 40/00:02:00:38:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[21281.116135] ata2.00: status: { DRDY }
[21286.156034] ata2: link is slow to respond, please be patient (ready=0)
[21291.140036] ata2: device not ready (errno=-16), forcing hardreset
[21291.140049] ata2: soft resetting link
[21296.336067] ata2: link is slow to respond, please be patient (ready=0)
[21301.152050] ata2: SRST failed (errno=-16)
[21301.152067] ata2: soft resetting link
[21306.348090] ata2: link is slow to respond, please be patient (ready=0)
[21311.164039] ata2: SRST failed (errno=-16)
[21311.164053] ata2: soft resetting link
[21316.360103] ata2: link is slow to respond, please be patient (ready=0)
[21346.208037] ata2: SRST failed (errno=-16)
[21346.208052] ata2: soft resetting link
[21351.236034] ata2: SRST failed (errno=-16)
[21351.247334] ata2: reset failed, giving up
[21351.247349] ata2.00: disabled
[21351.247357] ata2.01: disabled
[21351.247441] ata2: EH complete

$ sudo eject -v /dev/sr0
eject: device name is `/dev/sr0'
eject: expanded name is `/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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to eject in Ubuntu.
https://bugs.launchpad.net/bugs/726785

Title:
  Cannot eject CDROM with bad media inserted - IO error

Status in eject package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: eject

  I have media which cannot be read
  [ 7707.154066] Buffer I/O error on device sr0, logical block 1024
  [ 7707.154070] Buffer I/O error on device sr0, logical block 1025
  During read error I cant eject media even with eject command.
  I know about /proc/sys/dev/cdrom/lock and /proc/sys/dev/cdrom/autoclose variables but they need to be set before inserting media, and only way to fast remove is hard reset system. Eject should have --force option not as a feature but as solution of critical bug - in my case Cdrom gave strange sound and there was a risk it will brake.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: eject 2.1.5+deb1+cvs20081104-7
  Uname: Linux 2.6.34-02063407-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Mon Feb 28 21:43:17 2011
  EcryptfsInUse: Yes
  ProcEnviron:
   LANGUAGE=pl_PL
   LANG=pl_PL.utf8
   SHELL=/bin/bash
  SourcePackage: eject

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