Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1614622

Summary: fail to boot RHEL7.6 guest with 8T memory size
Product: Red Hat Enterprise Linux 7 Reporter: FuXiangChun <xfu>
Component: ovmfAssignee: Laszlo Ersek <lersek>
Status: CLOSED NOTABUG QA Contact: FuXiangChun <xfu>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: chayang, choma, jinzhao, juzhang, michen
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-10 07:14:30 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 Flags
This is ovmf log none

Description FuXiangChun 2018-08-10 05:26:56 UTC
Created attachment 1474876 [details]
This is ovmf log

Description of problem:
Fail to boot RHEL7.6 guest with 8T. If use 7T memory size to boot guest, then it  works well. and 7T memory size can be found inside guest. In addition, Seabios works with 8T memory size.  

Version-Release number of selected component (if applicable):
OVMF-20180508-3.gitee3198e672e2.el7.noarch
qemu-kvm-rhev-2.12.0-9.el7.x86_64
3.10.0-915.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1./usr/libexec/qemu-kvm \
 -S \
 -machine q35,kernel-irqchip=split \
 -device intel-iommu,intremap=on,eim=on \
 -m 8T \
 -smp 8,maxcpus=384,sockets=2,cores=2,threads=2 \
  -cpu IvyBridge,enforce,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff \
  -rtc base=localtime,clock=host,driftfix=slew \
  -drive file=/usr/share/OVMF/OVMF_CODE.secboot.fd,if=pflash,format=raw,unit=0,readonly=on \
 -drive file=/usr/share/OVMF/OVMF_VARS.fd,if=pflash,format=raw,unit=1 \
 -global mch.extended-tseg-mbytes=48 \
 -nodefaults \
 -device AC97 \
 -vga qxl \
 -device usb-ehci,id=usb1 \
 -device usb-tablet,id=usb-tablet1 \
 -boot menu=on \
 -enable-kvm \
 -monitor stdio \
 -device pcie-root-port,id=root1,chassis=1 \
 -netdev tap,id=netdev0,vhost=on \
 -device virtio-net-pci,mac=BA:BC:13:83:4F:1D,id=net0,netdev=netdev0,status=on \
 -spice port=5800,disable-ticketing \
 -qmp tcp:0:8888,server,nowait \
 -device virtio-scsi-pci,id=scsi0,bus=root1 \
 -drive file=/home/rhel76-64-virtio-scsi-ovmf.qcow2,format=qcow2,id=drive_sysdisk,if=none,cache=none,aio=native,werror=stop,rerror=stop \
 -device scsi-hd,drive=drive_sysdisk,id=device_sysdisk,bootindex=1 \
 -debugcon file:/home/ovmf.log \
 -global isa-debugcon.iobase=0x402 \

2.
3.

Actual results:
mXdSupported - 0x1
One Semaphore Size    = 0x40
Total Semaphores Size = 0xB40
1GPageTableSupport - 0x0
PcdCpuSmmStaticPageTable - 0x1
PhysicalAddressBits - 0x2C
ASSERT /builddir/build/BUILD/ovmf-ee3198e672e2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c(212): PageDirectoryEntry != ((void *) 0)

Expected results:
works

Additional info:
seabios works well

Comment 2 FuXiangChun 2018-08-10 07:14:30 UTC
Sorry, Already have another existing bug track this issue. And it is closed as NOTABUG. As Guest works with 8T memory size with 2th way in this bz. So close it as NOTABUG

https://bugzilla.redhat.com/show_bug.cgi?id=1528259#c2

Comment 3 Laszlo Ersek 2018-08-10 13:39:11 UTC
Thanks for remembering (or finding) that bug/comment! It was precisely the comment that I intended to reference here. Thanks!