我们自研主板老换过程中出现异常重启的故障现象,查看日志重启前有大量的serial报错
现在发生重启故障的主板都是部署有串口通信程序的,尝试关闭用的串口的DMA;修改设备树后重新老化测试未复现重启现象,现在想咨询下为什么这个报错会导致系统异常重启。
Hi 2799029655,
What’s the Jetpack version in use?
Please check if the patch from the following thread helps for your case.
Solved: UART/Serial Port not working after upgradint to Jetpack 6.2.2 (Orin Nano/NX) - #7 by KevinFFF
You can also provide the full dmesg and device tree for further check.
使用的是jetpack5.1.5 在设备树在禁用串口的DMA后未出现重启,现在是想了解为什么串口的DMA会导致系统重启,这个方便解释下吗?
Please check the full serial console log for the reboot issue.
How do you reproduce the issue when the DMA is enabled?
Is the issue specific to your custom carrier board?
kern.log (20.0 MB)这是完整的日志,程序中使用了3110000.serial和3140000.serial两个串口每100ms同时向外发送一包数据,发生重启的时候查看日志信息只有serial DMA相关的报错,系统是突然重启的;这个现象很容易复现,我们老化测试稳定性的时候,部署了有串口程序的主板都出现过重启故障,有同样的serial DMA相关的报错,在设备树中删除3110000.serial和3140000.serial两个串口中DMA相关内容后,老化测试未出现重启;这个主板是我们自研的。
Jul 9 14:38:39 ubuntu kernel: [ 7862.834101] serial-tegra 3110000.serial: RxData DMA copy to tty layer failed
Jul 9 14:38:39 ubuntu kernel: [ 7863.239524] serial-tegra 3140000.serial: RxData DMA copy to tty layer failed
Jul 9 14:37:53 ubuntu kernel: [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd421]
Jul 9 14:37:53 ubuntu kernel: [ 0.000000] Linux version 5.10.216-tegra (buildbrain@mobile-u64-6192-d8000) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2020.08) 9.3.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP PREEMPT Mon Jan 26 23:28:09 PST 2026
Jul 9 14:37:53 ubuntu kernel: [ 0.000000] OF: fdt: memory scan node memory@80000000, reg size 16,
Jul 9 14:37:53 ubuntu kernel: [ 0.000000] OF: fdt: - 80000000 , c0000000
It seems there’s just the dmesg rather than full serial console log.
Do you have the requirement for UART DMA?
If not, please simply remove related properties in device tree and use UART with PIO mode.