[Bug 875543] Re: [Dell Inspiron 2500] Can't eject cd rom : Inappropriate ioctl for device

Jim Caughran caughranJim at gmail.com
Mon Aug 7 21:37:20 UTC 2017


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 at Quandry:~$ eject
eject: unable to eject, last error: Inappropriate ioctl for device
jim at 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
caughranjim at gmail.com

On 4 August 2017 at 05:31, pavel <875543 at bugs.launchpad.net> 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
>

-- 
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:
  [Dell Inspiron 2500] Can't eject cd rom : Inappropriate ioctl for
  device

Status in udev package in Ubuntu:
  Expired

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