Page 1 of 1
Ctrlr Rx Buffer overrun
Posted: Thu 5. May 2022, 04:24
by Grissiom
Hello all,
We currenly using the M.2 version of PCAN, but we got the Ctrlr Rx Buffer overrun some time:
Code: Select all
Apr 25 10:37:41 kernel: [11079.895352] pcan: PCAN-M.2 CAN2 Ctrlr Rx Buffer overrun (loss of frame?) IRQ16 count=4382040
Apr 25 10:37:41 kernel: [11079.896040] pcan: PCAN-M.2 CAN1 Ctrlr Rx Buffer overrun (loss of frame?) IRQ16 count=7439960
What problem could cause such error? When we got the error, it's often that we could not get the network packet from socket, are those relavent?
Re: Ctrlr Rx Buffer overrun
Posted: Thu 5. May 2022, 09:14
by M.Maidhof
Hi,
can you please post the output of cat /proc/pcan?
This could be an IRQ problem, which can be solved by using the MSI option in our peak-linux-driver. See manual of the driver for more details on how to set this parameter:
edit /etc/modprobe.d/pcan.conf and add the following parameter (in red):
# pcan - automatic made entry, begin --------
# if required add options and remove comment
# options pcan type=isa,sp
options pcan fdusemsi=1
install pcan modprobe --ignore-install pcan
# pcan - automatic made entry, end ----------
reboot the system once and test again
regards
Michael
Re: Ctrlr Rx Buffer overrun
Posted: Thu 5. May 2022, 11:54
by Grissiom
Thank you very much!
We've lost the problem environment so I don't think /proc/pcan would help. But MSI option is a good hint, we will try it. Thanks!
Re: Ctrlr Rx Buffer overrun
Posted: Thu 5. May 2022, 16:00
by M.Maidhof
Hi,
what does "lost" mean? You can't find it or you have no access to the PC system with M.2 card anymore?
regards
Michael
Re: Ctrlr Rx Buffer overrun
Posted: Fri 6. May 2022, 10:57
by Grissiom
M.Maidhof wrote: ↑Thu 5. May 2022, 16:00
Hi,
what does "lost" mean? You can't find it or you have no access to the PC system with M.2 card anymore?
regards
Michael
No, I can access the PC connecting the PCAN, but the problem does not happens very often. We will try to get it when it happens.