Page 1 of 1
CPU lockup due to buffer overrun
Posted: Thu 4. Jun 2020, 01:14
by ekwok117
Hello-
I'm running a PCAN-PCIe FD card on a 14.04 Ubuntu system. Been having cpu lockups and saw this [attached] message. Any insight as to how this happens?

- Screen Shot 2020-06-03 at 4.00.18 PM.png (1.77 MiB) Viewed 5214 times
Re: CPU lockup due to buffer overrun
Posted: Thu 4. Jun 2020, 14:28
by S.Grosjean
Hi,
Are you sure that your CAN device is correctly setup? The pcan driver might be verbose if you don't setup the correct bitrate, or if you're alone on the bus (that is, if no other equipment does ack the frame you write). Are you using terminated cables?
Which version of the driver do you run, please?
Regards,
Re: CPU lockup due to buffer overrun
Posted: Fri 5. Jun 2020, 00:29
by ekwok117
Thanks for the response. Driver is 8.9.0 and we are using terminated cables. Have not seen this issue until recently after running it daily for the last year or so.
Re: CPU lockup due to buffer overrun
Posted: Mon 8. Jun 2020, 10:31
by S.Grosjean
Hi,
Ok. FYI we've recently released v8.10.1 of the driver.
Anyway, we could first remove this trace in order to prevent any further lockups of the Kernel and so, to facilitate debugging. Please go back into the driver sources tree:
Code: Select all
$ cd peak-linux-driver-8.9.0/driver
Then edit src/pcanfd_pci.c and change line:
into:
then save the file, rebuild and reinstall the new driver:
Once running this new version, please give us the output of:
Code: Select all
$ cat /proc/pcan
$ dmesg | grep pcan
Regards,