Red Hat Bugzilla – Bug 574990
bad DVD can't be ejected without hard reboot
Last modified: 2010-03-19 12:25:19 EDT
Created attachment 401162 [details]
small sample of error message output
Description of problem:
If I either (apparently unsuccessfully) burn a DVD or insert another DVD of unknown quality that has errors of some sort, it doesn't mount and keeps trying to access the disk and gives continuous error messages in /var/log/messages. The only way I've found to retrieve the DVD and stop the error messages is to hard reboot the pc. I had the same problem in F12, this is a F13 only install, using pre-alpha netinstall.
Version-Release number of selected component (if applicable):
insert 'bad' DVD into LG DVD drive (even some where dvd burning software reported success, and it comes up in external DVD player but has errors during playback of 1st of 2 videos).
Steps to Reproduce:
1. insert dvd into
It makes noises like the drive is trying to access it, but it doesn't mount to the desktop. Attempt to push the eject button on the drive or using eject command from terminal don't work. Check /var/log/messages and it keeps repeating same error message about 'Buffer I/O error'
If the disk is unreadable, the drive access times out with an error message and either ejects the disk or offers to eject the disk.
I have tried to open a terminal and as the local user or root user type 'eject /dev/sr0' and it will eventually return to the command prompt, but the drive doesn't open and the error messages continue. Just manually pushing the drive button also doesn't work. I had a similar experience (in F12) using K3B, tried to kill the K3B process and it wouldn't die.
can you open the tray after:
# echo 0 > /proc/sys/dev/cdrom/autoclose
# echo 0 > /proc/sys/dev/cdrom/lock
(In reply to comment #1)
> can you open the tray after:
> # echo 0 > /proc/sys/dev/cdrom/autoclose
> # echo 0 > /proc/sys/dev/cdrom/lock
I wasn't sure whether I was supposed to use those commands before or after I put in a 'bad' disk, so first I inserted one and had the usual issue, entered the commands, tray didn't open. Had to restart.
Then I gave those commands before putting in the dvd, it started to do the same (repeating same errors in error log) but when I pushed the button the drive door opened! Tried it again, and gave terminal command 'eject /dev/sr0' and after a couple moments, that worked too.
The short answer is yes, I can open the tray after those commands as long as they're done before I put in the dvd.
you might want to make it permanent for you faulty drive and put them in /etc/sysctl.conf: