I sounds like your copy of xp has not gone through the authentication process. Once completed sp2 should install properly.

Another issue is that some have experienced problems installing sp2 until they uninstall sp1.