From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [XEN-3.4.1-rc5] no udev rules with udev 124 Date: Thu, 02 Jul 2009 11:27:59 +0100 Message-ID: References: <1246526227.32659.26.camel@marc> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1246526227.32659.26.camel@marc> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" , Daniel Schroeder Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Sure. On 02/07/2009 10:17, "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" wrote: > Thanks for testing Daniel. > > Keir, > > i've tested installation target with udev versions from 120 up to 141. > > Should i create a backported version of the patch for xen-3.3? > > > Am Donnerstag, den 02.07.2009, 10:10 +0200 schrieb Daniel Schroeder: >> Hi Marc, >> >> yepp, this patch fixes the installation on udev 124. >> >> -- >> daniel >> >> Marc - A. Dahlhaus wrote: >>> Hello Daniel, >>> >>> does this patch fix the installation of udev rules on your system? >>> >>> Marc - A. Dahlhaus schrieb: >>>> Hello Daniel, >>>> >>>> it was added on version 128... >>>> I'll submit a followup fix for this problem shortly, testing it right >>>> now. >>>> >>>> Marc >>>> >>>> Daniel Schroeder schrieb: >>>>> this could be the problem in >>>>> http://xenbits.xensource.com/xen-3.4-testing.hg?rev/1bc7dd557233 >>>>> : >>>>> >>>>> >>>>> +ifeq ($(shell [ -x /sbin/udevadm ] && echo 1),1) >>>>> +UDEVINFO = /sbin/udevadm >>>>> +else >>>>> +UDEVINFO = /usr/bin/udevinfo >>>>> +endif >>>>> . >>>>> . >>>>> . >>>>> +ifeq ($(shell [ -x $(UDEVINFO) -a `$(UDEVINFO) -V | sed -e 's/^[^0-9]* >>>>> \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/'` -ge 059 ] && echo 1),1) >>>>> >>>>> >>>>> i am not sure, but this evaluates to, if /sbin/udevadm exists, then set >>>>> UDEVINFO to it and get the version with /sbin/udevadm -V...the problem >>>>> is, that udev 124 doesnt know the -V switch... >>>>> >>>>> >>>>> /sbin/udevadm -V >>>>> unknown command, try help >>>>> >>>>> >>>>> >>>>> /sbin/udevadm -V >>>>> 141 >>>>> >>>>> >>>>> -- >>>>> daniel >>>>> >>>>> Keir Fraser wrote: >>>>> >>>>>> If you revert changeset 19668 in xen-3.4-testing.hg (e.g., hg export >>>>>> 19668 | >>>>>> patch -Rp1) then does the problem go away? >>>>>> >>>>>> -- Keir >>>>>> >>>>>> On 01/07/2009 18:01, "Daniel Schroeder" wrote: >>>>>> >>>>>> >>>>>>> hello *, >>>>>>> >>>>>>> rc5 and udev version 141 = fine >>>>>>> rc5 and udev version 124 = missing files >>>>>>> >>>>>>> -- >>>>>>> daniel >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>> > >