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

[Xen-users] modprobe says "Invalid module format" in dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] modprobe says "Invalid module format" in dom0
From: Adam Nielsen <adam.nielsen@xxxxxxxxx>
Date: Fri, 2 Jun 2006 14:26:00 +1000
Delivery-date: Thu, 01 Jun 2006 21:26:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi everyone,

I'm just attempting to set up Xen for the first time, but I've gotten
stuck at the point of booting the dom0 kernel.  I wanted to custom
compile the kernel (I'm using 2.6.16.16) and this worked, I can boot
Xen with the custom kernel but none of the kernel modules I compiled
can be inserted into the running kernel:

$ modprobe snd-usb-audio
WARNING: Error inserting snd_hwdep 
(/lib/modules/2.6.16.16-xen0/kernel/sound/core/snd-hwdep.ko): Invalid module 
format
WARNING: Error inserting snd_rawmidi 
(/lib/modules/2.6.16.16-xen0/kernel/sound/core/snd-rawmidi.ko): Invalid module 
format
WARNING: Error inserting snd_usb_lib 
(/lib/modules/2.6.16.16-xen0/kernel/sound/usb/snd-usb-lib.ko): Invalid module 
format
FATAL: Error inserting snd_usb_audio 
(/lib/modules/2.6.16.16-xen0/kernel/sound/usb/snd-usb-audio.ko): Invalid module 
format

dmesg reports:

snd_hwdep: version magic '2.6.16.16-xen0 SMP PENTIUM4 REGPARM gcc-3.3' should 
be '2.6.16.16-xen0 686 gcc-3.3'
snd_rawmidi: version magic '2.6.16.16-xen0 SMP PENTIUM4 REGPARM gcc-3.3' should 
be '2.6.16.16-xen0 686 gcc-3.3'
snd_usb_lib: version magic '2.6.16.16-xen0 SMP PENTIUM4 REGPARM gcc-3.3' should 
be '2.6.16.16-xen0 686 gcc-3.3'
snd_usb_audio: version magic '2.6.16.16-xen0 SMP PENTIUM4 REGPARM gcc-3.3' 
should be '2.6.16.16-xen0 686 gcc-3.3'

Which makes me think the modules have somehow been compiled with the
wrong kernel config.  To install the modules I just ran "make
modules_install" from the xen-3.0-testing/linux-2.6.16-xen0/
directory (which is where I ran 'make xconfig' to configure the
kernel.)

Can anyone see what I've done wrong?

Thanks,
Adam.

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

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