All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix buildsystem to detect udev > version 124
@ 2009-06-24 16:26 Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  2009-06-25  5:10 ` Jun Koi
  0 siblings, 1 reply; 13+ messages in thread
From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] @ 2009-06-24 16:26 UTC (permalink / raw)
  To: Xen-devel; +Cc: Daniel Schroeder, Keir Fraser

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

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>



[-- Attachment #2: xen-3.4-udev-1.patch --]
[-- Type: text/x-patch, Size: 1861 bytes --]

--- xen-3.4.0.orig/tools/hotplug/Linux/Makefile
+++ xen-3.4.0/tools/hotplug/Linux/Makefile
@@ -28,6 +28,12 @@ XEN_SCRIPT_DATA += vtpm-migration.sh vtp
 XEN_HOTPLUG_DIR = /etc/hotplug
 XEN_HOTPLUG_SCRIPTS = xen-backend.agent
 
+ifeq ($(shell [ -x /sbin/udevadm ] && echo 1),1)
+UDEVINFO = /sbin/udevadm
+else
+UDEVINFO = /usr/bin/udevinfo
+endif
+
 UDEV_RULES_DIR = /etc/udev
 UDEV_RULES = xen-backend.rules xend.rules
 
@@ -36,7 +43,7 @@ DE = $(if $(DESTDIR),$(shell readlink -f
 ifeq ($(findstring $(DI),$(DE)),$(DI))
 HOTPLUGS=install-hotplug install-udev
 else
-ifeq ($(shell [ -x /usr/bin/udevinfo ] && [ `/usr/bin/udevinfo -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/'` -ge 059 ] && echo 1),1)
+ifeq ($(shell [ -x $(UDEVINFO) -a `$(UDEVINFO) -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/'` -ge 059 ] && echo 1),1)
 HOTPLUGS=install-udev
 else
 HOTPLUGS=install-hotplug
--- xen-3.4.0.orig/tools/check/check_udev
+++ xen-3.4.0/tools/check/check_udev
@@ -8,8 +8,10 @@ OpenBSD|NetBSD|FreeBSD)
 	has_or_fail vnconfig
 	;;
 Linux)
-	has_or_fail udevinfo
-	[ "`udevinfo -V | awk '{print $NF}'`" -ge 59 ] 2>/dev/null || \
+	has /sbin/udevadm && udevver=`/sbin/udevadm -V`
+	[ -z "$udevver" ] && has_or_fail udevinfo && \
+		udevver=`udevinfo -V | awk '{print $NF}'`
+	[ "$udevver" -ge 59 ] 2>/dev/null || \
 		has hotplug || \
 		fail "udev is too old, upgrade to version 59 or later"
 	;;
--- xen-3.4.0.orig/install.sh
+++ xen-3.4.0/install.sh
@@ -30,6 +30,8 @@ echo "Installing Xen from '$src' to '$ds
 [ -x "$(which udevinfo)" ] && \
   UDEV_VERSION=$(udevinfo -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/')
 
+[ -z "$UDEV_VERSION" -a -x /sbin/udevadm ] && UDEV_VERSION=$(/sbin/udevadm -V)
+
 if [ -n "$UDEV_VERSION" ] && [ $UDEV_VERSION -ge 059 ]; then
   echo " - installing for udev-based system"
   rm -rf "$tmp/etc/hotplug"

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
  2009-06-24 16:26 [PATCH] Fix buildsystem to detect udev > version 124 Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
@ 2009-06-25  5:10 ` Jun Koi
       [not found]   ` <1245914667.9952.5.camel@marc>
  0 siblings, 1 reply; 13+ messages in thread
From: Jun Koi @ 2009-06-25  5:10 UTC (permalink / raw)
  To: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  Cc: Daniel Schroeder, Xen-devel, Keir Fraser

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
@ 2009-06-25  7:06 Boris Derzhavets
  2009-06-25  7:19 ` Jun Koi
  0 siblings, 1 reply; 13+ messages in thread
From: Boris Derzhavets @ 2009-06-25  7:06 UTC (permalink / raw)
  To: Marc - A. Dahlhaus [ Administration | Westermann GmbH ], Jun Koi
  Cc: Daniel Schroeder, Xen-devel, Keir Fraser


[-- Attachment #1.1: Type: text/plain, Size: 1755 bytes --]

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



      

[-- Attachment #1.2: Type: text/html, Size: 2420 bytes --]

[-- Attachment #2: dmesg.1.gz --]
[-- Type: application/x-gzip, Size: 13050 bytes --]

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
  2009-06-25  7:06 Boris Derzhavets
@ 2009-06-25  7:19 ` Jun Koi
  0 siblings, 0 replies; 13+ messages in thread
From: Jun Koi @ 2009-06-25  7:19 UTC (permalink / raw)
  To: Boris Derzhavets
  Cc: Daniel Schroeder, Xen-devel,
	Marc - A. Dahlhaus [ Administration | Westermann GmbH ],
	Keir Fraser

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
       [not found]     ` <fdaac4d50906250027l4c90c950mf1fa77a75087fcde@mail.gmail.com>
@ 2009-06-25  7:39       ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  0 siblings, 0 replies; 13+ messages in thread
From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] @ 2009-06-25  7:39 UTC (permalink / raw)
  To: Jun Koi; +Cc: Xen-devel

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,
> J

You 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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
@ 2009-06-25  7:50 Boris Derzhavets
  0 siblings, 0 replies; 13+ messages in thread
From: Boris Derzhavets @ 2009-06-25  7:50 UTC (permalink / raw)
  To: Jun Koi
  Cc: Daniel Schroeder, Xen-devel,
	Marc - A. Dahlhaus [ Administration | Westermann GmbH ],
	Keir Fraser


[-- Attachment #1.1: Type: text/plain, Size: 1636 bytes --]

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



      

[-- Attachment #1.2: Type: text/html, Size: 2322 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
@ 2009-06-25  9:37 Boris Derzhavets
  0 siblings, 0 replies; 13+ messages in thread
From: Boris Derzhavets @ 2009-06-25  9:37 UTC (permalink / raw)
  To: Jun Koi; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2683 bytes --]

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



      

[-- Attachment #1.2: Type: text/html, Size: 3996 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
@ 2009-06-26  3:03 Boris Derzhavets
  2009-06-26  9:12 ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  0 siblings, 1 reply; 13+ messages in thread
From: Boris Derzhavets @ 2009-06-26  3:03 UTC (permalink / raw)
  To: Xen-devel,
	Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  Cc: Keir Fraser


[-- Attachment #1.1: Type: text/plain, Size: 992 bytes --]

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



      

[-- Attachment #1.2: Type: text/html, Size: 1660 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
@ 2009-06-26  3:11 Boris Derzhavets
  0 siblings, 0 replies; 13+ messages in thread
From: Boris Derzhavets @ 2009-06-26  3:11 UTC (permalink / raw)
  To: Jun Koi, Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2549 bytes --]

> 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,
> J

You 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



      

[-- Attachment #1.2: Type: text/html, Size: 3671 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
  2009-06-26  3:03 Boris Derzhavets
@ 2009-06-26  9:12 ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  0 siblings, 0 replies; 13+ messages in thread
From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] @ 2009-06-26  9:12 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: Xen-devel, Keir Fraser

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
@ 2009-06-27 18:53 Boris Derzhavets
  2009-06-27 20:02 ` Marc - A. Dahlhaus
  0 siblings, 1 reply; 13+ messages in thread
From: Boris Derzhavets @ 2009-06-27 18:53 UTC (permalink / raw)
  To: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  Cc: Xen-devel, Keir Fraser


[-- Attachment #1.1: Type: text/plain, Size: 2572 bytes --]

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



      

[-- Attachment #1.2: Type: text/html, Size: 5079 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
  2009-06-27 18:53 Boris Derzhavets
@ 2009-06-27 20:02 ` Marc - A. Dahlhaus
  2009-10-17  7:35   ` Dulloor
  0 siblings, 1 reply; 13+ messages in thread
From: Marc - A. Dahlhaus @ 2009-06-27 20:02 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: Xen-devel, Keir Fraser

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
>   

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] Fix buildsystem to detect udev > version 124
  2009-06-27 20:02 ` Marc - A. Dahlhaus
@ 2009-10-17  7:35   ` Dulloor
  0 siblings, 0 replies; 13+ messages in thread
From: Dulloor @ 2009-10-17  7:35 UTC (permalink / raw)
  To: Marc - A. Dahlhaus; +Cc: Boris Derzhavets, Xen-devel, Keir Fraser

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
>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-10-17  7:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24 16:26 [PATCH] Fix buildsystem to detect udev > version 124 Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-06-25  5:10 ` Jun Koi
     [not found]   ` <1245914667.9952.5.camel@marc>
     [not found]     ` <fdaac4d50906250027l4c90c950mf1fa77a75087fcde@mail.gmail.com>
2009-06-25  7:39       ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
  -- strict thread matches above, loose matches on Subject: below --
2009-06-25  7:06 Boris Derzhavets
2009-06-25  7:19 ` Jun Koi
2009-06-25  7:50 Boris Derzhavets
2009-06-25  9:37 Boris Derzhavets
2009-06-26  3:03 Boris Derzhavets
2009-06-26  9:12 ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-06-26  3:11 Boris Derzhavets
2009-06-27 18:53 Boris Derzhavets
2009-06-27 20:02 ` Marc - A. Dahlhaus
2009-10-17  7:35   ` Dulloor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.