Displaying 11 results from an estimated 11 matches for "xc_dom_probe_bzimage_kernel".
2012 Feb 17
2
kernel is not a bzImage
Hello list,
Since a few months I get the following error after I have recompiled
Xen from hg, xen-4.1-stable or xen-unstable:
ERROR Invalid kernel: xc_dom_probe_bzimage_kernel: kernel is not a
bzImage
This comes from domU''s that are configured to use pv-grub. As a
workaround I do have a working pvgrub-x86_64.gz from an earlier compile
so I''m using that without problems. But new compiles always fail for me.
How come?
Thanks,
-Mark
2020 Oct 12
1
LZ4 Kernel Decompression not supported
I am running XEN on CentOS Linux release 7.8.2003
I have a Debian 7, and two Gentoo DomU Guests running fine.
I am trying to get an Ubuntu 20.04 DomU Guest running but I get this error when trying to run the netboot kernel image
xc_dom_probe_bzimage_kernel unable to LZ4 decompress kernel
I understand that CentOS Xen does not support LZ4 decompression.
Is there a workaround for this?
Regards
Francis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/2020...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
..._blob + elf_offset(params);
+ if ( !elf_is_elfbinary(elf) )
+ {
+ if ( verbose )
+ xc_dom_panic(XC_INVALID_KERNEL, "%s: bzImage does not contain ELF image\n",
+ __FUNCTION__);
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static int xc_dom_probe_bzimage_kernel(struct xc_dom_image *dom)
+{
+ return check_bzimage_kernel(dom, 0);
+}
+
+static int xc_dom_parse_bzimage_kernel(struct xc_dom_image *dom)
+{
+ int rc;
+ struct boot_params *params;
+ struct elf_binary *elf;
+ unsigned offset;
+
+ rc = check_bzimage_kernel(dom, 1);
+ if ( rc !=...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
..._blob + elf_offset(params);
+ if ( !elf_is_elfbinary(elf) )
+ {
+ if ( verbose )
+ xc_dom_panic(XC_INVALID_KERNEL, "%s: bzImage does not contain ELF image\n",
+ __FUNCTION__);
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static int xc_dom_probe_bzimage_kernel(struct xc_dom_image *dom)
+{
+ return check_bzimage_kernel(dom, 0);
+}
+
+static int xc_dom_parse_bzimage_kernel(struct xc_dom_image *dom)
+{
+ int rc;
+ struct boot_params *params;
+ struct elf_binary *elf;
+ unsigned offset;
+
+ rc = check_bzimage_kernel(dom, 1);
+ if ( rc !=...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
..._blob + elf_offset(params);
+ if ( !elf_is_elfbinary(elf) )
+ {
+ if ( verbose )
+ xc_dom_panic(XC_INVALID_KERNEL, "%s: bzImage does not contain ELF image\n",
+ __FUNCTION__);
+ return -EINVAL;
+ }
+
+ return 0;
+}
+
+static int xc_dom_probe_bzimage_kernel(struct xc_dom_image *dom)
+{
+ return check_bzimage_kernel(dom, 0);
+}
+
+static int xc_dom_parse_bzimage_kernel(struct xc_dom_image *dom)
+{
+ int rc;
+ struct boot_params *params;
+ struct elf_binary *elf;
+ unsigned offset;
+
+ rc = check_bzimage_kernel(dom, 1);
+ if ( rc !=...
2011 Mar 01
0
Debian 6.0 + Xen 4.0.1 + remus : "Error: (2, ''Invalid kernel'', ''xc_dom_find_loader: no loader found\n'')"
...ot/initrd.img-2.6.18.8"
xc_dom_malloc_filemap : 37 MB
xc_dom_boot_xen_init: ver 4.0, caps xen-3.0-x86_64 xen-3.0-x86_32p
xc_dom_parse_image: called
xc_dom_find_loader: trying ELF-generic loader ... failed
xc_dom_find_loader: trying Linux bzImage loader ...
xc_dom_bzimageloader.c:357: panic: xc_dom_probe_bzimage_kernel: boot
protocol too old (0204)
failed
xc_dom_find_loader: trying multiboot-binary loader ... failed
xc_dom_core.c:517: panic: xc_dom_find_loader: no loader found
xc_dom_release: called
I have built my linux-2.6.18-xen.hg kernel this way :
hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
c...
2013 Jan 04
1
failed to run xen3.x
I want to run the examples of a book titled "The Definitive Guide to the Xen
Hypervisor", but Xen4.x seems not support the examples and says something
like
xc: error: panic: xc_dom_bzimageloader.c:607: xc_dom_probe_bzimage_kernel:
kernel is not a bzImage: Invalid kernel
So I have to install Xen3.4. On vmware, I follow the instructions from
Internet to install Ubuntu 1004 with kernel 2.6.32-33, download a new kernel
(2.6.31-8) and its patch (xen-patch-2.6.31-10) for dom0. But after I compile
xen and the new kernel, I failed...
2012 Jan 31
2
Bug#658100: xl: hangs in qemu-dm when trying to run PV domU
...:/etc/xen# cat kfreebsd9.cfg
name = "kfreebsd9"
#kernel = "/boot/vmlinuz-3.2.0-1-686-pae"
kernel = "/boot/kfreebsd-9.0-1-xen.gz"
memory = 256
movax-dev:/etc/xen# xl create kfreebsd9.cfg -c
Parsing config file kfreebsd9.cfg
xc: error: panic: xc_dom_bzimageloader.c:556: xc_dom_probe_bzimage_kernel: kernel is not a bzImage: Invalid kernel
Daemon running with PID 11583
WARNING: loader(8) metadata is missing!
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992,...
2013 Mar 15
0
[PATCH 4.1] Add DomU xz kernel decompression
...struct xc_dom_image *dom, void **blob, size_t *size)
+{
+ DOMPRINTF("%s: XZ decompress support unavailable",
+ __FUNCTION__);
+ return -1;
+}
+
static int xc_try_lzma_decode(
struct xc_dom_image *dom, void **blob, size_t *size)
{
@@ -659,6 +686,17 @@ static int xc_dom_probe_bzimage_kernel(struct xc_dom_image *dom)
return -EINVAL;
}
}
+ else if ( check_magic(dom, "\3757zXZ", 6) )
+ {
+ ret = xc_try_xz_decode(dom, &dom->kernel_blob, &dom->kernel_size);
+ if ( ret < 0 )
+ {
+ xc_dom_panic(dom-&g...
2013 Sep 23
28
[PATCH 0/2] add LZ4 kernel decompression support
Linux 3.11 added respective support, so I think we should follow
suit.
1: xen: add LZ4 decompression support
2: libxc: add LZ4 decompression support
Signed-off-by: Jan Beulich <jbeulich@suse.com>
2012 Apr 24
21
no console when using xl toolstack xen 4.1.2
...ttach console
Daemon running with PID 851
[root@xentest2012 noauto]# xl console finnix
Unable to attach console
[root@xentest2012 noauto]# ls
domutest.cfg finnix.cfg
[root@xentest2012 noauto]# xl create -c domutest.cfg
Parsing config file domutest.cfg
xc: error: panic: xc_dom_bzimageloader.c:556: xc_dom_probe_bzimage_kernel: kernel is not a bzImage: Invalid kernel
Unable to attach console
Daemon running with PID 916
[root@xentest2012 noauto]# xl console domutest
Unable to attach console
[root@xentest2012 noauto]#
__END__
Firing up xend, it works just as you would expect.
Here are the configuration files:
finnix.c...