From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cam Macdonell Subject: Re: kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user) Date: Wed, 15 Aug 2007 16:05:57 -0600 Message-ID: <46C378C5.4040502@cs.ualberta.ca> References: <46C2C392.1020104@procolix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: In-Reply-To: <46C2C392.1020104-OoqVcbiag8BWk0Htik3J/w@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 Koen de Jonge (ProcoliX) wrote: > Slohm Gadaburi wrote: >> hi ppl, >> >> I am grateful for the help and tips I've been given here on the earlier >> thread. >> I just want to summarize the bits I've collected, >> please confirm :) >> >> On an up-to-date Ubuntu 7.04 machine: >> - install kvm+qemu packages >> - install the gcc-3.4 package (hopefully it will not overwrite my gcc 4.x ?) >> - download kvm-35 >> - configure it without the --patched flag (will it automatically find >> the gcc-3 ?) >> - insmod the just-build kvm-(amd|intel) module >> - make sure i run the qemu binaries supplied from the kvm35 package >> >> that should do the trick ? >> I'm trying to compile kvm-35 (from the git repository) on Ubuntu Feisty (all up to date) and I get the following error: cam@madhatter:~/src/KVM/kvm-userspace$ sudo make make -C kernel make[1]: Entering directory `/home/cam/src/KVM/kvm-userspace/kernel' make -C /lib/modules/2.6.20-15-generic/build M=`pwd` "$@" make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic' make[3]: *** No rule to make target `/home/cam/src/KVM/kvm-userspace/kernel/svm.o', needed by `/home/cam/src/KVM/kvm-userspace/kernel/kvm.o'. Stop. make[2]: *** [_module_/home/cam/src/KVM/kvm-userspace/kernel] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/cam/src/KVM/kvm-userspace/kernel' make: *** [kernel] Error 2 I have to admit that I'm a little fuzzy on the modules that are needed to build a particular kvm release (and where to get them from). Initially, I used Ubuntu's apt install and then moved on to buidling kvm-33 from source tar ball which built fine. But, the kvm-33 tarball had the svm source files in the the kernel directory. I notice those files are not in the kvm-35 kernel directory (and are causing the failure above). Is there some other repo svm files are part of? Thanks, Cam ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/