pwc
[Top] [All Lists]

[pwc] solution for "Invalid module format" when inserting the module

To:
Subject: [pwc] solution for "Invalid module format" when inserting the module
From: Ludovic Rousseau <>
Date: Thu, 11 Aug 2005 15:35:27 +0200
Hello,

I send this mail on the list because I got a problem described in [1]
(one month ago) without any solution. I have a possible solution.



I use Debian 2.6.12-1 Linux kernel and manually recompiled pwc-10.0.7a.
If I insert the pwc module I get:
  $ sudo insmod ./pwc.ko
  insmod: error inserting './pwc.ko': -1 Invalid module format

The interesting part is in dmesg(1) output:
  pwc: version magic '2.6.12-1-686 686 gcc-3.3' should be '2.6.12-1-686 686 
gcc-4.0'

The kernel has been compiled with gcc-4.0 and I was compiling the module
using gcc-3.3. You can get information from the module using:
  $ modinfo pwc.ko
  filename:       pwc.ko
  description:    Philips & OEM USB webcam driver
  author:         Luc Saillard <>
  license:        GPL
  alias:          pwcx
  version:        10.0.7-unofficial
  vermagic:       2.6.12-1-686 686 gcc-3.3     <--------- here is the problem
  [...]

After installing gcc-4.0 and recompiling the module with it everything
is OK.

Thanks for the great driver.

Bye,

[1] http://lists.saillard.org/pipermail/pwc/2005-July/000516.html

-- 
 Dr. Ludovic Rousseau                        
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
_______________________________________________
pwc mailing list

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

<Prev in Thread] Current Thread [Next in Thread>
  • [pwc] solution for "Invalid module format" when inserting the module, Ludovic Rousseau <=
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