Symptom
As soon as computer is started up, the CD-RW drive tray ejects. After closing the tray, it immediately opens again.
Solution
1. Open the CD-RW door with your finger, as shown in Figure 1.
Figure 1 CD-RW door
2. Locate the CD-RW eject button on the lower right side of the drive face, as shown in Figure 2.
Figure 2 CD-RW drive face
3. Check for tape over the eject button.
4. Remove any tape if found.
If the drive tray continues to open by itself, disconnect the Apple Pro Keyboard, which may have a failing Eject button. If you have connected a third-party mouse or trackball you should disconnect it, too.