Bug 1173167
Summary: | Corrupted ACPI tables in some configurations using pc-i440fx-rhel7.0.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Eduardo Habkost <ehabkost> | ||||
Component: | qemu-kvm-rhev | Assignee: | Eduardo Habkost <ehabkost> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.1 | CC: | armbru, atheurer, dgilbert, hhuang, huding, juzhang, lersek, pbonzini, qiguo, tlavigne, virt-maint, xfu, ypu | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-kvm-rhev-2.1.2-17.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-03-05 09:57:37 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Eduardo Habkost
2014-12-11 15:06:43 UTC
Bug is not present if using machine-type pc-i440fx-rhel7.1.0. Simplified command-line to reproduce the bug: /usr/libexec/qemu-kvm -nodefaults -serial stdio -machine pc-i440fx-rhel7.0.0,accel=kvm -m 2048 -smp 40,sockets=2,cores=10,threads=2 -numa node,nodeid=0,cpus=0-19 -numa node,nodeid=1,cpus=20-39 -drive if=virtio,file=/var/lib/libvirt/images/Fedora-x86_64-20-20131211.1-sda.qcow2,format=qcow2 Bug can't be reproduced if not using -numa. Bug can't be reproduced if using: 8 cores per socket and 32 VCPUs: /usr/libexec/qemu-kvm -nodefaults -serial stdio -machine pc-i440fx-rhel7.0.0,accel=kvm -m 2048 -smp 32,sockets=2,cores=8,threads=2 -numa node,nodeid=0,cpus=0-15 -numa node,nodeid=1,cpus=16-31 -drive if=virtio,file=/var/lib/libvirt/images/Fedora-x86_64-20-20131211.1-sda.qcow2,format=qcow2 Bug is triggered by the legacy_acpi_table_size=6418 line on pc_compat_rhel700(). When reproducing the bug I see the ACPI table size warning: qemu-system-x86_64: Warning: migration may not work. qemu-system-x86_64: Warning: migration may not work. <ehabkost> I think I found it <ehabkost> we are using max_cpus instead of apic_id_limit Fix submitted upstream: From: Eduardo Habkost <ehabkost> To: qemu-devel, qemu-stable Cc: Paolo Bonzini <pbonzini>, Laszlo Ersek <lersek>, "Michael S. Tsirkin" <mst> Subject: [PATCH] acpi: Use apic_id_limit when calculating legacy ACPI table size Date: Fri, 12 Dec 2014 14:38:36 -0200 Message-Id: <1418402316-31738-1-git-send-email-ehabkost> Fix included in qemu-kvm-rhev-2.1.2-17.el7 Reproduced this bug with qemu-kvm-rhev-2.1.2-16.el7.x86_64 Steps: 1.Boot guest with numa : # /usr/libexec/qemu-kvm -nodefaults -serial stdio -machine pc-i440fx-rhel7.0.0,accel=kvm -m 2048 -smp 40,sockets=2,cores=10,threads=2 -numa node,nodeid=0,cpus=0-19 -numa node,nodeid=1,cpus=20-39 -cpu SandyBridge -k en-us -boot menu=on -monitor stdio -vnc :1 -drive file=rhel7.1.qcow2,if=none,id=drive-virtio-disk,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,scsi=off,drive=drive-virtio-disk,id=disk0,bootindex=1 -vga std -boot menu=on -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=00:01:02:B6:40:27,bus=pci.0 Results: 1.qemu report 'qemu-kvm: Warning: migration may not work.' 2.From guest dmesg: # dmesg | egrep -i 'numa|srat|acpi' [ 0.000000] ACPI: RSDP 00000000000f1ff0 00014 (v00 BOCHS ) [ 0.000000] ACPI: \xfffffffd\xfffffffb?? 000000007ffff6d8 00000 (v208 \xffffffd0?A?\xffffffff\xffffffff \xffffffff\xffffffff\xffffffff\xffffffffCPU 6F420033 chs 04200400) [ 0.000000] ACPI BIOS Error (bug): Invalid table length 0x0 in RSDT/XSDT (20130517/tbutils-513) [ 0.000000] No NUMA configuration found [ 0.143141] ACPI: Interpreter disabled. [ 0.150480] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI [ 0.189977] pnp: PnP ACPI: disabled [ 7.913138] ACPI Exception: AE_BAD_PARAMETER, Thread 918146976 could not acquire Mutex [0x1] (20130517/utmutex-285) So this bug is reproduced Verify this bug with qemu-kvm-rhev-2.1.2-17.el7.x86_64 Steps as above Results: No infos from qemu, and just work fine of dmesg of guest, will attach the dmesg logs about numa/srat/acpi. Created attachment 971907 [details]
verified by the logs of dmesg in guest
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0624.html |