[PATCH 0/1][fgh:linux-kvm] Enable CONFIG_ACPI_HOTPLUG_MEMORY
Tim Gardner
tim.gardner at canonical.com
Fri Apr 23 16:37:54 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1925008
[Impact]
Memory hot-plugging is not working with public cloud-images. Error with dmesg shows:
[ 184.544535] acpi PNP0C80:00: Enumeration failure
checking kernel configuration:
root at ubuntu:/boot# uname -r
5.4.0-1038-kvm
root at ubuntu:/boot# grep CONFIG_ACPI_HOTPLUG_MEMORY config-5.4.0-1038-kvm
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
Obviously the necessary kernel configuration for ACPI memory hotplug is missing.
root at ubuntu:~# cat /etc/cloud/build.info
build_name: server
serial: 20210415
---
ProblemType: Bug
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: N/A
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
Lsusb-t: Error: command ['lsusb', '-t'] failed with exit code 1: /sys/bus/usb/devices: No such file or directory
Lsusb-v: Error: command ['lsusb', '-v'] failed with exit code 1:
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-1038-kvm root=PARTUUID=a204284f-e3de-498d-a306-c4e7f6b62831 ro console=tty1 console=ttyS0 panic=-1
ProcVersionSignature: Ubuntu 5.4.0-1038.39-kvm 5.4.101
RelatedPackageVersions:
linux-restricted-modules-5.4.0-1038-kvm N/A
linux-backports-modules-5.4.0-1038-kvm N/A
linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: focal uec-images
Uname: Linux 5.4.0-1038-kvm x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.12.0-1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-2.7
dmi.modalias: dmi:bvnSeaBIOS:bvr1.12.0-1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.7:cvnQEMU:ct1:cvrpc-i440fx-2.7:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-2.7
dmi.sys.vendor: QEMU
[Test Plan]
Boot a KVM instance and ensure there are no new kernel log errors.
See https://bugs.launchpad.net/cloud-images/+bug/1925008/comments/19 for Focal test results.
[Where problems could occur]
Adding memory could fail, or cause other configuration issues. Regressions seem
unlikely since this config option is enabled in all cloud kernels except linux-azure.
[Other Info]
See https://bugs.launchpad.net/cloud-images/+bug/1925008/comments/17 for the full QEMU
command.
More information about the kernel-team
mailing list