[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 Fri, Mar 16, 2012 at 11:00 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
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.

Ian.

Hello Ian, 
Thanks for responding. 

Meanwhile I already got help of my university system administrators who figured out the problem. 
I was trying to install it on a 32 bit machine, and the fedora 16 dom0 page explicitly mention that I need to use PAE-kernel for the i686 version. (This bit of info was missing in the xen wiki though.)
http://fedoraproject.org/wiki/Features/XenPvopsDom0
When we tried yum install on the xen-pae, this particular error went away. 

-- 
Ranjith

--
Ranjith

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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