Patrick Scharrenberg
2006-Dec-16 17:59 UTC
[Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
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@lists.xensource.com http://lists.xensource.com/xen-devel
Wensheng Wang
2006-Dec-17 21:39 UTC
Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
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@web.de> 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@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2006-Dec-18 01:41 UTC
Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
Wensheng Wang wrote:> I can confirm reboot doesn''t work either by issuing "reboot" from domU > or "shutdown -R" from dom0Yes, haven''t got around to implementing that yet. Should be straightforward. J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2006-Dec-18 01:43 UTC
Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
Jeremy Fitzhardinge wrote:> Yes, haven''t got around to implementing that yet. Should be > straightforward. >Sorry, I''m referring to paravirt-ops guest Linux kernels; I don''t know about other (xen-unstable based) guest kernels. J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Dec-18 02:13 UTC
Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
On Sat, Dec 16, 2006 at 06:59:04PM +0100, Patrick Scharrenberg 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.Sorry about that. This is fixed in xen-unstable changeset 13077:d7150286ca7b. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Brian Hays
2006-Dec-18 16:43 UTC
Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
Will the fix be included in the next 3.0.4 RC? Thank you, Brian On 12/17/06, Ewan Mellor <ewan@xensource.com> wrote:> > On Sat, Dec 16, 2006 at 06:59:04PM +0100, Patrick Scharrenberg 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. > > Sorry about that. This is fixed in xen-unstable changeset > 13077:d7150286ca7b. > > Ewan. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Dec-18 17:12 UTC
Re: [Xen-devel] reboot for paravirt-guests not working in 3.0.4-rc2
On Mon, Dec 18, 2006 at 11:43:19AM -0500, Brian Hays wrote:> Will the fix be included in the next 3.0.4 RC?Yes, certainly. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel