Try washing the CDs with mild soap and water. Smudges can cause read/write errors.
Also try cleaning the CD ROM drive. Open the drawer and blow into it. There could be dust affecting the optics. You can get aerosol cans of compressed air in some computer supply stores.
If after all that, you are sure the disks are OK, and the drive has worked in that machine before, then the drive is probably bad.