philpotrebel 0 Light Poster

i just built a pc with win XP and every time i try to install win xp it stops about 20 min. while installing and says hardware malfuntion and i am at a loss so if anyone can help me please do.
Thanks