From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ted Kaczmarek Subject: Re: domU crash Date: Sat, 15 Oct 2005 11:48:48 -0400 Message-ID: <1129391328.12282.375.camel@pluto.linsolutions.com> References: <983B408465C04C49B0344D51FA21C755028DA6@trudi.intra.bpm.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-reply-to: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devs , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Sat, 2005-10-15 at 15:51 +0100, Keir Fraser wrote: > On 15 Oct 2005, at 15:28, Stephan B=C3=B6ni wrote: >=20 > > Well, i'm starting a domU but it crashes. What i've done wrong? > > =20 > > > cd /etc/xen > > > xm create inhouse > > Using config file "inhouse". > > Started domain inhouse > > > >=20 > xend is trying to look up the device number for /dev/hda1. Since yo= ur=20 > system doesn;t have a /dev/hda1, and you are presumably using udev,= =20 > this lookup fails. If you created that node manually in /dev/ then = all=20 > should be fine. >=20 > Really the device name should be passed to domU as a string, and= =20 > resolved to a number there. Or xend can just have a table of simple= =20 > name lookups for thing like hda, hdb, ... >=20 > -- Keir I am really confused on this one, as I can get it to work no matter w= hat I use sometimes, other times I have seen it where it won't work unles= s I only use /dev/sdXX where XX does not exist at all on the dom0. With changeset 7353 on my UP machine I got 100% success rate of domU creation like this, all the domU's in this case are Centos 4.1, which uses udev. The dom0 has a /dev/sda and /dev/sdb, if I used /dev/sdaX = or sdbX on this machine I always got domU creation failures, I switched = all the domU's to use /dev/sddX and 100% creation every time. My SMP dom0 has sda, sdb and sdc, I use lvm's for domU's all located = on sdb. disk =3D [ 'phy:VG01/idom1,sda1,w' ,'phy:VG01/domain1-swap,sda2,w'] root =3D "/dev/sda1" What should I be using?=20 The domU's will all come up like this,with roughly 30% failure rate o= n domU creation and 20% failure rate on vif creation( still digging on this so not a big deal) and reattempting create will resolve both issues. It would probably save everyone some grief if this would be clarified= . Based upon what you are saying the domU should be using a device designation that really exists, yet I regularly see where that indeed= is not the case, and sometimes has even hindered successful domU creatio= n. If someone would be so kind as to explain exactly how this really sho= uld be setup it would probably increase everyones productivity involved. = I would gladly create the doc if I knew for sure what is the proper set= up. Regards, Ted