From: Greg KH Subject: Re: Cannot create domU Date: Mon, 26 Sep 2005 08:01:35 -0700 Message-ID: <20050926150135.GA15781@kroah.com> References: <20050923173759.GA25613@vrable.net> <623652d5050923153973b9804c@mail.gmail.com> <7d249e777fd88c08faab74751b15fca6@cl.cam.ac.uk> <623652d50509240354750991d3@mail.gmail.com> <9f173d1d7dea2ed7b9d458acd070f552@cl.cam.ac.uk> <623652d505092413006f3950b@mail.gmail.com> <20050926124707.GA13414@kroah.com> <20050926141407.GA15384@kroah.com> <22f2b04bae14c3efa4833ce013cc4542@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <22f2b04bae14c3efa4833ce013cc4542@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Chris Bainbridge , xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, Sep 26, 2005 at 03:41:38PM +0100, Keir Fraser wrote: > > On 26 Sep 2005, at 15:14, Greg KH wrote: > > >That's been "depreciated" for quite some time now. I would recommend > >you switch to moving your script to /etc/hotplug.d/xen/ or > >/etc/hotplug.d/default/ (depending on how your hotplug event is being > >created. Which reminds me, how is it? Pointers to code anywhere?) > > We originally placed the script in /etc/hotplug.d/xen, but found that > didn't work on some distros. Can't remember which ones, nor how old > they were. We should perhaps detect such systems and treat them > specially in our install script, and move the script back to > /etc/hotplug.d by default. Yes, some very old distros did not have the multiplexed /sbin/hotplug program which would run stuff in /etc/hotplug.d/, but they should be all gone now :) > Our main hotplug event function is in > drivers/xen/xenbus/xenbus_probe.c Have an online source browser anywhere? >, I think (it's used by our network driver at least). Actually xenbus >registers all our virtual devices with sysfs, and I guess that >generates some hotplug events automatically? Yes, it will. You should _never_ call /sbin/hotplug on your own. The one last holdout in the kernel is the input subsystem, and that will be fixed very soon. thanks, greg k-h