problem modprobe insmod

Kernels & Hardware, configuring network, installing services

problem modprobe insmod

Postby langrad » 2017-11-06 18:31

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
langrad
 
Posts: 3
Joined: 2017-11-06 13:04

Re: problem modprobe insmod

Postby bigrigdriver » 2017-11-07 17:12

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 as google before you ask on these boards.

It it isn't broken, Tweak It !!!
bigrigdriver
 
Posts: 132
Joined: 2014-09-01 17:04
Location: East Central Illinois, USA

Re: problem modprobe insmod

Postby langrad » 2017-11-08 17:16

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

Postby langrad » 2017-11-08 18:10

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
langrad
 
Posts: 3
Joined: 2017-11-06 13:04


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable