I have similar problem, engine light on,when is cold rev stuck at 2100,when is warm rev is ok but engine light still on.my mechanic suspected glow plugs and after testing them he found out one of them was showing high resistance.anyway
Glow plug was replaced, but no luck. Did diagnostic check...