Can't load PCAN driver

Hi all,

Environment :

Jetpack 4.3 (L4T 32.4.3)
*** Making pcan driver in chardev mode
***
*** Host OS Release=Ubuntu v18.04
*** Host machine kernel version=4.9.140-tegra
*** Driver kernel version=4.9.140-tegra (4.9.140)
*** Path to kernel sources=/usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9
*** use KBUILD=yes
*** use DKMS=no
*** gcc version=7
***

I want to use a PCAN-USB with the Jetson AGX Xavier, so i tried to install PEAK-Linux Driver (peak-linux-driver-8.13.0) which is compatible with Ubuntu 18.04, the sources was compiled successfully, and the make install was sucessful too but it seems that i’m not able to load the driver when i use the command below :

jetson@xavier:~/peak-linux-driver-8.13.0$ sudo modprobe pcan
modprobe: ERROR: could not insert 'pcan': Exec format error
modprobe: ERROR: ../libkmod/libkmod-module.c:979 command_do() Error running install command for pcan
modprobe: ERROR: could not insert 'pcan': Operation not permitted

When i do a dmesg i’ve the output below :

jetson@xavier:~/peak-linux-driver-8.13.0$ dmesg | grep pcan
[   12.447206] pcan: disagrees about version of symbol module_layout
[   12.519335] pcan: disagrees about version of symbol module_layout
[  108.263799] pcan: disagrees about version of symbol module_layout
[  131.338398] pcan: disagrees about version of symbol module_layout

I’ve tried to install the same driver in a Linux_x86_64, and i didn’t had the same issue, do you have any suggestions to be able to install and load the pcan driver on jetson correctly ?

Thanks.

hello chakibdace,

usually, these messages due to incompatible version.
what if you using --force options for modprobe? for example, $ modprobe -f pcan

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.