Results 1 to 10 of 11

Thread: Xen DomU won't boot via pygrub (lz4 decompression fails)

Threaded View

  1. #1
    Join Date
    Sep 2018
    Beans
    7

    Xen DomU won't boot via pygrub (lz4 decompression fails)

    Hello,

    I recently performed a system upgrade on one of my guest machines (Ubuntu) and found it was unable to boot. I get my pygrub menu showing kernel versions 5.3.0-23-generic (which fails) and 5.0.0.-36-generic (which still works):
    Code:
    xc: error: panic: xc_dom_bzimageloader.c:768: xc_dom_probe_bzimage_kernel unable to LZ4 decompress kernel                         : Invalid kernel
                                             xc: error: panic: xc_dom_core.c:692: xc_dom_find_loader: no loader found: Invalid kernel
                                                     libxl: error: libxl_dom.c:722:libxl__build_dom: xc_dom_parse_image failed
                                              libxl: error: libxl_create.c:1267:domcreate_rebuild_done: Domain 9:cannot (re-)build domain: -3
                                                             libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 9:Non-existant domain
    libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 9:Unable to destroy guest
    libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 9:Destruction of domain failed
    The host is running gentoo linux with xen 4.11.2. My best guess is that the 5.0.0-36 kernel was not LZ4 compressed, and 5.3.0-23 is... and pygrub doesn't know how to decompress it. I'd take the easier of:

    1. Disabling LZ4 compression for the kernel under Ubuntu
    or
    2. Enabling LZ4 compression on pygrub under Gentoo (located under the xen-tools package for version 4.11.2).

    How should I proceed? I'd actually prefer option 2, but I don't see any convenient Gentoo USE flags enabling LZ4 compression.
    Last edited by kshots; 3 Weeks Ago at 11:17 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •