[Bug 875543] Re: can't eject cd rom : Inappropriate ioctl for device
Bkorb
875543 at bugs.launchpad.net
Mon Oct 7 17:26:13 UTC 2013
I guess different folks have different results.
My version of "eject" does not accept "-i", but uses "-a" instead:
> # eject -a0
> eject: CD-ROM auto-eject command failed: Device or resource busy
Thus:
> # eject -v
> eject: using default device `/dev/cdrom'
> eject: device name is `/dev/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
> # lsof /dev/sr0
> #
so for me, rebooting is the only answer I can find.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/875543
Title:
can't eject cd rom : Inappropriate ioctl for device
Status in “udev” package in Ubuntu:
Confirmed
Bug description:
It's impossible to eject cd rom with the command eject or with the hard button
"Error ejecting: eject exited with exit code 1: eject: unable to eject, last error: Inappropriate ioctl for device"
This is a fresh install of oneiric.
Tried with the udev package from natty and it's working
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: udev 173-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sun Oct 16 09:45:47 2011
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
Lsusb:
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0cde:0008 Z-Com XG-703A 802.11g Wireless Adapter [Intersil ISL3887]
MachineType: Dell Computer Corporation Inspiron 2500
PccardctlIdent:
Socket 0:
no product info available
Socket 1:
no product info available
PccardctlStatus:
Socket 0:
no card
Socket 1:
no card
ProcEnviron:
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=f98a363b-9676-42d1-ae6a-afa64e3b5081 ro quiet splash pci=noacpi vt.handoff=7
SourcePackage: udev
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/03/2001
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: A11
dmi.board.name: Inspiron 2500
dmi.board.vendor: Dell Computer Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: Dell Computer Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrA11:bd12/03/2001:svnDellComputerCorporation:pnInspiron2500:pvrRevisionA0:rvnDellComputerCorporation:rnInspiron2500:rvrNone:cvnDellComputerCorporation:ct1:cvrN/A:
dmi.product.name: Inspiron 2500
dmi.product.version: Revision A0
dmi.sys.vendor: Dell Computer Corporation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/875543/+subscriptions
More information about the foundations-bugs
mailing list