I believe the milage is stored in the instrument pack and the lighting module... the milages are compared and if within range all is well, but if the milages dont match it craps out...
However for a brand new instrment pack and a session on T4, I have been told you have about 50 miles or so to get it set to the correct milage
Nick