[Macchiato] Fwd: SAS/SATA card issues

rattusrattus at debian.org rattusrattus at debian.org
Wed Jan 16 23:29:02 GMT 2019


Hi there.

I have been trying and failing to get a SAS controller card Highpoint
RocketRaid 2720 to work in my MacchiatoBin and am running into problems.

What I get is disk I/O limited to 5MB/s...  painfully slow.
Additionally I see a call trace on start-up (shown below)

I have tried booting with (and without) the "irqpoll" option and get the
same results.  Not the IRQ ID number does change between boots.

Initially I thought that this could be a problem specific to my
MacchiatoBin however I have tried this in Steve McIntyre's unit and we
got the same results.
To confirm that this is not a card fault (or disk or cable) we also
tried the same hardware connected to an AMD64 motherboard and saw no
problems (and get a much, much faster I/O speed!).


Any suggestions?

Best regards
/Andy



I am running the Debian kernel from testing
uname -a
Linux sand 4.19.0-1-arm64 #1 SMP Debian 4.19.12-1 (2018-12-22) aarch64
GNU/Linux

lspci -v -v
00:00.0 RAID bus controller: HighPoint Technologies, Inc. Device 2720
(rev c3)
        Subsystem: HighPoint Technologies, Inc. Device 0000
        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 42
        Region 0: Memory at 800040000 (64-bit, non-prefetchable) [size=128K]
        Region 2: Memory at 800000000 (64-bit, non-prefetchable) [size=256K]
        Expansion ROM at c0000000 [disabled] [size=64K]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA
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: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 4096 bytes, PhantFunc 0, Latency L0s
<1us, L1 <8us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
SlotPowerLimit 0.000W
                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 x8, ASPM not
supported, 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 x4, 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: [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-
        Capabilities: [140 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-
        Kernel driver in use: mvsas
        Kernel modules: mvsas




syslog extract:

Jan 16 22:19:27 sand kernel: [   12.094734] irq 42: nobody cared (try
booting with the "irqpoll" option)
Jan 16 22:19:27 sand kernel: [   12.101479] CPU: 0 PID: 0 Comm:
swapper/0 Not tainted 4.19.0-1-arm64 #1 Debian 4.19.12-1
Jan 16 22:19:27 sand kernel: [   12.109608] Hardware name: Marvell
Armada 8040 MacchiatoBin/Armada 8040 MacchiatoBin, BIOS EDK II Oct 11 2018
Jan 16 22:19:27 sand kernel: [   12.119569] Call trace:
Jan 16 22:19:27 sand kernel: [   12.122033]  dump_backtrace+0x0/0x180
Jan 16 22:19:27 sand kernel: [   12.125713]  show_stack+0x24/0x30
Jan 16 22:19:27 sand kernel: [   12.129051]  dump_stack+0x90/0xb4
Jan 16 22:19:27 sand kernel: [   12.132382]  __report_bad_irq+0x54/0x108
Jan 16 22:19:27 sand kernel: [   12.136322]  note_interrupt+0x280/0x2e4
Jan 16 22:19:27 sand kernel: [   12.140177]
handle_irq_event_percpu+0x8c/0x98
Jan 16 22:19:27 sand kernel: [   12.144642]  handle_irq_event+0x50/0xa8
Jan 16 22:19:27 sand kernel: [   12.148496]  handle_fasteoi_irq+0xc8/0x1a0
Jan 16 22:19:27 sand kernel: [   12.152612]  generic_handle_irq+0x34/0x50
Jan 16 22:19:27 sand kernel: [   12.156640]  __handle_domain_irq+0x6c/0xc0
Jan 16 22:19:27 sand kernel: [   12.160756]  gic_handle_irq+0x58/0xa8
Jan 16 22:19:27 sand kernel: [   12.164434]  el1_irq+0xb0/0x140
Jan 16 22:19:27 sand kernel: [   12.167590]  __do_softirq+0x8c/0x2f0
Jan 16 22:19:27 sand kernel: [   12.171183]  irq_exit+0xa4/0xc0
Jan 16 22:19:27 sand kernel: [   12.174340]  __handle_domain_irq+0x70/0xc0
Jan 16 22:19:27 sand kernel: [   12.178455]  gic_handle_irq+0x58/0xa8
Jan 16 22:19:27 sand kernel: [   12.182134]  el1_irq+0xb0/0x140
Jan 16 22:19:27 sand kernel: [   12.185289]  arch_cpu_idle+0x34/0x1b8
Jan 16 22:19:27 sand kernel: [   12.188969]  do_idle+0x210/0x288
Jan 16 22:19:27 sand kernel: [   12.192214]  cpu_startup_entry+0x28/0x30
Jan 16 22:19:27 sand kernel: [   12.196156]  rest_init+0xb8/0xc4
Jan 16 22:19:27 sand kernel: [   12.199401]  start_kernel+0x498/0x4c0
Jan 16 22:19:27 sand kernel: [   12.203078] handlers:
Jan 16 22:19:27 sand kernel: [   12.205371] [<0000000039bd64e0>]
mvs_interrupt [mvsas]
Jan 16 22:19:27 sand kernel: [   12.210536] Disabling IRQ #42



More information about the Macchiato mailing list