|You have an old toshiba with 98 on it with two optical drives while the HP has 7 on it and it's the one you're trying to fix?|
Do other disks work OK in either drive or are none seen? If others are OK the disk is the likely problem. If not, do any problems with the drives show in device manager? Also check that the data cable is in good condition and tightly connected. You might disconnect one and try each separately.
It's also quite possible that any drive on a computer old enough to be running 98 is simply worn out.