how to load a module

Adel ESSAFI adelessafi at gmail.com
Wed Sep 8 00:18:31 UTC 2010


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
>
>
>
>
> 2010/9/7 Gregory Hosler <ghosler at redhat.com>
>
> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 09/08/2010 12:53 AM, Rick Stevens wrote:
>> > On 09/07/2010 08:33 AM, Adel ESSAFI wrote:
>> >> Hi list
>> >> I have a script that have successully compiled and installed a module
>> for a
>> >> tv card
>> >>
>> >> [root at localhost ~]# ls
>> >> /usr/src/kernels/2.6.34.6-47.fc13.i686/kernel/drivers/media/video/
>> >> easycap.ko
>> >>
>> >> but fails to load it
>> >>
>> >> how can I do to load that module
>> >>
>> >> [root at localhost easycap_dc60.0.8.2]# modprobe easycap
>> >> FATAL: Module easycap not found.
>> >
>> > By default, modprobe checks the "/lib/modules/`uname -r`" tree.  You
>> > need to copy the driver's .ko file somewhere in there and "depmod -a"
>> > afterwards.  The module's "make modules install" or "make install"
>> > command should do these steps for you.
>> >
>> > If all you want to do is test it, you can "modprobe
>> > /full/path/to/your/module.ko" to force a load.
>>
>>         insmod "/full/path/to/your/module.ko"
>>
>>   or
>>
>>        modprobe module
>>
>> after the module is in the kernel tree, and a depmod has been done. note
>> that
>> the steps about "the module is in the kernel tree, and a depmod has been
>> done"
>> is required for modprobe, but not required for insmod.
>>
>> - -Greg
>>
>> > ----------------------------------------------------------------------
>> > - Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
>> > - AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
>> > -                                                                    -
>> > -   To err is human.  To forgive, a large sum of money is needed.    -
>> > ----------------------------------------------------------------------
>>
>>
>> - --
>> +---------------------------------------------------------------------+
>>
>> Please also check the log file at "/dev/null" for additional information.
>>                (from /var/log/Xorg.setup.log)
>>
>> | Greg Hosler                                   ghosler at redhat.com    |
>> +---------------------------------------------------------------------+
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAkyGgyoACgkQ404fl/0CV/RXcwCff3CfGIfEAeceBOMl09JXerf3
>> eTIAniY+D8MiDqoVHWqXFr/oYN1y8IlK
>> =zwvg
>> -----END PGP SIGNATURE-----
>> --
>> users mailing list
>> users at lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>
>
>
> --
> PhD candidate in Computer Science
> Address
> 3 avenue lamine, cité ezzahra, Sousse 4000
> Tunisia
> tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
> fax: +216 71 391 166
>



-- 
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100908/8f583581/attachment.html 


More information about the users mailing list