From: Dulloor Subject: Re: Re: "Hotplug Scripts not working ..." error on jaunty Date: Sun, 18 Oct 2009 01:37:51 -0400 Message-ID: <940bcfd20910172237o2b97615fj28cf9bb08eb60f3a@mail.gmail.com> References: <940bcfd20910171508y61f39fcdp88ad764d8902deb8@mail.gmail.com> <704125.53106.qm@web56108.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0229271982==" Return-path: In-Reply-To: <704125.53106.qm@web56108.mail.re3.yahoo.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: Boris Derzhavets Cc: Xen-devel , "Marc - A. Dahlhaus" List-Id: xen-devel@lists.xenproject.org --===============0229271982== Content-Type: multipart/alternative; boundary=0016e6dab11bac2c3104762f07da --0016e6dab11bac2c3104762f07da Content-Type: text/plain; charset=ISO-8859-1 I am at the tip of xen/master branch of Jeremy's tree. commit 2afad356210ac35cbbc81904e0ac8b514b7f6212 Merge: 9fa9003... 907d20f... Author: Jeremy Fitzhardinge Date: Thu Oct 15 11:34:28 2009 -0700 Merge branch 'xen/vsyscall' into xen/master * xen/vsyscall: x86/vsyscall: fix 32-bit compile -dulloor On Sun, Oct 18, 2009 at 12:49 AM, Boris Derzhavets wrote: > > Boris Derzhavets schrieb: > >> > >> By some reasons i have to run on regular basis run > ./xen-hotplug-cleanup > >> on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to > >> re-enable ability start DomUs without hotplug scripts failure. > >> > >> Boris. > > It was written on June 26, 2009 and was connected with some particular > 9.04 instance. > Since then i did several Xen Host installs via official 3.4.1 tarball and > via xen-unstable.hg but, every time the most recent JF's pvops kernel had > been built to > support Dom0. Problem with hot-plug scripts was gone far away. > My question :- > What kernel is supporting your Dom0 ? > > Boris. > P.S. Seems to me , that was kernel related problem in June. > > --- On *Sat, 10/17/09, Dulloor * wrote: > > > From: Dulloor > Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty > To: "Marc - A. Dahlhaus" > Cc: "Xen-devel" > Date: Saturday, October 17, 2009, 6:08 PM > > > - udev version is 141 (udevadm info -V) > > - There is only a /etc/udev directory. It had two files : xend.rules > and xen-backend.rules. Removing them didn't help. > > - I use pvops kernel. And, I use - make install-xen and make > install-tools PYTHON_PREFIX_ARG="" > > - Following is the output from "udevadm monitor" : > KERNEL[1255816932.742809] add /devices/vbd-22-2049 (xen-backend) > KERNEL[1255816932.768878] add /devices/vbd-22-2050 (xen-backend) > KERNEL[1255816932.786000] add /devices/vbd-22-2051 (xen-backend) > KERNEL[1255816932.817227] add /devices/vif-22-0 (xen-backend) > UDEV [1255816932.818643] add /devices/vif-22-0 (xen-backend) > KERNEL[1255816933.008654] add /devices/console-22-0 (xen-backend) > UDEV [1255816933.009916] add /devices/console-22-0 (xen-backend) > UDEV [1255816933.657785] add /devices/vbd-22-2049 (xen-backend) > UDEV [1255816934.707977] add /devices/vbd-22-2050 (xen-backend) > UDEV [1255816935.761811] add /devices/vbd-22-2051 (xen-backend) > KERNEL[1255817033.248057] remove /devices/console-22-0 (xen-backend) > ------------- ****After the error**** > UDEV [1255817033.334001] remove /devices/console-22-0 (xen-backend) > > -dulloor > > > On Sat, Oct 17, 2009 at 4:04 PM, Marc - A. Dahlhaus > > wrote: > > Hello, > > > > Dulloor schrieb: > >> > >> I see that these patches made it to xen-unstable, but I still see the > >> "Hotplug Scripts not working ..." error on my jaunty dom0 machine. > > > > The patches only fixed the build-time and installation-time detection of > > udev to work with version above of 124. > > > > Have no jaunty based box around here to get some impressions of what goes > > wrong in this setup. > > > > Could you check what udev version it has and if /etc/hotplug and/or > > /etc/udev contains xen related stuff? > > > > As udev is in charge of hotplug events on jaunty a > > "udevadm monitor" might get you some further details on what events are > > generated. > > > >> I am trying to run a simple para-VM. xend starts fine (had to build > >> tools with PYTHON_PREFIX_ARG set to ""). And, I tried > >> xen-hotplug-cleanup too, but still getting the error. > >> > >> Any ideas ? > > > > Check what files get installed in /etc/udev and /etc/hotplug during > > installation. If you find anything xen related in /etc/hotplug remove it > and > > check if that fixes your problem. > > > > It would be interesting to know how you install xen... > > > > Marc > > > >> -dulloor > >> > >> On Sat, Jun 27, 2009 at 4:02 PM, Marc - A. Dahlhaus > > wrote: > >>> > >>> Hello Boris, > >>> > >>> as the problem you are describing is unrelated to the patch (which > >>> changes > >>> the detection of udev during buildtime only), > >>> can you please change the subject line to something more appropriate > and > >>> give some additional details about the problem? > >>> > >>> > >>> Marc > >>> > >>> Boris Derzhavets schrieb: > >>>> > >>>> By some reasons i have to run on regular basis run > >>>> ./xen-hotplug-cleanup > >>>> on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to > >>>> re-enable ability start DomUs without hotplug scripts failure. > >>>> > >>>> Boris. > >>>> > >>>> --- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann > >>>> GmbH ] />/* wrote: > >>>> > >>>> > >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] > >>>> > > >>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > > >>>> version 124 > >>>> To: "Boris Derzhavets" > > > >>>> Cc: "Xen-devel" >, > "Keir Fraser" > >>>> > > > >>>> Date: Friday, June 26, 2009, 5:12 AM > >>>> > >>>> Could go into 3.4 and unstable IMO. > >>>> > >>>> On 3.3 there is no tools/hotplug/Linux/Makefile so it must be > altered > >>>> there to use tools/examples/Makefile for the first chunk and > >>>> should work > >>>> fine there. > >>>> > >>>> > >>>> Marc > >>>> > >>>> Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets: > >>>> > Where this patch is supposed to go either xen-unstable.hg or > >>>> > xen-3.4-testing.hg (both) ? > >>>> > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). > >>>> > > >>>> > Boris > >>>> > > >>>> > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | > >>>> Westermann > >>>> > GmbH ] mad@wol.de >> wrote: > >>>> > > From: Marc - A. Dahlhaus [ Administration | > >>>> Westermann > >>>> GmbH ] > >>>> > mad@wol.de >> > >>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect > >>>> udev > > >>>> > version 124 > >>>> > To: "Xen-devel" > >>>> > >> > >>>> > Cc: "Daniel Schroeder" > >>>> >>, > "Keir Fraser" > >>>> > > >>>> > >> > >>>> > Date: Wednesday, June 24, 2009, 12:26 PM > >>>> > > udev removed the udevinfo symlink from > versions > >>>> higher than > >>>> > 123 and xens > >>>> > build-system could not detect if udev is in place and > >>>> has the > >>>> > required > >>>> > version. Attached patch fixes this. > >>>> > > > Signed-off-by: Marc-A. Dahlhaus > >>>> > >>>> >> > >>>> > > > > > > >>>> -----Inline Attachment Follows----- > >>>> > > > _______________________________________________ > >>>> > 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 > >>>> > >>>> > >>>> _______________________________________________ > >>>> 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 > >>>> > >>> _______________________________________________ > >>> 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 > > > --0016e6dab11bac2c3104762f07da Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am at the tip of xen/master branch of Jeremy's tree.

commit 2a= fad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
A= uthor: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date:=A0=A0 Thu Oct 15 11:34:28 2009 -0700

=A0=A0=A0 Merge branch &#= 39;xen/vsyscall' into xen/master

=A0=A0=A0 * xen/vsyscall:
= =A0=A0=A0=A0=A0 x86/vsyscall: fix 32-bit compile

-dulloor

On Sun, Oct 18, 2009 at 12:49 AM, Boris Derzhavets = <bderzhavets@= yahoo.com> wrote:
> Boris Derzhavets schrieb:
>>
>> By= some reasons i have to run =A0on regular basis run ./xen-hotplug-cleanup>> on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems t= o
>> re-enable ability start DomUs without hotplug scripts failure.
= >>
>> Boris.

It=A0 was written on June 26, 2009= and was connected with some particular 9.04 instance.
Since then i did = several Xen Host installs via official 3.4.1=A0 tarball and via xen-unstabl= e.hg=A0 but, every time the most recent JF's pvops kernel had been buil= t to
support Dom0. Problem with hot-plug scripts was gone far away.
My questi= on :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems = to me , that was kernel related problem in June.

--- On Sat, 10/1= 7/09, Dulloor <dulloor@gmail.com> wrote:

From: Dulloor <dulloor@gmail.com>
Subject:= [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunt= y
To: "Marc - A. Dahlhaus" <mad@wol.de>

Cc: "Xen-devel&quo= t; <x= en-devel@lists.xensource.com>
Date: Saturday, October 17, 2009, 6:08 PM


- udev version is 141 (udevadm info -V)

- There= is only a /etc/udev directory. It had two files : xend.rules
and xen-ba= ckend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make
install= -tools PYTHON_PREFIX_ARG=3D""

- Following is the output fr= om "udevadm monitor" :
KERNEL[1255816932.742809] add=A0 =A0 = =A0 /devices/vbd-22-2049 (xen-backend)
KERNEL[1255816932.768878] add=A0 =A0 =A0 /devices/vbd-22-2050 (xen-backend)=
KERNEL[1255816932.786000] add=A0 =A0 =A0 /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add=A0= =A0 =A0 /devices/vif-22-0 (xen-backend)
UDEV=A0 [1255816932.818643] add= =A0 =A0 =A0 /devices/vif-22-0 (xen-backend)
KERNEL[1255816933.008654] ad= d=A0 =A0 =A0 /devices/console-22-0 (xen-backend)
UDEV=A0 [1255816933.009916] add=A0 =A0 =A0 /devices/console-22-0 (xen-backe= nd)
UDEV=A0 [1255816933.657785] add=A0 =A0 =A0 /devices/vbd-22-2049 (xen= -backend)
UDEV=A0 [1255816934.707977] add=A0 =A0 =A0 /devices/vbd-22-205= 0 (xen-backend)
UDEV=A0 [1255816935.761811] add=A0 =A0 =A0 /devices/vbd-= 22-2051 (xen-backend)
KERNEL[1255817033.248057] remove=A0=A0=A0/devices/console-22-0 (xen-backend= )
------------- ****After the error****
UDEV=A0 [1255817033.334001] r= emove=A0=A0=A0/devices/console-22-0 (xen-backend)

-dulloor

On Sat, Oct 17, 2009 at 4:04 PM, Marc - A. Dahlhaus <mad@wol.de> wrote:
> Hello,
>
> Dulloor sc= hrieb:
>>
>> I see that these patches made it to xen-unst= able, but I still see the
>> "Hotplug Scripts not working ..." error on my jaunty dom= 0 machine.
>
> The patches only fixed the build-time and instal= lation-time detection of
> =A0udev to work with version above of 124.=
>
> Have no jaunty based box around here to get some impressions o= f what goes
> wrong in this setup.
>
> Could you check wh= at udev version it has and if /etc/hotplug and/or
> /etc/udev contain= s xen related stuff?
>
> As udev is in charge of hotplug events on jaunty a
> &qu= ot;udevadm monitor" might get you some further details on what events = are
> generated.
>
>> I am trying to run a simple para= -VM. xend starts fine (had to build
>> tools with PYTHON_PREFIX_ARG set to ""). An= d, I tried
>> xen-hotplug-cleanup too, but still getting the error= .
>>
>> Any ideas ?
>
> Check what files get = installed in /etc/udev and /etc/hotplug during
> installation. If you find anything xen related in /etc/hotplug remove = it and
> check if that fixes your problem.
>
> It would b= e interesting to know how you install xen...
>
> Marc
> >> -dulloor
>>
>> On Sat, Jun 27, 2009 at 4:02 PM, = Marc - A. Dahlhaus <mad@wol.de> wrote:
>>>
>>> Hello= Boris,
>>>
>>> as the problem you are describing is unrelated= to the patch (which
>>> changes
>>> the detection = of udev during buildtime only),
>>> can you please change the s= ubject line to something more appropriate and
>>> give some additional detail= s about the problem?
>>>
>>>
>>> Marc>>>
>>> Boris Derzhavets schrieb:
>>>>= ;
>>>> By some reasons i have to run =A0on regular basis run
&= gt;>>> ./xen-hotplug-cleanup
>>>> on two Xen 3.4.1 = on top of Ubuntu 9.04 Servers patched systems to
>>>> re-ena= ble ability start DomUs without hotplug scripts failure.
>>>>
>>>> Boris.
>>>>
>>= >> --- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Wester= mann
>>>> GmbH ] /<mad@wol.de>/* wrote:
>>>>
>>>>
>>>> =A0 From: Marc - A= . Dahlhaus [ Administration | Westermann GmbH ]
>>>> =A0 <= ;mad@wol.de= >
>>>> =A0 Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to de= tect udev >
>>>> =A0 version 124
>>>> =A0 = To: "Boris Derzhavets" <bderzhavets@yahoo.com>
>>>> =A0 Cc: "Xen-devel" <xen-devel@lists.= xensource.com>, "Keir Fraser"
>>>> =A0 <= keir.fraser@eu.citrix.com>
>>>> =A0 Date: Friday, June 26, 2009, 5:12 AM
>>>&g= t;
>>>> =A0 Could go into 3.4 and unstable IMO.
>>&= gt;>
>>>> =A0 On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered
>>>> =A0= there to use tools/examples/Makefile for the first chunk and
>>&g= t;> =A0 should work
>>>> =A0 fine there.
>>>&= gt;
>>>>
>>>> =A0 Marc
>>>>
>&g= t;>> =A0 Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Der= zhavets:
>>>> =A0 > Where this patch is supposed to go ei= ther xen-unstable.hg or
>>>> =A0 > xen-3.4-testing.hg (both) ?
>>>> = =A0 > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).
>>= ;>> =A0 >
>>>> =A0 > Boris
>>>> = =A0 >
>>>> =A0 > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Adminis= tration |
>>>> =A0 Westermann
>>>> =A0 > G= mbH ] <m= ad@wol.de </mc/compose?to=3Dmad@wol.de>> wrote:
>>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 From:= Marc - A. Dahlhaus [ Administration |
>>>> Westermann
&g= t;>>> =A0 GmbH ]
>>>> =A0 > =A0 =A0 =A0 =A0 <= mad@wol.de<= /a> </mc/compose?to=3Dmad@wol.de>>
>>>> =A0 > =A0 =A0 =A0 =A0 Subject: [Xen-devel] [PATCH] Fix = buildsystem to detect
>>>> =A0 udev >
>>>>= =A0 > =A0 =A0 =A0 =A0 version 124
>>>> =A0 > =A0 =A0 = =A0 =A0 To: "Xen-devel" <xen-devel@lists.xensource.com=
>>>> =A0 </mc/compose?to=3Dxen-devel@lists.xensour= ce.com>>
>>>> =A0 > =A0 =A0 =A0 =A0 Cc: "D= aniel Schroeder" <sec@dschroeder.info
>>>> =A0 </mc/compose?to=3Dsec@dschroeder.info>>, = "Keir Fraser"
>>>> =A0 > =A0 =A0 =A0 =A0 <keir.fraser@eu.citrix.com
>>>> =A0 </mc/compose?to=3Dkeir.fraser@eu.citrix.com>>
>>>> =A0 > =A0 =A0 =A0 =A0 Date: Wednesday, Ju= ne 24, 2009, 12:26 PM
>>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 udev = removed the udevinfo symlink from versions
>>>> higher than<= br>>>>> =A0 > =A0 =A0 =A0 =A0 123 and xens
>>>&g= t; =A0 > =A0 =A0 =A0 =A0 build-system could not detect if udev is in pla= ce and
>>>> =A0 has the
>>>> =A0 > =A0 =A0 =A0 =A0 r= equired
>>>> =A0 > =A0 =A0 =A0 =A0 version. Attached patc= h fixes this.
>>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 = =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 Signed-off-by: Marc-A. Dahlhaus
>>>> <
mad@wol.de
>>>= ;> =A0 </mc/compose?to=3Dmad@wol.de>>
>>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 =A0 = =A0> =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 =A0 =A0>
>>= >> -----Inline Attachment Follows-----
>>>> =A0 > = =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 _______________________________= ________________
>>>> =A0 > =A0 =A0 =A0 =A0 Xen-devel mailing list
>>= ;>> =A0 > =A0 =A0 =A0 =A0 Xen-devel@lists.xensource.com

>>>> =A0 </mc/compose?to=3D
Xen-devel@lists.xens= ource.com>
>>>> =A0 > =A0 =A0 =A0 =A0 http://lists.xensource.com/xen-devel<= br>>>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0>
>>>>= ; =A0 > _______________________________________________
>>>> =A0 > Xen-devel mailing list
>>>> =A0 &g= t; Xen-devel@lists.xensource.com
>>>> =A0 </= mc/compose?to=3DXen-devel@lists.xensource.com>
>>>> =A0 > http://lists.xensource.com/xen-devel
>>>&= gt;
>>>>
>>>> =A0 ___________________________= ____________________
>>>> =A0 Xen-devel mailing list
>>>> =A0 Xen-devel@lists.xensource.com
>>>> =A0 </mc/compose?= to=3DXen-devel@lists.xensource.com>
>>>> =A0 http://lists.xensource.com/xen-devel
>>>>>>>>
>>>> ------------------------------------------------------------------------>>>>
>>>> ____________________________________= ___________
>>>> Xen-devel mailing list
>>>> = Xen-devel@lists.xensource.com
>>>> http://lists.xensource.com/xen-devel
>>>>
&g= t;>> _______________________________________________
>>> = 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://l= ists.xensource.com/xen-devel


--0016e6dab11bac2c3104762f07da-- --===============0229271982== 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 --===============0229271982==--