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?
CPU lockup due to buffer overrun
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: CPU lockup due to buffer overrun
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,
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,
— Stéphane
Re: CPU lockup due to buffer overrun
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.
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: CPU lockup due to buffer overrun
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:
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:
Regards,
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
Code: Select all
#define DEBUG_CRITICAL
Code: Select all
//#define DEBUG_CRITICAL
Code: Select all
$ make
$ sudo make install
Code: Select all
$ cat /proc/pcan
$ dmesg | grep pcan
— Stéphane