normally when there is a problem with a cd rw drive it usually is firmware upgrade eight out of ten times ..if you can give exact model and stuff it can be found ...
also when burning what program are you burning with ? have you tried newer version
example nero 220.127.116.11 or roxio ? still have same problems ?
just some spots to go to first to determine problem ...but if it runs in 98 fine then you move to your machine xp and have problems you have to start looking at things like this ... also sometimes ide drivers ..getting the updated drivers help [ motherboard drivers ]
but that is order i would go in to solve the prob