peak-linux-driver-8.15.2 pcan: module verification failed: signature and/or required key missing - tainting kernel
Posted: Thu 15. Dec 2022, 15:23
Hello
After switching to a newer Ubuntu image (Ubuntu 18.04.6 LTS), our linux software is no longer able to connect to the CAN BUS. It worked fine before the switch. With the new linux we get "illegal AF_CAN address" errors. However, all adresses have been verified as correct and we can even connect to the CANBUS from a windows laptop with a standalone application.
Thus we suspect the source of the problem to be in the linux upgrade. Our next step was to try to install the latest drivers (peak-linux-driver-8.15.2) as a module in the kernel. I have never installed a module on a linux system and tried to follow the instructions in the PDF manual at https://www.peak-system.com/fileadmin/m ... story.html
make clean, make, and sudo make install were all successful, however, the module doesn't seem to load on its own after reboot. udev is running, it's just standard Ubuntu. So we loaded it manually with sudo modprobe pcan, and now get the following system log messages:
user@system:~/Desktop$ dmesg | grep pcan
[ 978.074485] pcan: loading out-of-tree module taints kernel.
[ 978.074792] pcan: module verification failed: signature and/or required key missing - tainting kernel
[ 978.076453] pcan: Release_20220929_n (le)
[ 978.076456] pcan: driver config [mod] [isa] [pci] [pec] [usb]
[ 978.076625] usbcore: registered new interface driver pcan
[ 978.076638] pcan: major 238.
Should I somehow sign the module? Is that what's preventing the manually installed driver from loading? Or is there any easier way for me to get the latest driver on this Ubuntu machine?
Alternatively, is there any way to debug the original "illegal AF_CAN address" error?
Thankful for any pointers in the right direction!
After switching to a newer Ubuntu image (Ubuntu 18.04.6 LTS), our linux software is no longer able to connect to the CAN BUS. It worked fine before the switch. With the new linux we get "illegal AF_CAN address" errors. However, all adresses have been verified as correct and we can even connect to the CANBUS from a windows laptop with a standalone application.
Thus we suspect the source of the problem to be in the linux upgrade. Our next step was to try to install the latest drivers (peak-linux-driver-8.15.2) as a module in the kernel. I have never installed a module on a linux system and tried to follow the instructions in the PDF manual at https://www.peak-system.com/fileadmin/m ... story.html
make clean, make, and sudo make install were all successful, however, the module doesn't seem to load on its own after reboot. udev is running, it's just standard Ubuntu. So we loaded it manually with sudo modprobe pcan, and now get the following system log messages:
user@system:~/Desktop$ dmesg | grep pcan
[ 978.074485] pcan: loading out-of-tree module taints kernel.
[ 978.074792] pcan: module verification failed: signature and/or required key missing - tainting kernel
[ 978.076453] pcan: Release_20220929_n (le)
[ 978.076456] pcan: driver config [mod] [isa] [pci] [pec] [usb]
[ 978.076625] usbcore: registered new interface driver pcan
[ 978.076638] pcan: major 238.
Should I somehow sign the module? Is that what's preventing the manually installed driver from loading? Or is there any easier way for me to get the latest driver on this Ubuntu machine?
Alternatively, is there any way to debug the original "illegal AF_CAN address" error?
Thankful for any pointers in the right direction!