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

Unable to add disk/vif devices to DomUs


  • To: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Asier Alaña Alvarez de Eulate (Ingeteam Zamudio - Tech.) <Asier.Alana@xxxxxxxxxxxx>
  • Date: Tue, 8 Jul 2025 10:02:15 +0000
  • Accept-language: es-ES, en-US
  • Arc-authentication-results: i=2; mx.checkpointcloudsec.com; arc=fail (Most recent ARC-Message-Signature did not validate); dkim=fail header.d=ingeteam.com
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 52.138.216.130) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ingeteam.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ingeteam.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=checkpointcloudsec.com; s=arcselector01; t=1751968963; h=from : to : subject : date : message-id : content-type : mime-version; bh=+2lh3k4d6JwWTrURWGgIsmaneCWOfUmj54CplMAnQhg=; b=JmU+WADNZDluFBKBoAO6jvZvtSvC5B4yab7aR0pdniztwvddubF8oOloY8sG4yWDPOK98 LFi0oyRsfPubf2v6ghxUo31pLRsOHgyMrhU+XBI7MIFvR6x52KNf/li0aVcigaRJrDvwWw2 PJSNdH8QK4o1VqI2IzMCy7+A/iYormw=
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JmJMRgLgV2YcGu5byTpF6I1E8Iy3VhZ4uerADgugOQs=; b=fUIUTpwdgXy3Bv4N2mPRbjnmPYfnZQ0IPgPUTfp0KAR3WQA/WIgJBiWNFg6bgsn5R9HudPI7Hr7HS8QMvZzMUTwcSsFLfhxL3Q1AYmaZvLPRJYOrsbYrQ56RPw058V69ixFIU/PpWDePvgKnHMvHuc+AGAVWGjmsQ7wDtq1Ld3qz+QF/Jcorrlwdzh+RvMKLxa6dp9szYLTKnw8zp7H6dQIQkNbq7/osqzhfgFm4vX/IVVUeEyb9zG8vQ91LF/qnv0NZ+tSP9ZaaimM22OBj3an0UmgMZgson+5Sj9+YEblVJ1aGgcDbCbcw128XeOI3i2R/Cpg7dLJhdHh62pUSug==
  • Arc-seal: i=2; cv=fail; a=rsa-sha256; d=checkpointcloudsec.com; s=arcselector01; t=1751968963; b=hgOFwB8JEpuIUctDkxk0KdbQEeUKhiHDVtZr7RM9OEdPBqhh8DDvYk84KjNg8DAgw6QaP ZNc7bJ5E5M0TAY89Fga0L2Kp2ATJlOhyL/nVDJda8yJ9THMpY/ecgjaYPR5WYBEybBcVY9a osUNITlM1R25J9+zHRTb87iGsufSPuY=
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qj4Ilg7OtlLl3yQIl8ns9D81ftoFw6s+7xtfYL6rtyAQut8joWcxbIvHekn/l2QUyRtbXaHZmLwV2fxc6IoipKFHhziOkKEiIflFJrLGEbYDGZrzyvhJ48akxnp/RZFqgjIwncm7EVH0itBUxphILPambpwSF49GW8VGwsjc949DVr0XJ0/E84bnqks/DhrBC2992Wq3S+JwBdTphksz6+Y4KIQfGnC9rBTlm6lBzvL1wUwgxjdrgBS96mM0oQop1eAYVW894kleR/knHCUGhtVuIG9u+I0i1C3UgNXMmEh0Hes9xTU9Ku6yve3wqoPtCDcbdfD4TkjjQKeZBYkspw==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ingeteam.com;
  • Authentication-results-original: mx.checkpointcloudsec.com; arc=fail (Most recent ARC-Message-Signature did not validate); dkim=fail header.d=ingeteam.com
  • Delivery-date: Wed, 09 Jul 2025 13:21:32 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Msip_labels:
  • Thread-index: AQHb7+sH4QJhzUKdKEChPRz2Slf3GQ==
  • Thread-topic: Unable to add disk/vif devices to DomUs

Lately i've been trying to run Xen (ver. 4.19, but with 4.20 the same problem arises) on the latest Altera SoC FPGA Agilex5 065B card (ARM64 architecture), with a custom yocto linux as a Domain0 (kernel ver. 6.12.11, same for the DomUs), but with intentions of using a UbuntuServer in the future for the DomUs. I can run these new domains no problem, unless I try to add a 'disk' or 'vif' device. I've tried both files and disk partitions for the disk device, but neither seem to work. These domains are also minimal yocto linux images for ARM64. 

This is my test domains config file:
##################################################
name = "dom1"

kernel = "Image"

ramdisk = "custom.rootfs.cpio.gz"

#disk = ["file:/etc/xen/qemudisk.img,raw:xvda,rw"]
#disk = ["file:/etc/xen/custom.rootfs.cpio.gz,xvda,rw"]

#vif=[‘bridge=xenbr0’]

extra = "root=/dev/ram0 init=/bin/sh console=hvc0 rdinit=/sbin/init"

memory = 4096
##################################################

And when trying to add disk device or a vif interface the next error happens:

libxl: error: libxl_device.c:1194:device_backend_callback: Domain 9:unable to add device with path /local/domain/0/backend/vbd/9/51712 - rc -9
libxl: error: libxl_create.c:1707:domcreate_launch_dm: Domain 9:unable to add disk devices
libxl: error: libxl_device.c:1194:device_backend_callback: Domain 9:unable to remove device with path /local/domain/0/backend/vbd/9/51712 - rc -9
libxl: error: libxl_domain.c:1526:devices_destroy_cb: Domain 9:libxl__devices_destroy failed
libxl: error: libxl_domain.c:354:libxl_domain_info: Domain 9:Getting domain info: No such process
libxl: error: libxl_domain.c:1179:libxl__destroy_domid: Domain 9:Non-existant domain
libxl: error: libxl_domain.c:1133:domain_destroy_callback: Domain 9:Unable to destroy guest
libxl: error: libxl_domain.c:1060:domain_destroy_cb: Domain 9:Destruction of domain failed

The error is the same for disk and vif devices, except that where 'disk' appears is 'vif' instead.

I dont know if its useful, but the result of the xenstore-ls command is the following:

root@agilex5_dk_a5e065bb32aes1:/etc/xen# xenstore-ls
tool = ""
 xenstored = ""
local = ""
 domain = ""
  0 = ""
   control = ""
    feature-poweroff = "1"
    feature-reboot = "1"
    feature-suspend = "1"
   domid = "0"
   name = "Domain-0"
   device-model = ""
    0 = ""
     backends = ""
      vkbd = ""
      vfb = ""
     state = "running"
   backend = ""
    qnic = ""
     0 = ""
      1 = ""
       frontend = "/local/domain/0/device/vif/1"
       frontend-id = "0"
       hotplug-status = "connected"
       _online_ = "1"
       state = "4"
       feature-rx-copy = "1"
       feature-rx-flip = "0"
   device = ""
    vif = ""
     1 = ""
      backend = "/local/domain/0/backend/qnic/0/1"
      backend-id = "0"
      state = "4"
      mac = "52:54:00:12:34:56"
      tx-ring-ref = "520"
      rx-ring-ref = "521"
      event-channel = "5"
      request-rx-copy = "1"
      feature-rx-notify = "1"
      feature-sg = "1"
      feature-gso-tcpv4 = "1"
      feature-gso-tcpv6 = "1"
      feature-ipv6-csum-offload = "1"
 pool = ""
  0 = ""
   name = "Pool-0"
vm = ""
libxl = ""

Thanks in advance,

Asier

 

Asier Alaña Alvarez de Eulate
Control & Monitoring Systems AD





   
  
  

 

Firma 2023-10.png +34 944039600
Firma 2023-11.png Parque Tecnológico de Bizkaia, Edificio 106
48170, Zamudio, Spain

      






Este e-mail puede contener información reservada o confidencial destinada exclusivamente al destinatario o a la persona encargada de distribuirlo. Si por error usted no fuera el destinatario le rogamos nos lo comunique al mail gdpr.ingeteam@xxxxxxxxxxxx, sin difundir, almacenar o copiar su contenido. Consulte aquí nuestra Política de Privacidad.

This e-mail may contain reserved or confidential information intended exclusively for the addressee or the person in charge of distributing it. If by mistake you are not the addressee, please inform us at gdpr.ingeteam@xxxxxxxxxxxx, without spreading, storing or copying its content. See our privacy policy here.


 


 


Rackspace

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