Log buffer overrun issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Log buffer overrun issue

跳至解决方案
3,879 次查看
felixhsu
Contributor III

Hi All

Use the i.MX7D platform, the A7 core with the M4 core communication will output many message to /dev/kmsg,

lead to /dev/kmsg buffer will overflow, how to modification let rpmsg stop output message to /dev/kmsg?

Thanks.

As below is error log.

rpmsg_virtio TX: 00 04 00 00 00 00 00 00 00 00 00 00 9e 00 00 00  ................
rpmsg_virtio TX: 6c 6f 61 64 20 30 31 31 31 20 30 30 31 34 64 65  load 0111 0014de
rpmsg_virtio TX: 30 30 37 32 64 65 30 30 37 32 64 65 30 30 37 32  0072de0072de0072
rpmsg_virtio TX: 64 65 30 30 37 32 64 65 30 30 37 32 64 65 30 30  de0072de0072de00
rpmsg_virtio TX: 37 32 64 65 30 30 37 32 64 65 30 30 37 32 64 65  72de0072de0072de
rpmsg_virtio TX: 30 30 37 32 64 65 30 30 37 32 64 65 30 30 37 32  0072de0072de0072
rpmsg_virtio TX: 64 65 30 30 37 32 64 65 30 30 37 32 64 65 30 30  de0072de0072de00
rpmsg_virtio TX: 37 32 64 65 30 30 37 32 64 65 30 30 37 32 64 65  72de0072de0072de
rpmsg_virtio TX: 30 30 37 32 64 65 30 30 37 32 64 65 30 30 37 32  0072de0072de0072
rpmsg_virtio TX: 64 65 30 30 37 32 64 65 30 30 37 32 64 65 30 30  de0072de0072de00
rpmsg_virtio TX: 37 32 64 65 30 30 37 32 64 65 30 30 37 32        72de0072de0072

systemd-journald[210]: /dev/kmsg buffer overrun, some messages lost.

标签 (3)
0 项奖励
1 解答
2,918 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  please check if core's  communication interface is correctly used. 

You may try the ping-pong demo, and use it as an example.

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

在原帖中查看解决方案

0 项奖励
2 回复数
2,919 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  please check if core's  communication interface is correctly used. 

You may try the ping-pong demo, and use it as an example.

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

0 项奖励
2,918 次查看
chengyuhao
Contributor I

Hi, Yuri Muhin

      what if i want to use the str_echo demo ?

      I need the device node /dev/ttyRPMSG.

      How to resolve the /dev/kmsg overrun.

Have a great day,

Yu

0 项奖励