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

Kernel config for Linux guest


  • To: XEN-USERS@xxxxxxxxxxxxxxxxxxxx
  • From: Richard Rosner <richard@xxxxxxxxxxxxxxxx>
  • Date: Tue, 28 Oct 2025 15:27:58 +0100
  • Delivery-date: Tue, 28 Oct 2025 14:28:45 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Ui-outboundreport: notjunk:1;M01:P0:mz7m5OVxvFA=;7pZibe+0NdH9gTcGjqkoseHNx4f B/MQ2l/FyobMz/V1jxJFI4qWzt6VugVG3z0U6b/AN1rbLdlOEP0pnmlFWToRYR4Flz4IN6DBt QECIei4KzYxzj1scPYC11RFMAefFo9T+6XOYc+Z4aRlRfypefwzafy7Ie7Rh9YSAMPb0T9UDK 3fkp2aOuSlbmUZAhRd/nVis0Wgq0BwlV/IQU5UERdPP/I78AOwmdncqchZxFVqqCVDOerPwCd Huf7mdd+2AJal/wl211TFrdLjayNZOH7N6l6setZFODNsMdd+Vy7uZM321CclIMYlK/UI89FM wORxq04h93f6DYc1XXfWayh68C9amYiPgWV/wg9jCa7Ev5dEC1D0wERGiESG02WvU8H/U0kI/ XnlAUFxwNaXuyrwnZEAHhICtsJj+9LHcn68bxTd2uAUPZ4VH532W57D7fsqSaS3Ey1/YN3kch WtkEYHYa3/a0+Rc9/bp5lpyRgYwbSd58BPNndpDiJAp1+l+qI6BY8qufnQ7DDI3qTMQGodDV8 yrSk4xStl56c2c7J3zHUJIFEnCxY0ywWSXs+AbYXkChkv+B41peN8lvmWttKEN4fw5DhHfy/O 1mTBnE+2ZCOVEFvO+kIQmglY3uTMNZOA6ZVUtWoRnMxu4JQlXcmfbT7pAZZGgvGQV5KtmdsHT U1O6wSmCz5zKaLJHHrpoZ+TW3dnDTz0jjwYudwNeZq/sYkPScsE9+3cH0+Ebe0FlsofHirhn3 SzF995cCsTdkV0ovNajuPhXQA4z8PbdSK+7+sz65fQ+MhmyRpUSlJLCsxBZq4SVjwFmjsWgSW NGghrUj9kaMSSGoLb8us8j44K2HTNtdt0kQN0f0VULjLgvg7QO5U7oP/X+TOUGpyC07p/s43T UMAH6PErQfUnouXxn68LU+zm//6a8O4htnDXF3KixqMwmBG8ntc0Z7J1jcRwBMo9fSEwgfKJ0 tDMEjmkZXIPWRZx3QuVoHK7KpTn08DO8uXEpE3ErUBxyb5/frxeJk28tX5YJmKbkkMdjV+FDM AdNE7uTx/xAHLS+sL6EdDGxJGjiBFa1Vlcjv4yFu9YtdjkWYUSupDxfYw39D5u9CQVZNISWWP F6W1qg72c3fhiwA4F0s1O3VSrhz1dahiFXiyriR4l7131xUGn/ckkeztbvmJn/G8dy5uII+xV qPDVcQxWuccnrNCnT+R5tb74TkrtnD7NMnK2bImSAjE+WUSvIWikNzWXbAWcDWSw+0wxjP8Z2 vLnXT0KIiXgDTx/CIE7J021GijNCj4bgPxavdFUeXPGaNxwHSMIdFlNoJOFzBXjS7NQDRWz0T LWPFKHjEWh/gbqEgweH/Ez2e3vOghQjicj04whGnrFwUohvhu7hPFm6XYnU0cXVnAu1wqg+PX Zbh/u3BhLhn29aFSnkpjooZu8sLxZ+sUR87ytkW1uFWZ2BUu6UkXQ700COc6tZGChgCDAYaEt aMvyprWbvqkaiSoz2R4UuJzHunk/rqg1H+/DmA9XLzuQZ4e8fKu5eryYim/gNuab4BWpJLUas e2U1TyGz2Ym4YgpzMn3sW8X+uK4oMkpbTwJvJXXB12c1X8H+QhOpBMYCRizeMPmCfRxJ7nYCb a3h5fvRjmuRHGLTmxw5amasfIK+P29r1mDsPG9wZc0c4fhG0Zs7VAQ/Wl3+ReyPZXwbqiyghP w=

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


 


Rackspace

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