Status PCIe slot and the SATA interface card
#11
(06-14-2018, 06:01 AM)Yoast Wrote: Looks like the PCIe issues are resolved in the second batch:

(06-14-2018, 06:13 AM)Luke Wrote:
(06-14-2018, 06:01 AM)Yoast Wrote: Looks like the PCIe issues are resolved in the second batch:
..........

Just to make it clear, this doesn't mean that software bit related to PCIe is super stable - but the cause of the hardware not working has been identified an solved. That said, in the last pre-release PCIe has been stable for me.

Thanks for confirming chaps.
#12
(06-15-2018, 03:05 AM)Bullet64 Wrote: SATA-Card is detected after removing resistor.

Code:
rock64@rockpro64:~$ uname -a
Linux rockpro64 4.4.126-rockchip-ayufan-257 #1 SMP Sun Jun 10 18:30:43 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

Code:
rock64@rockpro64:~$ lspci
00:00.0 PCI bridge: Rockchip Inc. RK3399 PCI Express Root Port Device 0100
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)

lspci -vvv


Code:
rock64@rockpro64:~$ sudo lspci -vvv
[sudo] password for rock64:
00:00.0 PCI bridge: Rockchip Inc. RK3399 PCI Express Root Port Device 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 238
    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: 00000000fee30040  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 128 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 64 bytes Disabled- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+
        LnkSta:    Speed 5GT/s, Width x1, 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
    Kernel driver in use: pcieport

01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
    Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA 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 237
    Region 0: I/O ports at <unassigned> [disabled]
    Region 1: I/O ports at <unassigned> [disabled]
    Region 2: I/O ports at <unassigned> [disabled]
    Region 3: I/O ports at <unassigned> [disabled]
    Region 4: I/O ports at <unassigned> [disabled]
    Region 5: Memory at fa010000 (32-bit, non-prefetchable) [disabled] [size=512]
    [virtual] Expansion ROM at fa000000 [disabled] [size=64K]
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [78] 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: [80] 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 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap:    Port #1, Speed 5GT/s, Width x1, ASPM not supported, Exit Latency L0s unlimited, L1 <2us
            ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Range ABC, 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: [100 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
            Status:    NegoPending- InProgress-

But the card don't detect any HDD / SDD Sad  But I do not know if it's a hard or software problem.


@Bullet64 (and others): is there a possibility that the problem is the SATA board and not the PCIe port anymore? Or in other words can you test this with another SATA add-on card?
#13
SATA and NVME works super stable on mainline kernel with full speed. So it seems that we no longer have HW/SW problems Smile
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
#14
(07-04-2018, 02:38 PM)ayufan Wrote: SATA and NVME works super stable on mainline kernel with full speed. So it seems that we no longer have HW/SW problems Smile

Great news!! I was waiting for this kind of confirmation and I just placed my order Smile. Thanks for the hard work.
#15
Quick question to anyone having the board:

Is the 2.1 revision currently the one being sold?
If so, has the issue with powering the PCIe card been fixed yet?
#16
(04-16-2019, 01:31 PM)g_t_j Wrote: Quick question to anyone having the board:

Is the 2.1 revision currently the one being sold?
If so, has the issue with powering the PCIe card been fixed yet?

Yes and yes.
You can find me on IRC, Discord and Twitter


#17
(04-16-2019, 01:36 PM)Luke Wrote:
(04-16-2019, 01:31 PM)g_t_j Wrote: Quick question to anyone having the board:

Is the 2.1 revision currently the one being sold?
If so, has the issue with powering the PCIe card been fixed yet?

Yes and yes.

Thanks for confirming.
Now I can proceed to ordering my NAS kit Smile
#18
(04-16-2019, 01:36 PM)Luke Wrote:
(04-16-2019, 01:31 PM)g_t_j Wrote: Quick question to anyone having the board:

Is the 2.1 revision currently the one being sold?
If so, has the issue with powering the PCIe card been fixed yet?

Yes and yes.
Hello,

I ordered mine on 17 th of march this year and when i execute lspci in omv stretch-openmediavault-rockpro64-0.7.9-1067-arm64.img i get below output.
00:00.0 PCI bridge: Device 1d87:0100
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)

I just started with 2 x 4tb wd red in it and when i first plugin power plug in electrical socket, disks will not appear after boot in omv. Syslog shows many errors SError: { CommWake DevExch } and not limited to single disk but to both ata1 and ata2. After reboot they show up most of the times, It is hard to reproduce but I got it with single disk so we can exlcude power being an issue.

Today i started copying files and got many errors in syslog as well 

May 27 14:47:12 rockpro64 kernel: [ 2939.458032] ata2.00: irq_stat 0x08000000, interface fatal error
May 27 14:47:12 rockpro64 kernel: [ 2939.462603] ata2: SError: { Handshk }
May 27 14:47:12 rockpro64 kernel: [ 2939.466949] ata2.00: failed command: WRITE FPDMA QUEUED

Question, have i been sold the wrong revision of sata card? Is it worth upgrading to marvel 88se9125 or 88se9215, it is a bit pricy in europe but i just can't wait for them to be delivered from china. I just need a reliable thing and not that something works one day and doesn't the other.

I hope I am not hijacking somebodies thread but if you think i should create a new thread please let me know.
#19
vecnar, the buying of different controller is good idea. A man in Russia already changed ASMedia controller for Marvell. But first of all, check how hot is ASMedia chip on your SATA board. May be a heatsink on SATA controller will improve an operation.
#20
(05-28-2019, 12:47 AM)Nikolay_Po Wrote: vecnar, the buying of different controller is good idea. A man in Russia already changed ASMedia controller for Marvell. But first of all, check how hot is ASMedia chip on your SATA board. May be a heatsink on SATA controller will improve an operation.

Hello Nikolay,
It is definitely not heat as it happens when box is off for a long time and issue occurs on first boot when pluging in power supply in the socket on the wall. I read your posts on another thread about it and excluded it. I have a cheap infrared thermometer and it was showing at the start 24 degrees celsius and  32 degrees after beeing on for around 10 minutes. When trying to copy light amounts of files the same temperatures are reported.
I would really want to know what stable revision of sata card is reported to be stable and known to work reliably. It could have been that i received wrong part and it would benefit others having this information somewhere.


Possibly Related Threads…
Thread Author Replies Views Last Post
  AW-CM256SM wifi card mtek 4 3,271 10-30-2023, 12:00 PM
Last Post: diederik
  Which SATA card should I use my NAS server RAID5 Louysa 3 1,521 09-24-2023, 04:40 AM
Last Post: JPT223
  SATA keeps crashing JPT223 1 1,004 09-21-2023, 10:52 PM
Last Post: tllim
  SATA hotplug not working? JPT223 0 764 09-15-2023, 04:20 AM
Last Post: JPT223
  Compatible PCIe Sata Controller spacebricker 1 1,954 02-06-2023, 10:03 AM
Last Post: diizzy
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 29,125 12-18-2022, 06:25 PM
Last Post: heyghoge
  PCIe bifurcation support (on RK3399) Arn 1 1,764 11-28-2022, 05:12 PM
Last Post: tllim
  Full Size Bracket for the NVME PCI-E Card publiclewdness 0 1,592 12-31-2021, 12:53 AM
Last Post: publiclewdness
  Existings disks and using a StarTech SATA Controller jkugler 1 2,438 12-09-2021, 06:41 AM
Last Post: SVDSHRDJD
  RockPro64 doesn't boot when PCIe to M.2 adapter is installed Cerberus 3 4,180 11-27-2021, 11:38 PM
Last Post: Cerberus

Forum Jump:


Users browsing this thread: 1 Guest(s)