From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751254Ab2I3LLi (ORCPT ); Sun, 30 Sep 2012 07:11:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26137 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020Ab2I3LLh (ORCPT ); Sun, 30 Sep 2012 07:11:37 -0400 Message-ID: <506828BF.9050409@redhat.com> Date: Sun, 30 Sep 2012 13:10:55 +0200 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: paulmck@linux.vnet.ibm.com CC: Fengguang Wu , Josh Boyer , Christian Hoffmann , LKML , "kvm@vger.kernel.org" , johnstul@us.ibm.com, tglx@linutronix.de Subject: Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies) References: <20120925111938.GA4545@localhost> <20120925150701.GA2502@linux.vnet.ibm.com> <20120926042237.GA18287@localhost> <20120926043445.GB2524@linux.vnet.ibm.com> <20120926081501.GA28485@localhost> <20120926164543.GD2467@linux.vnet.ibm.com> <20120927025400.GA11434@localhost> <20120927042849.GA6556@linux.vnet.ibm.com> <20120927044044.GA22753@localhost> <20120928033511.GB2480@linux.vnet.ibm.com> In-Reply-To: <20120928033511.GB2480@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/28/2012 05:35 AM, Paul E. McKenney wrote: > On Thu, Sep 27, 2012 at 12:40:44PM +0800, Fengguang Wu wrote: >> On Wed, Sep 26, 2012 at 09:28:50PM -0700, Paul E. McKenney wrote: >> > On Thu, Sep 27, 2012 at 10:54:00AM +0800, Fengguang Wu wrote: >> > > On Wed, Sep 26, 2012 at 09:45:43AM -0700, Paul E. McKenney wrote: >> > > > On Wed, Sep 26, 2012 at 04:15:01PM +0800, Fengguang Wu wrote: > > [ . . . ] > >> > > > But could you also please send your .config file and a description of >> > > >> > > .config attached. >> > > >> > > > the workload you are running? >> > > >> > > It's basically the below commands. The exact initrd is not relevant in >> > > this case because it's a boot time warning before user space is >> > > started. The stalls roughly happen 1 time on every 10 boots. >> > >> > Yow!!! >> > >> > You have severe cross-CPU time-synchronization problems. See for >> > example the first dmesg, with the relevant part extracted right here. >> > One CPU believes that it is about 37 seconds past boot, and the other >> > CPU beleives that it is about 137 seconds past boot. Given that large >> > of a time difference, an RCU CPU stall warning is expected behavior. >> >> Good spot! Yeah I noticed that huge timestamp gap, however didn't take >> it seriously enough.. >> >> > Get your two CPUs in agreement about what time it is, and I bet that >> > the CPU stall warnings will go away. >> >> Possibly KVM related? Because the warnings show up in many test boxes >> running KVM and so is not likely some hardware specific issue. > > I vaguely recall seeing something recently. But let's ask the KVM and > timekeeping guys. >>From the logs it looks like hpet (why not kvmclock?) is used for the clock, it should not generate such drifts since it is a global clock. Can you verify current_clocksource on a boot that actually failed (in case the clocksource is switched during runtime)? -- error compiling committee.c: too many arguments to function