I booted up Windows 7 on the computer and it too was unable to open the drive door or read the disk. I turned off the machine for the night and, in the morning, booted up Ubuntu. Pressing the button during the boot process, the gate opened and the tray came out.
It's possible that the hardware is failing intermittently, or I perhaps the software under Ubuntu put the drive into a locked gate state which was not released by a reboot but was released by a complete power down. If the latter explanation is right, it would be wonderful if someone figured out how to fix it without powering down, for example by a change to what happens when 'sudo eject -i off' is run. However, I don't know how anyone could reproduce this problem reliably, especially on another machine. So I could not, in good conscience, ask for the issue to be re-opened. If others do report the same problem and the issue is reopened, maybe the notes I've posted here and in comment #6 will be of use. Thanks. -- 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 -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

