Date: Wed, 7 May 2008 15:30:13 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Edwin Groothuis <edwin@mavetju.org> Cc: emulation@freebsd.org Subject: Re: QEMU with network boot Message-ID: <20080507123013.GC18958@deviant.kiev.zoral.com.ua> In-Reply-To: <20080507121830.GA81479@k7.mavetju> References: <20080507060119.GA50020@k7.mavetju> <20080507082108.72C0E5B47@mail.bitblocks.com> <20080507121437.GB44028@k7.mavetju> <20080507121830.GA81479@k7.mavetju>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080507123013.GC18958>
