Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 May 2008 09:03:38 -0700
From:      Bakul Shah <bakul@bitblocks.com>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        emulation@freebsd.org
Subject:   Re: QEMU with network boot 
Message-ID:  <20080507160338.9784E5B47@mail.bitblocks.com>
In-Reply-To: Your message of "Wed, 07 May 2008 22:14:37 %2B1000." <20080507121437.GB44028@k7.mavetju> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 07 May 2008 22:14:37 +1000 Edwin Groothuis <edwin@mavetju.org>  wrote:
> Nearly like a charm. Well, the PXE part does work now, but the BTX
> part is not good.
> 
> It doesn't matter if I use an pxeboot from an 6.3 system or an 7.0
> system. This happens with both emulators/qemu as with emulators/qemu-devel.
> 
> Any idea where to look now?

I should've mentioned I am using FreeBSD-current which has
a working pxeboot thanks to jhb.  It netboots with my patched
etherboot bios but fails with bioses distributed with qemu.
My year old patch works around etherboot's length related
bug -- a TFTP data mode packet with length=0 confuses qemu's
roms.  I just realized we can make a fix elsewhere to
make the stock qemu bios work!  It is a complicated fix so
be prepared to really understand it.  Ready?

Here is how:

    echo >> $tftproot/boot/pxebot

:-)
The default NE2000 NIC works fine too but you may want to use
rtl8139 for better performance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080507160338.9784E5B47>