[gPXE] Problems with gPXE, UNDI and VirtualBox

Stefan Hajnoczi stefanha at gmail.com
Mon Aug 2 10:23:19 EDT 2010


On Mon, Aug 2, 2010 at 2:54 PM, Lars Kellogg-Stedman <lars at oddbit.com> wrote:
> Howdy,
>
> Is anyone else experiencing problems with gPXE's UNDI driver under
> VirtualBox?  If I boot with undionly.kpxe, gPXE simply reports, "No
> more network devices".  If I boot with the full gpxe.kpxe, then of
> course it uses the native driver and everything works great.  pxelinux
> is able to utilize the UNDI driver just fine.  If it helps, here's a
> screenshot of gPXE booting:
>
>  http://twitpic.com/2aywyz
>
> I'm not really sure where to start debugging this problem.  Specific
> help for this problem is great, but even pointers to general
> information about debugging gPXE would be helpful, too.  Thanks!

The UNDI driver code is in arch/i386/drivers/net.  You can build with
debug messages enabled like this:
make DEBUG=undi,undinet,undionly,undipreload,pxeparent [...]

That will show some of the PXE calls made as well as the higher-level
UNDI API operations.

It would be interesting to see the log output.  Try #define
CONSOLE_SERIAL in config/local/console.h before rebuilding gPXE and
set VirtualBox to give the VM a serial port (logged to file).  That's
the easiest way to capture debug messages.

Stefan


More information about the gPXE mailing list