[ipxe-devel] [gPXE] gPXE help

Jonathan Smith Jonathan.Smith at seamap.com
Tue Feb 14 16:08:04 UTC 2012


Hi,

I am upgrading to iPXE with a view to using scripting.

I have downloaded iPXE and am trying to build it by using 'cd ipxe/src' and 'make', as per the instructions on the website.
However, when I do this I get the following errors (I have only included the first few lines):

[DEPS] arch/i386/prefix/unnrv2b16.S
[DEPS] arch/i386/prefix/unnrv2b16.S
[BUILD] bin/unnrv2b16.o
arch/i386/prefix/unnrv2b16.S:9:21: error: unnrv2b.S: No such file or directory
[AR] bin/blib.a
ar: creating bin/blib.a
[LD] bin/ipxe.dsk.tmp
bin/blib.a(dskprefix.o): In function `start_runtime':(.prefix+0x206): undefined reference to '_estack16'
bin/blib.a(dskprefix.o):(.text16+0x8): undefined reference to `prot_call'
bin/blib.a(libprefix.o): In function `install_block':(.prefix.lib+0x139): undefined reference to `decompress16'
bin/blib.a(libprefix.o): In function `install_prealloc':(.prefix.lib+0x1d5): undefined reference to `access_highmem'
bin/blib.a(libprefix.o): In function `init_librm_vector':(.data16+0x0): undefined reference to `init_librm'
bin/blib.a(libprefix.o): In function `prot_call_vector':(.data16+0x4): undefined reference to `prot_call'

I have checked and the arch/i386/prefix/unnrv2b16.S file exists. I have also checked that gcc, binutils, make and perl are installed. I am using Gentoo linux.

Any help you can give would be much appreciated.

Jonathan

-----Original Message-----
From: Michael Brown [mailto:mbrown at fensystems.co.uk] 
Sent: 09 February 2012 16:57
To: Jonathan Smith
Cc: ipxe-devel at lists.ipxe.org
Subject: Re: [gPXE] gPXE help

On Thursday 09 Feb 2012 15:28:18 Jonathan Smith wrote:
> I am using some etherboot code on an existing system with two NICs. One is
> a built in 10/100 on an ETX processor board, and the other is an
> additional 10/100 NIC connected to the same processor. Both NICs are used
> in an embedded system to talk to a host computer, offering redundancy if
> one link goes down. The etherboot code contains the driver for the two
> NICs and has been working very well.
> 
> The system is now upgrading to a 10/100/1000 NIC, so as a test, I have
> downloaded the relevant driver from ROM-o-matic, and this works fine.
> 
> What I am finding, though, is that if there is no connection on either NIC,
> the two NICs timeout and the processor stops with the "DISK BOOT FAILURE.
> INSERT SYSTEM DISK AND PRESS ENTER" message. With the old etherboot code
> the processor reboots if the NICs timeout, so someone connecting/fixing
> cabling to the NICs after power-on isn't a problem.
> 
> Is it possible for the boot code to reboot the processor, or retry booting
> if the NICs timeout? Also, in order to reduce boot time, is there a way to
> reduce the current timeout of 14s per NIC?

Upgrade to iPXE (http://ipxe.org) and use the "reboot" command in an embedded 
script:

  http://ipxe.org/cmd/reboot
  http://ipxe.org/scripting

Michael





More information about the ipxe-devel mailing list