Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.4.0

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
lroop
Posts: 2
Joined: Thu 21. Jun 2018, 19:49

Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.4.0

Post by lroop » Thu 21. Jun 2018, 20:34

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.

User avatar
S.Grosjean
Software Development
Software Development
Posts: 357
Joined: Wed 4. Jul 2012, 17:02

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

Post by S.Grosjean » Fri 22. Jun 2018, 09:51

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
— Stéphane

lroop
Posts: 2
Joined: Thu 21. Jun 2018, 19:49

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

Post by lroop » Fri 22. Jun 2018, 20:18

I've uploaded the dmesg output and crash dump from the machine as attachments, and will email as requested.
Attachments
Screen capture of crash dump message
Screen capture of crash dump message
pcan_crashdump.jpg (4.99 MiB) Viewed 3439 times
dmesg.txt
dmesg output from the machine in question
(81.68 KiB) Downloaded 427 times

Post Reply