Hi,
the HDD you are installing XP on may be faulty and have some bad sectors.
Have you tried installing XP on the other 40gig HDD?