Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-88088

[RHEL10.1] edk2 ASSERT [RngDxe] BaseArmTrngLibNull.c(86): ((BOOLEAN)(0==1))

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.1
    • rhel-10.1
    • edk2
    • edk2-20250523-1.el10
    • No
    • Important
    • 1
    • rhel-virt-confidential-firmware
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • RHEL-9.7/10.1 remaining items
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?
      Trying to install the guest on ampere-one-x-04 fails with ASSERT [RngDxe] BaseArmTrngLibNull.c(86): ((BOOLEAN)(0==1))

      Please provide the package NVR for which the bug is seen:
      QEMU: qemu-kvm-9.1.0-17.el10
      EDK2: edk2-aarch64-20250221-1.el10.noarch
      Host kernel: 6.12.0-74.el10.aarch64
      Guest kernel: 6.12.0-74.el10.aarch64

      How reproducible is this bug?
      100%

      Steps to reproduce
      1. Trying to install the guest on ampere-one-x-04 

      /usr/libexec/qemu-kvm \ -name 'avocado-vt-vm1' \ -S \ -sandbox on \ -blockdev '{"node-name": "file_aavmf_code", "driver": "file", "filename": "/usr/share/edk2/aarch64/QEMU_EFI-silent-pflash.qcow2", "auto-read-only": true, "discard": "unmap"}' \ -blockdev '{"node-name": "drive_aavmf_code", "driver": "qcow2", "read-only": true, "file": "file_aavmf_code"}' \ -blockdev '{"node-name": "file_aavmf_vars", "driver": "file", "filename": "/root/avocado/data/avocado-vt/avocado-vt-vm1_rhel101-aarch64-4k-virtio_qcow2_filesystem_VARS.qcow2", "auto-read-only": true, "discard": "unmap"}' \ -blockdev '{"node-name": "drive_aavmf_vars", "driver": "qcow2", "read-only": false, "file": "file_aavmf_vars"}' \ -machine virt,gic-version=host,its=on,ras=on,pflash0=drive_aavmf_code,pflash1=drive_aavmf_vars,memory-backend=mem-machine_mem \ -device '{"id": "pcie-root-port-0", "driver": "pcie-root-port", "multifunction": true, "bus": "pcie.0", "addr": "0x1", "chassis": 1}' \ -device '{"id": "pcie-pci-bridge-0", "driver": "pcie-pci-bridge", "addr": "0x0", "bus": "pcie-root-port-0"}' \ -nodefaults \ -device '{"id": "pcie-root-port-1", "port": 1, "driver": "pcie-root-port", "addr": "0x1.0x1", "bus": "pcie.0", "chassis": 2}' \ -device '{"driver": "virtio-gpu-pci", "bus": "pcie-root-port-1", "addr": "0x0"}' \ -m 8192 \ -object '{"size": 8589934592, "id": "mem-machine_mem", "qom-type": "memory-backend-ram"}' \ -smp 4,maxcpus=4,cores=2,threads=1,clusters=1,sockets=2 \ -cpu 'host' \ -chardev socket,path=/var/tmp/monitor-qmpmonitor1,server=on,wait=off,id=qmp_id_qmpmonitor1 \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -serial unix:'/var/tmp/serial-serial0',server=on,wait=off \ -object '{"filename": "/dev/urandom", "id": "passthrough-5NYXYHtz", "qom-type": "rng-random"}' \ -device '{"id": "pcie-root-port-2", "port": 2, "driver": "pcie-root-port", "addr": "0x1.0x2", "bus": "pcie.0", "chassis": 3}' \ -device '{"driver": "virtio-rng-pci", "id": "virtio-rng-2eRfPXuc", "rng": "passthrough-5NYXYHtz", "bus": "pcie-root-port-2", "addr": "0x0"}' \ -device '{"id": "pcie-root-port-3", "port": 3, "driver": "pcie-root-port", "addr": "0x1.0x3", "bus": "pcie.0", "chassis": 4}' \ -device '{"driver": "qemu-xhci", "id": "usb1", "bus": "pcie-root-port-3", "addr": "0x0"}' \ -device '{"driver": "usb-tablet", "id": "usb-tablet1", "bus": "usb1.0", "port": "1"}' \ -blockdev '{"node-name": "file_image1", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "threads", "filename": "/home/kvm_autotest_root/images/rhel101-aarch64-4k-virtio.qcow2", "cache": {"direct": false, "no-flush": true}}' \ -blockdev '{"node-name": "drive_image1", "driver": "qcow2", "read-only": false, "cache": {"direct": false, "no-flush": true}, "file": "file_image1"}' \ -device '{"id": "pcie-root-port-4", "port": 4, "driver": "pcie-root-port", "addr": "0x1.0x4", "bus": "pcie.0", "chassis": 5}' \ -device '{"driver": "virtio-blk-pci", "id": "image1", "drive": "drive_image1", "bootindex": 1, "write-cache": "on", "bus": "pcie-root-port-4", "addr": "0x0"}' \ -device '{"id": "pcie-root-port-5", "port": 5, "driver": "pcie-root-port", "addr": "0x1.0x5", "bus": "pcie.0", "chassis": 6}' \ -device '{"driver": "virtio-net-pci", "mac": "9a:9e:ee:d6:59:dc", "rombar": 0, "id": "idq0O25M", "netdev": "idcCYbjA", "bus": "pcie-root-port-5", "addr": "0x0"}' \ -netdev '{"id": "idcCYbjA", "type": "tap", "vhost": true}' \ -device '{"id": "pcie-root-port-6", "port": 6, "driver": "pcie-root-port", "addr": "0x1.0x6", "bus": "pcie.0", "chassis": 7}' \ -device '{"id": "virtio_scsi_pci0", "driver": "virtio-scsi-pci", "bus": "pcie-root-port-6", "addr": "0x0"}' \ -blockdev '{"node-name": "drive_cd1", "driver": "file", "read-only": true, "discard": "unmap", "aio": "threads", "filename": "/home/kvm_autotest_root/iso/linux/RHEL-10.1-20250422.0-aarch64-dvd1.iso", "cache": {"direct": false, "no-flush": true}}' \ -device '{"driver": "scsi-cd", "id": "cd1", "drive": "drive_cd1", "bootindex": 2, "write-cache": "on"}' \ -blockdev '{"node-name": "drive_unattended", "driver": "file", "read-only": true, "discard": "unmap", "aio": "threads", "filename": "/home/kvm_autotest_root/images/rhel101-aarch64/ks.iso", "cache": {"direct": false, "no-flush": true}}' \ -device '{"driver": "scsi-cd", "id": "unattended", "drive": "drive_unattended", "bootindex": 3, "write-cache": "on"}' \ -kernel '/home/kvm_autotest_root/images/rhel101-aarch64/vmlinuz' \ -append 'inst.sshd inst.repo=cdrom inst.ks=cdrom:/ks.cfg net.ifnames=0 console=ttyAMA0,38400' \ -initrd '/home/kvm_autotest_root/images/rhel101-aarch64/initrd.img' \ -vnc :20 \ -rtc base=utc,clock=host \ -no-shutdown \ -enable-kvm \ -monitor stdio

      2. Hit this issue 

      UEFI firmware (version edk2-20250221-1.el10 built at 00:00:00 on Mar 26 2025)
      PeiDelayedDispatchOnEndOfPei Count of dispatch cycles is 0
      ArmTrng Backend not found
      Tpm2SubmitCommand - Tcg2 - Not Found
      Tpm2GetCapabilityPcrs fail!
      Tpm2SubmitCommand - Tcg2 - Not Found
      EFI stub: Decompressing Linux Kernel...
      EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
      ASSERT [RngDxe] BaseArmTrngLibNull.c(86): ((BOOLEAN)(0==1)) 

      Detailed Log:
      http://10.26.1.135:8002/latest/test-results/01-Host_RHEL.m10.u1.v0.qcow2.virtio_blk.up.virtio_net.Guest.RHEL.10.1.aarch64.page_4k.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.arm64-pci/serial-serial0-avocado-vt-vm1.log

              rhn-engineering-ghoffman Gerd Hoffmann
              rh-ee-meshetty Meghana Shetty
              virt-maint virt-maint
              Julia Graham Julia Graham
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated: