how to load a module

Rick Stevens ricks at nerd.com
Wed Sep 8 17:24:47 UTC 2010


On 09/07/2010 05:18 PM, Adel ESSAFI wrote:
> In fact, I have remarqued that the modprob command tries to look in a
> different directory ( _  instead of -)
> is this a bug in F13?
> regards
>
>
> 2010/9/8 Adel ESSAFI<adelessafi at gmail.com>
>
>> Hi
>> I get this message on F13.
>> however, the driver has loaded correctly on F12.
>>
>> [root at localhost ~]# modprobe -a
>> /usr/src/kernels/2.6.34.6-47.fc13.i686/kernel/drivers/media/video/easycap.ko
>>
>> WARNING: Deprecated config file /etc/modprobe.conf, all config files belong
>> into /etc/modprobe.d/.
>> WARNING: Module
>> /usr/src/kernels/2.6.34.6_47.fc13.i686/kernel/drivers/media/video/easycap.ko
>> not found.
>> [root at localhost ~]# lsmod  | grep easy
>> [root at localhost ~]#
>>
>> Can you help please

Use
	# insmod 
/usr/src/kernels/2.6.34.6-47.fc13.i686/kernel/drivers/media/video/easycap.ko

to force a load from where you built the module.

You really should install the module in the correct kernel module
directory, either by using the "make modules install" command for your
kernel makefile or by copying the module to the appropriate
/lib/modules/<kernelversion>/kernel/drivers/media/video directory and
doing a "depmod -a" afterwards.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-         Okay, who put a "stop payment" on my reality check?        -
----------------------------------------------------------------------


More information about the users mailing list