I know. I'm using AHCI for hard drive hot plugging.
I've figured it out. I feel very stupid. Ages ago I bought an IDE/RAID PCI-e card from Dynamode and forgot it was installed. THere are no standard drivers for it so I've just gone looking for the correct ones.