Networking in OVMF doesn't seem to work by default (in more recent tags) #11348
AndrewFalanga
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Hi @AndrewFalanga, I think your issue is related to 4c4ceb2, which fixes a CVE vulnerability and introduces The boot logs can be helpful; you can check for messages like You can try adding |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been developing for networking and ran into a stiff wall. The network stack wasn't loading. From the shell, when I use
pciI can see an Intel 82574l 1Gb NIC anddriversshows808610d3.efidrv(from iPXE) is loaded as expected. The problem however is that none of the network stack is loaded, e.g. TcpDxe and the rest.I asked for some insights on SO. Using pointers from the respondent on that thread I've learned that the problem seemed to creep into the code base between
edk2-stable202402andedk2-stable202405. I can build OVMF with the Feb 2024 tag and the VM tries to do a PXE boot and the full network stack is loaded. (This is verified bydrivers -bshowing things like TcpDxe, HttpDxe, etc.) However, when running the same build on the May 2024 tag, this does not happen. The VM immediately drops to the shell and, although the NIC driver is loaded, none of the network stack is loaded.The particulars:
build --platform OvmfPkg/OvmfPkgX64.dsc --tagname GCC --buildtarget DEBUG --arch X64qemu-system-x86_64 -machine q35,accel=kvm -m 2G -smp cpus=2 -cpu Nehalem-v2 -pflash /path/to/OVMF.fdThose 2 commands work as expected using tag
edk2-stable202402but not withedk2-stable202405(or after). Using the uefitool I can see that the DXE drivers are in OVMF.fd. What am I missing for this to work?Beta Was this translation helpful? Give feedback.
All reactions