This forum covers PCAN-Linux and Linux development issues concerning our products
-
Grissiom
- Posts: 4
- Joined: Wed 4. May 2022, 16:34
Post
by Grissiom » Thu 5. May 2022, 04:24
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?
-
M.Maidhof
- Support

- Posts: 1751
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Thu 5. May 2022, 09:14
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
-
Grissiom
- Posts: 4
- Joined: Wed 4. May 2022, 16:34
Post
by Grissiom » Thu 5. May 2022, 11:54
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!
-
M.Maidhof
- Support

- Posts: 1751
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » 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
-
Grissiom
- Posts: 4
- Joined: Wed 4. May 2022, 16:34
Post
by Grissiom » Fri 6. May 2022, 10:57
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.