| 
  
  
     Hello, 
    we've been running Xen as our hypervisor for many years now, with
      Debian being both the host OS and the guest OS in each VM. But
      since Debian 13, their kernel for whatever reason can't boot
      anymore on Xen with the error messages: 
     
     
    Loading Linux 6.12.48-amd64 ... 
      error: not xen image. 
      Loading initial ramdisk ... 
      error: you need to load the kernel first. 
       
      Press any key to continue... 
     
     
    A different kernel compiled by myself based on the config of an
      older 6.12.x config from Debian still boots, but I really can't
      figure out what difference between them actually causes it to not
      be able to boot anymore. I even went through the Gentoo Wiki [1],
      where I could actually find differences, but I got no clue how to
      resolve them (and also I don't know if they even make a
      difference): 
    
      - "Support for running as a PVH guest" doesn't seem to be an
        option anymore, the option is now called "Xen PVH guest support"
 
      - "Bus options (PCI etc.) -> Xen PCI Frontend" seems to be
        entirely gone
 
     
    Sure, some modules are market as M in Debian's config compared to
      the Gentoo wiki, but that was also the case in the past. Does
      anybody have a full list of kernel configs needed for a Linux
      kernel to boot on Xen? For reference, these are our configs for
      the Xen guests: 
     
     
    name = "ts" 
      type = "pv" 
      kernel = "/usr/lib/grub-xen/grub-x86_64-xen.bin" 
      memory = 4096 
      maxmem = 4096 
      vcpus = 4 
      maxvcpus = 4 
      disk = [ 'phy:/dev/xen-guests/ts,sda,w' ] 
      vif = [ 'mac=00:16:3e:33:b7:3f,bridge=xenbr0' ] 
      acpi = 1 
      pus="6-31" 
      device_model_version = "qemu-xen" 
      device_model_override = "/usr/bin/qemu-system-x86_64" 
     
     
    Best regards 
    Richard 
     
     
    [1]:
https://wiki.gentoo.org/wiki/Xen#Creating_an_unprivileged_domain_.28domU.29 
  
  
 |