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.
Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.4.0
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.
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
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
Re: Kernel panics with PCAN Linux driver 8.5.1 and kernel 4.
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
- pcan_crashdump.jpg (4.99 MiB) Viewed 3439 times
-
dmesg.txt
- dmesg output from the machine in question
- (81.68 KiB) Downloaded 427 times