High compression timing issue.

A knock from pinging/detonation should only appear when you're hard on the gas; if it's making a regular knocking sound anytime the engine is running it's either what GEO mentioned or internal engine damage.