Daniel Schroeder
2009-Jul-01 17:01 UTC
[Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
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
Keir Fraser
2009-Jul-01 17:42 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
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" <sec@dschroeder.info> 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
Marc - A. Dahlhaus
2009-Jul-01 21:34 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
Hello Daniel, hello Kier, the Problem is, that udev 124 does not know the the option -V without info as the first param. I''ll check on which version this was introduced and send a patch to fix this problem. Marc Keir Fraser schrieb:> 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" <sec@dschroeder.info> 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
Daniel Schroeder
2009-Jul-01 21:52 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
this could be the problem in http://xenbits.xensource.com/xen-3.4-testing.hg?rev/1bc7dd557233 : <snip> +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) </snip> 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... <udev124> /sbin/udevadm -V unknown command, try help </udev124> <udev141> /sbin/udevadm -V 141 </udev141> -- 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" <sec@dschroeder.info> 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
Marc - A. Dahlhaus
2009-Jul-01 21:57 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
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 > : > > <snip> > +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) > </snip> > > 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... > > <udev124> > /sbin/udevadm -V > unknown command, try help > </udev124> > > <udev141> > /sbin/udevadm -V > 141 > </udev141> > > -- > 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" <sec@dschroeder.info> 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
Marc - A. Dahlhaus
2009-Jul-01 23:18 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
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 >> : >> >> <snip> >> +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) >> </snip> >> >> 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... >> >> <udev124> >> /sbin/udevadm -V >> unknown command, try help >> </udev124> >> >> <udev141> >> /sbin/udevadm -V >> 141 >> </udev141> >> >> -- >> 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" <sec@dschroeder.info> 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_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Daniel Schroeder
2009-Jul-02 08:10 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
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 >>> : >>> >>> <snip> >>> +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) >>> </snip> >>> >>> 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... >>> >>> <udev124> >>> /sbin/udevadm -V >>> unknown command, try help >>> </udev124> >>> >>> <udev141> >>> /sbin/udevadm -V >>> 141 >>> </udev141> >>> >>> -- >>> 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" <sec@dschroeder.info> 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 >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-Jul-02 09:17 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
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 > >>> : > >>> > >>> <snip> > >>> +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) > >>> </snip> > >>> > >>> 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... > >>> > >>> <udev124> > >>> /sbin/udevadm -V > >>> unknown command, try help > >>> </udev124> > >>> > >>> <udev141> > >>> /sbin/udevadm -V > >>> 141 > >>> </udev141> > >>> > >>> -- > >>> 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" <sec@dschroeder.info> 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 > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Jul-02 10:27 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
Sure. On 02/07/2009 10:17, "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" <mad@wol.de> 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 >>>>> : >>>>> >>>>> <snip> >>>>> +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) >>>>> </snip> >>>>> >>>>> 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... >>>>> >>>>> <udev124> >>>>> /sbin/udevadm -V >>>>> unknown command, try help >>>>> </udev124> >>>>> >>>>> <udev141> >>>>> /sbin/udevadm -V >>>>> 141 >>>>> </udev141> >>>>> >>>>> -- >>>>> 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" <sec@dschroeder.info> 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 >>> > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2009-Jul-02 11:07 UTC
Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124
Here we go... Same logic as tested with xen-3.4... Marc Am Donnerstag, den 02.07.2009, 11:27 +0100 schrieb Keir Fraser:> Sure. > > > On 02/07/2009 10:17, "Marc - A. Dahlhaus [ Administration | Westermann GmbH > ]" <mad@wol.de> 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 > >>>>> : > >>>>> > >>>>> <snip> > >>>>> +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) > >>>>> </snip> > >>>>> > >>>>> 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... > >>>>> > >>>>> <udev124> > >>>>> /sbin/udevadm -V > >>>>> unknown command, try help > >>>>> </udev124> > >>>>> > >>>>> <udev141> > >>>>> /sbin/udevadm -V > >>>>> 141 > >>>>> </udev141> > >>>>> > >>>>> -- > >>>>> 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" <sec@dschroeder.info> 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 > >>> > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel