[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.