From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBS77-00081d-N4 for qemu-devel@nongnu.org; Wed, 14 Jan 2015 12:52:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBS73-0004xQ-2c for qemu-devel@nongnu.org; Wed, 14 Jan 2015 12:52:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBS72-0004xK-Qd for qemu-devel@nongnu.org; Wed, 14 Jan 2015 12:52:13 -0500 From: Juan Quintela In-Reply-To: <87h9vtmeyf.fsf@elfo.elfo> (Juan Quintela's message of "Wed, 14 Jan 2015 18:47:52 +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> <87h9vtmeyf.fsf@elfo.elfo> Date: Wed, 14 Jan 2015 18:52:10 +0100 Message-ID: <87387dmer9.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 Juan Quintela wrote: > 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). I forgot tell on the previous patch, I am using 2vcpus. with a single vcpu I have been unable to trigger this bug. Later, Juan.