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
#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.
#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
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server
#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. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
#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
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server
#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.
#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!
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server


Possibly Related Threads…
Thread Author Replies Views Last Post
Question nand-sata-install on RAID-1 array ARMandHammer 1 1,248 02-12-2023, 03:10 AM
Last Post: igorp
  prevent bluetooth from loading (manjaro, no wifi/bt card installed) flounder 0 1,249 02-17-2022, 12:10 PM
Last Post: flounder
  HBA Card working on Aufan's builds but not in debian, armbian or dietpi charsi 1 2,254 10-29-2021, 11:15 AM
Last Post: TRS-80
  Power supply underpowered for Rockpro64, deficient PCIe SATA card, or something else? daffy 8 8,050 05-20-2021, 10:04 PM
Last Post: t4_4t
  Building a new SD card linuxha 2 3,809 04-27-2020, 12:32 AM
Last Post: linuxha
  Upgrade Debian kernel on a SD/SATA drive boot combo. linuxha 6 9,176 12-12-2019, 04:43 AM
Last Post: dukla2000
  PCIe Sata II adapter and ssd TRIM bavay 0 1,975 08-16-2019, 07:49 AM
Last Post: bavay
  disappearing sata drives Mentaluproar 2 3,475 05-18-2019, 09:44 PM
Last Post: Mentaluproar
  issues loading firmware and missing pci card rich0 7 9,828 04-06-2019, 03:34 PM
Last Post: rich0
  Image for ZFS on PCIe SATA drives with OpenVPN and WiFi caillou 0 2,084 02-26-2019, 05:14 PM
Last Post: caillou

Forum Jump:


Users browsing this thread: 1 Guest(s)