Why you cannot eject the DVD drive but only after several attempts
It seems so strange, but a DVD drive may refuse to open the first time, even the second or third, until it finally opens! The light flickers, it tries to open, but it seems like something inside is stuck.
Do not try but only if you are really desperate to find programs or services that impede the ejection; most probably this is not a software problem.
If DVD drives sit for a long time without being opened they tend to get sticky, like their door is glued. This means, if you decide to use it a little more, it may return to normal operation!
There may also be a problem with the gear; then you can hear the motor trying to open for a few seconds, until the pressure stops and the operation times out.
Perhaps the drive’s rubber belt, left in a position for a long time, is fixed in that position against the gear. There may also be a problem with the drive’s connectors. Then you need to remove the side panel off the machine and fix the connector. Maybe one of the connectors does not make a proper contact.
In my case the drive refused to open initially, but it did open after several attempts. Then I decided to open and close it sometimes every day to keep it “in shape”, and it now works without problems!
I assume that you know also about the manual way to release the tray in case of emergency. You need to push a thin wire into that little hole at the front of the drive.