From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: trivial Makefile patch + problem report Date: Tue, 28 Nov 2006 15:23:32 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 Hi, I've just installed kvm release 5 on systems with Intel Xeon 5160 processors, running up-to-date git kernels (2.6.19-rc6). First, since I built my kernel with a separate object directory ("O=xxx"), I needed the patch below to the kernel module Kbuild file to get things to work (otherwise the build wouldn't find ). As Documentation/kbuild/makefiles.txt says: $(src) $(src) is a relative path which points to the directory where the Makefile is located. Always use $(src) when referring to files located in the src tree. Second, some of the time when starting a guest, I see a flood of messages like rtc: lost some interrupts at 1024Hz. flooding my kernel log, and almost always when that happens the system becomes unresponsive (although occasionally I'm able to kill the qemu process and restore the system). Is there any debugging information or other way I can help fix this issue? Thanks, Roland --- kvm-5/kernel/Kbuild 2006-11-27 05:56:08.000000000 -0800 +++ kvm-5.new/kernel/Kbuild 2006-11-28 13:13:21.000000000 -0800 @@ -1,4 +1,4 @@ -EXTRA_CFLAGS := -I$(PWD)/include +EXTRA_CFLAGS := -I$(src)/include obj-m := kvm.o kvm-intel.o kvm-amd.o kvm-objs := kvm_main.o mmu.o x86_emulate.o debug.o kvm-intel-objs := vmx.o ------------------------------------------------------------------------- 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=join.php&p=sourceforge&CID=DEVDEV