06-15-2019, 02:29 AM
(This post was last modified: 06-15-2019, 02:32 AM by Nikolay_Po.)
(06-09-2019, 06:07 PM)rble Wrote: Sometimes during boot, the SATA PCI board does not get power and thus OMV sees no data drives. I have confirmed with a DVM there is no 12VCC on the SATA controller chip pin 48 when this happens. About half the time it boots up correctly and OMV seems to work OK.
You meant 1.2V Vcc? Pine64 SATA apater doesn't use 12V voltage at all.
The controller is powered by "VCC3V3_PCIE" 3.3V voltage trough U7109 step-down converter which is controlled by PCIE_PWR signal from the processor, this is GPIO1_D0/TCPD_VBUS_SOURCE2_d signal at L26 CPU pin. The same pin also controls 12V PICe voltage but 12V is not used by SATA adapter card.
So the PCIe power is under the control of linux core. Usually, at hardware initialization stage, the core is enabling PCIe power and wait some time to let the PCIe hardware become in operation. If this time is too low, PCIE device may not perform PCIe links training. After unsuccessfull training the power of PCIe is disabled and you see no power on SATA controller.
Try to follow PCIe scan bus workaround + MPT3SAS module recommendations and increase the delay between power enable and PCIe scanning.
Also try to increase debug log level to generate more detailed log, may be as I wrote in this post: https://forum.pine64.org/showthread.php?...8#pid46778