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] kexec into dom0? my machine can't reboot reliably

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] kexec into dom0? my machine can't reboot reliably
From: Tomasz Chmielewski <mangoo@xxxxxxxx>
Date: Mon, 13 Aug 2007 21:01:56 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 13 Aug 2007 12:02:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200708131956.09423.mark.williamson@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46C02BF5.1000300@xxxxxxxx> <46C0418B.9030208@xxxxxxxx> <46C045EA.1080700@xxxxxxxx> <200708131956.09423.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Mandriva/1.5.0.8-1mdv2007.1 (2007.1) Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
Mark Williamson schrieb:
You'd have to kexec the hypervisor and give it a module of the vmlinuz
file, in the same way that grub does it.  I've no idea if kexec has
that functionality though.
All right, something like that gets me farther:

kexec -l xen-3.1 --module="vmlinuz-2.6.18-xen-uncomp
initrd-2.6.18-xenU.img"
Obviously, the module entry is wrong.

# kexec -l xen-3.1 --module="vmlinuz-2.6.18-xen netloop.nloopbacks=16
other_params..." --module="initrd-2.6.18-xenU.img" --append="noapic
dom0_mem=128M"
# kexec -e

Ends with:

(XEN) not enough memory to stash the DOM0 kernel image.

That's strange, given it obviously is capable of rebooting into dom0, given your previous errors not finding root.

I think your initrd line may be wrong, by the way - you're specifying a xenU initrd, not a xen0 initrd. Did you mean to do this?

I'm afraid I'm not so familiar with the start of day code, so I'm not sure what's going on... but it does look like it really ought to be possible to get things working better!

It indeed works.

The strange "not enough memory" only happens when I give vmlinuz-...-xen and initrd as two separate modules (so, like with grub).

If I integrate initrd in the kernel (building it as initramfs), it boots correctly.

I'll write a more detailed update on this tomorrow.


--
Tomasz Chmielewski
http://wpkg.org

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