[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Panic on CPU0 : Unable to boot with Xen 4.1 on Fedora 16, manual grub2 config after compiling Xen from source

On Wed, 2012-03-07 at 19:34 +0000, Ranjith Krishnan wrote:
> 3. I only complied and installed Xen, not linux kernel ( because wiki
> says Fedora16 kernel is a valid Xen Dom0 Kernel ) according
> to http://wiki.xen.org/wiki/Fedora_16_Dom0
> Now when I boot with Xen 4.1, it gives me a Kernel panic and fails to
> load the dom0 kernel. Exact error message is
> 'elf_xen_note_check: ERROR: Will only load images built for the generic 
> loader or Linux images')
> PANIC on CPU0: 

I think it would be worth double checking the assumption that this
kernel supports Xen. It is also worth figuring out what the compresison
algorithm used is.

You could use the attached bzexplode.c to extract the cmpressed elf
from /boot/vmlinuz:
        $ bzexplode /boot/vmlinuz-3.2.7-1.fc16.i686 > vmlinux.compressed

Once you have that decompress it. e.g.
        $ file vmlinux.compressed
        e.g. ...gziped data...
        $ zcat vmlinux.compressed > vmlinux
        $ file vmlinux
        (should be an ELF file)

Then run "/usr/lib/xen/bin/readnotes vmlinux". If the kernel is Xen
capable then you should get some stuff output. Please post the output of
all the above commands.


Attachment: bzexplode.c
Description: Text Data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.