Comment 47 for bug 875543

Revision history for this message
Jim Caughran (caughranjim) wrote : Re: [Bug 875543] Re: [Dell Inspiron 2500] Can't eject cd rom : Inappropriate ioctl for device

I have an on and off workaround: leave a blank cd in the drive when you
don't need the drive.

Here's one that worked on the second try:

jim@Quandry:~$ eject
eject: unable to eject, last error: Inappropriate ioctl for device
jim@Quandry:~$ 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 succeeded

===========
Jim Caughran
<email address hidden>

On 4 August 2017 at 05:31, pavel <email address hidden> wrote:

> This bug still exists in 17.04, although I didn't see it when used 12.04
> LTS on the same hardware
>
> $ LC_ALL=C 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
>
> $ file /dev/sr0
> /dev/sr0: block special (11/0)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/875543
>
> Title:
> [Dell Inspiron 2500] Can't eject cd rom : Inappropriate ioctl for
> device
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/udev/+bug/875543/+subscriptions
>