Or the knock sensor is bad???

Could be a short in the wiring.