Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-Jun-24 16:26 UTC
[Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
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@wol.de> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jun Koi
2009-Jun-25 05:10 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
On Thu, Jun 25, 2009 at 1:26 AM, Marc - A. Dahlhaus [ Administration | Westermann GmbH ]<mad@wol.de> wrote:> 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.I am building xen-3.4-test tree on Ubuntu 9.04. Booting process reports error like: .... udev: starting version 141 udev: deprecated sysfs layout; update the kernel or disable CONFIG_SYSFS_DEPRECATED;.... .... Is that true that your patch is to fix this problem? I tried, but the problem still persists. Any idea? Thanks, J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Jun-25 07:06 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
Marc''s patches work for me on Xen 3.4.1 Dom0 (2.6.30-rc6-tip) has been built on top Ubuntu 9.04 Server with python 2.6. Config.mk tuned to setup default path for python /usr/local/lib/python2.6/dist-packages. Hotplug scripts not working message gets gone. Now i can load F11 & Jaunty PV DomUs and access Internet from DomUs. However, one problem still persist:- If just once by some reason DomU failed to shut down cleanly. Hotplug locking doesn''t get clean up automatically and i had reboot Xen Host. Boris. --- On Thu, 6/25/09, Jun Koi <junkoi2004@gmail.com> wrote: From: Jun Koi <junkoi2004@gmail.com> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124 To: "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" <mad@wol.de> Cc: "Daniel Schroeder" <sec@dschroeder.info>, "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" <keir.fraser@eu.citrix.com> Date: Thursday, June 25, 2009, 1:10 AM On Thu, Jun 25, 2009 at 1:26 AM, Marc - A. Dahlhaus [ Administration | Westermann GmbH ]<mad@wol.de> wrote:> 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.I am building xen-3.4-test tree on Ubuntu 9.04. Booting process reports error like: .... udev: starting version 141 udev: deprecated sysfs layout; update the kernel or disable CONFIG_SYSFS_DEPRECATED;.... .... Is that true that your patch is to fix this problem? I tried, but the problem still persists. Any idea? Thanks, 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
Jun Koi
2009-Jun-25 07:19 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
On Thu, Jun 25, 2009 at 4:06 PM, Boris Derzhavets<bderzhavets@yahoo.com> wrote:> Marc''s patches work for me on Xen 3.4.1 Dom0 (2.6.30-rc6-tip) has been built > on top Ubuntu 9.04 Server with python 2.6. Config.mk tuned to setup default > path for python > /usr/local/lib/python2.6/dist-packages.Marc''s patch does nothing to Config.mk, so you modified that Config.mk yourself? Could you send that patch to list? I am struggling to make 3.4 work on Ubuntu 9.04 - the error is always about "not finding /dev/apgart", even I compiled agpart as builtin. I think udev is the culprit, but still struggling here ... Thanks, J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-Jun-25 07:39 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
Hello Jun, (adding list back to CC) Am Donnerstag, den 25.06.2009, 16:27 +0900 schrieb Jun Koi:> On Thu, Jun 25, 2009 at 4:24 PM, Marc - A. Dahlhaus [ Administration | > Westermann GmbH ]<mad@wol.de> wrote: > > Hello Jun, > > > > Am Donnerstag, den 25.06.2009, 14:10 +0900 schrieb Jun Koi: > >> On Thu, Jun 25, 2009 at 1:26 AM, Marc - A. Dahlhaus [ Administration | > >> Westermann GmbH ]<mad@wol.de> wrote: > >> > 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. > >> > >> I am building xen-3.4-test tree on Ubuntu 9.04. Booting process > >> reports error like: > >> > >> .... > >> udev: starting version 141 > >> udev: deprecated sysfs layout; update the kernel or disable > >> CONFIG_SYSFS_DEPRECATED;.... > >> .... > >> > >> Is that true that your patch is to fix this problem? > > > > No! > > > > What you hit here is a deprecated sysfs layout of your running kernel > > that udev will not support for some functionality it has. You need to > > upgrade to a newer kernel to get around this error. Please read udevs > > documentation for more details about this... > > > > Yes, but the problem is that I want to run 2.6.18.8-xen kernel :-( > > I am not sure if I downgrade Ubuntu to 8.10 would solve the problem. > This is really frustrated! > > Thanks, > JYou could downgrade your udev or upgrade your kernel (which i would prefer here) but i doubt that you really need the functionality that udev only gets out of newer sysfs layouts. By the way, the warning doesn''t hurt at this point as your system runs fine... Just keep in mind that 2.6.18 kernel is stoneaged and that a newer kernel would get around this warning. have fun, Marc _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Jun-25 07:50 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
I just used CS Changeset 19594 to set in Config.mk PYTHON = python PYTHON_PREFIX_ARG Otherwise , xend wouldn''t start. Setting above place xen packages into /usr/local/lib/python2.6/dist-packages and creates Xen Host on top Jaunty Server seems healthy, but affected by udev issue. When I applied Marc''s patch udev issue appears to be resolved. Boris. --- On Thu, 6/25/09, Jun Koi <junkoi2004@gmail.com> wrote: From: Jun Koi <junkoi2004@gmail.com> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124 To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Daniel Schroeder" <sec@dschroeder.info>, "Xen-devel" <xen-devel@lists.xensource.com>, "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" <mad@wol.de>, "Keir Fraser" <keir.fraser@eu.citrix.com> Date: Thursday, June 25, 2009, 3:19 AM On Thu, Jun 25, 2009 at 4:06 PM, Boris Derzhavets<bderzhavets@yahoo.com> wrote:> Marc''s patches work for me on Xen 3.4.1 Dom0 (2.6.30-rc6-tip) has been built > on top Ubuntu 9.04 Server with python 2.6. Config.mk tuned to setup default > path for python > /usr/local/lib/python2.6/dist-packages.Marc''s patch does nothing to Config.mk, so you modified that Config.mk yourself? Could you send that patch to list? I am struggling to make 3.4 work on Ubuntu 9.04 - the error is always about "not finding /dev/apgart", even I compiled agpart as builtin. I think udev is the culprit, but still struggling here ... Thanks, 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
Boris Derzhavets
2009-Jun-25 09:37 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
I''ve created and loaded f11 and Ubuntu Server Jaunty PV DomU at Xen 3.4.1-rc4 Dom0 with 2.6.30-rc6-tip kernel on top Ubuntu 9.04 (python 2.6) . Then performed about 1 hr internet sessions at DomUs. Marc''s udev patch seems to be working fine. Udev issue was affecting straightforward Xen build on Ubuntu 9.04 for about 2 months or so. Boris. --- On Thu, 6/25/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124 To: "Jun Koi" <junkoi2004@gmail.com> Cc: "Daniel Schroeder" <sec@dschroeder.info>, "Xen-devel" <xen-devel@lists.xensource.com>, "Marc - A. Dahlhaus [ Administration | Wester"Marc - A. Dahlhaus <mad@wol.de>, "Keir Fraser" <keir.fraser@eu.citrix.com> Date: Thursday, June 25, 2009, 3:50 AM I just used CS Changeset 19594 to set in Config.mk PYTHON = python PYTHON_PREFIX_ARG Otherwise , xend wouldn''t start. Setting above place xen packages into /usr/local/lib/python2.6/dist-packages and creates Xen Host on top Jaunty Server seems healthy, but affected by udev issue. When I applied Marc''s patch udev issue appears to be resolved. Boris. --- On Thu, 6/25/09, Jun Koi <junkoi2004@gmail.com> wrote: From: Jun Koi <junkoi2004@gmail.com> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124 To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Daniel Schroeder" <sec@dschroeder.info>, "Xen-devel" <xen-devel@lists.xensource.com>, "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" <mad@wol.de>, "Keir Fraser" <keir.fraser@eu.citrix.com> Date: Thursday, June 25, 2009, 3:19 AM On Thu, Jun 25, 2009 at 4:06 PM, Boris Derzhavets<bderzhavets@yahoo.com> wrote:> Marc''s patches work for me on Xen 3.4.1 Dom0 (2.6.30-rc6-tip) has been built > on top Ubuntu 9.04 Server with python 2.6. Config.mk tuned to setup default > path for python > /usr/local/lib/python2.6/dist-packages.Marc''s patch does nothing to Config.mk, so you modified that Config.mk yourself? Could you send that patch to list? I am struggling to make 3.4 work on Ubuntu 9.04 - the error is always about "not finding /dev/apgart", even I compiled agpart as builtin. I think udev is the culprit, but still struggling here ... Thanks, J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel -----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
Boris Derzhavets
2009-Jun-26 03:03 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
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" <xen-devel@lists.xensource.com> Cc: "Daniel Schroeder" <sec@dschroeder.info>, "Keir Fraser" <keir.fraser@eu.citrix.com> 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@wol.de> -----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
Boris Derzhavets
2009-Jun-26 03:11 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
> I am not sure if I downgrade Ubuntu to 8.10 would solve the problem. > This is really frustrated!It would solve the problem with 2.6.30-rc6(3)-tip pvops kernel or 2.6.29.4 xen-ified per Suse (2.6.27 XCI as well) Boris. --- On Thu, 6/25/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <mad@wol.de> wrote: From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <mad@wol.de> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124 To: "Jun Koi" <junkoi2004@gmail.com> Cc: "Xen-devel" <xen-devel@lists.xensource.com> Date: Thursday, June 25, 2009, 3:39 AM Hello Jun, (adding list back to CC) Am Donnerstag, den 25.06.2009, 16:27 +0900 schrieb Jun Koi:> On Thu, Jun 25, 2009 at 4:24 PM, Marc - A. Dahlhaus [ Administration | > Westermann GmbH ]<mad@wol.de> wrote: > > Hello Jun, > > > > Am Donnerstag, den 25.06.2009, 14:10 +0900 schrieb Jun Koi: > >> On Thu, Jun 25, 2009 at 1:26 AM, Marc - A. Dahlhaus [ Administration | > >> Westermann GmbH ]<mad@wol.de> wrote: > >> > 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. > >> > >> I am building xen-3.4-test tree on Ubuntu 9.04. Booting process > >> reports error like: > >> > >> .... > >> udev: starting version 141 > >> udev: deprecated sysfs layout; update the kernel or disable > >> CONFIG_SYSFS_DEPRECATED;.... > >> .... > >> > >> Is that true that your patch is to fix this problem? > > > > No! > > > > What you hit here is a deprecated sysfs layout of your running kernel > > that udev will not support for some functionality it has. You need to > > upgrade to a newer kernel to get around this error. Please read udevs > > documentation for more details about this... > > > > Yes, but the problem is that I want to run 2.6.18.8-xen kernel :-( > > I am not sure if I downgrade Ubuntu to 8.10 would solve the problem. > This is really frustrated! > > Thanks, > JYou could downgrade your udev or upgrade your kernel (which i would prefer here) but i doubt that you really need the functionality that udev only gets out of newer sysfs layouts. By the way, the warning doesn''t hurt at this point as your system runs fine... Just keep in mind that 2.6.18 kernel is stoneaged and that a newer kernel would get around this warning. have fun, Marc _______________________________________________ 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
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-Jun-26 09:12 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
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" <xen-devel@lists.xensource.com> > Cc: "Daniel Schroeder" <sec@dschroeder.info>, "Keir Fraser" > <keir.fraser@eu.citrix.com> > 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@wol.de> > > > > > -----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
Boris Derzhavets
2009-Jun-27 18:53 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
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@wol.de> wrote: From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <mad@wol.de> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124 To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" <keir.fraser@eu.citrix.com> 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" <xen-devel@lists.xensource.com> > Cc: "Daniel Schroeder" <sec@dschroeder.info>, "Keir Fraser" > <keir.fraser@eu.citrix.com> > 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@wol.de> > > > > > -----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
Marc - A. Dahlhaus
2009-Jun-27 20:02 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
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@wol.de>/* wrote: > > > From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] > <mad@wol.de> > Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > > version 124 > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" > <keir.fraser@eu.citrix.com> > 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 </mc/compose?to=mad@wol.de>> wrote: > > > > From: Marc - A. Dahlhaus [ Administration | Westermann > GmbH ] > > <mad@wol.de </mc/compose?to=mad@wol.de>> > > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect > udev > > > version 124 > > To: "Xen-devel" <xen-devel@lists.xensource.com > </mc/compose?to=xen-devel@lists.xensource.com>> > > Cc: "Daniel Schroeder" <sec@dschroeder.info > </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" > > <keir.fraser@eu.citrix.com > </mc/compose?to=keir.fraser@eu.citrix.com>> > > 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@wol.de > </mc/compose?to=mad@wol.de>> > > > > > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > </mc/compose?to=Xen-devel@lists.xensource.com> > > http://lists.xensource.com/xen-devel > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > </mc/compose?to=Xen-devel@lists.xensource.com> > > http://lists.xensource.com/xen-devel > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > </mc/compose?to=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
Dulloor
2009-Oct-17 07:35 UTC
Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
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. 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 ? -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 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@wol.de>/* wrote: >> >> >> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >> <mad@wol.de> >> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >> version 124 >> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >> <keir.fraser@eu.citrix.com> >> 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 </mc/compose?to=mad@wol.de>> wrote: >> > > From: Marc - A. Dahlhaus [ Administration | >> Westermann >> GmbH ] >> > <mad@wol.de </mc/compose?to=mad@wol.de>> >> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >> udev > >> > version 124 >> > To: "Xen-devel" <xen-devel@lists.xensource.com >> </mc/compose?to=xen-devel@lists.xensource.com>> >> > Cc: "Daniel Schroeder" <sec@dschroeder.info >> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >> > <keir.fraser@eu.citrix.com >> </mc/compose?to=keir.fraser@eu.citrix.com>> >> > 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@wol.de >> </mc/compose?to=mad@wol.de>> >> > > > > > >> -----Inline Attachment Follows----- >> > > _______________________________________________ >> > Xen-devel mailing list >> > Xen-devel@lists.xensource.com >> </mc/compose?to=Xen-devel@lists.xensource.com> >> > http://lists.xensource.com/xen-devel >> > > >> > _______________________________________________ >> > Xen-devel mailing list >> > Xen-devel@lists.xensource.com >> </mc/compose?to=Xen-devel@lists.xensource.com> >> > http://lists.xensource.com/xen-devel >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> </mc/compose?to=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
Marc - A. Dahlhaus
2009-Oct-17 20:04 UTC
[Xen-devel] "Hotplug Scripts not working ..." error on jaunty
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@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 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@wol.de>/* wrote: >>> >>> >>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>> <mad@wol.de> >>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>> version 124 >>> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >>> <keir.fraser@eu.citrix.com> >>> 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 </mc/compose?to=mad@wol.de>> wrote: >>> > > From: Marc - A. Dahlhaus [ Administration | >>> Westermann >>> GmbH ] >>> > <mad@wol.de </mc/compose?to=mad@wol.de>> >>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>> udev > >>> > version 124 >>> > To: "Xen-devel" <xen-devel@lists.xensource.com >>> </mc/compose?to=xen-devel@lists.xensource.com>> >>> > Cc: "Daniel Schroeder" <sec@dschroeder.info >>> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >>> > <keir.fraser@eu.citrix.com >>> </mc/compose?to=keir.fraser@eu.citrix.com>> >>> > 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@wol.de >>> </mc/compose?to=mad@wol.de>> >>> > > > > > >>> -----Inline Attachment Follows----- >>> > > _______________________________________________ >>> > Xen-devel mailing list >>> > Xen-devel@lists.xensource.com >>> </mc/compose?to=Xen-devel@lists.xensource.com> >>> > http://lists.xensource.com/xen-devel >>> > > >>> > _______________________________________________ >>> > Xen-devel mailing list >>> > Xen-devel@lists.xensource.com >>> </mc/compose?to=Xen-devel@lists.xensource.com> >>> > http://lists.xensource.com/xen-devel >>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> </mc/compose?to=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
Dulloor
2009-Oct-17 22:08 UTC
[Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
- 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@wol.de> 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@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 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@wol.de>/* wrote: >>>> >>>> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> <mad@wol.de> >>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> version 124 >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >>>> <keir.fraser@eu.citrix.com> >>>> 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 </mc/compose?to=mad@wol.de>> wrote: >>>> > > From: Marc - A. Dahlhaus [ Administration | >>>> Westermann >>>> GmbH ] >>>> > <mad@wol.de </mc/compose?to=mad@wol.de>> >>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>>> udev > >>>> > version 124 >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com >>>> </mc/compose?to=xen-devel@lists.xensource.com>> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info >>>> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >>>> > <keir.fraser@eu.citrix.com >>>> </mc/compose?to=keir.fraser@eu.citrix.com>> >>>> > 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@wol.de >>>> </mc/compose?to=mad@wol.de>> >>>> > > > > > >>>> -----Inline Attachment Follows----- >>>> > > _______________________________________________ >>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com> >>>> > http://lists.xensource.com/xen-devel >>>> > > >>>> > _______________________________________________ >>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com> >>>> > http://lists.xensource.com/xen-devel >>>> >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> </mc/compose?to=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
Boris Derzhavets
2009-Oct-18 04:49 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
> 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@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" <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.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@wol.de> 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@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 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@wol.de>/* wrote: >>>> >>>> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> <mad@wol.de> >>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> version 124 >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com> >>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >>>> <keir.fraser@eu.citrix.com> >>>> 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 </mc/compose?to=mad@wol.de>> wrote: >>>> > > From: Marc - A. Dahlhaus [ Administration | >>>> Westermann >>>> GmbH ] >>>> > <mad@wol.de </mc/compose?to=mad@wol.de>> >>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>>> udev > >>>> > version 124 >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com >>>> </mc/compose?to=xen-devel@lists.xensource.com>> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info >>>> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >>>> > <keir.fraser@eu.citrix.com >>>> </mc/compose?to=keir.fraser@eu.citrix.com>> >>>> > 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@wol.de >>>> </mc/compose?to=mad@wol.de>> >>>> > > > > > >>>> -----Inline Attachment Follows----- >>>> > > _______________________________________________ >>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com> >>>> > http://lists.xensource.com/xen-devel >>>> > > >>>> > _______________________________________________ >>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com> >>>> > http://lists.xensource.com/xen-devel >>>> >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> </mc/compose?to=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
Dulloor
2009-Oct-18 05:37 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
I am at the tip of xen/master branch of Jeremy''s tree. commit 2afad356210ac35cbbc81904e0ac8b514b7f6212 Merge: 9fa9003... 907d20f... Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> 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@yahoo.com>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@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" <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.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@wol.de<http://mc/compose?to=mad@wol.de>> > 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@wol.de<http://mc/compose?to=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 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@wol.de <http://mc/compose?to=mad@wol.de>>/* wrote: > >>>> > >>>> > >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] > >>>> <mad@wol.de <http://mc/compose?to=mad@wol.de>> > >>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > > >>>> version 124 > >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > >>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com>>, > "Keir Fraser" > >>>> <keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> > > > >>>> 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 <http://mc/compose?to=mad@wol.de></mc/compose?to> mad@wol.de <http://mc/compose?to=mad@wol.de>>> wrote: > >>>> > > From: Marc - A. Dahlhaus [ Administration | > >>>> Westermann > >>>> GmbH ] > >>>> > <mad@wol.de <http://mc/compose?to=mad@wol.de></mc/compose?to> mad@wol.de <http://mc/compose?to=mad@wol.de>>> > >>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect > >>>> udev > > >>>> > version 124 > >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com> > >>>> </mc/compose?to=xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com> > >> > >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info<http://mc/compose?to=sec@dschroeder.info> > >>>> </mc/compose?to=sec@dschroeder.info<http://mc/compose?to=sec@dschroeder.info>>>, > "Keir Fraser" > >>>> > <keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> > >>>> </mc/compose?to=keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> > >> > >>>> > 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@wol.de <http://mc/compose?to=mad@wol.de> > >>>> </mc/compose?to=mad@wol.de <http://mc/compose?to=mad@wol.de>>> > >>>> > > > > > > >>>> -----Inline Attachment Follows----- > >>>> > > > _______________________________________________ > >>>> > Xen-devel mailing list > >>>> > Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > > > >>>> > http://lists.xensource.com/xen-devel > >>>> > > > >>>> > _______________________________________________ > >>>> > Xen-devel mailing list > >>>> > Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > > > >>>> > http://lists.xensource.com/xen-devel > >>>> > >>>> > >>>> _______________________________________________ > >>>> Xen-devel mailing list > >>>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > > > >>>> http://lists.xensource.com/xen-devel > >>>> > >>>> > >>>> > ------------------------------------------------------------------------ > >>>> > >>>> _______________________________________________ > >>>> Xen-devel mailing list > >>>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > >>>> http://lists.xensource.com/xen-devel > >>>> > >>> _______________________________________________ > >>> Xen-devel mailing list > >>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> > >>> http://lists.xensource.com/xen-devel > >>> > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com<http://mc/compose?to=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
Boris Derzhavets
2009-Oct-18 07:00 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
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@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" <xen-devel@lists.xensource.com> 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@citrix.com> 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@yahoo.com> 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@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" <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.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@wol.de> 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 (hadto 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@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 subject line tosomething 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@wol.de>/* wrote:>>>> >>>> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> <mad@wol.de>>>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> version 124 >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com>>>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >>>> <keir.fraser@eu.citrix.com>>>>> Date: Friday, June 26, 2009, 5:12 AM >>>> >>>> Could go into 3.4 and unstable IMO. >>>> >>>> On 3.3 there is notools/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 </mc/compose?to=mad@wol.de>> wrote:>>>> > > From: Marc - A. Dahlhaus [ Administration | >>>> Westermann >>>> GmbH ] >>>> > <mad@wol.de </mc/compose?to=mad@wol.de>>>>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>>> udev > >>>> > version 124 >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com>>>> </mc/compose?to=xen-devel@lists.xensource.com>> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info>>>> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >>>> > <keir.fraser@eu.citrix.com>>>> </mc/compose?to=keir.fraser@eu.citrix.com>> >>>> > 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@wol.de >>>> </mc/compose?to=mad@wol.de>>>>>> > > > > > >>>> -----Inline Attachment Follows----- >>>> > > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> > > >>>> > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> >>>> >>>> _______________________________________________>>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> </mc/compose?to=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
Dulloor
2009-Oct-18 07:09 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation. -dulloor On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> 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@gmail.com>* wrote: > > > From: Dulloor <dulloor@gmail.com> > Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on > jaunty > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" < > xen-devel@lists.xensource.com> > 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@citrix.com<http://mc/compose?to=jeremy.fitzhardinge@citrix.com> > > > 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@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > 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@gmail.com<http://mc/compose?to=dulloor@gmail.com> >> >* wrote: >> >> >> From: Dulloor <dulloor@gmail.com <http://mc/compose?to=dulloor@gmail.com> >> > >> Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty >> To: "Marc - A. Dahlhaus" <mad@wol.de <http://mc/compose?to=mad@wol.de>> >> Cc: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=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.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@wol.de<http://mc/compose?to=mad@wol.de>> >> 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@wol.de<http://mc/compose?to=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 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@wol.de <http://mc/compose?to=mad@wol.de>>/* wrote: >> >>>> >> >>>> >> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >> >>>> <mad@wol.de <http://mc/compose?to=mad@wol.de>> >> >>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >> >>>> version 124 >> >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >> > >> >>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com>>, >> "Keir Fraser" >> >>>> <keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> >> > >> >>>> 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 <http://mc/compose?to=mad@wol.de></mc/compose?to>> mad@wol.de <http://mc/compose?to=mad@wol.de>>> wrote: >> >>>> > > From: Marc - A. Dahlhaus [ Administration | >> >>>> Westermann >> >>>> GmbH ] >> >>>> > <mad@wol.de <http://mc/compose?to=mad@wol.de></mc/compose?to>> mad@wol.de <http://mc/compose?to=mad@wol.de>>> >> >>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >> >>>> udev > >> >>>> > version 124 >> >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com> >> >>>> </mc/compose?to=xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com> >> >> >> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info<http://mc/compose?to=sec@dschroeder.info> >> >>>> </mc/compose?to=sec@dschroeder.info<http://mc/compose?to=sec@dschroeder.info>>>, >> "Keir Fraser" >> >>>> > <keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> >> >>>> </mc/compose?to=keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> >> >> >> >>>> > 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@wol.de <http://mc/compose?to=mad@wol.de> >> >>>> </mc/compose?to=mad@wol.de <http://mc/compose?to=mad@wol.de>>> >> >>>> > > > > > >> >>>> -----Inline Attachment Follows----- >> >>>> > > >> _______________________________________________ >> >>>> > Xen-devel mailing list >> >>>> > Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> > >> >>>> > http://lists.xensource.com/xen-devel >> >>>> > > >> >>>> > _______________________________________________ >> >>>> > Xen-devel mailing list >> >>>> > Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> > >> >>>> > http://lists.xensource.com/xen-devel >> >>>> >> >>>> >> >>>> _______________________________________________ >> >>>> Xen-devel mailing list >> >>>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> > >> >>>> http://lists.xensource.com/xen-devel >> >>>> >> >>>> >> >>>> >> ------------------------------------------------------------------------ >> >>>> >> >>>> _______________________________________________ >> >>>> Xen-devel mailing list >> >>>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> >>>> http://lists.xensource.com/xen-devel >> >>>> >> >>> _______________________________________________ >> >>> Xen-devel mailing list >> >>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >> >>> http://lists.xensource.com/xen-devel >> >>> >> > >> > >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com<http://mc/compose?to=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
Boris Derzhavets
2009-Oct-18 07:48 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
> I will try 9.04-Server (not sure if it will help though)1. I believe it will help. 2. Bruce''s Edge feed would be also very much wanted. Boris. --- On Sun, 10/18/09, Dulloor <dulloor@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" <xen-devel@lists.xensource.com> Date: Sunday, October 18, 2009, 3:09 AM I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation. -dulloor On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: 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@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" <xen-devel@lists.xensource.com> 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@citrix.com> 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@yahoo.com> 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@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" <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.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@wol.de> 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 (hadto 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@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 subject line tosomething 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@wol.de>/* wrote:>>>> >>>> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> <mad@wol.de>>>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> version 124 >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com>>>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >>>> <keir.fraser@eu.citrix.com>>>>> Date: Friday, June 26, 2009, 5:12 AM >>>> >>>> Could go into 3.4 and unstable IMO. >>>> >>>> On 3.3 there is notools/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 </mc/compose?to=mad@wol.de>> wrote:>>>> > > From: Marc - A. Dahlhaus [ Administration | >>>> Westermann >>>> GmbH ] >>>> > <mad@wol.de </mc/compose?to=mad@wol.de>>>>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>>> udev > >>>> > version 124 >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com>>>> </mc/compose?to=xen-devel@lists.xensource.com>> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info>>>> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >>>> > <keir.fraser@eu.citrix.com>>>> </mc/compose?to=keir.fraser@eu.citrix.com>> >>>> > 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@wol.de >>>> </mc/compose?to=mad@wol.de>>>>>> > > > > > >>>> -----Inline Attachment Follows----- >>>> > > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> > > >>>> > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> >>>> >>>> _______________________________________________>>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> </mc/compose?to=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
Dulloor
2009-Oct-20 10:22 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
Boris, The "hotplug" error is gone with 9.04 server. The VMs boot fine (atleast per logs and xm list). I am not able to access VM via console(hvc0) though. I have tried everything out there in your blogs, but the console just freezes at this same point : " [ 0.010000] Initializing cgroup subsys memory [ 0.010000] Initializing cgroup subsys freezer " Any clues on how to go about debugging this ? I use the default network-nat configuration for VMs(with addresses from 10.0.0.1/24). That doesn''t work either. Is that expected too ? I am sure the bridge configuration should work though (will try tomorrow). -dulloor On Sun, Oct 18, 2009 at 3:48 AM, Boris Derzhavets <bderzhavets@yahoo.com>wrote:> > I will try 9.04-Server (not sure if it will help though) > 1. I believe it will help. > 2. Bruce''s Edge feed would be also very much wanted. > > Boris. > > --- On *Sun, 10/18/09, Dulloor <dulloor@gmail.com>* wrote: > > > From: Dulloor <dulloor@gmail.com> > Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on > jaunty > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" < > xen-devel@lists.xensource.com> > Date: Sunday, October 18, 2009, 3:09 AM > > > I use xen-unstable (at the tip again). I have been following your blog. > Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base > installation. I will try 9.04-Server (not sure if it will help though). Btw, > these VM images were working fine with 8.04 installation. > > -dulloor > > > On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > wrote: > >> 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@gmail.com<http://mc/compose?to=dulloor@gmail.com> >> >* wrote: >> >> >> From: Dulloor <dulloor@gmail.com <http://mc/compose?to=dulloor@gmail.com> >> > >> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on >> jaunty >> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >> > >> Cc: "Marc - A. Dahlhaus" <mad@wol.de <http://mc/compose?to=mad@wol.de>>, >> "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com> >> > >> 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@citrix.com<http://mc/compose?to=jeremy.fitzhardinge@citrix.com> >> > >> 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@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >> > 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@gmail.com<http://mc/compose?to=dulloor@gmail.com> >>> >* wrote: >>> >>> >>> From: Dulloor <dulloor@gmail.com<http://mc/compose?to=dulloor@gmail.com> >>> > >>> Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on >>> jaunty >>> To: "Marc - A. Dahlhaus" <mad@wol.de <http://mc/compose?to=mad@wol.de>> >>> Cc: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=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.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@wol.de<http://mc/compose?to=mad@wol.de>> >>> 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@wol.de<http://mc/compose?to=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 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@wol.de <http://mc/compose?to=mad@wol.de>>/* wrote: >>> >>>> >>> >>>> >>> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>> >>>> <mad@wol.de <http://mc/compose?to=mad@wol.de>> >>> >>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>> >>>> version 124 >>> >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> >>> > >>> >>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com>>, >>> "Keir Fraser" >>> >>>> <keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> >>> > >>> >>>> 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 <http://mc/compose?to=mad@wol.de></mc/compose?to>>> mad@wol.de <http://mc/compose?to=mad@wol.de>>> wrote: >>> >>>> > > From: Marc - A. Dahlhaus [ Administration | >>> >>>> Westermann >>> >>>> GmbH ] >>> >>>> > <mad@wol.de <http://mc/compose?to=mad@wol.de></mc/compose?to>>> mad@wol.de <http://mc/compose?to=mad@wol.de>>> >>> >>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>> >>>> udev > >>> >>>> > version 124 >>> >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com> >>> >>>> </mc/compose?to=xen-devel@lists.xensource.com<http://mc/compose?to=xen-devel@lists.xensource.com> >>> >> >>> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info<http://mc/compose?to=sec@dschroeder.info> >>> >>>> </mc/compose?to=sec@dschroeder.info<http://mc/compose?to=sec@dschroeder.info>>>, >>> "Keir Fraser" >>> >>>> > <keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> >>> >>>> </mc/compose?to=keir.fraser@eu.citrix.com<http://mc/compose?to=keir.fraser@eu.citrix.com> >>> >> >>> >>>> > 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@wol.de <http://mc/compose?to=mad@wol.de> >>> >>>> </mc/compose?to=mad@wol.de <http://mc/compose?to=mad@wol.de>>> >>> >>>> > > > > > >>> >>>> -----Inline Attachment Follows----- >>> >>>> > > >>> _______________________________________________ >>> >>>> > Xen-devel mailing list >>> >>>> > Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> > >>> >>>> > http://lists.xensource.com/xen-devel >>> >>>> > > >>> >>>> > _______________________________________________ >>> >>>> > Xen-devel mailing list >>> >>>> > Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> > >>> >>>> > http://lists.xensource.com/xen-devel >>> >>>> >>> >>>> >>> >>>> _______________________________________________ >>> >>>> Xen-devel mailing list >>> >>>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> >>>> </mc/compose?to=Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> > >>> >>>> http://lists.xensource.com/xen-devel >>> >>>> >>> >>>> >>> >>>> >>> ------------------------------------------------------------------------ >>> >>>> >>> >>>> _______________________________________________ >>> >>>> Xen-devel mailing list >>> >>>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> >>>> http://lists.xensource.com/xen-devel >>> >>>> >>> >>> _______________________________________________ >>> >>> Xen-devel mailing list >>> >>> Xen-devel@lists.xensource.com<http://mc/compose?to=Xen-devel@lists.xensource.com> >>> >>> http://lists.xensource.com/xen-devel >>> >>> >>> > >>> > >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com<http://mc/compose?to=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
Boris Derzhavets
2009-Oct-20 14:39 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
You have to take care of hvc0 like tty1 entry under /etc/event.d on: 1. Ubuntu''s <= 9.04 pv guest # cd /etc/event.d # cp tty1 hvc0 and edit hvc0 file correspondently 2. /etc/inittab on CentOS 5.3 DomU should have entry hvc0:23:respawn:...:hvc0 like for tty1,tty2 and etc and so on, console=hvc0 at /boot/vmlinuz-xen module''s line requires activating hvc0 via guest''s specific location, view for instance :- http://bderzhavets.wordpress.com/2009/05/21/install-ubuntu-jaunty-pv-hvm-domus-at-xen-3-4-dom0-kernel-2-6-30-rc6-tip/ or just tell exactly which one (linux) PV DomU is causing you trouble with serial console. Boris. P.S. F11, U 9.04 Server , OpenSuse 11.1(2) PV DomUs may loaded via vfb as well,but U 9.10 Server (beta) requires serial console --- On Tue, 10/20/09, Dulloor <dulloor@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Marc - A. Dahlhaus" <mad@wol.de> Date: Tuesday, October 20, 2009, 6:22 AM Boris, The "hotplug" error is gone with 9.04 server. The VMs boot fine (atleast per logs and xm list). I am not able to access VM via console(hvc0) though. I have tried everything out there in your blogs, but the console just freezes at this same point : " [ 0.010000] Initializing cgroup subsys memory [ 0.010000] Initializing cgroup subsys freezer " Any clues on how to go about debugging this ? I use the default network-nat configuration for VMs(with addresses from 10.0.0.1/24). That doesn''t work either. Is that expected too ? I am sure the bridge configuration should work though (will try tomorrow). -dulloor On Sun, Oct 18, 2009 at 3:48 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> I will try 9.04-Server (not sure if it will help though)1. I believe it will help. 2. Bruce''s Edge feed would be also very much wanted. Boris. --- On Sun, 10/18/09, Dulloor <dulloor@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" <xen-devel@lists.xensource.com> Date: Sunday, October 18, 2009, 3:09 AM I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation. -dulloor On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: 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@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" <xen-devel@lists.xensource.com> 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@citrix.com> 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@yahoo.com> 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@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" <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.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@wol.de> 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 (hadto 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@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 subject line tosomething 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@wol.de>/* wrote:>>>> >>>> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> <mad@wol.de>>>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> version 124 >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com>>>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >>>> <keir.fraser@eu.citrix.com>>>>> Date: Friday, June 26, 2009, 5:12 AM >>>> >>>> Could go into 3.4 and unstable IMO. >>>> >>>> On 3.3 there is notools/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 </mc/compose?to=mad@wol.de>> wrote:>>>> > > From: Marc - A. Dahlhaus [ Administration | >>>> Westermann >>>> GmbH ] >>>> > <mad@wol.de </mc/compose?to=mad@wol.de>>>>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>>> udev > >>>> > version 124 >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com>>>> </mc/compose?to=xen-devel@lists.xensource.com>> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info>>>> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >>>> > <keir.fraser@eu.citrix.com>>>> </mc/compose?to=keir.fraser@eu.citrix.com>> >>>> > 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@wol.de >>>> </mc/compose?to=mad@wol.de>>>>>> > > > > > >>>> -----Inline Attachment Follows----- >>>> > > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> > > >>>> > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> >>>> >>>> _______________________________________________>>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> </mc/compose?to=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 -----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
Boris Derzhavets
2009-Oct-20 15:23 UTC
Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
I used to work with NAT for DomUs only on Fedoras 12,11,10,8 (libvirtd & dnmask). Due to absence libvirt ->xen driver on Ubuntu''s Servers 9.04,8.10 i always configured xen bridge via /etc/xen/xend-config.sxp. It works fine. --- On Tue, 10/20/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Dulloor" <dulloor@gmail.com> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Marc - A. Dahlhaus" <mad@wol.de> Date: Tuesday, October 20, 2009, 10:39 AM You have to take care of hvc0 like tty1 entry under /etc/event.d on: 1. Ubuntu''s <= 9.04 pv guest # cd /etc/event.d # cp tty1 hvc0 and edit hvc0 file correspondently 2. /etc/inittab on CentOS 5.3 DomU should have entry hvc0:23:respawn:...:hvc0 like for tty1,tty2 and etc and so on, console=hvc0 at /boot/vmlinuz-xen module''s line requires activating hvc0 via guest''s specific location, view for instance :- http://bderzhavets.wordpress.com/2009/05/21/install-ubuntu-jaunty-pv-hvm-domus-at-xen-3-4-dom0-kernel-2-6-30-rc6-tip/ or just tell exactly which one (linux) PV DomU is causing you trouble with serial console. Boris. P.S. F11, U 9.04 Server , OpenSuse 11.1(2) PV DomUs may loaded via vfb as well,but U 9.10 Server (beta) requires serial console --- On Tue, 10/20/09, Dulloor <dulloor@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Marc - A. Dahlhaus" <mad@wol.de> Date: Tuesday, October 20, 2009, 6:22 AM Boris, The "hotplug" error is gone with 9.04 server. The VMs boot fine (atleast per logs and xm list). I am not able to access VM via console(hvc0) though. I have tried everything out there in your blogs, but the console just freezes at this same point : " [ 0.010000] Initializing cgroup subsys memory [ 0.010000] Initializing cgroup subsys freezer " Any clues on how to go about debugging this ? I use the default network-nat configuration for VMs(with addresses from 10.0.0.1/24). That doesn''t work either. Is that expected too ? I am sure the bridge configuration should work though (will try tomorrow). -dulloor On Sun, Oct 18, 2009 at 3:48 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> I will try 9.04-Server (not sure if it will help though)1. I believe it will help. 2. Bruce''s Edge feed would be also very much wanted. Boris. --- On Sun, 10/18/09, Dulloor <dulloor@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" <xen-devel@lists.xensource.com> Date: Sunday, October 18, 2009, 3:09 AM I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation. -dulloor On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: 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@gmail.com> wrote: From: Dulloor <dulloor@gmail.com> Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: "Marc - A. Dahlhaus" <mad@wol.de>, "Xen-devel" <xen-devel@lists.xensource.com> 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@citrix.com> 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@yahoo.com> 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@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" <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.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@wol.de> 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 (hadto 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@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 subject line tosomething 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@wol.de>/* wrote:>>>> >>>> >>>> From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> <mad@wol.de>>>>> Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> version 124 >>>> To: "Boris Derzhavets" <bderzhavets@yahoo.com>>>>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser" >>>> <keir.fraser@eu.citrix.com>>>>> Date: Friday, June 26, 2009, 5:12 AM >>>> >>>> Could go into 3.4 and unstable IMO. >>>> >>>> On 3.3 there is notools/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 </mc/compose?to=mad@wol.de>> wrote:>>>> > > From: Marc - A. Dahlhaus [ Administration | >>>> Westermann >>>> GmbH ] >>>> > <mad@wol.de </mc/compose?to=mad@wol.de>>>>>> > Subject: [Xen-devel] [PATCH] Fix buildsystem to detect >>>> udev > >>>> > version 124 >>>> > To: "Xen-devel" <xen-devel@lists.xensource.com>>>> </mc/compose?to=xen-devel@lists.xensource.com>> >>>> > Cc: "Daniel Schroeder" <sec@dschroeder.info>>>> </mc/compose?to=sec@dschroeder.info>>, "Keir Fraser" >>>> > <keir.fraser@eu.citrix.com>>>> </mc/compose?to=keir.fraser@eu.citrix.com>> >>>> > 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@wol.de >>>> </mc/compose?to=mad@wol.de>>>>>> > > > > > >>>> -----Inline Attachment Follows----- >>>> > > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> > > >>>> > _______________________________________________>>>> > Xen-devel mailing list >>>> > Xen-devel@lists.xensource.com >>>> </mc/compose?to=Xen-devel@lists.xensource.com>>>>> > http://lists.xensource.com/xen-devel >>>> >>>> >>>> _______________________________________________>>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> </mc/compose?to=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 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel -----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