This is weird, for ahci to work I have to enable the jmicron controller... Otherwise it just won't find any devices, even though the ahci screen shows that my hdd and dvdrw are present.