← Back to team overview

kernel-packages team mailing list archive

[Bug 1404199] [NEW] eject: unable to eject, last error: Inappropriate ioctl for device

 

Public bug reported:

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-3.16.0-28-generic 3.16.0-28.38
ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
Uname: Linux 3.16.0-28-generic i686
ApportVersion: 2.14.7-0ubuntu8
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  michael    3339 F.... pulseaudio
CurrentDesktop: XFCE
Date: Fri Dec 19 05:19:27 2014
HibernationDevice: RESUME=UUID=48a513bd-893a-4888-8179-ab39991a217c
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=/boot/vmlinuz-3.16.0-28-generic root=UUID=2d538d30-263b-48c6-9250-81f4004b1215 ro vga=789 plymouth:debug quiet drm.debug=0xe splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-28-generic N/A
 linux-backports-modules-3.16.0-28-generic  N/A
 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.:bvrA05:bd08/17/2009:svnDellInc.:pnOptiPlex760:pvr:rvnDellInc.:rn0M863N:rvrA01:cvnDellInc.:ct15:cvr:
dmi.product.name: OptiPlex 760
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 utopic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1404199

Title:
  eject: unable to eject, last error: Inappropriate ioctl for device

Status in linux package in Ubuntu:
  New

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-3.16.0-28-generic 3.16.0-28.38
  ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
  Uname: Linux 3.16.0-28-generic i686
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  michael    3339 F.... pulseaudio
  CurrentDesktop: XFCE
  Date: Fri Dec 19 05:19:27 2014
  HibernationDevice: RESUME=UUID=48a513bd-893a-4888-8179-ab39991a217c
  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=/boot/vmlinuz-3.16.0-28-generic root=UUID=2d538d30-263b-48c6-9250-81f4004b1215 ro vga=789 plymouth:debug quiet drm.debug=0xe splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-28-generic N/A
   linux-backports-modules-3.16.0-28-generic  N/A
   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.:bvrA05:bd08/17/2009:svnDellInc.:pnOptiPlex760:pvr:rvnDellInc.:rn0M863N:rvrA01:cvnDellInc.:ct15:cvr:
  dmi.product.name: OptiPlex 760
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1404199/+subscriptions


Follow ups

References