From: Boris Derzhavets Subject: Fw: Re: tip.git regression from "vsprintf: unify the format decoding layer for its 3 users" Date: Mon, 16 Mar 2009 11:21:51 -0700 (PDT) Message-ID: <576437.2422.qm@web56101.mail.re3.yahoo.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1729139818==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============1729139818== Content-Type: multipart/alternative; boundary="0-1182511978-1237227711=:2422" --0-1182511978-1237227711=:2422 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable >>Boris Derzhavets wrote: > >Performed:- > > > >root@ServerIntrepid:/usr/src/linux-2.6-xen# git reset --hard remotes/ori= gin/xen/dom0/hackery > HEAD is now at a38db50 Merge commit 'tip/core/printk' into xen/dom0/hacke= ry > >make clean > >make >> make modules_install install > >mkinitramfs -o /boot/initrd-2.6.29-rc7-tip.img 2.6.29-rc7-tip > > > >Booted with new kernel under Xen (19355) and get same bug in place. >> Cannot shutdown any PV DomU . Xen Host dies. >=20 >OK, so we're talking about a new bug now, right? >When you say "Xen Host dies", do you mean that Xen itself crashes?=A0 Or t= hat >the dom0 kernel crashes?=A0 Hangs?=A0 Non-responsive? ******************************************* It stops responding at all as 3 days ago. Just the same picture :- PV DomU CentOS 5.2 has been tested with new kernel During shutdown mentioned DomU usual sequence of daemon's messages drops into stack trace with following messages at the end:- xenbus_dev_shutdown:=A0=A0 device/vif/0 timeout closing device xenbus_dev_shutdown:=A0=A0 device/vbd/51712 timeout closing device System halted. ******************************************* > Do you have a serial console? =A0>=A0 J Jeremy, Bellow follows my message to you sent on 3/14/09 The bug is old.=20 I do have null modem cable ( 2 m.) . Setting up serial is quite possible, but not right now. Boxes are located in different places. Boris --- On Sat, 3/14/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] tip.git regression from "vsprintf: unify the forma= t decoding layer for its 3 users" To: "Jeremy Fitzhardinge" Cc: "Xen-devel" Date: Saturday, March 14, 2009, 5:43 AM Two PV DomUs (CentOS 5.2 , F10) have been tested with new kernel During shutdown of any one of mentioned DomUs usual sequence of daemon's me= ssages drops into stack trace with following messages at the end:- xenbus_dev_shutdown:=A0=A0 device/vif/0 timeout closing device xenbus_dev_shutdown:=A0=A0 device/vbd/51712 timeout closing device System halted. After that Xen Host stop responding at all, just dies. Boris --- On Sat, 3/14/09, Jeremy Fitzhardinge wrote: From: Jeremy Fitzhardinge Subject: [Xen-devel] tip.git regression from "vsprintf: unify the format de= coding layer for its 3 users" To: "Frederic Weisbecker" Cc: "Xen-devel" , "Ingo Molnar" = , "the arch/x86 maintainers" , "Linux Kernel Mailing List" = Date: Saturday, March 14, 2009, 3:04 AM Change fef20d9c1380f04ba9492d6463148db07b413708, "vsprintf: unify the format decoding layer for its 3 users", causes a regression in xenbus which results in no devices getting attached to a new domain. Reverting fef20d9c1380f04ba9492d6463148db07b413708 and 39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem. I haven't identified what format string is being handled wrongly, so I don't know what the precise bug is. The most complex looking format in use seems to be %.*s; there's also "%s/%s", "%i" and "%lX". J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1182511978-1237227711=:2422 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
>>Boris Derzhavets wrote:
> >P= erformed:-
> >
> >root@ServerIntrepid:/usr/src/linux-2.6-= xen# git reset --hard remotes/origin/xen/dom0/hackery
> HEAD is now a= t a38db50 Merge commit 'tip/core/printk' into xen/dom0/hackery
> >= make clean
> >make
>> make modules_install install
>= ; >mkinitramfs -o /boot/initrd-2.6.29-rc7-tip.img 2.6.29-rc7-tip
>= >
> >Booted with new kernel under Xen (19355) and get same bug= in place.
>> Cannot shutdown any PV DomU . Xen Host dies.
>=
>OK, so we're talking about a new bug now, right?

>When y= ou say "Xen Host dies", do you mean that Xen itself crashes?  Or that = >the dom0 kernel crashes?  Hangs?  Non-responsive?
********= ***********************************
It stops responding at all as 3 days ago.
Just the same picture :-

PV DomU CentOS 5.2 has been tested= with new kernel
During shutdown mentioned DomU usual sequence of daemon's messages drops into stack trace with following messages at the end:-
xenbus_dev_shutdown:   device/vif/0 timeout closing device
xe= nbus_dev_shutdown:   device/vbd/51712 timeout closing device
S= ystem halted.

*******************************************
> Do= you have a serial console?

 >  J

Jeremy,
Bellow follows my message to you sent on 3/14/09
The bug is old.
I = do have null modem cable ( 2 m.) . Setting up serial is quite possible,
= but not right now. Boxes are located in different places.

Boris
<= br>--- On Sat, 3/14/09, Boris Derzhavets <bderzhavets@yahoo.com>= ; wrote:
From: Boris Derzhavets <bde= rzhavets@yahoo.com>
Subject: Re: [Xen-devel] tip.git regression from = "vsprintf: unify the format decoding layer for its 3 users"
To: "Jeremy Fitzhardinge" <jeremy@goop.org>
Cc: "Xen-devel" <xen-d= evel@lists.xensource.com>
Date: Saturday, March 14, 2009, 5:43 AM
=
Two PV DomUs (CentOS 5.2 , F10) have been teste= d with new kernel
During shutdown of any one of mentioned DomUs usual se= quence of daemon's messages drops into stack trace with following messages = at the end:-

xenbus_dev_shutdown:   device/vif/0 timeout c= losing device
xenbus_dev_shutdown:   device/vbd/51712 timeout = closing device
System halted.

After that Xen Host stop responding= at all, just dies.

Boris


--- On Sat, 3/14/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: [Xen= -devel] tip.git regression from "vsprintf: unify the format decoding layer = for its 3 users"
To: "Frederic Weisbecker" <fweisbec@gmail.com>Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Ingo Molnar" <mingo= @elte.hu>, "the arch/x86 maintainers" <x86@kernel.org>, "Linux Ker= nel Mailing List" <linux-kernel@vger.kernel.org>
Date: Saturday, M= arch 14, 2009, 3:04 AM

Change fef20d9c1380f04ba9492d6463148db07=
b413708, "vsprintf: unify the
format decoding layer for its 3 users", ca= uses a regression in xenbus which
results in no devices getting attached= to a new domain. Reverting
fef20d9c1380f04ba9492d6463148db07b413708 an= d
39e874f8afbdb3745e2406ce4ecbde9ac4cbaa78 fixes the problem.

I h= aven't identified what format string is being handled wrongly, so I
don'= t know what the precise bug is. The most complex looking format in use
= seems to be %.*s; there's also "%s/%s", "%i" and
"%lX".

J
<= br>_______________________________________________
Xen-devel mailing
list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-de= vel

_______________________________________________
Xen-dev= el mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.= com/xen-devel

=0A=0A=0A=0A = --0-1182511978-1237227711=:2422-- --===============1729139818== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1729139818==--