On 2018-10-18 2:37 a.m., Samuel Sieb wrote: > On 10/17/18 3:54 PM, Digimer wrote: >> First, do you have docs/links/reference material you might recommend on >> building a Fedora-based UEFI PXE server? I'd love to try and get further >> on my own and keep questions to a minimum. > > I don't remember where I found information. I know I had to figure out > quite a bit of it myself. There might be better references now. > >> Right now, I've got a KVM/qemu guest configured with UEFI. I've setup >> the following; >> >> ==== >> [root@f28-striker01 fedora28]# cat /var/lib/tftpboot/pxelinux/uefi > > I assume there was supposed to be a "grub.cfg" at the end of that line. > It looks ok, but you aren't getting to that yet anyway. > >> When I PXE boot the UEFI guest, it gets the IP from the PXE server, >> downloads uefi/shim.efi, then hangs on 'Fetching Netboot image'. It >> never shows a menu. >> >> ==== (on EFI guest, transcribed manually) >>>> Start PXE over IPv4 >> Station IP address is 10.1.14.186 >> >> Server IP address is 10.1.4.1 >> NBP filename is uefi/shim.efi >> NBP filesize is 1210776 Bytes >> Downloading NBP file... >> >> NBP file downloaded successfully. >> Fetching Netboot Image >> ==== >> >> And there it hangs. I'm not sure how to debug to see more detail on what >> it is trying to do. This UEFI PXE booting is totally new for me, so I >> may be missing something terribly obvious. > > If you could get a log of requests from the tftp server that would have > helped you. However, I don't think it does that. Many times I used > strace on the tftp server to find out what requests it was getting. > > I'm guessing that you are missing the "grubx64.efi" file that shim wants > to load. You should be able to get that from the install iso as well. I connected over serial to the guest and was able to catch an error; ==== >>Start PXE over IPv4. Station IP address is 10.1.14.186 Server IP address is 10.1.4.1 NBP filename is uefi/shim.efi NBP filesize is 1210776 Bytes Downloading NBP file... NBP file downloaded successfully. Fetching Netboot Image !!!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - 00000000 !!!! ExceptionData - 0000000000000000 RIP - 000000007FF8E976, CS - 0000000000000038, RFLAGS - 0000000000210202 RAX - 0000000000000001, RCX - 0000000000000010, RDX - AFAFAFAFAFAFAFA7 RBX - 0000000000000020, RSP - 000000007FF7E6B0, RBP - 000000007ED11F18 RSI - AFAFAFAFAFAFAFAF, RDI - 000000007FFA1720 R8 - 0000000000000000, R9 - 0000000000000028, R10 - 0000000000000020 R11 - 0000000000000002, R12 - 000000007ECE3798, R13 - 000000007ECE3C18 R14 - 000000007FF7E788, R15 - 000000007ECE37D8 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 0000000080010033, CR2 - 0000000000000000, CR3 - 000000007FC01000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 000000007FBEE698 0000000000000047, LDTR - 0000000000000000 IDTR - 000000007F5B5018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 000000007FF7E310 !!!! Find image based on IP(0x7FF8E976) /builddir/build/BUILD/tianocore-edk2-cb5f4f45ce/Build/OvmfX64/DEBUG_GCC5/X64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll (ImageBase=000000007FF80000, EntryPoint=000000007FF98DB1) !!!! ==== -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx