PCI-E add-on Success & Failures
#6
(09-09-2018, 12:02 PM)xtract Wrote: I have been able run  a sata card based on Marvell 88SE9230, with 4 ports.

Kernel:
Linux rockpro64 4.18.0-rc8-1060-ayufan-g45828c4db727 #1 SMP PREEMPT Thu Aug 9 19:41:21 UTC 2018 aarch64 GNU/Linux

...

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'"



I have only tried with one drive yet, the second one is on its way  Rolleyes

I have Delock's 4 port SATA controller which is based on Marvell 88SE9230 chip too (https://www.delock.com/produkt/89395/merkmale.html). Got it working after adding binding to udev rules like above (thanks xtract). Having 4 WD Reds running so far without problems.

88SE9230 does get really hot though (at least on this card). Its little heat sink gets too hot to touch. I'm considering a cooling fan for it.

Code:
$ uname -a
Linux rockpro64 4.19.0-1073-ayufan-ga6e013135a6e #1 SMP PREEMPT Tue Oct 23 09:19:54 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

$ lspci -nn
00:00.0 PCI bridge [0604]: Rockchip Inc. RK3399 PCI Express Root Port Device [1d87:0100]
01:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller [1b4b:9230] (rev 11)

$ lsblk -S
NAME HCTL       TYPE VENDOR   MODEL             REV TRAN
sda  0:0:0:0    disk ATA      WDC WD30EFRX-68N 0A82 sata
sdb  1:0:0:0    disk ATA      WDC WD30EFRX-68N 0A82 sata
sdc  2:0:0:0    disk ATA      WDC WD30EFRX-68N 0A82 sata
sdd  3:0:0:0    disk ATA      WDC WD30EFRX-68N 0A82 sata

$ cat /etc/udev/rules.d/99-local-last.rules 
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x1b4b", ATTR{device}=="0x9230", RUN+="/bin/bash -c 'echo %k > /sys/bus/pci/drivers/ahci/bind'"


Messages In This Thread
PCI-E add-on Success & Failures - by macross_dyrl - 08-25-2018, 06:41 PM
RE: PCI-E add-on Success & Failures - by nuumio - 11-18-2018, 10:53 AM
RE: PCI-E add-on Success & Failures - by huey - 12-15-2018, 08:18 AM
RE: PCI-E add-on Success & Failures - by nuumio - 01-27-2019, 02:08 AM
RE: PCI-E add-on Success & Failures - by nuumio - 12-15-2018, 12:31 PM
RE: PCI-E add-on Success & Failures - by huey - 12-15-2018, 01:09 PM
RE: PCI-E add-on Success & Failures - by gokuz - 12-19-2018, 12:12 AM
RE: PCI-E add-on Success & Failures - by nuumio - 12-19-2018, 02:07 PM
RE: PCI-E add-on Success & Failures - by gokuz - 12-19-2018, 11:43 PM
RE: PCI-E add-on Success & Failures - by nuumio - 12-20-2018, 03:08 AM
RE: PCI-E add-on Success & Failures - by nuumio - 01-29-2019, 12:49 PM
RE: PCI-E add-on Success & Failures - by nuumio - 02-02-2019, 11:00 AM
RE: PCI-E add-on Success & Failures - by huey - 03-05-2019, 12:51 PM
RE: PCI-E add-on Success & Failures - by ChNaed - 03-22-2019, 02:30 AM
RE: PCI-E add-on Success & Failures - by taube - 12-27-2019, 10:47 AM
RE: PCI-E add-on Success & Failures - by fysa - 02-19-2020, 09:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Music No success with audio crmcalls 2 2,167 04-15-2021, 11:17 PM
Last Post: crmcalls
  4K Success? bprotas 1 2,708 08-08-2018, 06:22 AM
Last Post: gabrielsr

Forum Jump:


Users browsing this thread: 1 Guest(s)