pwc
[Top] [All Lists]

Re: [pwc] Invalid module format

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] Invalid module format
From: Lonni J Friedman <>
Date: Wed, 13 Jul 2005 07:25:36 -0700
You need to install the kernel-devel RPM for the kernel you're using.
See the list archives for the last time this came up a couple weeks
back.

On 7/13/05, buzz lightyear <> wrote:
> Hi
>
> When I had fc3 installed, my quickcam 4000 pro worked fine with
> gnomemeeting.
>
> When I installed fc4 all I got was a grey screen.
>
> I've just downloaded pwc-10.0.7a and compiled ... warnings:
>
> make[1]: Entering directory `/usr/src/kernels/2.6.12-1.1390_FC4-i686'
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-if.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-misc.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-ctrl.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-v4l.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-uncompress.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-dec1.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-dec23.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-kiara.o
>   CC [M]  /home/nick/xawtv/pwc-10.0.7a/pwc-timon.o
>   LD [M]  /home/nick/xawtv/pwc-10.0.7a/pwc.o
>   Building modules, stage 2.
>   MODPOST
> *** Warning: "_spin_lock_irqsave" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko]
> undefined!
> *** Warning: "lock_kernel" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko] undefined!
> *** Warning: "_spin_unlock_irqrestore" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko]
> undefined!
> *** Warning: "unlock_kernel" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko]
> undefined!
>   CC      /home/nick/xawtv/pwc-10.0.7a/pwc.mod.o
>   LD [M]  /home/nick/xawtv/pwc-10.0.7a/pwc.ko
> make[1]: Leaving directory `/usr/src/kernels/2.6.12-1.1390_FC4-i686'
>
>
> I then did a find /lib/modules/`uname -r`/ -name "pwc*.ko*"
> and removed the pwc.ko
>
> I then did a make install and got:
> make -C /lib/modules/2.6.12-1.1390_FC4smp/source
> SUBDIRS=/home/nick/xawtv/pwc-10.0.7a modules
> make[1]: Entering directory `/usr/src/kernels/2.6.12-1.1390_FC4-i686'
>   Building modules, stage 2.
>   MODPOST
> *** Warning: "_spin_lock_irqsave" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko]
> undefined!
> *** Warning: "lock_kernel" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko] undefined!
> *** Warning: "_spin_unlock_irqrestore" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko]
> undefined!
> *** Warning: "unlock_kernel" [/home/nick/xawtv/pwc-10.0.7a/pwc.ko]
> undefined!
> make[1]: Leaving directory `/usr/src/kernels/2.6.12-1.1390_FC4-i686'
> install -d /lib/modules/2.6.12-1.1390_FC4smp/kernel/drivers/usb/media
> install -m 644 -c pwc.ko
> /lib/modules/2.6.12-1.1390_FC4smp/kernel/drivers/usb/media
> /sbin/depmod -a
>
> I then did a 'rmmod pwc' follwed by a 'modprobe pwc' and got the following
> error:
>
> FATAL: Error inserting pwc
> (/lib/modules/2.6.12-1.1390_FC4smp/kernel/drivers/usb/media/pwc.ko): Invalid
> module format
>
>
> I'd be very grateful for any input as to what I did wrong
>
> Thanks in advance
>
> Nick


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    
LlamaLand                       http://netllama.linux-sxs.org
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU