You are not logged in.

#1 2011-05-08 07:08:03

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 77
Website

[solved] stock kernel boot on xen fail

Hi all,

I install the archlinux on xen (http://prgmr.com/xen/) with the formal kernel

when boot the system, I get this error
xc_dom_probe_bzimage_kernel: unknown compression format

Anyone know how to solve it?

Last edited by hongy19 (2011-05-08 13:15:15)

Offline

#2 2011-05-08 09:50:23

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,304
Website

Re: [solved] stock kernel boot on xen fail

I'm not sure how prgmr do their Xen, but I'll take a stab that maybe you're using an xz compressed initrd? Try switching to gz

Offline

#3 2011-05-08 13:17:41

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 77
Website

Re: [solved] stock kernel boot on xen fail

Thanks for your reply. I have changed to use kernel26-xen from aur and it works.

It seems that the stock kernel uses xz to compress bzImage. And pygrub should only support gzip bzImage (https://bugzilla.redhat.com/show_bug.cgi?id=515831) for xen3.x. For xen4.0, lzma and bzip2 are supported
(http://wiki.xensource.com/xenwiki/Xen4.0)

[hongy19@Archlinux linux-2.6.38-ARCH]$ cat .config |grep -i config_kernel
# CONFIG_KERNEL_GZIP is not set
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
CONFIG_KERNEL_XZ=y
# CONFIG_KERNEL_LZO is not set

So I guess the stock kernel could not used with xen right now.


fukawi2 wrote:

I'm not sure how prgmr do their Xen, but I'll take a stab that maybe you're using an xz compressed initrd? Try switching to gz

Last edited by hongy19 (2011-05-08 14:04:53)

Offline

#4 2011-05-08 14:54:57

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,304
Website

Re: [solved] stock kernel boot on xen fail

IIRC, the standard Arch kernel doesn't include PVOPS either so you're better off with the AUR kernel anyway.

Offline

#5 2011-05-12 14:14:06

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 77
Website

Re: [solved] stock kernel boot on xen fail

I have double check, the stock x86_64 kernel support xen, but it is compressed by lzma and not support by my xen sever. The stock i688 doesn't support xen due to highmem. (see FS#24207)

So kernel26-xen is my best choice.

Offline

Board footer

Powered by FluxBB