QEMU with network boot

Kostik Belousov kostikbel at gmail.com
Wed May 7 12:31:08 UTC 2008


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:
> > > > 
> > > >     ......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 :-)

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20080507/9625e577/attachment.pgp


More information about the freebsd-emulation mailing list