[gPXE] [PATCH] [pciextra] Restore the PCI COMMAND register after writing to the BARs

Stefan Hajnoczi stefanha at gmail.com
Sat Jan 30 10:06:36 EST 2010


Two tests that can help us figure out what is going on:

1. Build gPXE with direct PCI support.  Normally gPXE uses the PCI
BIOS interface instead of directly accessing PCI config space.
Perhaps this is having a side-effect during BAR sizing.  Please try
changing src/config/defaults/pcbios.h "#define PCIAPI_PCBIOS" to
"#define PCIAPI_DIRECT" and rebuild gPXE.

2. Trying gPXE on the physical machine will eliminate KVM from the
equation.  If it works outside KVM then we know where to look for the
problem.

Stefan


More information about the gPXE mailing list