Using 4-Port PCI-express SATA 3 Card(su sa3034a) with Jetson Nano

Hello, @WayneWWW

I’m using 4-Port PCI-express SATA 3 Card.
product URL : Interface Cards: SSU SATA 3 III 4-Port PCI-e Card, [SU-SA3034A] - Plug & Play for Windows / Mac / Linux, with Low Profile - Australia Computer Online

I have tested above sata3card with Nano, XNX(jetpack4.6.2) on Jetson Nano devkit carrier board.

In Nano, The following error message appears, the monitor does not output, and booting does not work properly.
asmedia_pcie_bus_error.log (1.1 MB)

In XNX, You can check /dev/sda* as below and you can also mount it.

manager@manager-desktop:~$ ls /dev/sda*
/dev/sda  /dev/sda1
manager@manager-desktop:~$ ls /mnt/C/
bin   dev  home  lost+found  mnt  proc        root  sbin  srv  tmp  var
boot  etc  lib   media       opt  README.txt  run   snap  sys  usr

Could you tell me how to recognize sata disks with this sata3card in Nano?

Below is the execution result of lspci command in jetson nano, jetpack version, and nv_boot_control.conf information.

manager@manager-desktop:~$ lspci
00:01.0 PCI bridge: NVIDIA Corporation Device 0fae (rev a1)
00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1)
01:00.0 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 19)
manager@manager-desktop:~$ cat /etc/nv_tegra_release
# R32 (release), REVISION: 7.2, GCID: 30192233, BOARD: t210ref, EABI: aarch64, DATE: Wed Apr 20 21:34:48 UTC 2022
manager@manager-desktop:~$ cat /etc/nv_boot_control.conf
TNSPEC 3448-400-0002-J.0-1-0-jetson-nano-devkit-emmc-mmcblk0p1
COMPATIBLE_SPEC 3448-300-0002--1--jetson-nano-devkit-emmc-
TEGRA_CHIPID 0x21
TEGRA_OTA_BOOT_DEVICE /dev/mmcblk0boot0
TEGRA_OTA_GPT_DEVICE /dev/mmcblk0boot1

lspci -vvvv

01:00.0 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02) (prog-if 01 [AHCI 1.0])
        Subsystem: ZyDAS Technology Corp. Device 2116
        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 405
        Region 0: Memory at 13080000 (32-bit, non-prefetchable) [size=8K]
        Region 5: Memory at 13082000 (32-bit, non-prefetchable) [size=8K]
        [virtual] Expansion ROM at 13000000 [disabled] [size=512K]
        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: 00000000ffeff000  Data: 0000
        Capabilities: [80] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
                        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 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L0s L1 Enabled; 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: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkCtl2: Target Link Speed: 8GT/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: [130 v1] #19
        Kernel driver in use: ahci

Attach dmesg.
dmesg_nano.txt (86.2 KB)

Thank you.

Hello, @WayneWWW

Could you help me how to resolve above issue?

Thank you.

please add pcie_aspm=off to your kernel cmdline and try again.

1 Like

Hello, @WayneWWW

APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_booo
t_part_access=1 pcie_aspm=off

After applying pcie_aspm=off as above, only the error message below repeats and booting fails.

** 36 printk messages dropped ** [  120.490881] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 29 printk messages dropped ** [  120.497532] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 43 printk messages dropped ** [  120.508115] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 45 printk messages dropped ** [  120.526515] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 42 printk messages dropped ** [  120.542266] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 48 printk messages dropped ** [  120.557137] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 30 printk messages dropped ** [  120.570534] pcieport 0000:00:01.0:    [ 0] Receiver Error         (First)
** 51 printk messages dropped ** [  120.590833] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 33 printk messages dropped ** [  120.599927] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 47 printk messages dropped ** [  120.617709] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 44 printk messages dropped ** [  120.630461] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 41 printk messages dropped ** [  120.643263] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 27 printk messages dropped ** [  120.650873] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 27 printk messages dropped ** [  120.657080] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 28 printk messages dropped ** [  120.664397] pcieport 0000:00:01.0:    [ 0] Receiver Error         (First)
** 28 printk messages dropped ** [  120.673315] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 32 printk messages dropped ** [  120.682745] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 37 printk messages dropped ** [  120.696456] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 27 printk messages dropped ** [  120.704606] pcieport 0000:00:01.0:   device [10de:0fae] error status/mask=00000001/00002000
** 28 printk messages dropped ** [  120.716740] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 48 printk messages dropped ** [  120.732402] pcieport 0000:00:01.0:    [ 0] Receiver Error         (First)
** 21 printk messages dropped ** [  120.737144] pcieport 0000:00:01.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0008(Receiver ID)
** 39 printk messages dropped ** [  120.746826] pcieport 0000:00:01.0:    [ 0] Receiver Error         (First)
** 29 printk messages dropped ** [  120.755880] pcieport 0000:00:01.0:    [ 0] Receiver Error         (First)

Thank you.

Hello, @WayneWWW

By applying the following to extlinux.conf, you can use the ssd and hdd drives normally through the sata controller.
By the way, it seems to be forcibly disabling AER (PCI Express Advanced Error Reporting).
If it works normally, is it okay to apply ‘pci=noaer’ below?

Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.