Repeated reboot while disk on DVD drive

Hi,
I have HP dvd drive running on xp. I cant run any dvd or cd in the drive.If i do it results in either restart or complete power off within few seconds.I have checked my dvd in other computer.Its ok.think its problem with my hardware??
any help??
