SATA controller on MiniPCIe

Hi, anybody knows if TurrisOS on MOX can support an ASM1061 or any other SATA controller on modules B or G?
Thanks!

In general the linux kernel supports it since around 2011 and with the respective kconfig flags set it should be working.

If you want to place the controller board and the SSD inside the O or M it might be a difficult fit, that is probably why the NAS box attachment been conceived https://youtu.be/V-ACJhjRqC8?t=230

As for the power supply it does not seem to be an issue since the aforementioned NAS setup with a SATA controller (not sure which chip) would appear to work.

Heat dissipation could be an issue with two SSD inside the device.


That said it is curious that the kernel log actually states two available SATA slots for the O’s build-in controller:

ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
scsi host0: ahci-mvebu
scsi host1: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 45
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 45
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)

Thus, wondering whether it should not be possible to deploy two SSD natively (least in the O), perhaps one in the slot next to the CPU and another one in the slot farthest from the CPU.
Of course, that would mean forgoing one WLan card.

1 Like

I should be able to find my way with that info now. Thank you!

Some readings related to Omnia, SATA issues: SATA HDD issues
There you find link to “original” NAS sata controler on Amazon as well some alternatives. It is old and long, but some info is still handy.

Plus all the issues users faced so far (including me).

Since i got my OmniaNAS box i was not able to use two drives at same time. Second channel/drive was having i/o error during rw mount or very shortly after. It seems that second channel is broken or power supply is not able to handle two 4TB disks at once. Not mentioning NCQ issues and sata link stuff (some users have to lower the sata link speed to make it working)

Was not aware of such issues but then those appear to happened with the outdated TOS3.x, perhaps things have improved since then with TOS5.x?

Not for me. I am on 1 3.5 WD black HDD and 1 ADATA 256GB SSD (on port 2), and I am getting those issues on bootup, sometimes the boot process fails completely.
I suspect the driver craps out (e.g. drives are not mounted and there are a bunch of ATA errors in the kernel log) before the boot modules-boot.d atsha-fix process disables NCQ (which is a workaround)…