2008 Isuzu KB300tdi – Losses power /engine management light comes on

I have an 2008 Isuzu KB300 tdi, the engine manegement light comes on and the vehicle loses power, the light goes off after a while and the power comes back.Getting white smoke out of the exhaust.