From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBS2z-00062g-H6 for qemu-devel@nongnu.org; Wed, 14 Jan 2015 12:48:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBS2v-00025B-0y for qemu-devel@nongnu.org; Wed, 14 Jan 2015 12:48:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBS2u-00021i-PA for qemu-devel@nongnu.org; Wed, 14 Jan 2015 12:47:56 -0500 From: Juan Quintela In-Reply-To: <54B57C51.7090002@wiesinger.com> (Gerhard Wiesinger's message of "Tue, 13 Jan 2015 21:13:05 +0100") References: <54AE87C1.2060907@wiesinger.com> <54AEBD43.2060705@redhat.com> <54AEC877.9080600@wiesinger.com> <54AECAF3.3060909@redhat.com> <54AF047D.8010009@wiesinger.com> <54B3B2F5.1090405@wiesinger.com> <54B57C51.7090002@wiesinger.com> Date: Wed, 14 Jan 2015 18:47:52 +0100 Message-ID: <87h9vtmeyf.fsf@elfo.elfo> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] Fedora FC21 - Bug: 100% CPU and hangs in gettimeofday(&tp, NULL); forever Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerhard Wiesinger Cc: Paolo Bonzini , qemu-devel@nongnu.org Gerhard Wiesinger wrote: > On 12.01.2015 12:41, Gerhard Wiesinger wrote: >> On 08.01.2015 23:28, Gerhard Wiesinger wrote: >>> >>> I'll keep you up to date in the next days whether it happens again >>> or not. >> >> With qemu-kvm 2.2.0 release from the above repository the 100% usage >> didn't happen so far (although I had to reboot after kernel update). > > It happens also with qemu-kvm 2.2.0 on another VM where also > PostgreSQL is running: > (gdb) bt > #0 0x00007fff9a1feff4 in gettimeofday () > #1 0x00000000006d425e in GetCurrentTimestamp () at timestamp.c:1274 > > What we know: > OK : F20: 3.17.6-200.fc20.x86_64 on guest/host, > qemu-kvm-1.6.2-10.fc20.x86_64 on host > NOK: F21: 3.17.7-300.fc21.x86_64 on guest/host, > qemu-kvm-2.1.2-7.fc21.x86_64 on host > NOK: F21: 3.17.8-300.fc21.x86_64 on guest/host, > qemu-kvm-2.2.0-1.fc21.x86_64 on host > > No one less can reproduce or has similar problems? I have similar problems, F21 guest on F21 host. https://bugzilla.redhat.com/show_bug.cgi?id=1174664 For me, it is firefox that from time to time loops on vclock_gettime(). At that point the DSO have got corrupted (kvmclock msr's), and as you say, only solution is reboot. Could you look at the bug, and see if the areas pointed by the MSR also got corrupted? I tried using kernel-debug with debugging for memory allocation (marcelo request). I see pattens like 0x5a5a5a5a, so clearly there is some corruption, but haven't been able to find _what_ is making that happen. > Any further ideas? Nope :-( > BTW: I'm running ntp in the following manner: internet <=> ntp server > in VM <=> ntp client on KVM host (firewall runs in KVM) I am uisng ntp on the host against Internet, but the guest don't use ntp (I do a ntpdate if I see that the guest has drifted too much, and it is a rare event. Right now I don't rememeber having fixed it lately). Later, Juan.