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

Stefan Hajnoczi <[email protected]> Sat, 30 Jan 2010 15:06:36 +0000
Newsgroups gmane.network.etherboot.gpxe,gmane.network.etherboot.devel
Message-ID <[email protected]>
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