Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

problem modprobe insmod

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
langrad
Posts: 3
Joined: 2017-11-06 13:04

problem modprobe insmod

#1 Post by langrad »

Good day, friends help please, it is impossible to install modules the system writes the module is not found, kernel version 4.2.0-23-generic
Image

how to determine what could be the problem

bigrigdriver
Posts: 145
Joined: 2014-09-01 17:04
Location: East Central Illinois, USA

Re: problem modprobe insmod

#2 Post by bigrigdriver »

The problem is in how you phrase the modprobe and insmod commands.
The example you give shows that you are root and in the /module directory. When you give the modprobe/insmod commands, you give the path to the module with a leading /. Bash is looking for /module/module/1553b/drvmanud.ko, which does not exist. You also include the .ko of the module name. Leave off the .ko, and remove the leading / from the path, like so: modprobe module/1553b/drvmanud. Leaving off the leading / tells bash to "begin in this directory" and following the remaining path to the module.
Do the same with insmod. Be advised that if you use insmod, the module will be loaded but will not probe the device it's intended for. Modprobe is the better option to use.
Registered GNU/Linux user #170078

Go ask google before you ask on these boards.

It it isn't broken, Tweak It !!!

langrad
Posts: 3
Joined: 2017-11-06 13:04

Re: problem modprobe insmod

#3 Post by langrad »

cd /modules/can/
if I enter the modprowe command modprobe ./drv-can.ko so the error is not what does not write but the module is not there. the driver does not load.
insmod ./drv_can Operation not permited

langrad
Posts: 3
Joined: 2017-11-06 13:04

Re: problem modprobe insmod

#4 Post by langrad »

I connected with the developer of the drivers, it turned out that the problem is after the adaptation to another kernel. programmer is not checked the driver

Post Reply