From: Dulloor Subject: Re: "Hotplug Scripts not working ..." error on jaunty Date: Sat, 17 Oct 2009 18:08:21 -0400 Message-ID: <940bcfd20910171508y61f39fcdp88ad764d8902deb8@mail.gmail.com> References: <239210.29230.qm@web56102.mail.re3.yahoo.com> <4A467ADB.6090600@wol.de> <940bcfd20910170035s26f4d7d6xd7200ff76111fcc0@mail.gmail.com> <4ADA2330.9050708@wol.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4ADA2330.9050708@wol.de> 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" Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org - 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=3D"" - 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 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 > =A0udev 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 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 an= d >>> give some additional details about the problem? >>> >>> >>> Marc >>> >>> Boris Derzhavets schrieb: >>>> >>>> By some reasons i have to run =A0on 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 ] //* wrote: >>>> >>>> >>>> =A0 From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] >>>> =A0 >>>> =A0 Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > >>>> =A0 version 124 >>>> =A0 To: "Boris Derzhavets" >>>> =A0 Cc: "Xen-devel" , "Keir Fraser" >>>> =A0 >>>> =A0 Date: Friday, June 26, 2009, 5:12 AM >>>> >>>> =A0 Could go into 3.4 and unstable IMO. >>>> >>>> =A0 On 3.3 there is no tools/hotplug/Linux/Makefile so it must be alte= red >>>> =A0 there to use tools/examples/Makefile for the first chunk and >>>> =A0 should work >>>> =A0 fine there. >>>> >>>> >>>> =A0 Marc >>>> >>>> =A0 Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavet= s: >>>> =A0 > Where this patch is supposed to go either xen-unstable.hg or >>>> =A0 > xen-3.4-testing.hg (both) ? >>>> =A0 > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >>>> =A0 > >>>> =A0 > Boris >>>> =A0 > >>>> =A0 > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | >>>> =A0 Westermann >>>> =A0 > GmbH ] > wrote: >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 From: Marc - A. Dahlhau= s [ Administration | >>>> Westermann >>>> =A0 GmbH ] >>>> =A0 > =A0 =A0 =A0 =A0 > >>>> =A0 > =A0 =A0 =A0 =A0 Subject: [Xen-devel] [PATCH] Fix buildsystem to = detect >>>> =A0 udev > >>>> =A0 > =A0 =A0 =A0 =A0 version 124 >>>> =A0 > =A0 =A0 =A0 =A0 To: "Xen-devel" >>> =A0 > >>>> =A0 > =A0 =A0 =A0 =A0 Cc: "Daniel Schroeder" >>> =A0 >, "Keir Fraser" >>>> =A0 > =A0 =A0 =A0 =A0 >>> =A0 > >>>> =A0 > =A0 =A0 =A0 =A0 Date: Wednesday, June 24, 2009, 12:26 PM >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 udev removed the udevin= fo symlink from versions >>>> higher than >>>> =A0 > =A0 =A0 =A0 =A0 123 and xens >>>> =A0 > =A0 =A0 =A0 =A0 build-system could not detect if udev is in plac= e and >>>> =A0 has the >>>> =A0 > =A0 =A0 =A0 =A0 required >>>> =A0 > =A0 =A0 =A0 =A0 version. Attached patch fixes this. >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 = =A0 Signed-off-by: Marc-A. Dahlhaus >>>> >>> =A0 > >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 = =A0 =A0 =A0> =A0 =A0 =A0 =A0 =A0 =A0> >>>> -----Inline Attachment Follows----- >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> =A0 =A0 =A0 =A0 _______________________= ________________________ >>>> =A0 > =A0 =A0 =A0 =A0 Xen-devel mailing list >>>> =A0 > =A0 =A0 =A0 =A0 Xen-devel@lists.xensource.com >>>> =A0 >>>> =A0 > =A0 =A0 =A0 =A0 http://lists.xensource.com/xen-devel >>>> =A0 > =A0 =A0 =A0 =A0 =A0 =A0> >>>> =A0 > _______________________________________________ >>>> =A0 > Xen-devel mailing list >>>> =A0 > Xen-devel@lists.xensource.com >>>> =A0 >>>> =A0 > http://lists.xensource.com/xen-devel >>>> >>>> >>>> =A0 _______________________________________________ >>>> =A0 Xen-devel mailing list >>>> =A0 Xen-devel@lists.xensource.com >>>> =A0 >>>> =A0 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 >>> > >