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: Tony Hoyle <tmh@xxxxxxxxxxxx>
Subject: Re: [Xen-users] kexec into dom0? my machine can't reboot reliably
From: Tomasz Chmielewski <mangoo@xxxxxxxx>
Date: Mon, 13 Aug 2007 13:33:31 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 13 Aug 2007 04:34:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46C02FE0.60904@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> <46C02FE0.60904@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
Tony Hoyle schrieb:
Tomasz Chmielewski wrote:
# kexec --initrd vmlinuz-2.6.18-xen-uncomp -l xen-3.1
Invalid memory segment 0xc0100000 - 0xc034cfff


Not that great. Is there something I'm missing?


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"

But ends with a xen kernel panic:

(XEN) Panic on CPU 0:
(XEN) IO-APIC + timer doesn't work!


Adding "noapic" seems to help; so far I'm stuck with inability to find root. Which is rather strange, as I append exactly the same options as to original kernel.


--
Tomasz Chmielewski
http://wpkg.org

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