In orin, ros node can not read /dev/ttyUSB data occasionally

As the image shows, I has an imu which is connected to orin by usb, and a ros node is used to open and read this /dev/ttyUSB to get imu data. But occasionally, the ros node can not read this /dev/ttyUSB correctly. The error dmesg output log when ros node failed to read is showed below. Can someone have a look at this issue. Thanks a lot.

[55877.813601] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[55877.814100] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[55877.814647] NVRM rmapiAllocWithSecInfo: allocation failed; status: Given class-id not valid [NV_ERR_INVALID_CLASS] (0x00000022)
[55877.814650] NVRM rmapiAllocWithSecInfo: client:0xc1d00028 parent:0xcaf00001 object:0x0 class:0x402c
[55877.815967] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[55877.826009] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[55877.826075] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[55877.826130] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[55877.826190] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[55877.826255] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[55877.826309] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[55877.826361] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[55877.875297] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0xffff:
[55877.901814] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[55877.954214] NVRM nvAssertFailedNoLog: Assertion failed: pLockInfo->state == initialLockState @ rs_server.c:1055
[55877.961632] NVRM gpumgrGetSomeGpu: Failed to retrieve pGpu - Too early call!.
[55877.961636] NVRM nvAssertFailedNoLog: Assertion failed: NV_FALSE @ gpu_mgr.c:295
[55921.706492] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[55984.702179] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[56018.925093] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56018.925587] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56018.926155] NVRM rmapiAllocWithSecInfo: allocation failed; status: Given class-id not valid [NV_ERR_INVALID_CLASS] (0x00000022)
[56018.926159] NVRM rmapiAllocWithSecInfo: client:0xc1d00029 parent:0xcaf00001 object:0x0 class:0x402c
[56018.927432] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56018.937490] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56018.937554] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56018.937628] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56018.937687] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56018.937743] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56018.937795] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56018.937845] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56018.986772] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0xffff:
[56019.013214] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56019.065178] NVRM nvAssertFailedNoLog: Assertion failed: pLockInfo->state == initialLockState @ rs_server.c:1055
[56019.074952] NVRM gpumgrGetSomeGpu: Failed to retrieve pGpu - Too early call!.
[56019.074955] NVRM nvAssertFailedNoLog: Assertion failed: NV_FALSE @ gpu_mgr.c:295
[56047.717720] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[56110.701333] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[56173.705124] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[56236.704129] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[56299.716212] start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
[56324.362878] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56324.363398] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56324.363997] NVRM rmapiAllocWithSecInfo: allocation failed; status: Given class-id not valid [NV_ERR_INVALID_CLASS] (0x00000022)
[56324.364000] NVRM rmapiAllocWithSecInfo: client:0xc1d0002a parent:0xcaf00001 object:0x0 class:0x402c
[56324.365249] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56324.375238] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56324.375298] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56324.375352] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56324.375407] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56324.375459] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56324.375512] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56324.375566] NVRM nvAssertFailed: Assertion failed: 0 @ g_mem_mgr_nvoc.h:1190
[56324.424577] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0xffff:
[56324.451055] NVRM rpcRmApiControl_dce: NVRM_RPC_DCE: Failed RM ctrl call result 0x56:
[56324.503233] NVRM nvAssertFailedNoLog: Assertion failed: pLockInfo->state == initialLockState @ rs_server.c:1055
[56324.510663] NVRM gpumgrGetSomeGpu: Failed to retrieve pGpu - Too early call!.
[56324.510667] NVRM nvAssertFailedNoLog: Assertion failed: NV_FALSE @ gpu_mgr.c:295

update dmesg.log

dmesg.log (137.4 KB)

I am not sure if it is hardware or kernel issue or related to ROS at all.
Can you confirm teh Orin devkit work normally to exclude any HW issue first?

Thanks

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