WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] loading self compiled module

To: Frank Meier <newsletters@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] loading self compiled module
From: Tomasz Chmielewski <mangoo@xxxxxxxx>
Date: Tue, 13 Feb 2007 16:04:52 +0100
Delivery-date: Tue, 13 Feb 2007 10:29:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45D1CB7B.7040800@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45D183DA.1030501@xxxxxxxxxxxx> <45D1C2D8.2090602@xxxxxxxx> <45D1CB7B.7040800@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Mandriva/1.5.0.8-1mdv2007.1 (2007.1) Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
Frank Meier wrote:
Tomasz Chmielewski schrieb:
Frank Meier wrote:
Hi,

I'm using Xen-Sources 2.6.16.28-r2 <http://packages.gentoo.org/ebuilds/?xen-sources-2.6.16.28-r2> on a gentoo System and want to compile new pwc driver to acces my Philips Webcam (http://www.saillard.org/linux/pwc/).

If I try to modprobe pwc, I get this error:

nuada linux # modprobe -f pwc
FATAL: Error inserting pwc (/lib/modules/2.6.16.28-xen/kernel/drivers/usb/media/pwc/pwc.ko): Invalid module format
FATAL: Error running install command for pwc

I compiled the module as I do it with normal a linux system with out errors.

I Hope anybody can help

And what does "dmesg" say when you try to insert the module...?


Hi,
dmesg:
pwc: version magic '2.6.16.28-xen SMP 686 gcc-4.1' should be '2.6.16.28-xen SMP K7 gcc-4.1'

Read the message carefully, and you'll know where your problem is (hint: 686 vs K7 in your kernel .config).


--
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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