From mboxrd@z Thu Jan 1 00:00:00 1970 From: NAHieu Subject: Re: Cannot create domU Date: Sun, 25 Sep 2005 02:32:15 +0900 Message-ID: <5d7aca95050924103260c3ecaf@mail.gmail.com> References: <5d7aca9505092307156e0c7f00@mail.gmail.com> <20050923173759.GA25613@vrable.net> <623652d5050923153973b9804c@mail.gmail.com> <7d249e777fd88c08faab74751b15fca6@cl.cam.ac.uk> <623652d50509240354750991d3@mail.gmail.com> <9f173d1d7dea2ed7b9d458acd070f552@cl.cam.ac.uk> Reply-To: NAHieu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <9f173d1d7dea2ed7b9d458acd070f552@cl.cam.ac.uk> Content-Disposition: inline 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 My problem has been fixed: I overwrited /etc/xen/scripts with the new scripts from tools/examples found in the tree. Now domU can be created. Many thanks, Hieu On 9/24/05, Keir Fraser wrote: > > On 24 Sep 2005, at 11:54, Chris Bainbridge wrote: > > > I just tried echo /sbin/hotplug > /proc/sys/kernel/hotplug and it > > works! Woohoo! I can now mount the virtual device. So... there is > > something wrong with either xen or udevsend that should be fixed. I > > have no experience with hotplug, but if someone can point me in the > > right direction I'll try to debug. > > As I understand it, there are two standard locations for hotplug > scripts. One is a directory called /etc/hotplug.d/, the other is > a file called /etc/hotplug/.agent. > > We moved our script to the latter location, as we found that to work > across debian, suse and redhat distros (unlike /etc/hotplug.d). You'll > probably find that udevsend is a shell script -- take a look and see if > it tries to do any hotplug stuff. > > I guess it's possible it is looking in /etc/hotplug.d. If so it really > ought to be updated. Alternatively, some distros have /sbin/hotplug > search in /etc/hotplug.d, but they add a script to > /etc/hotplug.d/defaults/ which also searches in /etc/hotplug/. That > gives you the benefit of searching in both locations. > > Anyway, I think it's gentoo's udevsend that is at fault here. Every > other distro we know of searches /etc/hotplug/ these days. > > -- Keir > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >