From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm-70 + RHEL4 + 2.6.25.7 == invalid module format Date: Sun, 22 Jun 2008 09:08:47 +0300 Message-ID: <485DEC6F.7050406@qumranet.com> References: <8575A1BA6D8006418FD2CD73FCC2B2E6068C68C5@xmb-sjc-231.amer.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: "Anoosh Hosseini (anoosh)" Return-path: Received: from il.qumranet.com ([212.179.150.194]:27666 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887AbYFVGIf (ORCPT ); Sun, 22 Jun 2008 02:08:35 -0400 In-Reply-To: <8575A1BA6D8006418FD2CD73FCC2B2E6068C68C5@xmb-sjc-231.amer.cisco.com> Sender: kvm-owner@vger.kernel.org List-ID: Anoosh Hosseini (anoosh) wrote: > Using RHEL4 base with up-to-date kernel from kernel.org. (enabled > virtio/kvm..). Checked makefiles and I am building with -mcmodel=kernel. > Any advise appreciated. > > [root@dell-002 src]# modprobe kvm-intel > FATAL: Error inserting kvm_intel > (/lib/modules/2.6.25.7/extra/kvm-intel.ko): Invalid module format > [root@dell-002 src]# tail /var/log/messages > > tail /var/log/messages > Jun 21 11:56:50 dell-002 kernel: overflow in relocation type 10 val > ffffffff8829c0d3 > Jun 21 11:56:50 dell-002 kernel: overflow in relocation type 10 val > ffffffff8829c0d3 > Jun 21 11:56:50 dell-002 kernel: `kvm_intel' likely not compiled with > -mcmodel=kernel > Jun 21 11:56:50 dell-002 kernel: `kvm_intel' likely not compiled with > -mcmodel=kernel > What's the output of 'file /lib/modules/2.6.25.7/extra/kvm-intel.ko'? Please post host .config. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.