From: Lonni J Friedman <>
Reply-To: Lonni J Friedman <>,Philips Webcam Linux Driver
<>
To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] Invalid module format
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