05-05-2019, 01:37 AM
9230 controller seems to need a udev rule to do AHCI binding. There's some info about it in PCI-E add-on Success & Failures
thread:
You could try that. I have a bit different rule myself but essentially it does the same thing. It activates only when Marvell 9230 controller is found. Works in Ubuntu, maybe in Armbian too.
thread:
(09-09-2018, 12:02 PM)xtract Wrote: I have been able run a sata card based on Marvell 88SE9230, with 4 ports.
...
To get the rp64 I had to manually bind the ahci driver to the pcie card, adding a udev rule:
Code:root@rockpro64:~# cat /etc/udev/rules.d/99-marvell.rules
RUN+="/bin/bash -c 'echo 0000:01:00.0 > /sys/bus/pci/drivers/ahci/bind'"
You could try that. I have a bit different rule myself but essentially it does the same thing. It activates only when Marvell 9230 controller is found. Works in Ubuntu, maybe in Armbian too.
Code:
$ cat /etc/udev/rules.d/99-marvell.rules
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x1b4b", ATTR{device}=="0x9230", RUN+="/bin/bash -c 'echo %k > /sys/bus/pci/drivers/ahci/bind'"