Your computer should have come with a disc called Apple Hardware Test. This might help diagnose.
http://docs.info.apple.com/article.html?artnum=113609
My disc drive had similar problems, but was under the 1 year manufacturers warranty, so it was free fix. But I bet your eMac is older than 1 year.