From owner-freebsd-emulation@FreeBSD.ORG Wed May 7 12:31:08 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 6B32E10656C6 for ; Wed, 7 May 2008 12:31:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id E84DC8FC13 for ; Wed, 7 May 2008 12:31:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JtinZ-0000aK-HP for emulation@freebsd.org; Wed, 07 May 2008 15:31:06 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m47CUHcA047513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 May 2008 15:30:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m47CUDII094796; Wed, 7 May 2008 15:30:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m47CUDdJ094795; Wed, 7 May 2008 15:30:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 7 May 2008 15:30:13 +0300 From: Kostik Belousov To: Edwin Groothuis Message-ID: <20080507123013.GC18958@deviant.kiev.zoral.com.ua> References: <20080507060119.GA50020@k7.mavetju> <20080507082108.72C0E5B47@mail.bitblocks.com> <20080507121437.GB44028@k7.mavetju> <20080507121830.GA81479@k7.mavetju> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XiNMnDiJKULrSZtG" Content-Disposition: inline In-Reply-To: <20080507121830.GA81479@k7.mavetju> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: fd47f7ed058f8bb752f6c36e497d0305 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2792 [May 07 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {TO: local part of email appears in body} X-SpamTest-Method: none X-SpamTest-Rate: 5 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release 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 12:31:08 -0000 --XiNMnDiJKULrSZtG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 07, 2008 at 10:18:30PM +1000, Edwin Groothuis wrote: > 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: > > > >=20 > > > > ......TFTP download complete, but Unable to load file. > > > >=20 > > > > And restarts. Not sure what goes wrong... > > >=20 > > > 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! > >=20 > > Thanks for your reply, I've managed to create my new rtl8139.zrom. > > And it works like a charm! > >=20 > > --------------------- 8< ---------------------------------- > > Loading 192.168.253.1:/boot/pxeboot ..(PXE)............................= ......... > > .......................................................................= ......... > > .......................................................................= ......... > > .......................................................................= ......... > > .......................................................................= ......... > > .......................................................................= done =20 > > PXE Loader 1.00 = =20 > > = =20 > > Building the boot loader arguments = =20 > > Relocating the loader and the BTX = =20 > > Starting the BTX loader = =20 > >=20 > > BTX loader 1.00 BTX version is 1.01 = =20 > > Consoles: internal video/keyboard = =20 > > BIOS drive C: is disk0 = =20 > >=20 > > PXE version 2.1, real mode entry point @9f00:0680 = =20 > >=20 > > int=3D0000000d err=3D00000000 efl=3D00020002 eip=3D00000916 = =20 > > eax=3D0009cb90 ebx=3D000008eb ecx=3D00000000 edx=3D00003c54 = =20 > > esi=3D00000000 edi=3D00000000 ebp=3D0009cf62 esp=3D000003d2 = =20 > > cs=3D9f00 ds=3D9f00 es=3D0000 fs=3D0000 gs=3D0000 ss=3D9cb9 = =20 > > cs:eip=3D66 0f 01 97 52 00 0f 20-c0 0c 01 0f 22 c0 66 ff = =20 > > af 6a 00 66 b8 10 00 8e-d0 89 ec 8e d8 8e c0 8e = =20 > > ss:esp=3D00 00 00 00 71 00 00 00-00 00 00 00 e2 f6 09 00 = =20 > > 00 9f b9 9c 00 00 00 00-00 00 00 00 00 00 02 02 = =20 > >=20 > > BTX halted =20 > > --------------------- 8< ---------------------------------- > >=20 > > Nearly like a charm. Well, the PXE part does work now, but the BTX > > part is not good. > >=20 > > 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-de= vel. > >=20 > > Any idea where to look now? >=20 > http://www.mavetju.org/mail/view_message.php?list=3Dfreebsd-emulation&id= =3D2550189 > of course. >=20 > I need to start writing things up on this so others will have less > troubles than I have :-) jhb@ implemented the real-mode BTX and committed it into CVS. It is in HEAD and RELENG_7, and I believe it is in RELENG_6 too. You need either to update your sources or to take new btx from the head of desired branch. --XiNMnDiJKULrSZtG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkghoNQACgkQC3+MBN1Mb4idwwCfWrtOUnJyVkdjlRPXBXbrwWL+ kBsAn2W0ZndgwBHd6CCNLcuXwIyq93cx =Et+X -----END PGP SIGNATURE----- --XiNMnDiJKULrSZtG--