WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Domain-U failed to start when Domain-0 reboot

To: "Muzammel Asghar" <muzammel.asghar@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Domain-U failed to start when Domain-0 reboot
From: "Grant McWilliams" <grantmasterflash@xxxxxxxxx>
Date: Wed, 17 Dec 2008 12:23:46 -0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Dec 2008 12:24:32 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=dPu0roZ0L6/qh2SRpPd9RBnaGUY/Xepn4EPNTg5jzwQ=; b=NeWhSmgqRNKomwO0gYN9XY7XNbvfoo7reL1/LV2R/yWO9m8wKqHNmaLS0+gxDgxRNT C4pmMfyZWhgFPC+qVBWplIQSPJjvtgqmWxIw8/8B+QDUv24dfLhLOGJOQm6UOBeeg+Ss TJ1ztAyY51aVEvPut4sLXiNzmWuAkRMrdHVgA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=tdfli6JXechnnxxn80hsjf1QIyuQGxIo0fjWDj6YBXDfNTK0qntz6JiFpf86cs9VZW Jly6f8Qd8QzHMJijiG20V8WXyYkhRJuuGqBlOTMqIbJxsbCLQYJiPcU+L3bglTOAt2Yx dzQg0UqV2R/Hp1YcDUAUizRTVqofX4D+YpjjA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <494950CE.3000306@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <494950CE.3000306@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Wed, Dec 17, 2008 at 11:19 AM, Muzammel Asghar <muzammel.asghar@xxxxxxxxxxxxxx> wrote:
Hi guys i am facing some strange problem in xen. I used xen version 3
in fedora core 8 in routed mode. I create 5 vm's, the problem is when i
reboot mother
domain-0 first two vms boot and shutdown and rest other 3 vm's
are boot properly. But after that i manually start 1st and 2nd vm they
start fine, i don't understand why they not start automatically when
domain-0 boot but manuall start of these vm's are fine

here below the logs of /var/log/messages

Dec 13 10:28:27 khunj logger: /etc/xen/scripts/vif-route:
Dec 13 10:28:27 khunj logger: /etc/xen/scripts/vif-route:
/etc/xen/scripts/vif-route failed; error detected.
Dec 13 10:28:27 khunj logger: /etc/xen/scripts/vif-route:
Dec 13 10:28:27 khunj logger: /etc/xen/scripts/vif-route:
/etc/xen/scripts/vif-route failed; error detected.
Dec 13 10:28:28 khunj logger: /etc/xen/scripts/vif-route:
Dec 13 10:28:28 khunj logger: /etc/xen/scripts/vif-route:
/etc/xen/scripts/vif-route failed; error detected.

and in xend.log it shows this

[2008-12-13 10:28:27 2136] DEBUG (XendDomainInfo:1040)
XendDomainInfo.handleShutdownWatch
[2008-12-13 10:28:27 2136] DEBUG (DevController:150) Waiting for devices
vif.
[2008-12-13 10:28:27 2136] DEBUG (DevController:155) Waiting for 0.
[2008-12-13 10:28:27 2136] DEBUG (DevController:594)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2008-12-13 10:28:27 2136] DEBUG (DevController:594)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2008-12-13 10:28:27 2136] DEBUG (DevController:608)
hotplugStatusCallback 2.
[2008-12-13 10:28:27 2136] DEBUG (XendDomainInfo:1802)
XendDomainInfo.destroy: domid=1
[2008-12-13 10:28:27 2136] DEBUG (XendDomainInfo:1821)
XendDomainInfo.destroyDomain(1)

kindly help me regarding this matter.

--
Regards,
Muzammel Asghar


There are people who believe the most reliable way of ensuring your DomUs start is to create your own init script and not leave it to the xend service to do it. I'm not quite there but after seeing this happen multiple times I'm considering it. There doesn't seem to be any reason why a DomU doesn't start because they start just fine manually. I have noticed that for whatever reason having having a link to the domU config file in auto worked better than having the domU config file itself in auto. Maybe it was just a coincidence, I didn't follow up. Just my 2 cents.


Grant McWilliams

Some people, when confronted with a problem, think "I know, I'll use Windows."
Now they have two problems.
 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>