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

[Xen-users] kexec into dom0? my machine can't reboot reliably

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] kexec into dom0? my machine can't reboot reliably
From: Tomasz Chmielewski <mangoo@xxxxxxxx>
Date: Mon, 13 Aug 2007 12:01:25 +0200
Delivery-date: Mon, 13 Aug 2007 03:02:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
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
I have a couple of Xen servers which can't reboot reliably - only rarely it reboots fine; mostly, it will end up with a blank screen, and someone has to physically reboot the machine. Not that great if you're working remotely.


I thought a good workaround would be to use kexec when the machine needs to be rebooted.

So I tried:

# kexec -l xen-3.1
# kexec -e

And xen kernel started, complaining that the dom0 kernel was not specified. So it works, kind of. So, let's add the dom0 kernel:


# 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?

I tried to execute it from two machines: running a 2.6.18 dom0 kernel, and running a regular 2.6.22 kernel - both failed in the same way.

kexec version I'm running is:

kexec 1.101 released 15 February 2005

Any hints?


--
Tomasz Chmielewski
http://wpkg.org

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