Log buffer overrun issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Log buffer overrun issue

Jump to solution
4,098 Views
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.

Labels (3)
0 Kudos
Reply
1 Solution
3,137 Views
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!

View solution in original post

0 Kudos
Reply
2 Replies
3,138 Views
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 Kudos
Reply
3,137 Views
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 Kudos
Reply