how to load a module

Adel ESSAFI adelessafi at gmail.com
Thu Sep 9 11:21:48 UTC 2010


I get this error when using insmod :(
[root at 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

REgards
Adel




2010/9/8 Rick Stevens <ricks at nerd.com>

> 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?        -
> ----------------------------------------------------------------------
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100909/388590fc/attachment.html 


More information about the users mailing list