From owner-freebsd-emulation@FreeBSD.ORG Wed May 7 12:18:32 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 C81541065672 for ; Wed, 7 May 2008 12:18:32 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 569E58FC1D for ; Wed, 7 May 2008 12:18:32 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id AD96B2218A7C; Wed, 7 May 2008 22:18:31 +1000 (EST) X-Viruscan-Id: <48219E17000054693BFCB1@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 631B421B2BF8; Wed, 7 May 2008 22:18:31 +1000 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id CEB582218A3E; Wed, 7 May 2008 22:18:30 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 8E0D09E9; Wed, 7 May 2008 22:18:30 +1000 (EST) Date: Wed, 7 May 2008 22:18:30 +1000 From: Edwin Groothuis To: Bakul Shah , emulation@freebsd.org Message-ID: <20080507121830.GA81479@k7.mavetju> References: <20080507060119.GA50020@k7.mavetju> <20080507082108.72C0E5B47@mail.bitblocks.com> <20080507121437.GB44028@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080507121437.GB44028@k7.mavetju> User-Agent: Mutt/1.4.2.3i Cc: 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 12:18:32 -0000 On Wed, May 07, 2008 at 10:14:37PM +1000, Edwin Groothuis wrote: > On Wed, May 07, 2008 at 01:21:08AM -0700, Bakul Shah wrote: > > > I have moved the file /boot/pxeboot to my tftpboot directory, it > > > gets loaded but then QEMU complains about: > > > > > > ......TFTP download complete, but Unable to load file. > > > > > > And restarts. Not sure what goes wrong... > > > > See my message to Freebsd-emulation, dated 23 Apr 2007 > > 12:23:09 PDT. With the patched and recompiled etherboom ROM > > now it gets to pxeboot loader's OK prompt. NFS MOUNT fails > > but it gets further than I remember! > > Thanks for your reply, I've managed to create my new rtl8139.zrom. > And it works like a charm! > > --------------------- 8< ---------------------------------- > Loading 192.168.253.1:/boot/pxeboot ..(PXE)..................................... > ................................................................................ > ................................................................................ > ................................................................................ > ................................................................................ > .......................................................................done > PXE Loader 1.00 > > Building the boot loader arguments > Relocating the loader and the BTX > Starting the BTX loader > > BTX loader 1.00 BTX version is 1.01 > Consoles: internal video/keyboard > BIOS drive C: is disk0 > > PXE version 2.1, real mode entry point @9f00:0680 > > int=0000000d err=00000000 efl=00020002 eip=00000916 > eax=0009cb90 ebx=000008eb ecx=00000000 edx=00003c54 > esi=00000000 edi=00000000 ebp=0009cf62 esp=000003d2 > cs=9f00 ds=9f00 es=0000 fs=0000 gs=0000 ss=9cb9 > cs:eip=66 0f 01 97 52 00 0f 20-c0 0c 01 0f 22 c0 66 ff > af 6a 00 66 b8 10 00 8e-d0 89 ec 8e d8 8e c0 8e > ss:esp=00 00 00 00 71 00 00 00-00 00 00 00 e2 f6 09 00 > 00 9f b9 9c 00 00 00 00-00 00 00 00 00 00 02 02 > > BTX halted > --------------------- 8< ---------------------------------- > > 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? http://www.mavetju.org/mail/view_message.php?list=freebsd-emulation&id=2550189 of course. I need to start writing things up on this so others will have less troubles than I have :-) Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/