Yeah sharing HDDs with CD-ROMs on the same cable is very bad. They will conflict with each other at worst and at best they will share the channel which will seriously degrade the performance of the CD-ROM and/or hard drive.
HDDs on one cable.
CD-ROMs on another.
Period.