LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't eject CD in Slackware 14.1 Inappropriate ioctl for device (https://www.linuxquestions.org/questions/slackware-14/cant-eject-cd-in-slackware-14-1-inappropriate-ioctl-for-device-4175485752/)

m1m 11-24-2013 04:32 PM

Can't eject CD in Slackware 14.1 Inappropriate ioctl for device
 
After upgrade to Slackware 14.1 x86_64 I can't eject from console as normal user:

Code:

eject: unable to eject, last error: Inappropriate ioctl for device
I have sufficient permissions etc.
Code:

~> ls /dev/sr0
brw-rw---- 1 root cdrom 11, 0 11-24 22:31 /dev/sr0
~> groups
users lp floppy audio video cdrom plugdev power netdev scanner burning

As root I don't see any errors, but cd-rom isn't ejected. It was working in Slackware 14.0
However I can eject from XFCE Thunar menu (as normal user)

More information:
as normal user
Code:

~> 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

as root
Code:

~> 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 succeeded


Diantre 11-24-2013 05:09 PM

Possibly related to the udev/eject problem... Check this thread and this one.


All times are GMT -5. The time now is 12:08 AM.