Ask Your Question

Xyph3r's profile - activity

2018-10-01 15:33:01 -0500 marked best answer Cannot modprobe slcan

I want to load the slcan module, but it seems like it's not been built and included in Fedora 28: modprobe: FATAL: Module slcan not found in directory /lib/modules/4.18.9-200.fc28.x86_64

When peeking into the kernel sources under /usr/src/kernels/4.18.9-200.fc28.x86_64 (via make menuconfig) it seems like the kernel is configured to have slcan as a kernel module.

So, I tried building the module by itself by running "make drivers/net/can/" from within /usr/src/kernels/4.18.9-200.fc28.x86_64 but hit another bump:

*scripts/selinux/genheaders/genheaders.c:19:10: fatal error: classmap.h: No such file or directory

#include "classmap.h" ^~~~~~~~~~~~ compilation terminated.

make[3]: * [scripts/Makefile.host:90: scripts/selinux/genheaders/genheaders] Error 1

make[2]: * [scripts/Makefile.build:558: scripts/selinux/genheaders] Error 2

make[1]: * [scripts/Makefile.build:558: scripts/selinux] Error 2

make: * [Makefile:1053: scripts] Error 2*

Any ideas?

2018-10-01 15:33:01 -0500 received badge  Scholar (source)
2018-10-01 15:32:58 -0500 received badge  Supporter (source)
2018-09-30 15:12:05 -0500 received badge  Nice Question (source)
2018-09-30 14:58:23 -0500 received badge  Student (source)
2018-09-30 09:43:21 -0500 asked a question Cannot modprobe slcan

Cannot modprobe slcan I want to load the slcan module, but it seems like it's not been built and included in Fedora 28: