Is the IDE cable connected properly to the CD drive?
I had a similair problem a few months back and that was the case, for some reason even although the cable wasn't connected properly, it would read most cd's just fine, yet when it cam to wrting to cd, nothing, I got an error message saying there wasn't even a cd/dvd drive connected to my machine.