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] Boot Panic on xen 3.4.1 with kernel compiled 2.6.31.5

To: Rémi BERNIER <R.BERNIER@xxxxxxxxxxx>
Subject: Re: [Xen-users] Boot Panic on xen 3.4.1 with kernel compiled 2.6.31.5
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 16 Nov 2009 16:14:31 +0200
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 16 Nov 2009 06:15:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF4F659216.6393D83C-ONC1257670.004A3864-C1257670.004DB8AE@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20091110181002.GF16033@xxxxxxxxxxx> <OF4F659216.6393D83C-ONC1257670.004A3864-C1257670.004DB8AE@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Nov 16, 2009 at 03:08:53PM +0100, Rémi BERNIER wrote:
>    Thanks Pasi for your answer,
> 
>    I have test my compilation with two format (gzip and bzip2) but it's the
>    same error.
>    Can you say me how to compiling xen 3.4.2.tar.gz with the kernel 2.6.31.5
> 
>    Thanks in advance !
> 

Xen:
        get xen-3.4.2.tar.gz and extract it
        cd xen-3.4.2
        make xen
        make tools
        make stubdom

        and the compiled binaries should be in dist/install/


pv_ops dom0 kernel:

Get Jeremy's pvops dom0 git tree based on instruction here:
http://wiki.xensource.com/xenwiki/XenParavirtOps

And compile it in the normal way:

cd linux-2.6-xen
wget -O .config 
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.4-pvops_dom0-x86_64
(or: wget -O .config 
http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.31.5-pvops_dom0-x86_32)

make oldconfig
make menuconfig
make bzImage
make modules
make modules_install
cp -a arch/x86/bzImage /boot/vmlinuz-version
cp -a System.map /boot/System.map-version
cp -a .config /boot/config-version

And then create initrd image based on the normal methods in your dom0
distribution.

Edit /boot/grub/grub.conf and you're ready to go.

-- Pasi

>    On Mon, Nov 09, 2009 at 02:24:57PM +0100, Rémi BERNIER wrote:
>    >    Hi everybody,
>    >
>    >    I would like tested xen 3.4.1 on a debian lenny with a compiled
>    kernel
>    >    (2.6.31.5 kernel.org with copy .config of my
>    config-2.6.26-2-xen-686),
>    >    all is ok on the compilation but when i boot with new configuration
>    on
>    >    grub,
>    >    I have a problem:
>    >
>    >     - elf_init: not an ELF binary, Panic on CPU 0
>    >
> 
>    Looks like your kernel image is not in proper format.
>    Is it Xen hypervisor giving that error?
> 
>    Did you build "make bzImage" dom0 kernel?
> 
>    What does "file vmlinuz-version" say about your kernel?
> 
>    -- Pasi

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