VM won't start after update from 6.13 to 6.14 RK3588 arm64

VM won’t start after update from 6.13 to 6.14 on OrangePi with Debian 12

Failed to run: forklimits limit=memlock:unlimited:unlimited fd=3 fd=4 -- /opt/incus/bin/qemu-system-aarch64 -S -name ns1 -uuid 9fb76ace-8360-4a08-8e30-af27973c12ab -daemonize -cpu host -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=deny -readconfig /run/incus/ns1/qemu.conf -spice unix=on,disable-ticketing=on,addr=/run/incus/ns1/qemu.spice -pidfile /run/incus/ns1/qemu.pid -D /var/log/incus/ns1/qemu.log -rtc base=2025-07-01T20:54:58 -smbios type=2,manufacturer=LinuxContainers,product=Incus -runas incus: : exit status 1

The, my qemu.log shows this:

qemu-system-aarch64: Addressing limited to 40 bits, but memory exceeds it by 9663676416 bytes

Can you show the content of /run/incus/ns1/qemu.conf?

Worth noting that there is an update rolling out in the next few hours which will almost certainly fix this for you, though that’s really just papering over the real issue, so I’d still appreciate the qemu.conf prior to updating.

Hi @stgraber, sure! This is my /run/incus/ns1/qemu.conf file:

# Machine
[machine]
graphics = "off"
accel = "kvm"
usb = "off"
type = "virt"
gic-version = "max"

[boot-opts]
strict = "on"

# Memory
[memory]
size = "4096M"
maxmem = "1048576M"
slots = "8"

# CPU
[smp-opts]
cpus = "1"
sockets = "1"
cores = "1"
threads = "1"

# Firmware (read only)
[drive]
if = "pflash"
format = "raw"
unit = "0"
readonly = "on"
file = "/opt/incus/share/qemu/OVMF_CODE.4MB.fd"

# Firmware settings (writable)
[drive]
if = "pflash"
format = "raw"
unit = "1"
file = "/dev/fd/4"

# Qemu control
[chardev "monitor"]
backend = "socket"
server = "on"
wait = "off"
path = "/run/incus/ns1/qemu.monitor"

[mon]
chardev = "monitor"
mode = "control"

# Console
[chardev "console"]
size = "1048576"
backend = "ringbuf"

# VM core info driver
[device "qemu_vmcoreinfo"]
driver = "vmcoreinfo"

[device "qemu_pcie0"]
addr = "1.0"
chassis = "0"
multifunction = "on"
driver = "pcie-root-port"
bus = "pcie.0"

# Balloon driver
[device "qemu_balloon"]
driver = "virtio-balloon-pci"
bus = "qemu_pcie0"
addr = "00.0"
multifunction = "on"

# Random number generator
[object "qemu_rng"]
qom-type = "rng-random"
filename = "/dev/urandom"

[device "dev-qemu_rng"]
driver = "virtio-rng-pci"
bus = "qemu_pcie0"
addr = "00.1"
rng = "qemu_rng"

# Input
[device "qemu_keyboard"]
driver = "virtio-keyboard-pci"
bus = "qemu_pcie0"
addr = "00.2"

# Input
[device "qemu_tablet"]
driver = "virtio-tablet-pci"
bus = "qemu_pcie0"
addr = "00.3"

# Vsock
[device "qemu_vsock"]
vhostfd = "3"
driver = "vhost-vsock-pci"
bus = "qemu_pcie0"
addr = "00.4"
guest-cid = "1975432680"

# Virtual serial bus
[device "dev-qemu_serial"]
driver = "virtio-serial-pci"
bus = "qemu_pcie0"
addr = "00.5"

# Serial identifier
[chardev "qemu_serial-chardev"]
size = "16B"
backend = "ringbuf"

[device "qemu_serial"]
name = "org.linuxcontainers.incus"
bus = "dev-qemu_serial.0"
chardev = "qemu_serial-chardev"
driver = "virtserialport"

[device "qemu_serial_legacy"]
name = "org.linuxcontainers.lxd"
bus = "dev-qemu_serial.0"
driver = "virtserialport"

# Spice agent
[chardev "qemu_spice-chardev"]
backend = "spicevmc"
name = "vdagent"

[device "qemu_spice"]
driver = "virtserialport"
name = "com.redhat.spice.0"
chardev = "qemu_spice-chardev"
bus = "dev-qemu_serial.0"

# Spice folder
[chardev "qemu_spicedir-chardev"]
backend = "spiceport"
name = "org.spice-space.webdav.0"

[device "qemu_spicedir"]
driver = "virtserialport"
name = "org.spice-space.webdav.0"
chardev = "qemu_spicedir-chardev"
bus = "dev-qemu_serial.0"

# USB controller
[device "qemu_usb"]
p3 = "8"
driver = "qemu-xhci"
bus = "qemu_pcie0"
addr = "00.6"
p2 = "8"

[chardev "qemu_spice-usb-chardev1"]
backend = "spicevmc"
name = "usbredir"

[device "qemu_spice-usb1"]
driver = "usb-redir"
chardev = "qemu_spice-usb-chardev1"

[chardev "qemu_spice-usb-chardev2"]
backend = "spicevmc"
name = "usbredir"

[device "qemu_spice-usb2"]
driver = "usb-redir"
chardev = "qemu_spice-usb-chardev2"

[chardev "qemu_spice-usb-chardev3"]
backend = "spicevmc"
name = "usbredir"

[device "qemu_spice-usb3"]
chardev = "qemu_spice-usb-chardev3"
driver = "usb-redir"

[device "qemu_pcie1"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "1.1"
chassis = "1"

# SCSI controller
[device "qemu_scsi"]
bus = "qemu_pcie1"
addr = "00.0"
driver = "virtio-scsi-pci"

[device "qemu_pcie2"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "1.2"
chassis = "2"

# Shared config drive (9p)
[fsdev "qemu_config"]
readonly = "on"
path = "/var/lib/incus/devices/ns1/config.mount"
fsdriver = "local"
security_model = "none"

[device "dev-qemu_config-drive-9p"]
bus = "qemu_pcie2"
addr = "00.0"
multifunction = "on"
mount_tag = "config"
fsdev = "qemu_config"
driver = "virtio-9p-pci"

# Shared agent drive (9p)
[fsdev "qemu_agent"]
security_model = "none"
readonly = "on"
path = "/opt/incus/agent/"
fsdriver = "local"

[device "dev-qemu_agent-drive-9p"]
driver = "virtio-9p-pci"
bus = "qemu_pcie2"
addr = "00.1"
mount_tag = "agent"
fsdev = "qemu_agent"

[device "qemu_pcie3"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "1.3"
chassis = "3"

# GPU
[device "qemu_gpu"]
addr = "00.0"
driver = "virtio-gpu-pci"
bus = "qemu_pcie3"

[device "qemu_pcie4"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "1.4"
chassis = "4"

[device "qemu_pcie5"]
chassis = "5"
driver = "pcie-root-port"
bus = "pcie.0"
addr = "1.5"

[device "qemu_pcie6"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "1.6"
chassis = "6"

[device "qemu_pcie7"]
chassis = "7"
driver = "pcie-root-port"
bus = "pcie.0"
addr = "1.7"

[device "qemu_pcie8"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "2.0"
chassis = "8"
multifunction = "on"

[device "qemu_pcie9"]
addr = "2.1"
chassis = "9"
driver = "pcie-root-port"
bus = "pcie.0"

[device "qemu_pcie10"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "2.2"
chassis = "10"

[device "qemu_pcie11"]
driver = "pcie-root-port"
bus = "pcie.0"
addr = "2.3"
chassis = "11"

[device "qemu_pcie12"]
bus = "pcie.0"
addr = "2.4"
chassis = "12"
driver = "pcie-root-port"

Oh, that’s higher than I’d have expected…

Can you show incus query /1.0/resources too?

{
"cpu": {
"architecture": "aarch64",
"sockets": [
{
"cache": [
{
"level": 1,
"size": 32768,
"type": "Data"
},
{
"level": 1,
"size": 32768,
"type": "Instruction"
},
{
"level": 2,
"size": 131072,
"type": "Unified"
},
{
"level": 3,
"size": 3145728,
"type": "Unified"
}
],
"cores": [
{
"core": 0,
"die": 0,
"flags": null,
"frequency": 1008,
"threads": [
{
"id": 0,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 0
},
{
"id": 4,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 1
},
{
"id": 6,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 2
}
]
},
{
"core": 1,
"die": 0,
"flags": null,
"frequency": 1008,
"threads": [
{
"id": 1,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 0
},
{
"id": 5,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 1
},
{
"id": 7,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 2
}
]
},
{
"core": 2,
"die": 0,
"flags": null,
"frequency": 1008,
"threads": [
{
"id": 2,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 0
}
]
},
{
"core": 3,
"die": 0,
"flags": null,
"frequency": 1008,
"threads": [
{
"id": 3,
"isolated": false,
"numa_node": 0,
"online": true,
"thread": 0
}
]
}
],
"frequency": 1008,
"frequency_minimum": 408,
"frequency_turbo": 1800,
"name": "Rockchip RK3588",
"socket": 0,
"vendor": "Rockchip"
}
],
"total": 8
},
"gpu": {
"cards": [
{
"driver": "panthor",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"drm": {
"card_device": "226:0",
"card_name": "card0",
"id": 0,
"render_device": "226:128",
"render_name": "renderD128"
},
"numa_node": 0
},
{
"driver": "rockchip-drm",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"drm": {
"card_device": "226:1",
"card_name": "card1",
"control_device": "226:1",
"control_name": "controlD65",
"id": 1
},
"numa_node": 0
}
],
"total": 2
},
"load": {
"Average10Min": 0.05,
"Average1Min": 0.06,
"Average5Min": 0.06,
"Processes": 278
},
"memory": {
"hugepages_size": 2097152,
"hugepages_total": 0,
"hugepages_used": 0,
"nodes": [
{
"hugepages_total": 0,
"hugepages_used": 0,
"numa_node": 0,
"total": 33295872000,
"used": 1653710848
}
],
"total": 33295872000,
"used": 720150528
},
"network": {
"cards": [
{
"driver": "r8169",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"firmware_version": "rtl8125b-2_0.0.2 07/13/20",
"numa_node": 0,
"pci_address": "0003:31:00.0",
"ports": [
{
"address": "c0:74:2b:fe:67:22",
"auto_negotiation": true,
"id": "enP3p49s0",
"link_detected": true,
"link_duplex": "full",
"link_speed": 1000,
"port": 0,
"port_type": "twisted pair",
"protocol": "ethernet",
"supported_modes": [
"10baseT/Half",
"10baseT/Full",
"100baseT/Half",
"100baseT/Full",
"1000baseT/Full",
"2500baseT/Full"
],
"supported_ports": [
"twisted pair",
"media-independent"
],
"transceiver_type": "internal"
}
],
"product": "RTL8125 2.5GbE Controller",
"product_id": "8125",
"vendor": "Realtek Semiconductor Co., Ltd.",
"vendor_id": "10ec"
},
{
"driver": "r8169",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"firmware_version": "rtl8125b-2_0.0.2 07/13/20",
"numa_node": 0,
"pci_address": "0004:41:00.0",
"ports": [
{
"address": "c0:74:2b:fe:67:23",
"auto_negotiation": true,
"id": "enP4p65s0",
"link_detected": true,
"link_duplex": "full",
"link_speed": 1000,
"port": 0,
"port_type": "twisted pair",
"protocol": "ethernet",
"supported_modes": [
"10baseT/Half",
"10baseT/Full",
"100baseT/Half",
"100baseT/Full",
"1000baseT/Full",
"2500baseT/Full"
],
"supported_ports": [
"twisted pair",
"media-independent"
],
"transceiver_type": "internal"
}
],
"product": "RTL8125 2.5GbE Controller",
"product_id": "8125",
"vendor": "Realtek Semiconductor Co., Ltd.",
"vendor_id": "10ec"
}
],
"total": 2
},
"pci": {
"devices": [
{
"driver": "pcieport",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"iommu_group": 9,
"numa_node": 0,
"pci_address": "0000:00:00.0",
"product": "RK3588",
"product_id": "3588",
"vendor": "Rockchip Electronics Co., Ltd",
"vendor_id": "1d87",
"vpd": {}
},
{
"driver": "nvme",
"driver_version": "1.0",
"iommu_group": 9,
"numa_node": 0,
"pci_address": "0000:01:00.0",
"product": "NVMe SSD Controller SM961/PM961/SM963",
"product_id": "a804",
"vendor": "Samsung Electronics Co Ltd",
"vendor_id": "144d",
"vpd": {}
},
{
"driver": "pcieport",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"iommu_group": 8,
"numa_node": 0,
"pci_address": "0002:20:00.0",
"product": "RK3588",
"product_id": "3588",
"vendor": "Rockchip Electronics Co., Ltd",
"vendor_id": "1d87",
"vpd": {}
},
{
"driver": "pcieport",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"iommu_group": 6,
"numa_node": 0,
"pci_address": "0003:30:00.0",
"product": "RK3588",
"product_id": "3588",
"vendor": "Rockchip Electronics Co., Ltd",
"vendor_id": "1d87",
"vpd": {}
},
{
"driver": "r8169",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"iommu_group": 6,
"numa_node": 0,
"pci_address": "0003:31:00.0",
"product": "RTL8125 2.5GbE Controller",
"product_id": "8125",
"vendor": "Realtek Semiconductor Co., Ltd.",
"vendor_id": "10ec",
"vpd": {}
},
{
"driver": "pcieport",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"iommu_group": 7,
"numa_node": 0,
"pci_address": "0004:40:00.0",
"product": "RK3588",
"product_id": "3588",
"vendor": "Rockchip Electronics Co., Ltd",
"vendor_id": "1d87",
"vpd": {}
},
{
"driver": "r8169",
"driver_version": "6.16.0-rc3-edge-rockchip64",
"iommu_group": 7,
"numa_node": 0,
"pci_address": "0004:41:00.0",
"product": "RTL8125 2.5GbE Controller",
"product_id": "8125",
"vendor": "Realtek Semiconductor Co., Ltd.",
"vendor_id": "10ec",
"vpd": {}
}
],
"total": 7
},
"storage": {
"disks": [
{
"block_size": 512,
"device": "179:0",
"device_id": "mmc-A3A564_0xf49010f0",
"device_path": "platform-fe2e0000.mmc",
"id": "mmcblk0",
"numa_node": 0,
"partitions": [
{
"device": "179:1",
"id": "mmcblk0p1",
"partition": 1,
"read_only": false,
"size": 247463936000
},
{
"device": "179:2",
"id": "mmcblk0p2",
"partition": 2,
"read_only": false,
"size": 1073741824
},
{
"device": "179:3",
"id": "mmcblk0p3",
"partition": 3,
"read_only": false,
"size": 1073741824
}
],
"read_only": false,
"removable": false,
"rpm": 0,
"serial": "0xf49010f0",
"size": 250139901952,
"type": "mmc"
},
{
"block_size": 512,
"device": "179:32",
"device_id": "",
"device_path": "platform-fe2e0000.mmc-boot0",
"id": "mmcblk0boot0",
"numa_node": 0,
"partitions": [],
"read_only": true,
"removable": false,
"rpm": 0,
"serial": "0xf49010f0",
"size": 4194304,
"type": "block"
},
{
"block_size": 512,
"device": "179:64",
"device_id": "",
"device_path": "platform-fe2e0000.mmc-boot1",
"id": "mmcblk0boot1",
"numa_node": 0,
"partitions": [],
"read_only": true,
"removable": false,
"rpm": 0,
"serial": "0xf49010f0",
"size": 4194304,
"type": "block"
},
{
"block_size": 512,
"device": "31:0",
"device_id": "",
"id": "mtdblock0",
"numa_node": 0,
"partitions": [],
"read_only": false,
"removable": false,
"rpm": 0,
"size": 16777216,
"type": "mtd"
},
{
"block_size": 512,
"device": "259:0",
"device_id": "nvme-eui.0025385271b10dc5",
"device_path": "platform-a40000000.pcie-pci-0000:01:00.0-nvme-1",
"firmware_version": "2B7QCXE7",
"id": "nvme0n1",
"model": "Samsung SSD 960 EVO 250GB",
"numa_node": 0,
"partitions": [
{
"device": "259:1",
"id": "nvme0n1p1",
"partition": 1,
"read_only": false,
"size": 250058113024
}
],
"pci_address": "0000:01:00.0",
"read_only": false,
"removable": false,
"rpm": 0,
"serial": "S3ESNX0J234178X",
"size": 250059350016,
"type": "nvme",
"wwn": "eui.0025385271b10dc5"
}
],
"total": 9
},
"system": {
"chassis": {
"serial": "7246EC90A225272B",
"type": "Embedded PC",
"vendor": "Orange Pi",
"version": "Orange Pi 5 Plus"
},
"family": "Orange Pi 5",
"firmware": {
"date": "04/09/2025",
"vendor": "EDK II",
"version": "v1.1"
},
"motherboard": {
"product": "Orange Pi 5 Plus",
"serial": "7246EC90A225272B",
"vendor": "Orange Pi",
"version": "0"
},
"product": "Orange Pi 5 Plus",
"serial": "7246EC90A225272B",
"sku": "0000000000000000",
"type": "physical",
"uuid": "00000000-0000-0000-7246-ec90a225272b",
"vendor": "Orange Pi",
"version": "0"
},
"usb": {
"devices": [],
"total": 0
}
}

Oh crap, I found the issue in the logic :slight_smile:

Anyway, the update that will be available in the next hour will take care of the issue and I’ll send a proper fix to fix my mistake.

Waiting for the update! :smiley:

Thank you so much.

1 Like

Updated Incus packages are built now and are publishing, should be live in around 5 minutes.

1 Like

Seems that just one of the tests fail: incusd/instance/qemu: Fix memory calculation logic · lxc/incus@60c8f08 · GitHub