Well, it is definitely some sort of software issue.
If reinstalling the drivers for the optical drives doesn't work, you can try uninstalling and reinstalling the primary and secondary IDE channel drivers in the IDE ATA/ATAPI Controllers section in device manager. Maybe your IDE controller drivers are corrupted or have some conflicts.
When you uninstall those drivers, Windows "should" reinstall them automatically. But do it at your own risk. If the channel drivers don't reinstall automatically, you would be risking having to reinstall Windows either by repair install or completely. I have only done that once to repair a problem similar to yours (and it worked) but I can't say I know 100% that Windows will automatically reinstall them every time.
Hope that helps!
