← Back to team overview

kernel-packages team mailing list archive

[Bug 398670] Re: eject: unable to eject, last error: Inappropriate ioctl for device

 

Ralf Hildebrandt, this bug report is being closed due to your last
comment
https://bugs.launchpad.net/ubuntu/+source/eject/+bug/398670/comments/4
regarding this being fixed with an update. For future reference you can
manage the status of your own bugs by clicking on the current status in
the yellow line and then choosing a new status in the revealed drop down
box. You can learn more about bug statuses at
https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time
to report this bug and helping to make Ubuntu better. Please submit any
future bugs you may find.

** This bug is no longer a duplicate of bug 875543
   [Dell Inspiron 2500] Can't eject cd rom : Inappropriate ioctl for device

** Changed in: eject (Ubuntu)
       Status: New => Invalid

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

Title:
  eject: unable to eject, last error: Inappropriate ioctl for device

Status in “eject” package in Ubuntu:
  Invalid

Bug description:
  When issuing an "eject" command on the console, I get:

  $ eject
  eject: unable to eject, last error: Inappropriate ioctl for device

  $ dmesg
  reports:

  [  149.469374] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
  [  149.469380] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current] 
  [  149.469385] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
  [  149.469393] end_request: I/O error, dev sr0, sector 0
  [  149.469397] __ratelimit: 68 callbacks suppressed
  [  149.469400] Buffer I/O error on device sr0, logical block 0
  [  149.469403] Buffer I/O error on device sr0, logical block 1
  [  149.469407] Buffer I/O error on device sr0, logical block 2
  [  149.469410] Buffer I/O error on device sr0, logical block 3
  [  149.469412] Buffer I/O error on device sr0, logical block 4
  [  149.469415] Buffer I/O error on device sr0, logical block 5
  [  149.469417] Buffer I/O error on device sr0, logical block 6
  [  149.469419] Buffer I/O error on device sr0, logical block 7
  [  149.469422] Buffer I/O error on device sr0, logical block 8
  [  149.469424] Buffer I/O error on device sr0, logical block 9
  [  149.486612] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
  [  149.486618] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current] 
  [  149.486623] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
  [  149.486630] end_request: I/O error, dev sr0, sector 0
  [  149.503096] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
  [  149.503105] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current] 
  [  149.503112] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
  [  149.503121] end_request: I/O error, dev sr0, sector 0
  [  149.505347] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
  [  149.505360] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current] 
  [  149.505373] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
  [  149.505390] end_request: I/O error, dev sr0, sector 0

  Even if the CD cannot be read, I should still be able to eject it!

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

  $ lsb_release -rd
  Description:	Ubuntu karmic (development branch)
  Release:	9.10

  $ apt-cache policy eject
  eject:
    Installed: 2.1.5+deb1+cvs20081104-6
    Candidate: 2.1.5+deb1+cvs20081104-6
    Version table:
   *** 2.1.5+deb1+cvs20081104-6 0
          500 http://de.archive.ubuntu.com karmic/main Packages
          500 http://us.archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status

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