Page 1 of 1

Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.4.0

Posted: Thu 21. Jun 2018, 20:34
by lroop
I am attempting to use 3 PCAN-USB X6 modules to test a device with 18 CAN ports on it.I built the PCAN Linux driver from the sources on PEAK's website using NET=NETDEV_SUPPORT to enable SocketCAN support and PCC=NO_PCCARD_SUPPORT to get around a "Not Enough Minors" error that prevented all 18 ports from enumerating. All 18 ports enumerate now, but I see lots of "pcan: unhandled read data stream turned off (err -71)" errors, and then a "general protection fault: 0000 [#1] SMP" error and the machine hangs with a kernel stack trace. This seems to be happening even with simple commands like "ip link show can0".

I can post a screenshot of the stack trace if that helps, and if there is any other information that would help figure out what is happening here, please let me know.

Re: Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.

Posted: Fri 22. Jun 2018, 09:51
by S.Grosjean
Hello,

Yes please give us the output of dmesg.
As we are on our way to release a new version of pcan, you might also send an email to linux@peak-system.com to get a beta-version of this new driver. Among the new features, it is ready to handle up to 32 USB channels without the need of using any make options on the command line.

Regards,

Stéphane

Re: Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.

Posted: Fri 22. Jun 2018, 20:18
by lroop
I've uploaded the dmesg output and crash dump from the machine as attachments, and will email as requested.