DRIVE AGX Thor development kit: Occasional extremely slow SCP/SSH transfer on DRIVE OS Linux 7.0.3, follow up on persistent slow transfer issue on QNX

DRIVE OS Version: Linux 7.0.3、Qnx 7.2.4 & Linux 7.0.5

Issue Description:

  1. DRIVE OS Linux 7.0.3: No MCU re-flash required after power cycle; slow SCP transfer occurs randomly after partial reboots

External Media

  1. DRIVE OS Linux 7.0.5 / QNX 7.2.4: Severe SSH lag and SCP speed limited to ~10KB/s on every boot
  2. Consistently print some information on the serial port.

Questions

  1. What is the root cause of random severe SCP/SSH speed degradation on Linux 7.0.3?
  2. There is an existing thread covering the same hardware suffering from persistent slow transfer on QNX 7.2.4 and Linux 7.0.5. Link to the historical thread: DRIVE AGX Thor development kit,After flashing the QNX version, SSH connections and copying files are slow
  3. Do you have any suggestions to resolve these issues?

Dear @liuxr0702 ,
Could you please share the repro steps using DOS 7.0.3 Linux?

The issue of slow scp has not been clearly replicated and may occasionally occur after a device restart. The following are the system space info using df, boot logs, and flash logs when reproducing the problem.

boot_log.txt (110.0 KB)

flash_log.txt (10.8 KB)

Hi @liuxr0702 ,
I could not open the shared images in topic description. Noticed below command in flashing logs.

sudo ./tools/flashtools/bootburn/bootburn.py -b p3960-10-sw02 --board_config /drive/drive-foundation/platform-config/hardware/nvidia/platform/t264/automotive/automotive-platform-configs/p3960/p3960-10/p3960-10-sw02/board_configs/p3960-10-sw02_thor_u.json

Does your devkit based on Thor X or Thor U ? Please check Requirements for Development Environments — NVIDIA DriveOS 7.0 Linux Installation Guide
Does MCU version on target is 7.0.3?

Our devkit based on Thor U,

mcu version on target is 7.0.3.

sudo python3 ./drive-foundation/tools/flashtools/firmware/MCU_Flashing.py 115200 /dev/ttyACM2 /dev/ttyACM0 ./drive-linux/aurix/DRIVE-V7.0.3-P3960-AFW-RH850-U2A16-2.03.10.hex

The flashing looks fine. Could you share the bootlog when the issue is not reproduced to compare the logs?

This is the bootlog when the issue is not reproduced.

new_boot_log.txt (109.6 KB)

@SivaRamaKrishnaNV

I think it’s better to analyze based on the DriveOS version which can reproduce this issue always , although the version is not a Dzonerelease. Because most customer are developping based on the version 7.0.5 or later.

Dear @huyt1111 ,
On which DOS version you notice the issue consistently? Also, do you have any dependency on DOS version or can be upgraded to future DevZone releases?

Hi, @SivaRamaKrishnaNV

We can reproduce this issue on qnx 7.2.4 version.

I think it needs very long time to upgrade to future DevZone release. But we must develop on this DOS version as customer request.

@SivaRamaKrishnaNV According to the logs uploaded, any findings ?

Dear @huyt1111 ,
I believe you have other support channel as DOS 7.2.4 QNX is releasesd via other channel and not supported via forum. Could you reach out to your NVIDIA representative for right support channel.

Although I have other channel but the channel can only support the software about camera. I have no other channels of the problem which may be related with HW or DOS.

This problem can also be reproduced on the DevZone release Linux 7.0.3. The reason I propose this is that if you need to reproduce the issue, it will be difficult to reproduce it on the DevZone release.

I have not seen this issue with devzone release.
Do you see https://global.discourse-cdn.com/nvidia/original/4X/d/c/2/dc236b572426cb7c0acd5eb4a38a6cb111cee4d3.png messages on MCU console when scp is slow even with Devzone release? If so, is MCU version changed DOS 7.0.3 after flashing?

@SivaRamaKrishnaNV We checked with other user, when the scp is normal, there is the messages also.

Please clarify below things.

  1. That means the “MCU data 0x…” has to nothing to do with observed scp issue.
  2. On your machine, irrespective of DOS version, you notice the scp issue. But on QNX 7.2.4 you notice this consistenly unlike on other version you notice few times.

Please share below things.

  1. Please share the images shared in the description again as we can’t open it.
  2. share tcu_muxer logs from docker tcu_muxer -d /dev/ttyACM0 -m T264 -b 15 -g 16 -s /home/nvidia/ . On docker /home/nvidia should have the logs. Also, share showvoltages from aurix console.
  3. share syslog, dmesg, boot log

Dear SivaRamaKrishnaNV,

Q1: “MCU data 0x…” not related to SCP issue

Understood, thanks for the clarification. We will no longer focus on the “Mcu Data” prints.

Q2: On which DOS version is the SCP issue consistent?

On QNX 7.2.4, the SCP slow issue is reproducible every time. On DOS 7.0.3 and DOS 7.0.5 RC6, the SCP issue is occasional — it appears sometimes but not always.

Requested information:

  1. Images:

    1. syslog / dmesg / boot log

dmesg.txt (110.5 KB)

syslog.txt (54.4 KB)

boot_log.txt (5.1 MB)

I have not concluded that. I have asked if you are saying MCU data 0x ... is noticed even when SCP is faster on other targets.
Do you consistently see MCU data 0x... messages when SCP is slow on other DOS release as well?
Does the MCU FW version changed when you flashed with other DOS releases? Or the MCU FW version causing the the issue?

Dear SivaRamaKrishnaNV,

Thanks for the clarification.

MCU data 0x… vs SCP: I will verify the correlation - test both when SCP is slow and when SCP is fast - and report back.

MCU FW version: We have always used the same version.