From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: xenconsoled needs restart after long dom0 uptime otherwise domU console output hangs and domU doesn't come up Date: Thu, 14 Aug 2008 14:24:50 +0300 Message-ID: <20080814112450.GB6989@edu.joroinen.fi> References: <20080814112210.GA6989@edu.joroinen.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20080814112210.GA6989@edu.joroinen.fi> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Aug 14, 2008 at 02:22:10PM +0300, Pasi K=E4rkk=E4inen wrote: > Hello list! >=20 > I've noticed this problem a couple of times now.. so I'm wondering if i= t's a > known bug?=20 >=20 > Symptoms: >=20 > After "long" dom0 uptime (174 days when it happened now, was something > similar on previous times too) cannot start new pv domUs anymore..=20 > pygrub runs and boots the kernel, but kernel newer gets to actually run= ning initrd > and the console output hangs/stalls.. >=20 > "xm console" output might look like this: >=20 > checking if image is initramfs... it is > Freeing initrd memory: 12028k freed > Grant table initialized > NET: Registered protocol family 16 > SMP alternatives: switching to SMP code > >=20 > The point where it hangs might be a couple of lines earlier or later.. = seems > to change on almost every run.. >=20 > "xm list" in dom0 shows the domU as "-b----" and the Time(s) stays at 1= .9.. > after 8 hours of being hanged/stalled Time(s) was at 5.0 for that domU,= but > the console output had not changed, and the domU was still non-function= al. >=20 > Already running domUs keep running fine when this happens..=20 >=20 > Solution: >=20 > This problem gets fixed when you kill xenconsoled in dom0, and restart = it. After > this new domUs can be started just fine, and everything works normally > again. "xm console" works, initrd is executed, domU comes up OK, and yo= u see > the full console output. >=20 > I've seen this happening on dom0s running RHEL/CentOS 5.0 (Xen 3.0.3) a= nd=20 > RHEL/CentOS 5.1 (Xen 3.1.0).=20 >=20 > I just upgraded to 5.2 so can't tell (yet) if it happens with Xen 3.1.2= . >=20 > I'm running 32bit x86 PAE, and the domU kernels in question are Debian = etch > 2.6.18-6-xen-686. I think it also happens RHEL/CentOS 5.x kernel-xen, b= ut > not totally sure about that. I think I also saw it with Fedora 8/9 > domU kernel-xen once. >=20 > Looks like a bug in xenconsoled..=20 >=20 Oh, and I forgot to mention there's nothing unusual in "xm log", "xm dmes= g" or in dom0 /var/log/*.=20 xenconsoled doesn't take 100% CPU or anything like that.. so it just silently goes bad somehow.=20 -- Pasi