Dear Tejun/All, I just downloaded the ubuntu kernel source version 5.4.140 and I modified the ahci.c file: I simply added the extra line with the pci id of the card as shown below: /* Asmedia */ { PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci }, /* ASM1060 */ { PCI_VDEVICE(ASMEDIA, 0x0602), board_ahci }, /* ASM1060 */ { PCI_VDEVICE(ASMEDIA, 0x0611), board_ahci }, /* ASM1061 */ { PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci }, /* ASM1062 */ { PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci }, /* ASM1061R */ { PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci }, /* ASM1062R */ + { PCI_VDEVICE(ASMEDIA, 0x0624), board_ahci }, I built the kernel and rebooted the machine. Now the kernel can see disks attached to the card. As I just drop some hdds I had around, it seems I got some non-working hdds, so, I will have to get some proven working hdds to populate all the 10 sata channels and test them. Summary: at this point it seems with the modification above this card could work. If you need something I should do (test), please let me know, I would be happy to participate in this test. Thank you. István Pongrácz 2021. 10. 5, kedd keltezéssel 10.27-kor Pongrácz István ezt írta: > Dear Tejun/All, > > EDIT: sorry, the first email sent as html, now this is a clean txt > version of it. Sorry again. > > ---- > > I checked the ahci.c after I failed to use Asmedia sata card > (pci:1b21- > 0624-1b21-1060;01-01-85;detected;storage;pata_acpi;ASMedia Technology > Inc.;IDE interface;ASMedia Technology Inc.) in linux, using > kernel 5.11.0-37-lowlatency. > > As I found no answer/solution on the net, as a final resort I write > to > you about this card and try to ask you to look after this chip. > > Technically this pci sata card is a 10 ports card, using (as I can > see) > 3 chips in cascade to get 2x5 sata ports. > > Regarding to the recent Asmedia support, I found this: > https://github.com/torvalds/linux/blob/master/drivers/ata/ahci.c#L588 > > > /* Asmedia */ > { PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci }, /* ASM1060 */ > { PCI_VDEVICE(ASMEDIA, 0x0602), board_ahci }, /* ASM1060 */ > { PCI_VDEVICE(ASMEDIA, 0x0611), board_ahci }, /* ASM1061 */ > { PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci }, /* ASM1062 */ > { PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci }, /* ASM1061R */ > { PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci }, /* ASM1062R */ > > > So, unfortunately the 0624 is not there yet. > > Thank you all for your time an efforts regarding the development! > > Best regards, > Mr. István Pongrácz