Skip to contentSkip to conversation

Fix buildsystem to detect udev > version 124

PATCH Boris Derzhavets 1 participant 1 message Jun 26, 2009

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

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 ] <[email protected]> wrote:

From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>
Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
To: "Jun Koi" <[email protected]>
Cc: "Xen-devel" <[email protected]>
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:

Quoted 30 lines
Quoted 18 lines · Marc - A. Dahlhaus [ Administration | Westermann GmbH ]

Hello Jun,

Am Donnerstag, den 25.06.2009, 14:10 +0900 schrieb Jun Koi:

Quoted 15 lines
Quoted 3 lines · Marc - A. Dahlhaus [ Administration | Westermann GmbH ]

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;....
....

Quoted 9 lines
Quoted 1 line

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...

Quoted 7 lines

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
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel