You are not logged in.

#1 2010-11-05 19:59:32

dergutemann
Member
Registered: 2010-10-11
Posts: 6

Xen Kernel Kompilation

Hello, i used the following Howto to compile a Xen Kernel.
With a Vanilla Kernel 2.6.3.4-7 and Xen Patches.

https://wiki.archlinux.org/index.php/Ke … ing_source

But on boot i got the message

"error 13: unsupported executable format"

on my kernel "file" says

                                                                                                                                                 
vmlinuz_dom0_2.6.34_test2: gzip compressed data, from Unix, last modified: Thu Nov  4 16:17:21 2010, max compression 

on my kernel as vmlinux-stripped file says

vmlinuz_dom0_2.6.34_test3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped

on orginal Kernel

vmlinuz26: Linux kernel x86 boot executable bzImage, version 2.6.35-ARCH (tobias@T-POWA-LX) , RO-rootFS, root_dev 0x903, swap_dev 0x1, Normal VGA                                                                 

I dont understand the difference, but only the orginalkernel is booting.

regards Stefan

Offline

#2 2010-11-06 17:10:42

dergutemann
Member
Registered: 2010-10-11
Posts: 6

Re: Xen Kernel Kompilation

I think i have it.
Xen deaktivates bzip and lzma as depency, cause past versions cant boot xenkernel. The next Question is, why Arch Linux dont boot gzipped kernelimages?
In the moment i compile a new kernel with manualy forced bzip compression, i hope this solves my problem.

Offline

#3 2010-11-06 22:02:10

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: Xen Kernel Kompilation

Actually, Arch boots gzip/lzma/bz2 compressed kernel-images. Have you activated the compression type in your mkinitcpio.conf? (--> last line in config file)

Offline

#4 2010-11-07 12:51:42

dergutemann
Member
Registered: 2010-10-11
Posts: 6

Re: Xen Kernel Kompilation

It was no Compression Type definied, after recreate the rd with new definition in mkinitcpio i have the same problem.
Then i have all the modules i need, ext2/3 sata, ide ... static in kernel compiled (i think i dont need then i dont need a initrd), but same end.
What is the miracle, i dont understand this

menu.lst

# Arch_XEN
title  Arch Linux XEN dom0 
root   (hd0,0)
kernel /boot/vmlinuz_dom0_2.6.34_test4 root=/dev/sda1 vga=773 ro
initrd /boot/vmlinuz_dom0_2.6.34_test4.img

Error

root   (hd0,0)
kernel /boot/vmlinuz_dom0_2.6.34_test4 root=/dev/sda1 vga=773 ro

Filesystem is ext2fs partition tpe 0x83

Error 13: invalid or unsupportet executable format

Offline

#5 2010-11-07 19:45:00

dergutemann
Member
Registered: 2010-10-11
Posts: 6

Re: Xen Kernel Kompilation

OK i see Grub ist the Problem, Grub dont accept the gzipped kernel and is not willing to boot this kernel.

Offline

Board footer

Powered by FluxBB