Define "Not work"
I assume the Bios sees all the drives. (Which would mean power and jumper settings were correct).
Does Windows see all the drives?
Can you just not write (which can be down to the writing software). Or can you not read either?
Have you moved one of the drives over to the Primary IDE from the secondary IDE (in which case it could be a motherboard driver issue).
Simplest way to see if the device is correctly detected is to do the usual (windows Key) and (break) combination to get the system info, then Hardware and Device manager (as Sandra suggested). Have a look under IDE controllers and then at the properties on the Primary and Secondary IDE channels to see if the advanced settings have a difference in DMA modes.
I'd hazzard a guess that you'e got a UDMA66 cable on your hard drive which is now connected to one of the other devices that doesn't support UDMA66 - this causes all sorts of strange problems w.r.t. detection issues.
Solution is either drop back to 33 cable (and slow your hard drive down) or learn to love writing at 16x
Changing the settings in the advanced settings mentioned may allow you to do a correct detect.