1st of, a few basic things you've probably already done.
Check the cables are firmly connected from/to P/S - motherboard - CD-ROM.
Try using a CD-Cleanup to clean the eyeled of your CD-ROM.
Try updating the F/W of your CD-ROM to the latest.
even if the above will help, it wont fix your Cd-ROM's other problems.. like opening and closing.. thats a physical problem.