Microchip-Ethernet / EVB-KSZ9477

Repository for using Microchip EVB-KSZ9477 board. Product Supported: KSZ9477, KSZ9567, KSZ9897, KSZ9896, KSZ8567, KSZ8565, KSZ9893, KSZ9563, KSZ8563, LAN9646, Phys(KSZ9031/9131, LAN8770
76 stars 79 forks source link

/dev/kmsg buffer overrun, some messages lost #97

Open MahendraSondagar opened 1 year ago

MahendraSondagar commented 1 year ago

Hello there...

I'm using KSZ8795 drivers from here from kernel version 5.10 along with the Yocto build system

I'd copied the drivers manually in to micrel drivers folder and, applied the patches for the Freecsale drivers, cadence, Makefile and Kconfig as suggested in readme file

For me, the LAN switch is detected and drivers working as per explications

But the main problem is during the booting

I'm continuously getting the message from the kernel as follows after adding the KSZ drivers from here

[ 1363.683866] systemd-journald[428]: /dev/kmsg buffer overrun, some messages lost. [ 1363.711464] systemd-journald[428]: /dev/kmsg buffer overrun, some messages lost. [ 1364.190873] systemd-journald[428]: /dev/kmsg buffer overrun, some messages lost. [ 1364.260547] systemd-journald[428]: /dev/kmsg buffer overrun, some messages lost. [ 1366.234094] systemd-journald[428]: /dev/kmsg buffer overrun, some messages lost. [ 1367.764029] systemd-journald[428]: /dev/kmsg buffer overrun, some messages lost.

From my side, i have also updated the CONFIG_LOG_BUF_SHIFT =19 from 18 Also reduced the LOGLEVEL from 7 to 4

But still the things now working as per expectations

Any possible solutions pl?

Thanks Mahendra

triha2work commented 11 months ago

I do not know what caused this issue. It is not likely the switch driver displays a lot of messages during booting. Please try the updated switch driver.