|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] modprobe says "Invalid module format" in dom0
Set CONFIG_MODVERSIONS=y in .config of your xen0 kernel.
Also, I am not sure whether it is the right way, but I always
configure/build/install the kernel as README suggests:
make linux-2.6-xen0-config CONFIGMODE=menuconfig
make linux-2.6-xen0-build
make linux-2.6-xen0-install
Adam Nielsen wrote:
> 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
>
--
Yuri Pismerov, System Administrator
Armor Technologies (Canada) Inc.
P: 905 305 1946 (x.3519)
http://www.armorware.net
Privacy Protection Guaranteed!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|