From: Keir Fraser Subject: Re: Cannot create domU Date: Sat, 24 Sep 2005 14:21:36 +0100 Message-ID: <9f173d1d7dea2ed7b9d458acd070f552@cl.cam.ac.uk> References: <5d7aca9505092307156e0c7f00@mail.gmail.com> <20050923173759.GA25613@vrable.net> <623652d5050923153973b9804c@mail.gmail.com> <7d249e777fd88c08faab74751b15fca6@cl.cam.ac.uk> <623652d50509240354750991d3@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <623652d50509240354750991d3@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Bainbridge Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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