[Bug 875543] Re: can't eject cd rom : Inappropriate ioctl for device

Andrey 875543 at bugs.launchpad.net
Wed Jul 24 07:40:08 UTC 2013


Just stumbled upon such a problem. I was installing an OS onto VM using
host cdrom. Installation programm locked the drive and did not unlock it
afterwards for some reason, so, executing eject on the host system
yields "Inappropriate ioctl for device" error

sudo eject -i0
and then 
sudo eject 
resolved my issue. The drive bay opened automatically after last command - i hadn't to push the hw button to eject.

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