From: Gianni Tedesco Subject: RE: HVM SMP linux guest hangs in cpu_idle() with EFLAGS.IF = 1 Date: Wed, 21 Jul 2010 18:59:42 +0100 Message-ID: <1279735182.1723.2005.camel@qabil.uk.xensource.com> References: <1278528155.1723.139.camel@qabil.uk.xensource.com> <1279733383.1723.2003.camel@qabil.uk.xensource.com> <54B2EB610B7F1340BB6A0D4CA04A4F10A8757B6E@orsmsx505.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54B2EB610B7F1340BB6A0D4CA04A4F10A8757B6E@orsmsx505.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Nakajima, Jun" Cc: Xen Devel List-Id: xen-devel@lists.xenproject.org On Wed, 2010-07-21 at 18:56 +0100, Nakajima, Jun wrote: > Gianni Tedesco wrote on Wed, 21 Jul 2010 at 10:29:43: > > > Another data-point I have on this but haven't mentioned here yet is that > > the userspace (anaconda) processes are usually hanging in > > tty_wait_until_sent() which is apparently why things are woken up by > > receiving a keypress on the serial line. > > > > At other times the hang occurs while userspace (hotplug, also anaconda) > > is waiting in do_poll() on a kernel netlink socket. In that case a > > keypress on serial line also wakes it (!!) > > > > I'm not sure if I followed all the emails on the thread, but did you > see such a hang without serial connection? I had impression (i.e. kind > of remember) serial connection of Linux at boot time caused a hang > especially with SMP (on native). I have seen the hang without serial console enabled but with serial still attached... In that case the hangs still happen but much more rarely. I am going to try some further tests to remove serial from the equation and see what happens. Thanks for the hint