humm random knocking. I've been thinking maybe you got some "bad gas", I know weird, buy it's happened before. If you put "plus" or "extra" in whatever your gas station calls it, does it still knock?

If it does, probably something is messing timing (which I doubt) or IAT sensor. A too big change of real world value will cause some problems.