eject: unable to eject, last error: Inappropriate ioctl for device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
See Bug #875543
michael@doulos:~$ eject /dev/sr0
eject: unable to eject, last error: Inappropriate ioctl for device
michael@doulos:~$ sudo eject -i off
eject: tried to use `/media/cdrom' as device name
michael@doulos:~$ file /dev/sr0
/dev/sr0: block special (11/0)
michael@doulos:~$ sudo eject -i off
[sudo] password for michael:
eject: tried to use `/media/cdrom' as device name but it is no block device
eject: unable to find or open device for: `cdrom'
michael@doulos:~$ eject -i off /dev/sr0
ioctl on CDROM_LOCKDOOR: Device or resource busy
michael@doulos:~$ ls /media
cdrom michael
michael@doulos:~$ sudo lshw
SCSI
(Still waiting for further response here)
Probable cause: As I was creating a traditional music CD using Brasero, I renamed the containing folder while the first song was being written... Error messages resulted. The hard drive ran for a long while. After that, the CD light has been on all night, and I think it's still quietly running. Pressing and holding the CD release button didn't work. I haven't tried sticking a paper clip into the hole. The drive is not visible in Thunar file manager.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.16.0-28-generic i686
ApportVersion: 2.14.7-0ubuntu8
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: XFCE
Date: Fri Dec 19 05:19:27 2014
HibernationDevice: RESUME=
InstallationDate: Installed on 2010-10-21 (1519 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
IwConfig:
lo no wireless extensions.
eth2 no wireless extensions.
MachineType: Dell Inc. OptiPlex 760
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.138
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2014-10-31 (48 days ago)
dmi.bios.date: 08/17/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 0M863N
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 15
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 760
dmi.sys.vendor: Dell Inc.
Relevant result of sudo lshw:
descripti on: DVD-RAM writer
product: BD ROM BC-5501H
vendor: hp
physical id: 0.0.0
logical name: /dev/sr0
version: 2.87
capabilit ies: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configura tion: ansiversion=5 status=ready
physical id: 0
logical name: /dev/sr0
*-cdrom
bus info: scsi@3:0.0.0
*-medium