[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Update DomU - Debian 11 - no loader found - Invalid kernel


  • To: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Ronny Wagner <r.wagner@xxxxxxxxx>
  • Date: Wed, 8 Sep 2021 15:47:06 +0000
  • Accept-language: de-DE, en-US
  • Authentication-results: as01.licoho.de/45D419C8FF; dkim=pass (2048-bit key; secure) header.d=licoho.de header.i=@licoho.de header.b="aOfuNyDO"; dkim-atps=neutral
  • Delivery-date: Wed, 08 Sep 2021 15:48:02 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=licoho.de; h=from:to:subject :date:message-id:references:in-reply-to:mime-version :content-type; q=dns; s=dkim; b=ptzwTK1S9I/5iKbi1fyQNrNhy2GzL+rR jFIWg1jS83533qFyeXOVhVIdPPyk5pJbMAMxxLPe1MlvEXpLk4N4LGa63T7dnp7S 4aQoQ8HAtBPVkwV2qM+7smhny4E2PErKP3YZk27qWuo1VTj4PAFgCa7i1WzJAFvB D27/vo1CQv4qnsU+PVsHSxkftWrIzneqJcDvRqE712e8g8AJ+nfdZ79rZ2IjBn/H qtJRAeKmZpbZRP/5l2882LPH0od/Coad/v/GLVVILen0hHwHIjgjyKq/vwk6oViS m65DYW5S1fqpO3KwOaGs9mgjclYsarrtm3HcpsTZyAL8db6I9CQpRw==
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Thread-index: Adekt5lqbqjIFRkOSWeGjbByMf90lv//7IwA///L+AA=
  • Thread-topic: Update DomU - Debian 11 - no loader found - Invalid kernel

Hi,

i use the /boot/grub/menu.lst:

default         0
timeout         2
title           Debian GNU/Linux 10
root            (hd0,0)
kernel          /vmlinuz root=/dev/xvda2 ro elevator=noop
initrd          /initrd.img

title           Debian GNU/Linux
root            (hd0,0)
kernel          /boot/vmlinuz-4.19.0-17-686-pae root=/dev/xvda2 ro elevator=noop
initrd          /boot/initrd.img-4.19.0-17-686-pae

$ ls -l /
lrwxrwxrwx   1 root root        28 Sep  8 14:41 initrd.img -> 
boot/initrd.img-5.10.0-8-686-pae
lrwxrwxrwx   1 root root        25 Sep  8 14:41 vmlinuz -> 
boot/vmlinuz-5.10.0-8-686-pae

I don't understand "no loader found", i can change to 4.19.0-17 and the DomU 
started, but not with the 5.10.0-8.

Thanks for helping.

Ronny

-----Ursprüngliche Nachricht-----
Von: Xen-users <xen-users-bounces@xxxxxxxxxxxxxxxxxxxx> Im Auftrag von J. 
Roeleveld
Gesendet: Mittwoch, 8. September 2021 16:35
An: xen-users@xxxxxxxxxxxxxxxxxxxx
Betreff: Re: Update DomU - Debian 11 - no loader found - Invalid kernel

On Wednesday, September 8, 2021 4:04:08 PM CEST Ronny Wagner wrote:
> Hello,
> 
> i use a Debian 10 Host (Dom0) with Xen 4.14.2.
> 
> I update a Debian (i386) DomU from buster to bullseye with the new kernel
> 5.10.0-8-686-pae.
> 
> When i reboot the DomU, there is a fail message and the DomU don't start:
> xc: error: panic: xc_dom_core.c:693: xc_dom_find_loader: no loader found:
> Invalid kernel libxl: error: libxl_dom.c:578:libxl__build_dom:
> xc_dom_parse_image failed libxl: error:
> libxl_create.c:1576:domcreate_rebuild_done: Domain 40:cannot (re-)build
> domain: -3 libxl: error: libxl_domain.c:1182:libxl__destroy_domid: Domain
> 40:Non-existant domain
> 
> DomU: ls -l /boot
> -rw-r--r-- 1 root root       83 Aug  3 07:50 System.map-5.10.0-8-686-pae
> -rw-r--r-- 1 root root   236162 Aug  3 07:50 config-5.10.0-8-686-pae
> -rw-r--r-- 1 root root 23537504 Sep  8 14:44 initrd.img-5.10.0-8-686-pae
> -rw-r--r-- 1 root root  4983136 Aug  3 07:50 vmlinuz-5.10.0-8-686-pae
> 
> I can use the old kernel linux-image-4.19.0-17-686-pae and boot the DomU.
> 
> DomU.cfg
> bootloader = '/usr/local/lib/xen/bin/pygrub'
> vcpus       = '4'
> memory      = '768'
> disk        = [
>                   '/dev/vg0/DomU-disk,raw,xvda2,rw',
>                   '/dev/vg0/DomU-swap,raw,xvda1,rw'
>               ]
> uuid = "XXXXXX"
> vif         = [ 'ip=X.X.X.X, mac=XXXXXXXXXXXX' ]
> boot="c"
> apic=1
> acpi=1
> pae=1
> serial="pty"
> sdl=0
> keymap="de"
> usb=1
> stdvga=1
> on_poweroff = 'destroy'
> on_reboot   = 'restart'
> on_crash    = 'restart'
> 
> Anybody any ideas why and how i solve the problem?
> 
> Thanks for any help ??
> 
> Ronny

Did you update the grub.cfg file (MANUALLY) on the DOMU to point to the new 
kernel?
I don't use pygrub myself, but I understand it accesses the grub.cfg file to 
determine the kernel-image to use.

--
Joost



Attachment: smime.p7s
Description: S/MIME cryptographic signature


 


Rackspace

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