help with vista install

IT is ide. I just put this computer together over the weekend. The DVD drive is out of my old computer. It is a HP dvd 840b burner. It read my windows xp disc but it dosent even recognize the vista dvd. What can be the problem? Does it sound like a drive problem or a motherboard problem?