Feature #4904
openAdd support for Marvell 88SE9130
0%
Description
I recently picked up a pci sata card which is based on the Marvell 88SE9130 controller. After realising it wasn't supported in Illumos, I did some minor research.
It seems to be based on the Illumos-supported 88SE9128 controller, only difference being put on a pci backplane (ref: Wikipedia). This made me somewhat hopeful.
prtconf -d output:
pci1b4b,9123 (pciex1b4b,9130) [Marvell Technology Group Ltd. 88SE9128 PCIe SATA 6 Gb/s RAID controller with HyperDuo], instance #1 processor (driver not attached) pci-ide (pciex1b4b,91a4) [Marvell Technology Group Ltd. 88SE912x IDE Controller], instance #0 ide (driver not attached) ide (driver not attached)
cfgadm also finds it, but incorrectly (?) guesses ports:
sata1/0 sata-port empty unconfigured ok sata1/1 sata-port empty unconfigured ok sata1/2 sata-port empty unconfigured ok sata1/3 sata-port empty unconfigured ok sata1/4 sata-port empty unconfigured ok sata1/5 sata-port empty unconfigured ok sata1/6 sata-port empty unconfigured ok sata1/7 processor connected unconfigured ok
I'm kind of new to Illumos development, so I'm not sure how to proceed myself; I've so far reviewed how freebsd and linux support is achieved, but can't really make out how to move forward based on the commit that added the initial support (commit at github).
If anyone with more experience could guide me through it (or help with a patch), It'd be very appreciated. If relevant, the machine I currently have the card hooked into is on a recent version of SmartOS. Thanks.
Related issues
Updated by Marcel Telka about 9 years ago
Is it possible to switch the card to AHCI mode? If so, please try to do so and it should start to work. AFAIK, the RAID mode is not supported by illumos on this chip.
Updated by Johan Bergström about 9 years ago
Marcel Telka wrote:
Is it possible to switch the card to AHCI mode? If so, please try to do so and it should start to work. AFAIK, the RAID mode is not supported by illumos on this chip.
Thanks for your quick reply. I just verified through the Marvell bios that it is running AHCI mode with no virtual disks. Rebooting gave me the same result.
Updated by Marcel Telka about 9 years ago
Maybe the SATA port(s) are accessible via the processor. If that's the case then you are probably out of luck for now. We have generic support for ATAPI processor in illumos only (to display it in the cfgadm output, nothing more).
Is there something related to the card in /var/adm/messages?
Updated by Johan Bergström about 9 years ago
Marcel Telka wrote:
Maybe the SATA port(s) are accessible via the processor. If that's the case then you are probably out of luck for now. We have generic support for ATAPI processor in illumos only (to display it in the cfgadm output, nothing more).
Is there something related to the card in /var/adm/messages?
Seems like it's actually finding that Virtual device over the physical one's, although no virtual device exist;
ray sata: [ID 663010 kern.info] /pci@0,0/pci8086,101@1/pci1b4b,9123@0 : ray sata: [ID 761595 kern.info] #011SATA processor (ATAPI) device at port 7 ray sata: [ID 846691 kern.info] #011model MARVELL VIRTUALL ray sata: [ID 693010 kern.info] #011firmware 1.09 ray sata: [ID 163988 kern.info] #011serial number ray sata: [ID 594940 kern.info] #011supported features: ray sata: [ID 981177 kern.info] #011 DMA ray sata: [ID 514995 kern.info] #011SATA Gen1 signaling speed (1.5Gbps)