SATA ports won't work in AHCI mode

[SIZE=13px][FONT=verdana]Hello.[/FONT][/SIZE]
[SIZE=13px][FONT=verdana]I recently got new Intel SSD series 330 60gb in addition to my standard 1tb Samsung HDD. So I set RAID mode from IDE to AHCI in BIOS (mobo MSI X85 pro-e). Now some of SATA ports (port 3 and 5) don't recognize my HDD or CD/DVD being connected but I still can use them in windows while other ports display them normally in BIOS. Also when I switch back to IDE mode, ports 3 and 5 display hardware in BIOS.[/FONT][/SIZE]