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.1f024c4dbHtUSR
Diese 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 ayufan
Anbei 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