I have a new laptop (Sony Vaio Ultrabook with an i3 processor) with a SATA controller that apparently only operates in AHCI-mode. In addition to that, it appears that ATAPI command 0xEC (identify drive) works, but ATAPI command 0x25 (READ DMA EXT) doesn't work. The drive returns a FIS with status 0x51 and error 0x4.
Could it be that some modern SATA-drives only support NCQ?
SATA drives with only NCQ?
Re: SATA drives with only NCQ?
Apparently, some SATA devices checks the bits in the device-field in the FIS, and refuse to work if bit 6 is not set. Strange, but now it works.
Now the AHCI driver works on at least 2 different Intel machines and 1 AMD machine, which is a huge advance. Now I also support 64-bit physical addresses in the AHCI-driver, and check so the 64-bit available bit is set in AHCI if something attempts to pass an above 4G address. Both the tested Intel machines have 4G installed, with some of it residing above 4G.
Now the AHCI driver works on at least 2 different Intel machines and 1 AMD machine, which is a huge advance. Now I also support 64-bit physical addresses in the AHCI-driver, and check so the 64-bit available bit is set in AHCI if something attempts to pass an above 4G address. Both the tested Intel machines have 4G installed, with some of it residing above 4G.