From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Watte Subject: Re: kvm on Ubuntu 8.04 running windows xp sp3: corrupts file system on shutdown? Date: Thu, 02 Jul 2009 09:40:34 -0700 Message-ID: <4A4CE302.8070701@gmail.com> References: <4A4CD7F5.6020603@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Yaniv Kaul Return-path: Received: from wa-out-1112.google.com ([209.85.146.183]:6090 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750940AbZGBQkg (ORCPT ); Thu, 2 Jul 2009 12:40:36 -0400 Received: by wa-out-1112.google.com with SMTP id j5so362017wah.21 for ; Thu, 02 Jul 2009 09:40:39 -0700 (PDT) In-Reply-To: <4A4CD7F5.6020603@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Yaniv Kaul wrote: > On 7/2/2009 6:50 PM, Jon Watte wrote: >> I'm attempting to set up a Windows XP virtual machine using KVM >> running on 8.04 LTS x64 or a Core 2 Duo (6550). I have updated all >> installed packages to the latest available as of a week ago. This is >> KVM version 0.9.1 (kvm-62) on a kernel version 2.6.24-22-server. >> > I warmly suggest updating to a later, much newer, KVM version. > Specifically qcow2 format had corruption bugs similar to what > described below. > Y. Thanks for the suggestion! Unfortunately, I'm using a "long term support" version of the OS to avoid having to screw with the machine all the time. It serves a real purpose with real uptime requirements :-) That being said, I tried uninstalling the provided kvm package, and downloading and building kvm-87 from source (the kvm-87.tar.gz tarball on Sourceforge). Unfortunately, after running configure, and make, it errors out on the following sub-make: root@svn:/usr/local/src/kvm-87# make make -C /lib/modules/2.6.24-22-server/build M=`pwd` \ LINUXINCLUDE="-I`pwd`/include -Iinclude \ -Iarch/x86/include -I`pwd`/include-compat \ -include include/linux/autoconf.h \ -include `pwd`/x86/external-module-compat.h " \ "$@" make: *** /lib/modules/2.6.24-22-server/build: No such file or directory. Stop. make[1]: *** [all] Error 2 make: *** [kvm-kmod] Error 2 root@svn:/usr/local/src/kvm-87# There is no /lib/modules/2.6.24-22-server/build on my machine. Creating it doesn't help; it just complains that the sub-make has no target or file specified. I looked in the build documentation on linux-kvm.org, but it does not mention anything like this, or any particular requirements. It just says "configure, then make," which is what I'm doing. I'm pasting the print-out from configure below, if anyone has the opportunity to take a look at it I'd appreciate it. Sincerely, jw root@svn:/usr/local/src/kvm-87# ./configure Error: libpci check failed Disable KVM Device Assignment capability. Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /usr/local/src/kvm-87 C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list x86_64-softmmu tcg debug enabled no gprof enabled no sparse enabled no strip binaries yes profiler no static build no -Werror enabled no SDL support no curses support no curl support no mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support no VNC SASL support no kqemu support no xen support no CPU emulation yes brlapi support no Documentation no NPTL support yes vde support no AIO support yes IO thread no Install blobs yes -e KVM support yes KVM trace support no fdt support no preadv support no root@svn:/usr/local/src/kvm-87#