Re: how to load a module

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

 



On 09/09/2010 04:21 AM, Adel ESSAFI wrote:
> I get this error when using insmod :(
> [root@localhost ~]# insmod
> /usr/src/kernels/2.6.34.6-47.fc13.i686/kernel/drivers/media/video/easycap.ko
> -a
> insmod: error inserting
> '/usr/src/kernels/2.6.34.6-47.fc13.i686/kernel/drivers/media/video/easycap.ko':
> -1 Invalid module format
>
> On F12, works fine  but not on F13

Are you running the same kernel on both F12 and F13.  The modules are 
generally built against the kernel you're running--there are very few
(almost none) that aren't kernel-specific.  And I hope that "-a" is a
module parameter...insmod doesn't take any options itself.

> 2010/9/8 Rick Stevens<ricks@xxxxxxxx>
>
>> 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@xxxxxxxxx>
>>>
>>>> Hi
>>>> I get this message on F13.
>>>> however, the driver has loaded correctly on F12.
>>>>
>>>> [root@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@localhost ~]# lsmod  | grep easy
>>>> [root@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@xxxxxxxx -
>> - AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
>> -                                                                    -
>> -         Okay, who put a "stop payment" on my reality check?        -
>> ----------------------------------------------------------------------
>> --
>> users mailing list
>> users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>
>
>


-- 
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-          Programmers often confuse Halloween and Christmas.        -
-              After all, 31 Oct is the same as 25 Dec!              -
----------------------------------------------------------------------
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux