Marvell 88SE9235 PCI SATA card in LibreELEC
#1
Hi

I have a Marvell 88SE9235 SATA PCI card(https://www.aliexpress.com/item/SATA-III...06828.html) attached to my ROCKPRO64 which i would like to use together with LibreELEC. However, drivers plugged into the card doesn't show up, so i think i may be missing some drivers.

I am running the latest LibreELEC build. with kernel 4.4.154.

I was previously running ayufan's ubuntu build, but couldn't get video acceleration to work in kodi, so i switched to LibreELEC where it seems to work without problems. However, my disks did show up when i ran Ubuntu, which makes me think it is probably a problem with the kernel drivers.

I actually tried compilling kodi myself, and set these extra kernel build options. However it did not seem to make any difference:
CONFIG_ARCH_MV78XX0=y
CONFIG_ARCH_DOVE=y
CONFIG_SATA_MV=y
CONFIG_SCSI_MVSAS=y
CONFIG_MACH_RD78X00_MASA=y
CONFIG_MARVELL_PHY=y
CONFIG_RAID_ATTRS=y
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_MQ_DEFAULT=y

If anybody have any ideas to what i might be missing to get the SATA card working?

Regards
Stefan
  Reply
#2
So, i managed to get the driver compiled into the kernel. Here is a link to my changed kernel config (located in projects/Rockchip/devices/RK3399/linux/rockchip-4.4/linux.aarch64.conf in the libreelec repo).

https://gist.github.com/StefanRvO/4607ce...977616ac47

However, the kernel seems to panic (e.g., the system freezes up) when i try to access the drive by e.g. doing file -s /dev/sda1
This also happened on ubuntu, so it seems to be a general problem. Does anybody have any experience or suggestions for fixing this? It seems strange to me, as the system can actually read from the drive as it can read the parition table, but something seems broken with actually accessing the data.
  Reply
#3
Hi Stefan,

It seems the Marvell 88SE923x cards do not work well with the RockPro64. See the problems that MisterA and myself have when trying to use the card with MrFixit's Feature-complete Debian Build image. The chipsets on our PCI-cards get very hot when the RockPro64 is turned on with the card inserted.

Could you check if the chipset on your PCI-card gets hot when the RockPro64 is powered on? Yours seems to have a heatsink on it, which is good. I own the Highpoint Rocket 640L (housing the Marvell 88SE9230 chipset) which doesn't have a heatsink. I'm actually afraid to use it now :p
[RockPro64 4GB (rev. 2.1) - Server + NAS]     [PineH64 3GB (model B)]     [Pine64-LTS 2GB (rev. 1.2)]
  Reply
#4
(05-06-2019, 04:14 AM)p1x3l3d Wrote: Hi Stefan,

It seems the Marvell 88SE923x cards do not work well with the RockPro64. See the problems that  MisterA and myself have when trying to use the card with MrFixit's Feature-complete Debian Build image. The chipsets on our PCI-cards get very hot when the RockPro64 is turned on with the card inserted.

Could you check if the chipset on your PCI-card gets hot when the RockPro64 is powered on? Yours seems to have a heatsink on it, which is good. I own the Highpoint Rocket 640L (housing the Marvell 88SE9230 chipset) which doesn't have a heatsink. I'm actually afraid to use it now :p

Hmm, that's not correct. My 88SE9230 runs very well since month. 24/7 Chip is warm.

I have an raid1 with two 2.5'' HDD. What we have done, to run this card? Please read this thread in my forum. (Sorry, only german)

On this kernel it's running.
Code:
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 5.0.0-1101-ayufan-g41eeb7cd789e aarch64)
Sorry for any mistakes. English is not my native language

1. RP64 v2.0 / PCIe NVMe as root / sd-card as boot / 2,5 Zoll HDD 1TB (USB3) using as Webserver .... (Kernel 4.4.167-1140-rockchip-ayufan-g6f266fb5d677)
2. RP64 v2.1 / PCIe SATA Marvell 88SE9230 Chipsatz / sd-card / 2 * 2,5 Zoll 2TB HDD (raid1) / using as NAS / Kernel 5.0.0-1101-ayufan-g41eeb7cd789e
3. RP64 v2.1 / testing.....testing....testing

https://forum.frank-mankel.org/category/14/rockpro64



  Reply
#5
Hi Bullet64, awesome, thanks! I was not aware of this. Will definitely check out your forum.

Quote:24/7 Chip is warm.

I suppose I should add a heatsink to the card myself then.

Quote:Sorry for any mistakes. English is not my native language

No problem. Ich bin Holländer, also glaube ich das zu verstehen Smile
[RockPro64 4GB (rev. 2.1) - Server + NAS]     [PineH64 3GB (model B)]     [Pine64-LTS 2GB (rev. 1.2)]
  Reply
#6
I tried some of the suggestions in the treath, but didn't manage to get the card working, so I have kind of given up on it. I have board some USB -> SATA connectors instead.
  Reply
#7
I also switched to the latest Ayufan image (0.8.0rc10) with the latest kernel (linux-image-5.0.0-1105-ayufan-g2d7c76c290dc) and the card is still not coming up. I think the card might have died, as lspci gives some worrying feedback, something like 'libpci error: cannot access pci address 0:00:00'. It only says this when I boot up the system with the card inserted. With the card removed no error is returned. I'm certain that I've seen lspci return info about the card earlier on, so the card must've died recently. Shame, it was brand new!
[RockPro64 4GB (rev. 2.1) - Server + NAS]     [PineH64 3GB (model B)]     [Pine64-LTS 2GB (rev. 1.2)]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  PCIe Sata II adapter and ssd TRIM bavay 0 92 08-16-2019, 07:49 AM
Last Post: bavay
  disappearing sata drives Mentaluproar 2 139 05-18-2019, 09:44 PM
Last Post: Mentaluproar
  issues loading firmware and missing pci card rich0 7 714 04-06-2019, 03:34 PM
Last Post: rich0
  Image for ZFS on PCIe SATA drives with OpenVPN and WiFi caillou 0 205 02-26-2019, 05:14 PM
Last Post: caillou
  LibreELEC Beta image (04/01/2019) Luke 0 341 01-10-2019, 08:05 AM
Last Post: Luke
  Sata/PCI-E problems? Takenover83 6 883 10-20-2018, 05:36 AM
Last Post: jja2000
  New LibreELEC Alpha Luke 0 238 10-09-2018, 02:30 PM
Last Post: Luke
  LibreELEC gabrielsr 14 1,238 09-02-2018, 01:22 PM
Last Post: Luke
Information PCIe -> SATA and NVMe work as of 0.6.59 Luke 13 1,800 08-06-2018, 11:33 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)