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!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux