From: Boris Derzhavets Subject: Re: Re: "Hotplug Scripts not working ..." error on jaunty Date: Sat, 17 Oct 2009 21:49:22 -0700 (PDT) Message-ID: <704125.53106.qm@web56108.mail.re3.yahoo.com> References: <940bcfd20910171508y61f39fcdp88ad764d8902deb8@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0541899713==" Return-path: In-Reply-To: <940bcfd20910171508y61f39fcdp88ad764d8902deb8@mail.gmail.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: "Marc - A. Dahlhaus" , Dulloor Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============0541899713== Content-Type: multipart/alternative; boundary="0-318075979-1255841362=:53106" --0-318075979-1255841362=:53106 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable > Boris Derzhavets schrieb: >> >> By some reasons i have to run =A0on regular basis run ./xen-hotplug-clea= nup >> 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=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 an= d via xen-unstable.hg=A0 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=3D"" - Following is the output from "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] add=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-backen= d) UDEV=A0 [1255816934.707977] add=A0 =A0 =A0 /devices/vbd-22-2050 (xen-backen= d) UDEV=A0 [1255816935.761811] add=A0 =A0 =A0 /devices/vbd-22-2051 (xen-backen= d) KERNEL[1255817033.248057] remove=A0=A0=A0/devices/console-22-0 (xen-backend= ) ------------- ****After the error**** UDEV=A0 [1255817033.334001] remove=A0=A0=A0/devices/console-22-0 (xen-backe= nd) -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 > =A0udev 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 an= d >>> give some additional details about the problem? >>> >>> >>> Marc >>> >>> 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 to >>>> re-enable ability start DomUs without hotplug scripts failure. >>>> >>>> Boris. >>>> >>>> --- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann >>>> GmbH ] //* wrote: >>>> >>>> >>>> =A0 From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> =A0 >>>> =A0 Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> =A0 version 124 >>>> =A0 To: "Boris Derzhavets" >>>> =A0 Cc: "Xen-devel" , "Keir Fraser" >>>> =A0 >>>> =A0 Date: Friday, June 26, 2009, 5:12 AM >>>> >>>> =A0 Could go into 3.4 and unstable IMO. >>>> >>>> =A0 On 3.3 there is no tools/hotplug/Linux/Makefile so it must be alte= red >>>> =A0 there to use tools/examples/Makefile for the first chunk and >>>> =A0 should work >>>> =A0 fine there. >>>> >>>> >>>> =A0 Marc >>>> >>>> =A0 Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavet= s: >>>> =A0 > Where this patch is supposed to go either 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 [ Administration | >>>> =A0 Westermann >>>> =A0 > GmbH ] > wrote: >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 From: Marc - A. Dahlhau= s [ Administration | >>>> Westermann >>>> =A0 GmbH ] >>>> =A0 > =A0 =A0 =A0 =A0 > >>>> =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" >>> =A0 > >>>> =A0 > =A0 =A0 =A0 =A0 Cc: "Daniel Schroeder" >>> =A0 >, "Keir Fraser" >>>> =A0 > =A0 =A0 =A0 =A0 >>> =A0 > >>>> =A0 > =A0 =A0 =A0 =A0 Date: Wednesday, June 24, 2009, 12:26 PM >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 udev removed the udevin= fo symlink from versions >>>> higher than >>>> =A0 > =A0 =A0 =A0 =A0 123 and xens >>>> =A0 > =A0 =A0 =A0 =A0 build-system could not detect if udev is in plac= e and >>>> =A0 has the >>>> =A0 > =A0 =A0 =A0 =A0 required >>>> =A0 > =A0 =A0 =A0 =A0 version. Attached patch 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 >>>> >>> =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 =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 >>>> =A0 > =A0 =A0 =A0 =A0 http://lists.xensource.com/xen-devel >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> >>>> =A0 > _______________________________________________ >>>> =A0 > Xen-devel mailing list >>>> =A0 > Xen-devel@lists.xensource.com >>>> =A0 >>>> =A0 > http://lists.xensource.com/xen-devel >>>> >>>> >>>> =A0 _______________________________________________ >>>> =A0 Xen-devel mailing list >>>> =A0 Xen-devel@lists.xensource.com >>>> =A0 >>>> =A0 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 =0A=0A=0A --0-318075979-1255841362=:53106 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
> Boris Derzhavets schrieb:
>>>> By some reasons i have to run  on regular basis run ./xen-ho= tplug-cleanup
>> on two Xen 3.4.1 on top of Ubuntu 9.04 Servers pa= tched 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 k= ernel 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 <dulloor@gmail.com> wrote:

From: Dulloor <dulloor@gmail.com= >
Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on= jaunty
To: "Marc - A. Dahlhaus" <mad@wol.de>
Cc: "Xen-devel" &= lt;xen-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.r= ules
and xen-backend.rules. Removing them didn't help.

- I use pv= ops kernel. And, I use - make install-xen and make
install-tools PYTHON_= PREFIX_ARG=3D""

- Following is the output from "udevadm monitor" :KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (x= en-backend)
KERNEL[1255816932.768878] add      /devices/v= bd-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  [1255816= 932.818643] add      /devices/vif-22-0 (xen-backend)
KERN= EL[1255816933.008654] add      /devices/console-22-0 (xen-ba= ckend)
UDEV  [1255816933.009916] add      /devices/c= onsole-22-0 (xen-backend)
UDEV  [1255816933.657785] add   = ;   /devices/vbd-22-2049 (xen-backend)
UDEV  [1255816934.70797= 7] add      /devices/vbd-22-2050 (xen-backend)
UDEV = [1255816935.761811] add      /devices/vbd-22-2051 (xen-back= end)
KERNEL[1255817033.248057] remove   /devices/console-= 22-0 (xen-backend)
------------- ****After the error****
UDEV  [= 1255817033.334001] remove   /devices/console-22-0 (xen-backe= nd)

-dulloor


On Sat, Oct 17, 2009 at 4:04 PM, Marc - A. Dahlhaus <mad@wol.de> wrote:
> Hello,
>
> Dul= loor schrieb:
>>
>> I see that these patches made it to x= en-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 wo= rk with version above of 124.
>
> Have no jaunty based box arou= nd 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 ud= ev is in charge of hotplug events on jaunty a
> "udevadm monitor" mig= ht get you some further details on what events are
> generated.
&g= t;
>> 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.
>&= gt;
>> Any ideas ?
>
> Check what files get installed = in /etc/udev and /etc/hotplug during
> installation. If you find anyt= hing xen related in /etc/hotplug remove it and
> check if that fixes = your problem.
>
> It would be interesting to know how you insta= ll xen...
>
> Marc
>
>> -dulloor
>>
= >> On Sat, Jun 27, 2009 at 4:02 PM, Marc - A. Dahlhaus <mad@wol.de&= gt; wrote:
>>>
>>> Hello Boris,
>>>
= >>> as the problem you are describing is unrelated to the patch (w= hich
>>> changes
>>> the detection of udev during b= uildtime only),
>>> can you please change the subject 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  on regular basis = run
>>>> ./xen-hotplug-cleanup
>>>> on two Xe= n 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 ] /<mad@wol.de>/* wrote:
>>>>>>>>
>>>>   From: Marc - A. Dahlhaus [ Adm= inistration | Westermann GmbH ]
>>>>   <mad@wol= .de>
>>>>   Subject: Re: [Xen-devel] [PATCH] Fix= buildsystem to detect udev >
>>>>   version 124
= >>>>   To: "Boris Derzhavets" <bderzha= vets@yahoo.com>
>>>>   Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fr= aser"
>>>>   <keir.fraser@e= u.citrix.com>
>>>>   Date: Friday, June 26, 2009= , 5:12 AM
>>>>
>>>>   Could go into 3.4 = and unstable IMO.
>>>>
>>>>   On 3.3 the= re is no tools/hotplug/Linux/Makefile so it must be altered
>>>> &nb= sp; 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 p= atch is supposed to go either xen-unstable.hg or
>>>>  = > xen-3.4-testing.hg (both) ?
>>>>   > Systems a= ffected Ubuntu 9.04 (now) , F12 (pretty soon).
>>>>   &= gt;
>>>>   > Boris
>>>>   >>>>>   > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Ad= ministration |
>>>>   Westermann
>>>> &n= bsp; > GmbH ] <mad@wol.de </mc/compose?to=3D<= a ymailto=3D"mailto:mad@wol.de" href=3D"/mc/compose?to=3Dmad@wol.de">mad@wo= l.de>> wrote:
>>>>   >      = ;      >         From: Marc - A. Dahl= haus [ Administration |
>>>> Westermann
>>>> =   GmbH ]
>>>>   >         &= lt;ma= d@wol.de </mc/compose?to=3Dmad@wol.de>>
>>>> &nb= sp; >         Subject: [Xen-devel] [PATCH] Fix build= system to detect
>>>>   udev >
>>>> &= nbsp; >         version 124
>>>> &nbs= p; >         To: "Xen-devel" <xen-devel@lists.xensource.com
>>= ;>>   </mc/compose?to=3Dxen-= devel@lists.xensource.com>>
>>>>   >  = ;       Cc: "Daniel Schroeder" <sec@dschroed= er.info
>>>>   </mc/compose?to=3Dse= c@dschroeder.info>>, "Keir Fraser"
>>>>   >= ;         <keir.fraser@eu.c= itrix.com
>>>>   </mc/compose?to=3Dkeir.fraser@eu.citrix.com>>
>>>= ;>   >         Date: Wednesday, June 24, 200= 9, 12:26 PM
>>>>   >         &nb= sp;  >         udev removed the udevinfo symlin= k from versions
>>>> higher than
>>>>   = >         123 and xens
>>>>   &g= t;         build-system could not detect if udev is in = place and
>>>>   has the
>>>>   >= ;         required
>>>>   > &nbs= p;       version. Attached patch fixes this.
>>>= >   >            >    = ;        >         Signed-off-by: Marc-A. Dahlhaus
>>>> <mad@wol.de
>&= gt;>>   </mc/compose?to=3Dmad@wol.de>>
>>>&g= t;   >            >     =        >            &g= t;            >
>>>> -----I= nline Attachment Follows-----
>>>>   >    =        >         ______________= _________________________________
>>>>   >   &n= bsp;     Xen-devel mailing list
>>>>   > &= nbsp;       Xen-devel@lists.xe= nsource.com
>>>>   </mc/compose?to=3DXen-devel@lists.xensource.com>
>>>= ;>   >         http://lists.xensource.com/xen-devel<= /a>
>>>>   >           &nbs= p;>
>>>>   > ____________________________________= ___________
>>>>   > Xen-devel mailing list
>&= gt;>>   >
Xen-devel@lists.xe= nsource.com
>>>>   </mc/compose?to=3DXen-devel@lists.xe= nsource.com>
>>>>   > http://lists.xensource.com/xen-= devel
>>>>
>>>>
>>>>  = ; _______________________________________________
>>>>  = ; Xen-devel mailing list
>>>>   Xen-devel@lists.xensource.com
>>>>   <= /mc/compose?to=3DXen-devel@lists.xensour= ce.com>
>>>>   http://lists.xensource.com/xen-devel<= br>>>>>
>>>>
>>>> ------------------------------------------------------------------------>>>>
>>>> ____________________________________= ___________
>>>> Xen-devel mailing list
>>>> = Xen-devel@lists.xensource.com
>= >>> http://lists.xensource.com/xen-devel
>>>>
>&g= t;> _______________________________________________
>>> Xen-= devel mailing list
>>> Xen-dev= el@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=0A --0-318075979-1255841362=:53106-- --===============0541899713== 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 --===============0541899713==--