Ok I have alway setup a system as follows hard drives on the primary IDE channel with the drive with windows installed on set as master and the backup hard drive set as slave.
Optical drives always on the secondary IDE chanel with the writer set as master and the rom drive as slave.
Hope that helps.
What software are you using? what drives are they? and what media are you using?