But will a bad knock sensor cause the observed problem, ie stalling at idle? Has the dealer said if any other codes are set? For sure if a bad knock sensor can produce that symptom, then I agree. I guess I'd do the relocation one anyway, since it's easy. I don't write the software, but I would think if the software knows that a knock sensor is bad, it would just set the timing at a conservative setting that would have the engine idling OK.