add check kernel mk faile codes