<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=PL link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi Andy,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What kernel revision and firmware (u-boot/uefi) are you using?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Best regards,</p><p class=MsoNormal>Marcin</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Od: </b><a href="mailto:rattusrattus@debian.org">rattusrattus@debian.org</a><br><b>Wysłano: </b>czwartek, 17 stycznia 2019 00:29<br><b>Do: </b><a href="mailto:macchiato@lists.einval.com">macchiato@lists.einval.com</a><br><b>Temat: </b>[Macchiato] Fwd: SAS/SATA card issues</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi there.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have been trying and failing to get a SAS controller card Highpoint</p><p class=MsoNormal>RocketRaid 2720 to work in my MacchiatoBin and am running into problems.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What I get is disk I/O limited to 5MB/s... painfully slow.</p><p class=MsoNormal>Additionally I see a call trace on start-up (shown below)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have tried booting with (and without) the "irqpoll" option and get the</p><p class=MsoNormal>same results. Not the IRQ ID number does change between boots.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Initially I thought that this could be a problem specific to my</p><p class=MsoNormal>MacchiatoBin however I have tried this in Steve McIntyre's unit and we</p><p class=MsoNormal>got the same results.</p><p class=MsoNormal>To confirm that this is not a card fault (or disk or cable) we also</p><p class=MsoNormal>tried the same hardware connected to an AMD64 motherboard and saw no</p><p class=MsoNormal>problems (and get a much, much faster I/O speed!).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any suggestions?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Best regards</p><p class=MsoNormal>/Andy</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am running the Debian kernel from testing</p><p class=MsoNormal>uname -a</p><p class=MsoNormal>Linux sand 4.19.0-1-arm64 #1 SMP Debian 4.19.12-1 (2018-12-22) aarch64</p><p class=MsoNormal>GNU/Linux</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>lspci -v -v</p><p class=MsoNormal>00:00.0 RAID bus controller: HighPoint Technologies, Inc. Device 2720</p><p class=MsoNormal>(rev c3)</p><p class=MsoNormal> Subsystem: HighPoint Technologies, Inc. Device 0000</p><p class=MsoNormal> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-</p><p class=MsoNormal>ParErr- Stepping- SERR- FastB2B- DisINTx-</p><p class=MsoNormal> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-</p><p class=MsoNormal><TAbort- <MAbort- >SERR- <PERR- INTx-</p><p class=MsoNormal> Latency: 0</p><p class=MsoNormal> Interrupt: pin A routed to IRQ 42</p><p class=MsoNormal> Region 0: Memory at 800040000 (64-bit, non-prefetchable) [size=128K]</p><p class=MsoNormal> Region 2: Memory at 800000000 (64-bit, non-prefetchable) [size=256K]</p><p class=MsoNormal> Expansion ROM at c0000000 [disabled] [size=64K]</p><p class=MsoNormal> Capabilities: [40] Power Management version 3</p><p class=MsoNormal> Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA</p><p class=MsoNormal>PME(D0+,D1+,D2-,D3hot+,D3cold-)</p><p class=MsoNormal> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-</p><p class=MsoNormal> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+</p><p class=MsoNormal> Address: 0000000000000000 Data: 0000</p><p class=MsoNormal> Capabilities: [70] Express (v2) Endpoint, MSI 00</p><p class=MsoNormal> DevCap: MaxPayload 4096 bytes, PhantFunc 0, Latency L0s</p><p class=MsoNormal><1us, L1 <8us</p><p class=MsoNormal> ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-</p><p class=MsoNormal>SlotPowerLimit 0.000W</p><p class=MsoNormal> DevCtl: Report errors: Correctable- Non-Fatal- Fatal-</p><p class=MsoNormal>Unsupported-</p><p class=MsoNormal> RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop-</p><p class=MsoNormal> MaxPayload 128 bytes, MaxReadReq 512 bytes</p><p class=MsoNormal> DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-</p><p class=MsoNormal>TransPend-</p><p class=MsoNormal> LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM not</p><p class=MsoNormal>supported, Exit Latency L0s <512ns, L1 <64us</p><p class=MsoNormal> ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-</p><p class=MsoNormal> LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-</p><p class=MsoNormal> ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-</p><p class=MsoNormal> LnkSta: Speed 5GT/s, Width x4, TrErr- Train- SlotClk+</p><p class=MsoNormal>DLActive- BWMgmt- ABWMgmt-</p><p class=MsoNormal> DevCap2: Completion Timeout: Not Supported, TimeoutDis+,</p><p class=MsoNormal>LTR-, OBFF Not Supported</p><p class=MsoNormal> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-,</p><p class=MsoNormal>LTR-, OBFF Disabled</p><p class=MsoNormal> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance-</p><p class=MsoNormal>SpeedDis-</p><p class=MsoNormal> Transmit Margin: Normal Operating Range,</p><p class=MsoNormal>EnterModifiedCompliance- ComplianceSOS-</p><p class=MsoNormal> Compliance De-emphasis: -6dB</p><p class=MsoNormal> LnkSta2: Current De-emphasis Level: -6dB,</p><p class=MsoNormal>EqualizationComplete-, EqualizationPhase1-</p><p class=MsoNormal> EqualizationPhase2-, EqualizationPhase3-,</p><p class=MsoNormal>LinkEqualizationRequest-</p><p class=MsoNormal> Capabilities: [100 v1] Advanced Error Reporting</p><p class=MsoNormal> UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-</p><p class=MsoNormal>UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-</p><p class=MsoNormal> UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-</p><p class=MsoNormal>UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-</p><p class=MsoNormal> UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt-</p><p class=MsoNormal>UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-</p><p class=MsoNormal> CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout-</p><p class=MsoNormal>NonFatalErr-</p><p class=MsoNormal> CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout-</p><p class=MsoNormal>NonFatalErr+</p><p class=MsoNormal> AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+</p><p class=MsoNormal>ChkEn-</p><p class=MsoNormal> Capabilities: [140 v1] Virtual Channel</p><p class=MsoNormal> Caps: LPEVC=0 RefClk=100ns PATEntryBits=1</p><p class=MsoNormal> Arb: Fixed- WRR32- WRR64- WRR128-</p><p class=MsoNormal> Ctrl: ArbSelect=Fixed</p><p class=MsoNormal> Status: InProgress-</p><p class=MsoNormal> VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-</p><p class=MsoNormal> Arb: Fixed- WRR32- WRR64- WRR128- TWRR128-</p><p class=MsoNormal>WRR256-</p><p class=MsoNormal> Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff</p><p class=MsoNormal> Status: NegoPending- InProgress-</p><p class=MsoNormal> Kernel driver in use: mvsas</p><p class=MsoNormal> Kernel modules: mvsas</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>syslog extract:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.094734] irq 42: nobody cared (try</p><p class=MsoNormal>booting with the "irqpoll" option)</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.101479] CPU: 0 PID: 0 Comm:</p><p class=MsoNormal>swapper/0 Not tainted 4.19.0-1-arm64 #1 Debian 4.19.12-1</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.109608] Hardware name: Marvell</p><p class=MsoNormal>Armada 8040 MacchiatoBin/Armada 8040 MacchiatoBin, BIOS EDK II Oct 11 2018</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.119569] Call trace:</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.122033] dump_backtrace+0x0/0x180</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.125713] show_stack+0x24/0x30</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.129051] dump_stack+0x90/0xb4</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.132382] __report_bad_irq+0x54/0x108</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.136322] note_interrupt+0x280/0x2e4</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.140177]</p><p class=MsoNormal>handle_irq_event_percpu+0x8c/0x98</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.144642] handle_irq_event+0x50/0xa8</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.148496] handle_fasteoi_irq+0xc8/0x1a0</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.152612] generic_handle_irq+0x34/0x50</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.156640] __handle_domain_irq+0x6c/0xc0</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.160756] gic_handle_irq+0x58/0xa8</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.164434] el1_irq+0xb0/0x140</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.167590] __do_softirq+0x8c/0x2f0</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.171183] irq_exit+0xa4/0xc0</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.174340] __handle_domain_irq+0x70/0xc0</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.178455] gic_handle_irq+0x58/0xa8</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.182134] el1_irq+0xb0/0x140</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.185289] arch_cpu_idle+0x34/0x1b8</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.188969] do_idle+0x210/0x288</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.192214] cpu_startup_entry+0x28/0x30</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.196156] rest_init+0xb8/0xc4</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.199401] start_kernel+0x498/0x4c0</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.203078] handlers:</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.205371] [<0000000039bd64e0>]</p><p class=MsoNormal>mvs_interrupt [mvsas]</p><p class=MsoNormal>Jan 16 22:19:27 sand kernel: [ 12.210536] Disabling IRQ #42</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>_______________________________________________</p><p class=MsoNormal>Macchiato mailing list</p><p class=MsoNormal>Macchiato@lists.einval.com</p><p class=MsoNormal>https://lists.einval.com/cgi-bin/mailman/listinfo/macchiato</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>