On 10/20/15 7:14 PM, Kinney, Michael D wrote:

That looks like a new bug, and it is in the new code I added to force BSP to 
wait for all APs to enter sleeping state before StartupAllAPs() is called.

How did you reproduce this?

I'm running the following command to start OVMF (qemu-system-x86_64 was built a few weeks ago, from git master), and I hit the ASSERT about 50% of the time (the problem being that LockValue is a huge number like 1234567890):

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
/home/bcran/bin/qemu-system-x86_64 -name uefi -M q35 \
 -m size=16384 -smp 4 -cpu host \
-drive unit=0,if=pflash,format=raw,file=/home/bcran/workspace/edk2/Build/OvmfX64/DEBUG_GCC49/FV/OVMF.fd \ -drive file=/home/bcran/uefi.img,id=mydisk,aio=native,if=ide,media=disk,cache=none,format=raw \
  -nodefaults -realtime mlock=off \
  -enable-kvm -s -S -rtc base=utc -monitor stdio -vnc :0 -vga std \
-chardev pty,id=debugcon -device isa-debugcon,chardev=debugcon,iobase=0x402 \ -device vfio-pci,host=02:00.0,id=mypcicard,romfile=/home/bcran/workspace/edk2/MyPciCardPkg/stage/DEBUG_GCC49/X64/my_pci_card.rom

The only change I make when building OVMF is to include DebugPkg/GdbSyms/GdbSyms.inf in OvmfPkgX64.dsc to allow me to use gdb.

--
Bruce
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to