Problem mit SATA Karte Marvell 88SE9230 Chipsatz
-
Bitte mal mit https://github.com/ayufan-rock64/linux-build/releases/download/0.7.14/bionic-minimal-rock64-0.7.14-1081-arm64.img.xz testen. Wenn es dann immer noch nicht geht, mach bitte einen neuen Thread auf, mit ein paar Informationen zum Problem. Dann schauen wir mal.
-
Hallo @cnaed,
ich habe mal einen neuen Thread dafür aufgemacht.
Ein wenig mehr Input wäre schön. Ich hatte ein Image empfohlen, schon getestet? Ich hatte absichtlich ein arm64 empfohlen. Die Karte geht auf Kernel 4.4. und Kernel 5.0
Mal bitte einen Link zur Karte.
Was sagt
sudo lspci -vvv
-
Hallo @FrankM
also lspci gibt folgendes aus:
00:00.0 PCI bridge: Device 1d87:0100 (prog-if 00 [Normal decode]) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 255 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00000000-00000fff Memory behind bridge: fa000000-fa0fffff Prefetchable memory behind bridge: 00000000-000fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [80] Power Management version 3 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [90] MSI: Enable- Count=1/1 Maskable+ 64bit+ Address: 0000000000000000 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: [b0] MSI-X: Enable- Count=1 Masked- Vector table: BAR=0 offset=00000000 PBA: BAR=0 offset=00000008 Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L1, Exit Latency L0s <256ns, L1 <8us ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+ LnkSta: Speed 5GT/s, Width x2, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise- Slot #0, PowerLimit 0.000W; Interlock- NoCompl- SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Off, PwrInd Off, Power+ Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock- Changed: MRL- PresDet- LinkState- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootCap: CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR+, OBFF Via message ARIFwd+ DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1- EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest- Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn- Capabilities: [274 v1] Transaction Processing Hints Interrupt vector mode supported Device specific mode supported Steering table in TPH capability structure 01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller (rev 11) (prog-if 01 [AHCI 1.0]) Subsystem: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 236 Region 0: I/O ports at 0000 Region 1: I/O ports at 0000 Region 2: I/O ports at 0000 Region 3: I/O ports at 0000 Region 4: I/O ports at 0000 Region 5: Memory at fa040000 (32-bit, non-prefetchable) [size=2K] Expansion ROM at fa000000 [size=256K] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- Address: fee30040 Data: 0000 Capabilities: [70] Express (v2) Legacy Endpoint, MSI 00 DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 5GT/s, Width x2, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s, Width x2, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1- EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest- Capabilities: [e0] SATA HBA v0.0 BAR4 Offset=00000004 Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Eingebaut habe ich folgende Karte:
https://de.aliexpress.com/item/PCI-Express-Raid-Karte-4-Port-SATA-3-0-Hinzuf-gen-Auf-Karte-Marvell-88SE9230-Chipset/32959939140.html?spm=a2g0s.9042311.0.0.1f024c4dbHtUSRDiese zeigt ja per LED an, ob HDDs angeschlossen sind.
Ich nutze jetzt folgendes Image: stretch-minimal-rockpro64-0.7.14-1081-arm64.img.xz
Der Kernel ist der Mainline Kernel 5.0 von ayufanAnbei Mal noch einen Auszug mit dmesg
[ 41.146967] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges: [ 41.147621] rockchip-pcie f8000000.pcie: MEM 0xfa000000..0xfbdfffff -> 0xfa000000 [ 41.148302] rockchip-pcie f8000000.pcie: IO 0xfbe00000..0xfbefffff -> 0xfbe00000 [ 41.149225] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00 [ 41.149815] pci_bus 0000:00: root bus resource [bus 00-1f] [ 41.165811] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff] [ 41.166560] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff]) [ 41.167453] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400 [ 41.167546] pci 0000:00:00.0: supports D1 [ 41.167550] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 41.171112] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 41.172033] pci 0000:01:00.0: [1b4b:9230] type 00 class 0x010601 [ 41.172122] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00008000 invalid [ 41.172760] pci 0000:01:00.0: reg 0x10: [io size 0x0008] [ 41.172797] pci 0000:01:00.0: reg 0x14: initial BAR value 0x00008040 invalid [ 41.173427] pci 0000:01:00.0: reg 0x14: [io size 0x0004] [ 41.173463] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00008100 invalid [ 41.177244] pci 0000:01:00.0: reg 0x18: [io size 0x0008] [ 41.177291] pci 0000:01:00.0: reg 0x1c: initial BAR value 0x00008140 invalid [ 41.177937] pci 0000:01:00.0: reg 0x1c: [io size 0x0004] [ 41.178020] pci 0000:01:00.0: reg 0x20: [io 0x800000-0x80001f] [ 41.178056] pci 0000:01:00.0: reg 0x24: [mem 0x00900000-0x009007ff] [ 41.178090] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0003ffff pref] [ 41.178123] pci 0000:01:00.0: Max Payload Size set to 256 (was 128, max 512) [ 41.178778] pci 0000:01:00.0: Enabling fixed DMA alias to 00.1 [ 41.179477] pci 0000:01:00.0: PME# supported from D3hot [ 41.180779] [drm] No driver support for vblank timestamp query. [ 41.181375] [drm] Cannot find any crtc or sizes [ 41.183109] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01 [ 41.183156] pci 0000:00:00.0: BAR 14: assigned [mem 0xfa000000-0xfa0fffff] [ 41.183412] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0 [ 41.183796] pci 0000:01:00.0: BAR 6: assigned [mem 0xfa000000-0xfa03ffff pref] [ 41.185153] pci 0000:01:00.0: BAR 5: assigned [mem 0xfa040000-0xfa0407ff] [ 41.185770] pci 0000:01:00.0: BAR 4: no space for [io size 0x0020] [ 41.186373] pci 0000:01:00.0: BAR 4: failed to assign [io size 0x0020] [ 41.186971] pci 0000:01:00.0: BAR 0: no space for [io size 0x0008] [ 41.187530] pci 0000:01:00.0: BAR 0: failed to assign [io size 0x0008] [ 41.188118] pci 0000:01:00.0: BAR 2: no space for [io size 0x0008] [ 41.188675] pci 0000:01:00.0: BAR 2: failed to assign [io size 0x0008] [ 41.189261] pci 0000:01:00.0: BAR 1: no space for [io size 0x0004] [ 41.189819] pci 0000:01:00.0: BAR 1: failed to assign [io size 0x0004] [ 41.190587] pci 0000:01:00.0: BAR 3: no space for [io size 0x0004] [ 41.191154] pci 0000:01:00.0: BAR 3: failed to assign [io size 0x0004] [ 41.191749] pci 0000:00:00.0: PCI bridge to [bus 01] [ 41.192201] pci 0000:00:00.0: bridge window [mem 0xfa000000-0xfa0fffff] [ 41.193112] ahci 0000:01:00.0: version 3.0 [ 41.193131] pci 0000:00:00.0: enabling device (0000 -> 0002) [ 41.193737] ahci 0000:01:00.0: controller can do FBS, turning on CAP_FBS [ 41.460004] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 41.474196] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found [ 41.474913] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW [ 42.195085] ahci 0000:01:00.0: controller reset failed (0x80000001) [ 42.195790] ahci: probe of 0000:01:00.0 failed with error -5 [ 42.206190] [drm] Cannot find any crtc or sizes [ 42.906403] phy phy-ff770000.syscon:usb2-phy@e450.2: charger = USB_DCP_CHARGER [ 47.614195] random: crng init done [ 47.614522] random: 7 urandom warning(s) missed due to ratelimiting [ 48.638968] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 48.639801] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Wenn ich es richtig lese, endet AHCI Probe mit einem Fehler 5
-
Ich sehe da kleine aber evt. wichtige Abweichungen, bei deiner Karte zu der von uns eingebauten.
01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller (rev 11) (prog-if 01 [AHCI 1.0]) Subsystem: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 237 Region 0: I/O ports at 0000 Region 1: I/O ports at 0000 Region 2: I/O ports at 0000 Region 3: I/O ports at 0000 Region 4: I/O ports at 0000 Region 5: Memory at fa010000 (32-bit, non-prefetchable) [size=2K]
Ich bin aber kein Experte auf dem Gebiet. Es scheint so, als wenn es auf dem Markt mit diesem Chip viele verschiedene Produkte gibt. Ob man die alle zum Laufen bekommt?
Nochmal, ich setze nur bionic-minimal als arm64 Variante ein. Aber ich habe keine Ahnung ob das an deinem Problem was ändert. Aber mal eben eine SD-Karte zu flashen und ausprobieren, dauert keine 10 Minuten.
Zu deiner Vermutung mit ahci
rock64@rp64v_2_1_NAS:~$ dmesg | grep "ahci" [ 61.589738] ahci 0000:01:00.0: version 3.0 [ 61.589857] ahci 0000:01:00.0: controller can do FBS, turning on CAP_FBS [ 62.596360] ahci 0000:01:00.0: controller reset failed (0x80000001) [ 62.597042] ahci: probe of 0000:01:00.0 failed with error -5 [ 62.615564] ahci 0000:01:00.0: controller can do FBS, turning on CAP_FBS [ 62.898775] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 8 ports 6 Gbps 0xff impl SATA mode [ 62.898781] ahci 0000:01:00.0: flags: 64bit ncq fbs pio
Ist definitiv nicht das Hauptproblem.
-
Ich sehe da kleine aber evt. wichtige Abweichungen, bei deiner Karte zu der von uns eingebauten.
01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller (rev 11) (prog-if 01 [AHCI 1.0]) Subsystem: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 237 Region 0: I/O ports at 0000 Region 1: I/O ports at 0000 Region 2: I/O ports at 0000 Region 3: I/O ports at 0000 Region 4: I/O ports at 0000 Region 5: Memory at fa010000 (32-bit, non-prefetchable) [size=2K]
Ich bin aber kein Experte auf dem Gebiet. Es scheint so, als wenn es auf dem Markt mit diesem Chip viele verschiedene Produkte gibt. Ob man die alle zum Laufen bekommt?
Nochmal, ich setze nur bionic-minimal als arm64 Variante ein. Aber ich habe keine Ahnung ob das an deinem Problem was ändert. Aber mal eben eine SD-Karte zu flashen und ausprobieren, dauert keine 10 Minuten.
Zu deiner Vermutung mit ahci
rock64@rp64v_2_1_NAS:~$ dmesg | grep "ahci" [ 61.589738] ahci 0000:01:00.0: version 3.0 [ 61.589857] ahci 0000:01:00.0: controller can do FBS, turning on CAP_FBS [ 62.596360] ahci 0000:01:00.0: controller reset failed (0x80000001) [ 62.597042] ahci: probe of 0000:01:00.0 failed with error -5 [ 62.615564] ahci 0000:01:00.0: controller can do FBS, turning on CAP_FBS [ 62.898775] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 8 ports 6 Gbps 0xff impl SATA mode [ 62.898781] ahci 0000:01:00.0: flags: 64bit ncq fbs pio
Ist definitiv nicht das Hauptproblem.
-
Komm, machen wir selber, oder?
sudo cd /sys/devices/platform/f8000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0
Dann
nano vendor
Ausgabe, bei mir!
0x1b4b
Dann
nano uevent
Ausgabe
DRIVER=ahci PCI_CLASS=10601 PCI_ID=1B4B:9230 PCI_SUBSYS_ID=1B4B:9230 PCI_SLOT_NAME=0000:01:00.0 MODALIAS=pci:v00001B4Bd00009230sv00001B4Bsd00009230bc01sc06i01
Die udev-Regel entsprechend anpassen
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x1b4b", ATTR{device}=="0x9230", RUN+="/bin/bash -c 'echo %k > /sys/bus/pci/drivers/ahci/bind'"
Ich hoffe du kannst mir hier folgen. Und ich gebe offen zu, ich habe keine Ahnung von dem was ich hier schreibe. Try & Error! Auf geht's, was steht bei dir drin??
-
Ich habe jetzt nun das auch von dir vorgeschlagene Image aufgespielt, aber bisher auch damit kein positiver Effekt.
Darüber hinaus bekomme ich auch die gleichen Ergebnisse zu sehen wie du.Ich denke das liegt sicher hier am anderen Expansion ROM, der auch noch aktiv ist und der zu einer anderen Startadresse des Memory von Region 5 führt.
-
Gut, dann bin ich hier an dieser Stelle raus. Es scheint also so, das es wichtig ist die "richtige" Karte zu kaufen. Oder man weiß sehr genau wie man sie ans Laufen bekommt.
Du kannst ja mal im Forum einen Post schreiben, ok ich sehe gerade, das ist schon erledigt. Viel Erfolg!
-
Hallo @FrankM
Ich habe mir nun auch eine DeLock SATA Karte bestellt, die Anfang nächster Woche da sein sollte, damit sollte es dann gehen.
Da selbst die DeLock nur zwei der zur Verfügung stehenden Pcie Lanes butt, wäre schön, wenn man über ne spezielle Riser Card die anderen beiden auch noch nutzen könnte. Habe aber leider noch keine passende Riser Card gefunden...
-
-
RockPro64 Netzwerkprobleme
Ungelöst Probleme? -
RockPro64 als Backup Server
Ungelöst Probleme? -
-
-
-
-