kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #23180
[Bug 398670] Re: eject: unable to eject, last error: Inappropriate ioctl for device
Alan Mayer, if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux
For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette
When opening up the new report, please feel free to subscribe me to it.
Please note, not filing a new report would delay your problem being
addressed as quickly as possible.
No need exists to comment here at this time. After reading the above
documentation in it's entirety, if you have further questions, you are
welcome to redirect them to the appropriate mailing list or forum via
http://www.ubuntu.com/support/community/mailinglists , or you may
contact me directly.
Thank you for your understanding.
--
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