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

ethanay ethan.y.us at gmail.com
Mon Apr 8 18:46:52 UTC 2013


Step #3 in comment 5 above works for me:
3. 'sudo eject -i off'

So it seems that the drives are locking after eject for some reason?
For me, this happens on Lubuntu 12.10.  I can insert one CD and eject
it, but then the drive is unusable again until I issue the command
above.

It only happens with my DVD reader (/dev/sr0), not my DVD writer
(/dev/sr1).  lshw taken after issuing the command above, both drives are
in fact empty.

 *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-cdrom:0
             description: DVD reader
             product: DVD-ROM GDR8161B
             vendor: HL-DT-ST
             physical id: 0.0.0
             bus info: scsi at 0:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/dvd
             logical name: /dev/sr0
             version: 0040
             capabilities: removable audio dvd
             configuration: ansiversion=5 status=nodisc
        *-cdrom:1
             description: DVD writer
             product: DVD-RW GSA-H11N
             vendor: HL-DT-ST
             physical id: 0.1.0
             bus info: scsi at 0:0.1.0
             logical name: /dev/cdrom1
             logical name: /dev/cdrw1
             logical name: /dev/dvd1
             logical name: /dev/dvdrw1
             logical name: /dev/sr1
             version: JG03
             capabilities: removable audio cd-r cd-rw dvd dvd-r
             configuration: ansiversion=5 status=nodisc

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