Re: /lib/modules/`uname -r`/misc - shouldn't this be a directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam Varshavchik wrote:
> Ben Lancaster writes:
> 
>> Hey,
>>
>> I can't seem to install the standalone imon_vfd drivers from http://
>> venky.ws:
>>
>> # make install
>> depmod
>> /usr/bin/install imon_vfd.ko /lib/modules/`uname -r`/misc
>>
>> Following that:
>> # modprobe imon_vfd
>> FATAL: Module imon_vfd not found.
>>
>> By my logic, shouldn't the install process have effectively copied 
>> the imon_vfd driver to a directory called misc within my running kernel?
> 
> Correct.
> 
>>
>> Here's what stat says:
>>
>> It's an executable file! Is that right??
> 
> No.
> 
> The driver makefile is broken.  It assumes that the misc subdirectory
> already exists.
> 
It is broken in another way as well - depmod should be run after the
module is installed, not before. The depmod command updates the
modules table. If you do not do that after installing a new module,
the kennel and the module utilities will not know about the module.
A reboot will take care of this as well, because depmod is run at
bootup as part of the init scripts. The make file should probably
use "depmod -A" to save a bit of time.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux