Bug 2059311

Summary: Guest can not start with SLIC acpi table
Product: Red Hat Enterprise Linux 8 Reporter: Julia Suvorova <jusual>
Component: qemu-kvmAssignee: Julia Suvorova <jusual>
qemu-kvm sub component: General QA Contact: jingzhao <jinzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: coli, imammedo, jinzhao, juzhang, kkiwi, lmiksik, mrezanin, virt-maint, yiwei, ymankad
Version: 8.6Keywords: Triaged
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-6.2.0-10.module+el8.6.0+14540+5dcf03db Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2062611 (view as bug list) Environment:
Last Closed: 2022-05-10 13:25:26 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:
Bug Depends On:    
Bug Blocks: 2062611    

Comment 11 Igor Mammedov 2022-03-18 10:13:04 UTC
jingzhao,

can you please verify with following brew build:
 https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=43923500

Comment 12 jingzhao 2022-03-18 12:26:06 UTC
(In reply to Igor Mammedov from comment #11)
> jingzhao,
> 
> can you please verify with following brew build:
>  https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=43923500

Hello Igor

I can reproduce it with qemu-kvm-6.2.0-8.module+el8.6.0+14324+050a5215.x86_64

QEMU 6.2.0 monitor - type 'help' for more information
(qemu) **
ERROR:../hw/acpi/aml-build.c:61:build_append_padded_str: assertion failed: (len <= maxlen)
stable.sh: line 27: 114897 Aborted                 /usr/libexec/qemu-kvm -name rhel7 -machine q35 -cpu SandyBridge,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_stimer,hv_synic,hv_vpindex,hv_reset,+kvm_pv_unhalt -acpitable sig=SLIC,file=slic.dat -sandbox off -m 7680 -smp 8,cores=1,threads=1,sockets=8 -uuid 49a3438a-70a3-4ba8-92ce-3a05e0934608 -no-user-config -nodefaults -rtc base=localtime,clock=host,driftfix=slew -no-hpet -boot order=c,menu=on,splash-time=3000,strict=on -chardev socket,id=charmonitor,path=/home/tmp,server=on,wait=off -mon chardev=charmonitor,id=monitor,mode=control -device virtio-vga -device pcie-root-port,id=pcie-root-port0,bus=pcie.0,addr=0x4,port=0x10,multifunction=on,chassis=1 -device virtio-scsi-pci,id=scsi0,bus=pcie-root-port0 -blockdev node-name=file_image3,driver=file,cache.direct=on,cache.no-flush=off,filename=/home/yiwei/rhel900-64-virtio-scsi.qcow2,aio=threads -blockdev node-name=drive-virtio-disk0,driver=qcow2,cache.direct=on,cache.no-flush=off,file=file_image3 -device scsi-hd,bus=scsi0.0,lun=0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -monitor stdio -qmp tcp:0:4466,server,nowait -serial unix:/tmp/ttym,server,nowait -k en-us -vnc :0


(gdb) bt
#0  0x00007f2f19050a4f in raise () from /lib64/libc.so.6
#1  0x00007f2f19023db5 in abort () from /lib64/libc.so.6
#2  0x00007f2f1a0be123 in g_assertion_message.cold () from /lib64/libglib-2.0.so.0
#3  0x00007f2f1a11720e in g_assertion_message_expr () from /lib64/libglib-2.0.so.0
#4  0x000055850bede5d6 in build_append_padded_str (array=0x55850df488c0, str=0x55850df451ae "ABRACADABRAXYZ\004\003\002\001QUUX\b\a\006", <incomplete sequence \341>, maxlen=6, 
    pad=<optimized out>) at ../hw/acpi/aml-build.c:61
#5  build_append_padded_str (array=array@entry=0x55850df488c0, str=0x55850df451ae "ABRACADABRAXYZ\004\003\002\001QUUX\b\a\006", <incomplete sequence \341>, maxlen=maxlen@entry=6, 
    pad=<optimized out>) at ../hw/acpi/aml-build.c:55
#6  0x000055850bee1fc0 in acpi_table_begin (array=0x55850df488c0, desc=0x7ffc1d18c510) at ../hw/acpi/aml-build.c:1727
#7  acpi_table_begin (desc=0x7ffc1d18c510, array=0x55850df488c0) at ../hw/acpi/aml-build.c:1708
#8  0x000055850bee2d00 in build_fadt (tbl=tbl@entry=0x55850df488c0, linker=0x55850e1a70e0, f=f@entry=0x7ffc1d18c748, 
    oem_id=oem_id@entry=0x55850df451ae "ABRACADABRAXYZ\004\003\002\001QUUX\b\a\006", <incomplete sequence \341>, 
    oem_table_id=oem_table_id@entry=0x55850df451b4 "DABRAXYZ\004\003\002\001QUUX\b\a\006", <incomplete sequence \341>) at ../hw/acpi/aml-build.c:2064
#9  0x000055850bfc6d6d in acpi_build (tables=tables@entry=0x7ffc1d18c870, machine=0x55850e0ab800) at ../hw/i386/acpi-build.c:2566
#10 0x000055850bfc84de in acpi_setup () at /usr/src/debug/qemu-kvm-6.2.0-8.module+el8.6.0+14324+050a5215.x86_64/include/hw/boards.h:24
#11 0x000055850bfbda90 in pc_machine_done (notifier=0x55850e0ab988, data=<optimized out>) at ../hw/i386/pc.c:1043
#12 0x000055850c219624 in notifier_list_notify (list=list@entry=0x55850cac3b50 <machine_init_done_notifiers>, data=data@entry=0x0) at ../util/notify.c:39
#13 0x000055850bf0805f in qdev_machine_creation_done () at ../hw/core/machine.c:1513
#14 0x000055850c035b79 in qemu_machine_creation_done () at ../softmmu/vl.c:2730
#15 qmp_x_exit_preconfig (errp=<optimized out>) at ../softmmu/vl.c:2753
#16 qmp_x_exit_preconfig (errp=<optimized out>) at ../softmmu/vl.c:2744
#17 0x000055850c039209 in qemu_init (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at ../softmmu/vl.c:3786
#18 0x000055850be5ad7d in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at ../softmmu/main.c:49


And with didn't hit the coredump with you provide package

Thanks
Jing

Comment 16 Yanan Fu 2022-03-23 06:35:51 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 22 errata-xmlrpc 2022-05-10 13:25:26 UTC
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 (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2022:1759