Jetpack 4.6.2 - RxData DMA copy to tty layer failed

Hi everyone,
We are currently running on a Xavier NX, Jetpack 4.6.2, stock kernel, custom device tree provided by our carried board.
We have an app that starts on startup listening to ttyTHS0 (baudrate 921600)
It works well but after 1-2 minutes the following kernel messages appear:

serial-tegra 3100000.serial: RxData DMA copy to tty layer failed

It spams every 500ms until the application is stopped.
Enclosed is a full dmesg log. I decompiled the device tree and the serial 3100000 block is identical to the stock jetpack one for the NX.

What could be the cause of this problem? Thank you very much for your help!

dmesg.txt (66.7 KB)

hello alban.deruaz,

BTW, could this resolve by changing baud-rate to 115200?

Hello, thanks for your reply!
Setting the baudrate to 115200 does not solve the issue, the message still appears.
I’m not familiar with the behaviour of the DMA, does it mean the DMA is full / the listening software is not polling quickly enough?

Thanks for your help!

hello alban.deruaz,

would like to confirm this is only warning message, and it’s not harm your use-case.

may I know what’s the actual use-case.
if you keep trigger irq, and tegra-uart driver will keep pushing data to tty buffer, until tty buffer is full. it might be you’re not consume the data, so this message pop-up while tty buffer is full.

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