System halt after ATA Error for eSATA

Dear all,

I use Samsung 860 EVO SATA3 4TB disk connecting through eSATA interface on Jetson Developer Kit.
I encountered system halt while write data to disk (occurred once, not always)
I saw the ATA Error on the /var/log/syslog at that time.

Here’s the log:
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595121] ata1.00: exception Emask 0x10 SAct 0x7fdfffff SErr 0x400000 action 0x6 frozen
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595275] ata1.00: irq_stat 0x08000000, interface fatal error
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595373] ata1: SError: { Handshk }
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595444] ata1.00: failed command: WRITE FPDMA QUEUED
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595570] ata1.00: cmd 61/00:00:00:40:88/08:00:a0:00:00/40 tag 0 ncq dma 1048576 ou
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595570] res 40/00:b8:00:00:88/00:00:a0:00:00/40 Emask 0x10 (ATA bus error)
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595814] ata1.00: status: { DRDY }
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595876] ata1.00: failed command: WRITE FPDMA QUEUED
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595962] ata1.00: cmd 61/00:08:00:48:88/08:00:a0:00:00/40 tag 1 ncq dma 1048576 ou
Jul 31 15:28:56 across-xavier1 kernel: [ 246.595962] res 40/00:b8:00:00:88/00:00:a0:00:00/40 Emask 0x10 (ATA bus error)
Jul 31 15:28:56 across-xavier1 kernel: [ 246.596204] ata1.00: status: { DRDY }
Jul 31 15:28:56 across-xavier1 kernel: [ 246.596266] ata1.00: failed command: WRITE FPDMA QUEUED
Jul 31 15:28:56 across-xavier1 kernel: [ 246.596632] ata1.00: cmd 61/00:10:00:50:88/08:00:a0:00:00/40 tag 2 ncq dma 1048576 ou
Jul 31 15:28:56 across-xavier1 kernel: [ 246.596632] res 40/00:b8:00:00:88/00:00:a0:00:00/40 Emask 0x10 (ATA bus error)

And I found that many ucsi_ccg_error on that booting. (But I cannot say the logs are related with ATA error)
Here’s the full kernel log from booting.
syslog.1.kernel.booting.2.txt (278.1 KB)

And here’s the system information:
NVIDIA Jetson AGX Xavier [16GB]
L4T 32.2.1 [ JetPack 4.2.2 ]
Ubuntu 18.04.2 LTS
Kernel Version: 4.9.140-tegra
CUDA 10.0.326
CUDA Architecture: 7.2
OpenCV version: 3.3.1
OpenCV Cuda: NO
CUDNN: 7.5.0.56
TensorRT: 5.1.6.1
Vision Works: 1.6.0.500n
VPI: NOT_INSTALLED

And I use the peripherals

  • 1 x PCIE CARD : 2 Ports USB 3.0 to PCIe card on the slot on carrier board
  • 2 x USB3.0 Camera plugged to PCIE USB CARD
  • 1 x eSATA bay without external power (I know that eSATA on Jetson supply the power to eSATA)
  • 1 x USB Serial module on USB-C Port

And I use jetson in MAXN mode.

If you have any idea about this issue, please add comment.
Best Regards,

Hi,

I hope to rule out the i2c error (ucsi_ccg error) here first. Could you remove all the other peripherals on board and only leaves eSATA there and check the log again?