WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sun, 18 Oct 2009 00:00:32 -0700 (PDT)
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Marc - A. Dahlhaus" <mad@xxxxxx>
Delivery-date: Sun, 18 Oct 2009 00:01:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255849232; bh=ui0l6olbaPu9Bwd9m9LslmGrVoH8TBtwXrhKqSeT6wI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=3hdly3hq/j2M0iuBC0yVCTETwz9dbRlx57EZYuY+CwuZdYkVEReYlWTDPG02pJNejcGnPkiHN9u28qq7nX9hGUxoDpL7Rb+PrzWprk/DqBvr4Uev3SAiIPy2mwRq/mpQC0yPRLHaNmhj61sR5/Z20/O65d9NeIUxscJpSKrX3iI=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=tX34w81iMyPIHDObF5K3MU/eBEdEW6uNbfjT10BUKySLfiQf22zp34Q4drmPQqFBAQui9Bis/G2LqEdyYddzVxm5jllrEIz+NIUZuf6UJJKiWBEVxogr0hn9KfHTNVullUjXoo98WkYsYSqn9c0NhS5G8HoXBLHIRMOQOJrmvB4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <940bcfd20910172237o2b97615fj28cf9bb08eb60f3a@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Please, tell how you setup Xen 3.4.1 or Xen  Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/


--- On Sun, 10/18/09, Dulloor <dulloor@xxxxxxxxx> wrote:

From: Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Marc - A. Dahlhaus" <mad@xxxxxx>, "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Sunday, October 18, 2009, 1:37 AM

I am at the tip of xen/master branch of Jeremy's tree.

commit 2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
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 <bderzhavets@xxxxxxxxx> 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 <dulloor@xxxxxxxxx> wrote:

From: Dulloor <dulloor@xxxxxxxxx>
Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Marc - A. Dahlhaus" <mad@xxxxxx>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 <mad@xxxxxx> 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 <mad@xxxxxx> 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 ] /<mad@xxxxxx>/* wrote:
>>>>
>>>>
>>>>   From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
>>>>   <mad@xxxxxx>
>>>>   Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
>>>>   version 124
>>>>   To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
>>>>   Cc: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Keir Fraser"
>>>>   <keir.fraser@xxxxxxxxxxxxx>
>>>>   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@xxxxxx </mc/compose?to=mad@xxxxxx>> wrote:
>>>>   >            >         From: Marc - A. Dahlhaus [ Administration |
>>>> Westermann
>>>>   GmbH ]
>>>>   >         <mad@xxxxxx </mc/compose?to=mad@xxxxxx>>
>>>>   >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect
>>>>   udev >
>>>>   >         version 124
>>>>   >         To: "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=xen-devel@xxxxxxxxxxxxxxxxxxx>>
>>>>   >         Cc: "Daniel Schroeder" <sec@xxxxxxxxxxxxxxx
>>>>   </mc/compose?to=sec@xxxxxxxxxxxxxxx>>, "Keir Fraser"
>>>>   >         <keir.fraser@xxxxxxxxxxxxx
>>>>   </mc/compose?to=keir.fraser@xxxxxxxxxxxxx>>
>>>>   >         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
>>>> <mad@xxxxxx
>>>>   </mc/compose?to=mad@xxxxxx>>
>>>>   >            >            >            >            >
>>>> -----Inline Attachment Follows-----
>>>>   >            >         _______________________________________________
>>>>   >         Xen-devel mailing list
>>>>   >         Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>>>>   >         http://lists.xensource.com/xen-devel
>>>>   >            >
>>>>   > _______________________________________________
>>>>   > Xen-devel mailing list
>>>>   > Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>>>>   > http://lists.xensource.com/xen-devel
>>>>
>>>>
>>>>   _______________________________________________
>>>>   Xen-devel mailing list
>>>>   Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>>   </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>>>>   http://lists.xensource.com/xen-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>>> http://lists.xensource.com/xen-devel
>>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-devel
>>>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel