[ipxe-devel] 38086101 after a fresh compilation

Géraud Guibert GGuibert at oceanet-technology.com
Wed Aug 16 14:05:46 UTC 2017


Hello everyone,


Doing a fresh git clone installation with personal configurations

to adjust the behavior (embedded script...), but after compilation

and ISO copy on the OVM server (Oracle Xen server) to boot

a VM, got this error message :


  net0: xx:xx:xx:xx:xx:xx using netfront on vif.0 (closed)
    [Link:down, TX:0 TXE:0 RX:0 RXE:0]
    [Link status: Down (http://ipxe.org/38086101)]



Here are my modifications :


---> diff general.h.original general.h.new


55c55
< #define       DOWNLOAD_PROTO_TFTP     /* Trivial File Transfer Protocol */
---
> #undef        DOWNLOAD_PROTO_TFTP     /* Trivial File Transfer Protocol */
57c57
< #undef        DOWNLOAD_PROTO_HTTPS    /* Secure Hypertext Transfer Protocol */
---
> #define       DOWNLOAD_PROTO_HTTPS    /* Secure Hypertext Transfer Protocol */
106,111c106,111
< //#define     IMAGE_ELF               /* ELF image support */
< //#define     IMAGE_MULTIBOOT         /* MultiBoot image support */
< //#define     IMAGE_PXE               /* PXE image support */
< //#define     IMAGE_SCRIPT            /* iPXE script image support */
< //#define     IMAGE_BZIMAGE           /* Linux bzImage image support */
< //#define     IMAGE_COMBOOT           /* SYSLINUX COMBOOT image support */
---
> #define       IMAGE_ELF               /* ELF image support */
> #define       IMAGE_MULTIBOOT         /* MultiBoot image support */
> #define       IMAGE_PXE               /* PXE image support */
> #define       IMAGE_SCRIPT            /* iPXE script image support */
> #define       IMAGE_BZIMAGE           /* Linux bzImage image support */
> #define       IMAGE_COMBOOT           /* SYSLINUX COMBOOT image support */
127c127
< #define       IWMGMT_CMD              /* Wireless interface management commands */
---
> //#define     IWMGMT_CMD              /* Wireless interface management commands */
138,140c138,140
< //#define NSLOOKUP_CMD                /* DNS resolving command */
< //#define TIME_CMD            /* Time commands */
< //#define DIGEST_CMD          /* Image crypto digest commands */
---
> #define NSLOOKUP_CMD          /* DNS resolving command */
> #define TIME_CMD              /* Time commands */
> #define DIGEST_CMD            /* Image crypto digest commands */
142,147c142,147
< //#define VLAN_CMD            /* VLAN commands */
< //#define PXE_CMD             /* PXE commands */
< //#define REBOOT_CMD          /* Reboot command */
< //#define POWEROFF_CMD                /* Power off command */
< //#define IMAGE_TRUST_CMD     /* Image trust management commands */
< //#define PCI_CMD             /* PCI commands */
---
> #define VLAN_CMD              /* VLAN commands */
> #define PXE_CMD               /* PXE commands */
> #define REBOOT_CMD            /* Reboot command */
> #define POWEROFF_CMD          /* Power off command */
> #define IMAGE_TRUST_CMD       /* Image trust management commands */
> #define PCI_CMD               /* PCI commands */
150,152c150,152
< //#define PING_CMD            /* Ping command */
< //#define CONSOLE_CMD         /* Console command */
< //#define IPSTAT_CMD          /* IP statistics commands */
---
> #define PING_CMD              /* Ping command */
> #define CONSOLE_CMD           /* Console command */
> #define IPSTAT_CMD            /* IP statistics commands */
154,155c154,155
< //#define NTP_CMD             /* NTP commands */
< //#define CERT_CMD            /* Certificate management commands */
---
> #define NTP_CMD               /* NTP commands */
> #define CERT_CMD              /* Certificate management commands */


---> diff config/console.h.original config/console.h.new


37,38c37,38
< //#define     CONSOLE_SERIAL          /* Serial port console */
< //#define     CONSOLE_FRAMEBUFFER     /* Graphical framebuffer console */
---
> #define       CONSOLE_SERIAL          /* Serial port console */
> #define       CONSOLE_FRAMEBUFFER     /* Graphical framebuffer console */
56c56
< #define       KEYBOARD_MAP    us
---
> #define       KEYBOARD_MAP    fr


The original iPXE.iso works well as shown on the picture...


Could you please tell me where I am doing something definitively wrong and/or missing it ?


----


Got also another problem when activating EFI (#define IMAGE_EFI) :


make

...

  [AR] bin/blib.a
ar: création de bin/blib.a
  [VERSION] bin/version.ipxe.dsk.o
  [LD] bin/ipxe.dsk.tmp
bin/blib.a(efi_image.o): dans la fonction « efi_image_probe »:
/home/gguibert/git-gg/ipxe/src/image/efi_image.c:295: référence indéfinie vers « efi_systab »
bin/blib.a(efi_image.o): dans la fonction « efi_image_exec »:
/home/gguibert/git-gg/ipxe/src/image/efi_image.c:135: référence indéfinie vers « efi_systab »
bin/blib.a(efi_pxe.o): dans la fonction « efi_pxe_install »:
/home/gguibert/git-gg/ipxe/src/interface/efi/efi_pxe.c:1589: référence indéfinie vers « efi_systab »
bin/blib.a(efi_pxe.o): dans la fonction « efi_pxe_uninstall »:
/home/gguibert/git-gg/ipxe/src/interface/efi/efi_pxe.c:1663: référence indéfinie vers « efi_systab »
bin/blib.a(efi_snp.o): dans la fonction « efi_snp_remove »:
/home/gguibert/git-gg/ipxe/src/interface/efi/efi_snp.c:1812: référence indéfinie vers « efi_systab »
bin/blib.a(efi_snp.o):/home/gguibert/git-gg/ipxe/src/interface/efi/efi_snp.c:163: encore plus de références indéfinies suivent vers « efi_systab »
ld: bin/ipxe.dsk.tmp: symbole caché « efi_systab » n'est pas défini
ld: édition de lien finale en échec: Mauvaise valeur
Makefile.housekeeping:1166: recipe for target 'bin/ipxe.dsk.tmp' failed
make: *** [bin/ipxe.dsk.tmp] Error 1
rm bin/version.ipxe.dsk.o


Any idea ot the missing Debian library and/or source files ?


Thx


Sincerely yours

Geraud Guibert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20170816/bd7e4621/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-2017-08-16_15-40-46.jpg
Type: image/jpeg
Size: 94204 bytes
Desc: ipxe-2017-08-16_15-40-46.jpg
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20170816/bd7e4621/attachment.jpg>


More information about the ipxe-devel mailing list