WARNING: This page is about a different car, the 2008 Pontiac G5 and 2008 Chevrolet Cobalt. However, it is still accessible from the selected car via links, so may be relevant.
Ratcheting Noise
Checks
Causes
Parking Pawl (663)
The return spring is damaged, weak, or misassembled