Log buffer overrun issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Log buffer overrun issue

ソリューションへジャンプ
5,065件の閲覧回数
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 解決策
4,104件の閲覧回数
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 返答(返信)
4,105件の閲覧回数
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 件の賞賛
返信
4,104件の閲覧回数
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 件の賞賛
返信