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

Re: Kernel config for Linux guest


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Volker Weber <xen-users@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 28 Oct 2025 20:19:52 +0100
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1761679192; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=B8G8KPa8En5uB7ohT/zeeYa8UBf3WJQLtd7+D3oLUvg=; b=LBMnSM0Pcfhl25VWi0dmPt/oWC9tse5qczHjpkndxmaRnW0XYfRCgWh24O2+qA0hf6 Y45+twpLz6sL+yE41Qc1O3GlmJZuJqLWXUx+hqxSZT0qcPuZSl7xn+I+8ctdb8J9u3mS VUtM8frHmpCJKSvvtKLakcoQEv8f/ZdjgLBTknyG6Rv0+IilemCM6YbfIfc4N7ugZHOg ajdlZH4Xc9b9dYuRgn0jNS9uqPeY8rXUk3uBx2Gx4zqEBwavFxZ41TRg213RhS+JF5Gx 5KRrL0m/7F2SrTMgV3AIrBHZ0+8xb1hoPrPVNjcE2KB6DpRDxv2jcX+rIBIPxGQdnzMe +uaQ==
  • Arc-seal: i=1; a=rsa-sha256; t=1761679192; cv=none; d=strato.com; s=strato-dkim-0002; b=kri1VAk4G5aFUVJH40j+lOquA4eiAib2Ry6gGeJ0SZX3H96uIe8m25hgSSHlUdgL0x 7yxjoi4ZAyiCM4vSiJNKVMjK/wYfwf2TmByOEb3FeIUiUtYgb/FBrU+tduKgVZofGUuf eng0fZUOTkDoLPUUTUvWyoAJDSy6EMagOwuv4twx16Q0iL2r7lQq39BKhyzUhehlvAVB jpSAhPTUptSAd0TPtJ9oT7UpIB3xIBkaVCzKOC8vAoMp3rHhyWDuvp5FaS2I9wWBEyin CphoiEmsPNDMtyIdOk+9TQZ92o+2KXKPeakILMs5dIGjCRbNdnVQv09NdNtM6yAYhtg5 WB4Q==
  • Delivery-date: Tue, 28 Oct 2025 19:20:47 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

Hi,

i run into this around a month before. Seems to be a Problem in the grub bootloader:
https://bugs-devel.debian.org/cgi-bin/bugreport.cgi?bug=1102066

regards

  Volker Weber

Am 28.10.25 um 15:27 schrieb Richard Rosner:
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

Attachment: volker.vcf
Description: Text Data


 


Rackspace

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