|"he tried to upgrade the computer using his XP recovery cd from his gateway"|
That wasn't too smart of him. You're going to have to completely wipe the hard drive & start from scratch.
That computer is NOT a good candidate for XP...stick with WinME or possibly Win2000. If you're adventurous, you could try one of the Linux distros that are designed for old hardware.
Here's the system specs...the link to the drivers is on the left: