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
|