From owner-freebsd-emulation@FreeBSD.ORG Wed May 7 16:03:39 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2027310656AB for ; Wed, 7 May 2008 16:03:39 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF408FC2F for ; Wed, 7 May 2008 16:03:38 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 9784E5B47; Wed, 7 May 2008 09:03:38 -0700 (PDT) To: Edwin Groothuis In-reply-to: Your message of "Wed, 07 May 2008 22:14:37 +1000." <20080507121437.GB44028@k7.mavetju> Date: Wed, 07 May 2008 09:03:38 -0700 From: Bakul Shah Message-Id: <20080507160338.9784E5B47@mail.bitblocks.com> Cc: emulation@freebsd.org Subject: Re: QEMU with network boot X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2008 16:03:39 -0000 On Wed, 07 May 2008 22:14:37 +1000 Edwin Groothuis 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.