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-devel

Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
From: "Wensheng Wang" <wenshengwang@xxxxxxxxx>
Date: Sun, 17 Dec 2006 15:39:56 -0600
Delivery-date: Sun, 17 Dec 2006 13:39:47 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AVLRElCLIfeAD+NqebWwdzLcgYybqgAcVU8aKJGthUjhGlMibqDklUUEjvHd/Kik7apsP2TGZI39QCr8c9yHfAmj8B6ZQPccvIIh9tAIsesUiQpLW4PryEvsaJUNImrCUX8VK5Ygz57QL6q4duyGekLUAN5pMB0g1V800waa4Qc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <458433E8.4000906@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <458433E8.4000906@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I can confirm reboot doesn't work either by issuing "reboot" from domU
or "shutdown -R" from dom0



On 12/16/06, Patrick Scharrenberg <pittipatti@xxxxxx> wrote:
Hi!

with 3.0.4-rc2 I can't restart domains. Neither with xm nor from within
the domain.

It seems that on a reboot xen tries to run pygrub, which I haven't
configured.

Here the different xend.logs for XendDomainInfo.create on xm create and
xm reboot:


xm create:
[2006-12-16 18:39:59 xend.XendDomainInfo 3051] DEBUG (__init__:1072)
XendDomainInfo.create(['vm', ['name', 'torrent'], ['memory', 230],
['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xenU'], ['root',
'/dev/hda1 ro'], ['args', '3']]], ['device', ['vbd', ['uname',
'phy:/dev/storage/down'], ['dev', 'hda1'], ['mode', 'w']]], ['device',
['vbd', ['uname', 'phy:/dev/storage/down-swap'], ['dev', 'hda2'],
['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:00:00:11']]]])


xm reboot:

[2006-12-16 18:41:13 xend.XendDomainInfo 3051] DEBUG (__init__:1072)
XendDomainInfo.create(['domain', ['domid', 2], ['on_crash', 'restart'],
['memory', 230], ['uuid', 'fb85b6d8-6604-9f33-e08a-b6e9d04f866e'],
['maxmem', 230], ['name', 'torrent'], ['on_poweroff', 'destroy'],
['on_reboot', 'restart'], ['localtime', 0], ['vcpus', 1],
['shadow_memory', 0], ['vcpu_avail', 1], ['cpu_weight', 256],
['cpu_cap', 0], ['features', ''], ['on_xend_start', 'ignore'],
['on_xend_stop', 'ignore'], ['start_time', 1166290800.25214],
['cpu_time', 8.3075194339999996], ['online_vcpus', 1], ['image',
['linux', ['root', '/dev/hda1 ro']]], ['status', 4],
['memory_dynamic_min', 230], ['memory_dynamic_max', 230], ['state',
'---s--'], ['store_mfn', 159682], ['console_mfn', 159681], ['device',
['vif', ['mac', '00:16:3e:00:00:11'], ['script', 'vif-bridge'], ['uuid',
'9da944b4-891b-9632-19a8-f76515c6d95a'], ['backend', 0]]], ['device',
['vbd', ['uname', 'phy:/dev/storage/down-swap'], ['uuid',
'93745eb5-32c5-1b44-bacc-e61bd21b6bdc'], ['mode', 'w'], ['dev',
'hda2:disk'], ['backend', 0]]], ['device', ['vbd', ['uname',
'phy:/dev/storage/down'], ['uuid',
'b961d5dd-b17f-2f8d-2452-15fd3ec00251'], ['mode', 'w'], ['dev',
'hda1:disk'], ['backend', 0]]]])


Patrick

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel