From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9HZE-0003yo-Cs for qemu-devel@nongnu.org; Thu, 08 Jan 2015 13:12:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9HZB-0004MU-NM for qemu-devel@nongnu.org; Thu, 08 Jan 2015 13:12:20 -0500 Received: from vps01.wiesinger.com ([46.36.37.179]:41023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9HZB-0004Ly-EV for qemu-devel@nongnu.org; Thu, 08 Jan 2015 13:12:17 -0500 Message-ID: <54AEC877.9080600@wiesinger.com> Date: Thu, 08 Jan 2015 19:12:07 +0100 From: Gerhard Wiesinger MIME-Version: 1.0 References: <54AE87C1.2060907@wiesinger.com> <54AEBD43.2060705@redhat.com> In-Reply-To: <54AEBD43.2060705@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Fedora FC21 - Bug: 100% CPU and hangs in gettimeofday(&tp, NULL); forever List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org On 08.01.2015 18:24, Paolo Bonzini wrote: > > On 08/01/2015 14:36, Gerhard Wiesinger wrote: >> Quitting and reattaching gdb also hangs here, so gettimeofday takes 100% >> CPU and never ends! >> >> Therefore I guess this is a problem either in the Linux kernel or in >> QEMU/KVM. > What kernel are you running on (and were you running on)? > > Can you try F20 host and F21 guest or vice versa? Hello Paolo, Always latest available stable versions (kernel/qemu-kvm): F20: 3.17.6-200.fc20.x86_64 on guest/host, qemu-kvm-1.6.2-10.fc20.x86_64 on host F21: 3.17.7-300.fc21.x86_64 on guest/host, qemu-kvm-2.1.2-7.fc21.x86_64 on host (I had also 3.17.6-300.fc21.x86_64 and it happended there, too). The topic is: it happens after some time (e.g. hours to days) It is production environment running around 10VMs and I want to avoid many experiments there. Since kernels were the same on FC20/F21 and qemu/kvm changed from 1.6.2 to 2.1.2 I guess the topic seems to be there. Also newer gcc might be a topic. https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/kernel/time/timekeeping.c?id=refs/tags/v3.17.7#n695 I guess it hangs in the do/while loop here: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/kernel/time/timekeeping.c?id=refs/tags/v3.17.7#n493 Ciao, Gerhard