Did you install support for your ide controllers?
What is your CD connect to? The second connector from second IDE port? The first connector from second IDE port?
Here is the run down.
hda - First drive connect to primary IDE controller.
hdb - Second drive to Primary IDE
hdc - First drive to Secondary IDE
hdd - Second drive to Secondary IDE