From: Boris Derzhavets Subject: Re: Re: Attempt to load 2.6.29-rc3 with pv_ops suppot for Dom0 under Xen 3.3.1 Hypervisor Date: Mon, 2 Feb 2009 08:21:54 -0800 (PST) Message-ID: <820647.42399.qm@web56105.mail.re3.yahoo.com> References: <1233585639.9970.73.camel@zakaz.uk.xensource.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0446746275==" Return-path: In-Reply-To: <1233585639.9970.73.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Todd Deshane , Jeremy Fitzhardinge , xen-devel@lists.xensource.com, Andrew Lyon List-Id: xen-devel@lists.xenproject.org --===============0446746275== Content-Type: multipart/alternative; boundary="0-287671049-1233591714=:42399" --0-287671049-1233591714=:42399 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =A0 I've removed Xen 3.3.1 and installed the most recent unstable Xen Hyper= visor.=20 # cd /usr/src/xen-3.3.1 # make uninstall # cd .. # hg clone http://xenbits.xensource.com/xen-unstable.hg # cd xen-unstable.hg # make xen # make install-xen # make tools # make install-tools Tried following two options:- title Xen 3.4 / Ubuntu 8.10, kernel 2.6.29-tip uuid=A0=A0 c841c5e9-8eb2-4e47-b36e-6796e5ce6ce6 kernel /boot/xen-3.4.gz module /boot/vmlinuz-2.6.29-rc3-tip root=3D/dev/sdb1 ro console=3Dtty0 earl= yprintk=3Dxen pci=3Dnomsi module /boot/initrd-2.6.29-rc3-tip.img ****************************************************************** Loading starts up and drops to stack trace immediately after=20 SATA link up .. SATA link up ..=20 ******************************************************************* title Xen 3.4 / Ubuntu 8.10, kernel 2.6.27-xen uuid=A0=A0 c841c5e9-8eb2-4e47-b36e-6796e5ce6ce6 kernel /boot/xen-3.4.gz module /boot/vmlinuz-2.6.27.5 root=3D/dev/sdb1 ro console=3Dtty0 module /boot/initrd-2.6.27.5.img *************************************************** Seems to work OK with Novell's Xen-ified kernel *************************************************** --- On Mon, 2/2/09, Ian Campbell wrote: From: Ian Campbell Subject: [Xen-devel] Re: Attempt to load 2.6.29-rc3 with pv_ops suppot for = Dom0 under Xen 3.3.1 Hypervisor To: bderzhavets@yahoo.com Cc: "Todd Deshane" , "Jeremy Fitzhardinge" , xen-devel@lists.xensource.com, "Andrew Lyon" Date: Monday, February 2, 2009, 9:40 AM On Mon, 2009-02-02 at 06:04 -0800, Boris Derzhavets wrote: > make modules_install install > [...] > Loading Dom0 > ************************** > elf_init: not an ELF binary >=20 Only extremely recent xen-unstable hypervisors (circa last week) can load a bzImage format kernel for dom0 (which is what "make install" will have given you) -- you need to use the vmlinux file from the toplevel of the kernel build directly (optionally stripped+gzipped) or upgrade your hypervisor. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-287671049-1233591714=:42399 Content-Type: text/html; charset=us-ascii
  I've removed Xen 3.3.1 and installed the most recent unstable Xen Hypervisor.

# cd /usr/src/xen-3.3.1
# make uninstall
# cd ..
# hg clone http://xenbits.xensource.com/xen-unstable.hg
# cd xen-unstable.hg
# make xen
# make install-xen
# make tools
# make install-tools

Tried following two options:-

title Xen 3.4 / Ubuntu 8.10, kernel 2.6.29-tip
uuid   c841c5e9-8eb2-4e47-b36e-6796e5ce6ce6
kernel /boot/xen-3.4.gz
module /boot/vmlinuz-2.6.29-rc3-tip root=/dev/sdb1 ro console=tty0 earlyprintk=xen pci=nomsi
module /boot/initrd-2.6.29-rc3-tip.img

******************************************************************
Loading starts up and drops to stack trace immediately after
SATA link up ..
SATA link up ..
*******************************************************************


title Xen 3.4 / Ubuntu 8.10, kernel 2.6.27-xen
uuid   c841c5e9-8eb2-4e47-b36e-6796e5ce6ce6
kernel /boot/xen-3.4.gz
module /boot/vmlinuz-2.6.27.5 root=/dev/sdb1 ro console=tty0
module /boot/initrd-2.6.27.5.img

***************************************************
Seems to work OK with Novell's Xen-ified kernel
***************************************************

--- On Mon, 2/2/09, Ian Campbell <Ian.Campbell@citrix.com> wrote:
From: Ian Campbell <Ian.Campbell@citrix.com>
Subject: [Xen-devel] Re: Attempt to load 2.6.29-rc3 with pv_ops suppot f or Dom0 under Xen 3.3.1 Hypervisor
To: bderzhavets@yahoo.com
Cc: "Todd Deshane" <deshantm@gmail.com>, "Jeremy Fitzhardinge" <jeremy@goop.org>, xen-devel@lists.xensource.com, "Andrew Lyon" <andrew.lyon@gmail.com>
Date: Monday, February 2, 2009, 9:40 AM

On Mon, 2009-02-02 at 06:04 -0800, Boris Derzhavets wrote:
> make modules_install install
> [...]
> Loading Dom0
> **************************
> elf_init: not an ELF binary
>

Only extremely recent xen-unstable hypervisors (circa last week) can
load a bzImage format kernel for dom0 (which is what "make install"
will
have given you) -- you need to use the vmlinux file from the toplevel of
the kernel build directly (optionally stripped+gzipped) or upgrade your
hypervisor.

Ian.


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

--0-287671049-1233591714=:42399-- --===============0446746275== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0446746275==--