ejecting cd/dvd sometimes fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
udev (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Since upgrading from ubuntu 10.04 to ubuntu 12.04 the eject command sometimes fails to eject the drive:
michael@
eject: unable to eject, last error: Inappropriate ioctl for device
This happens when there is no medium in the drive.
Expected behaviour would be to open the drive so that a medium can be inserted.
Sometimes this also happens with a medium in the drive.
In this case pressing "Eject" at the drive ejects the medium, thus the medium in the drive was not locked.
dmesg does not show any errors when eject failed.
michael@quad:~$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
michael@quad:~$ cat /proc/version_
Ubuntu 3.2.0-23.
michael@quad:~$ uname -a
Linux quad 3.2.0-23-
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: eject 2.1.5+deb1+
ProcVersionSign
Uname: Linux 3.2.0-23-
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
Date: Sun Apr 22 14:51:13 2012
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US
SHELL=/bin/bash
SourcePackage: eject
UpgradeStatus: Upgraded to precise on 2012-04-18 (3 days ago)
---
ApportVersion: 2.0.1-0ubuntu5
Architecture: i386
DistroRelease: Ubuntu 12.04
NonfreeKernelMo
Package: linux
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: precise
Uname: Linux 3.2.0-23-
UpgradeStatus: Upgraded to precise on 2012-04-18 (6 days ago)
UserGroups: Debian-exim adm admin audio cdrom dialout dip floppy fuse lpadmin mythtv plugdev sambashare video
Changed in linux (Ubuntu): | |
status: | Invalid → Confirmed |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in udev (Ubuntu): | |
status: | New → Invalid |
tags: | added: trusty |
tags: | removed: trusty |
When eject -t fails, retrying many times does not help, but pressing eject at the drive works.
When eject works, with no medium, the commands
eject
eject -t
eject -T
work as expected and retrying multiple times do not show any problems.
Sometimes eject may report Input/output error:
michael@quad:~$ eject -T
ioctl: Input/output error
Retrying then may work.