Easy fix:

Go and download patch burn.

Patchburn was created originally for external drives but users found out that it will install any drive on any powerpc mac from 10.1-10.5 leopard including cd drives and dvd drives i ran into the same issue with my g3 tower i had to replace the dvd drive and nothing would play untill i installed patchburn.