From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francesc Subject: Re: compiler problem in Read Hat ES 4 Date: Wed, 24 Jan 2007 11:53:41 +0100 Message-ID: <45B73AB5.1000000@si.ct.upc.edu> References: <45ACA2BF.90403@si.ct.upc.edu> <64F9B87B6B770947A9F8391472E0321603496B05@ehost011-8.exch011.intermedia.net> <45AE173F.60400@si.ct.upc.edu> <64F9B87B6B770947A9F8391472E0321603496B06@ehost011-8.exch011.intermedia.net> <45AF30A5.3040401@si.ct.upc.edu> <64F9B87B6B770947A9F8391472E0321603496B09@ehost011-8.exch011.intermedia.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Uri Lublin Return-path: In-Reply-To: <64F9B87B6B770947A9F8391472E0321603496B09-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Uri Lublin wrote: > > Hi Frank, > > It seems it would be easier if you'd build kvm on a more recent linux = > kernel (version 2.6.16 or later). > You could not make the kvm modules because 2.6.9 kernel does not use = > Kbuild, but expects that information to be in the Makefile. > So... I typed "cd kernel; mv Makefile Makefile.orig; cat Kbuild = > Makefile.orig > Makefile; make". > That started building the modules, but include file = > was not found. > linux/mutex.h was introduced in version 2.6.16 > > If you insist on 2.6.9, try to replace the mutex with a semaphore = > (kvm_main.c and kvm.h). > > Uri. > Hi Uri, I have install 2.6.19.2 kernel in Red Hat and I have got .ko files at = last !! But it seems if there is a problem when I try to load the module: modprobe kvm-intel FATAL: Error inserting kvm_intel = (/lib/modules/2.6.19.2/extra/kvm-intel.ko): Operation not supported I have tried to load "kvm" one (without intel extension) but I suppose = it is not right becase qemu fails: /usr/local/kvm/bin/qemu -hda vdisk.img -cdrom = /var/tmp/ubuntu-6.10-server-i386.iso -boot d -m 384 open /dev/kvm: No such file or directory Could not initialize KVM, will disable KVM support I need your help again. Thanks a lot. Frank -- = Aquest missatge ha estat analitzat per MailScanner a la cerca de virus i d'altres continguts perillosos, i es considera que est=E0 net. For all your IT requirements visit: http://www.transtec.co.uk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV