• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    TFTP not working (Fog 1.1.1 on Ubuntu 12.04 Server)

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    28
    17.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BBBBlaine
      last edited by

      In this [URL=‘http://fogproject.org/forum/threads/dell-optiplex-320.10872/’]other thread[/URL] where the same issue seems to be happening, somebody suggested trying different boot files.

      Tried undionly.kpxe.INTEL:
      [CODE]http://10.1.0.21/fog/service/ipxe/boot.php… ok
      http://10.1.0.21/fog/service/ipxe/bg.png...transmit timed out
      transmit timed out
      38%transmit timed out
      transmit timed out
      transmit timed out
      51%[/CODE]

      Tried undionly.pxe:
      This boot file only reboots the server immediately after it loads. I don’t see anything useful come up on the screen.

      Tried vesamenu.c32:
      PXE doesn’t do anything after getting an IP from DHCP… just sits there.

      Tried ipxe.kkpxe:
      Just like with undionly.pxe… server reboots

      Tried ipxe.kpxe:
      Server reboots

      Tried ipxe.pxe:
      Server reboots

      Tried ipxe.krn:
      [CODE]This image cannot be loaded from a floppy disk.[/CODE] <-- What?? o.O

      Tried pxelinux.0.old (it’s worth a shot, I guess):
      [CODE]Trying to load: pxelinux.cfg/
      Trying to load: pxelinux.cfg/44454c4c-5100-1057-804d-b2c04f4e4731
      Trying to load: pxelinux.cfg/01-00-1e-c9-d7-ee-de
      Trying to load: pxelinux.cfg/0A010106
      Trying to load: pxelinux.cfg/0A01010
      Trying to load: pxelinux.cfg/0A0101
      Trying to load: pxelinux.cfg/0A010
      Trying to load: pxelinux.cfg/0A01
      Trying to load: pxelinux.cfg/0A0
      Trying to load: pxelinux.cfg/0A
      Trying to load: pxelinux.cfg/0
      Trying to load: pxelinux.cfg/default
      Unable to locate configuration file

      Boot failed: press a key to retry, or wait for reset…
      [/CODE]

      At this point, I’m stuck.

      Does anybody have a WORKING installation of Fog 1.1.1? If so, what distro of linux is it running on? Maybe I’m just running into a bug?

      1 Reply Last reply Reply Quote 0
      • I
        ianabc Testers
        last edited by

        I’m running it on RHEL 6.5 and also Centos 5. Do you have any other clients you can try to iPXE boot? the VESA thing might be a hardware issue.

        1 Reply Last reply Reply Quote 0
        • B
          BBBBlaine
          last edited by

          [quote=“ianabc, post: 30881, member: 24548”]
          Actually BBBBLaine, now that I think about it, your default.ipxe IS going to be different from mine, it’ll have your fog server’s IP address in it. Can you verify that the contents of your ipxe file that is chain loaded look sane? (point a browser at [url]http://MY[/url] IP HERE/fog/service/ipxe/boot.php##params). Here’s mine
          [CODE]
          [COLOR=#000000]#!ipxe
          cpuid --ext 29 && set arch x86_64 || set arch i386
          colour --rgb 0xff6600 2
          cpair --foreground 7 --background 2 2
          console --picture http://MY IP HERE/fog/service/ipxe/bg.png --left 100 --right 80
          prompt --key 0x1b --timeout 3000 Booting… (Press Escape to access the menu) && goto menuAccess || sanboot --no-describe --drive 0x80
          :menuAccess
          login
          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param username ${username}
          param password ${password}
          param menuaccess 1
          param debug 0
          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
          :bootme
          chain http://MY IP HERE/fog/service/ipxe/boot.php##params[/COLOR]
          [/CODE][/quote]

          Here is what I see when I browse to [url]http://10.1.0.21/fog/service/ipxe/boot.php##params[/url]
          [CODE]#!ipxe
          cpuid --ext 29 && set arch x86_64 || set arch i386
          colour --rgb 0xff6600 2
          cpair --foreground 7 --background 2 2
          console --picture http://10.1.0.21/fog/service/ipxe/bg.png --left 100 --right 80
          :MENU
          menu
          colour --rgb 0xff0000 0
          cpair --foreground 0 3
          item --gap Host is NOT registered!
          item --gap – -------------------------------------
          item fog.local Boot from hard disk
          item fog.memtest Run Memtest86+
          item fog.reginput Perform Full Host Registration and Inventory
          item fog.reg Quick Registration and Inventory
          item fog.sysinfo Client System Information (Compatibility)
          choose --default fog.local --timeout 3000 target && goto ${target}
          :fog.local
          exit || goto MENU
          :fog.memtest
          kernel memdisk iso raw
          initrd memtest.bin
          boot || goto MENU
          :fog.reginput
          kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.1.0.3 keymap= web=10.1.0.21/fog/ consoleblank=0 loglevel=4 mode=manreg
          imgfetch init_32.xz
          boot || goto MENU
          :fog.reg
          kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.1.0.3 keymap= web=10.1.0.21/fog/ consoleblank=0 loglevel=4 mode=autoreg
          imgfetch init_32.xz
          boot || goto MENU
          :fog.sysinfo
          kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.1.0.3 keymap= web=10.1.0.21/fog/ consoleblank=0 loglevel=4 mode=sysinfo
          imgfetch init_32.xz
          boot || goto MENU
          autoboot
          [/CODE]

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            The only files you should be trying are:
            ipxe.pxe
            ipxe.kpxe
            ipxe.kkpxe
            undionly.pxe
            undionly.kpxe
            undionly.kkpxe

            I’d first start by trying the (same named) files in:
            [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/[/url]

            Just replace the file name with undionly.kpxe (so you don’t have to change dhcp stuff).
            Example:
            [code]wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.pxe
            wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kpxe
            wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kkpxe
            wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/ipxe.pxe
            wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/ipxe.kpxe
            wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kkpxe[/code]

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • B
              BBBBlaine
              last edited by

              [quote=“Tom Elliott, post: 30885, member: 7271”]The only files you should be trying are:
              ipxe.pxe
              ipxe.kpxe
              ipxe.kkpxe
              undionly.pxe
              undionly.kpxe
              undionly.kkpxe

              I’d first start by trying the (same named) files in:
              [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/[/url]

              Just replace the file name with undionly.kpxe (so you don’t have to change dhcp stuff).
              Example:
              [code]wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.pxe
              wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kpxe
              wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kkpxe
              wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/ipxe.pxe
              wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/ipxe.kpxe
              wget -O /tftpboot/undionly.kpxe https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kkpxe[/code][/quote]

              Okay I’m trying each of those one by one…
              With undionly.pxe I get:
              Reboot after “Initialising devices”

              With undionly.kpxe I get:
              [CODE]Could not start download: Operation not supported (http://ipxe.org/3c092003)[/CODE]
              With undionly.kkpxe I get:
              [CODE]Could not configure console: Input/output error (http://ipxe.org/1d8c2139)
              Could not boot: Input/output error (http://ipxe.org/1d8c2139)
              Could not boot: Input/output error (http://ipxe.org/1d8c2139)[/CODE]
              With ipxe.pxe I get:
              [CODE]transmit timed out…
              transmit timed out…
              transmit timed out…[/CODE]
              With ipxe.kpxe I get:
              [CODE]Configuring (net0 00:1e:c9:d7:ee:de)…
              [/CODE] then the server reboots with no error message

              EDIT maybe I will try this on a different machine to see if maybe there’s just some problem with this server… It is a Dell PowerEdge 2900 - refurbished (I mean the server I’m using to try PXE boot at least. The Fog server is a Virtual Machine on ESXi 5.5)

              1 Reply Last reply Reply Quote 0
              • I
                ianabc Testers
                last edited by

                [quote=“BBBBlaine, post: 30888, member: 24687”]

                EDIT maybe I will try this on a different machine to see if maybe there’s just some problem with this server… It is a Dell PowerEdge 2900 - refurbished (I mean the server I’m using to try PXE boot at least. The Fog server is a Virtual Machine on ESXi 5.5)[/quote]

                That sounds like a good idea, it would be informative to see some different PXE clients. Good luck!

                1 Reply Last reply Reply Quote 0
                • B
                  BBBBlaine
                  last edited by

                  I tested PXE booting on a Dell Latitude D630 laptop (yes, very old, but it was the closest machine to me besides my workstation) and it worked with the undionly.kpxe boot image from [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/[/url] !

                  The PowerEdge 2900 server still doesn’t boot with it… I will test with a different 2900 tomorrow to see if it’s just something wrong with this particular box or what. If it’s not working on any 2900, then I don’t think Fog could serve as a replacement for Acronis in our environment, as 90% of the servers we deploy to buildings are 2900’s.

                  1 Reply Last reply Reply Quote 0
                  • I
                    ianabc Testers
                    last edited by

                    Glad to hear your PXE server is working! For the 2900 it might be worth double checking the network card settings in the BIOS or sticking the service tag into dell.com and looking for updated firmware.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Michael Konz
                      last edited by

                      [quote=“BBBBlaine, post: 30873, member: 24687”][CODE]root@PCI-FOG:~/fog_1.1.1/packages/tftp# cp undionly.kpxe /tftpboot/undionly.kpxe
                      root@PCI-FOG:~/fog_1.1.1/packages/tftp# chmod 644 /tftpboot/undionly.kpxe
                      root@PCI-FOG:~/fog_1.1.1/packages/tftp# ls -al /tftpboot/
                      total 2600
                      drwxr-xr-x 2 fog root 4096 Jun 19 14:39 .
                      drwxr-xr-x 25 root root 4096 Jun 18 08:11 …
                      -rw-r–r-- 1 fog root 840 Jun 17 13:35 boot.txt
                      -rw-r–r-- 1 root root 291 Jun 17 13:35 default.ipxe
                      -rw-r–r-- 1 fog root 389702 Jun 17 13:35 ipxe.kkpxe
                      -rw-r–r-- 1 fog root 389750 Jun 17 13:35 ipxe.kpxe
                      -rw-r–r-- 1 fog root 391231 Jun 17 13:35 ipxe.krn
                      -rw-r–r-- 1 fog root 389766 Jun 17 13:35 ipxe.pxe
                      -rw-r–r-- 1 fog root 25340 Jun 17 13:35 memdisk
                      -rw-r–r-- 1 fog root 16794 Jun 17 13:35 pxelinux.0.old
                      -rw-r–r-- 1 fog root 165088 Jun 17 13:35 snponly.efi
                      -rw-r–r-- 1 fog root 102777 Jun 17 13:35 undionly.kkpxe
                      -rw-r–r-- 1 root root 102825 Jun 19 14:39 undionly.kpxe
                      -rw-r–r-- 1 fog root 382650 Jun 17 13:35 undionly.kpxe.INTEL
                      -rw-r–r-- 1 fog root 102841 Jun 17 13:35 undionly.pxe
                      -rw-r–r-- 1 fog root 147728 Jun 17 13:35 vesamenu.c32
                      [/CODE]

                      So now it looks like I have the same size pxe boot file as you, so I tried PXE booting the server again and…
                      [CODE]Could not configure console: Input/output error (http://ipxe.org/1d8c2139)
                      Could not boot: Input/output error (http://ipxe.org/1d8c2139)
                      Could not boot: Input/output error (http://ipxe.org/1d8c2139)[/CODE]

                      After some testing I think, that this should be a vesa framebuffer problem. This can be resolved by deleting line 540 (background picture) from /var/www/fog/lib/fog/BootMenu.class.php

                      The link in the error message says that the error originated from vesafb.c (line 114)
                      [CODE]/**
                      103 * Convert VBE status code to iPXE status code
                      104 *
                      105 * @v status VBE status code
                      106 * @ret rc Return status code
                      107 */
                      108 static int vesafb_rc ( unsigned int status ) {
                      109 unsigned int code;
                      110
                      111 if ( ( status & 0xff ) != 0x4f )
                      112 return -ENOTSUP;
                      113 code = ( ( status >> 8 ) & 0xff );
                      114 return ( code ? -EIO_VBE ( code ) : 0 );[/CODE]

                      I have no idea how to resolve this. Any ideas?[/quote]

                      So now it looks like I have the same size pxe boot file as you, so I tried PXE booting the server again and…
                      [CODE]Could not configure console: Input/output error (http://ipxe.org/1d8c2139)
                      Could not boot: Input/output error (http://ipxe.org/1d8c2139)
                      Could not boot: Input/output error (http://ipxe.org/1d8c2139)[/CODE]

                      After some testing I think, that this should be a vesa framebuffer problem. This can be resolved by deleting line 540 (background picture) from /var/www/fog/lib/fog/BootMenu.class.php

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        I only added the console information because it’s prettier.

                        It works on most systems, but occasionally we see this message. I’m aware of the problem and if you don’t need to have the picture I can remove it to make it more usable.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • B
                          BBBBlaine
                          last edited by

                          [quote=“Michael Konz, post: 31327, member: 24796”]So now it looks like I have the same size pxe boot file as you, so I tried PXE booting the server again and…
                          [CODE]Could not configure console: Input/output error (http://ipxe.org/1d8c2139)
                          Could not boot: Input/output error (http://ipxe.org/1d8c2139)
                          Could not boot: Input/output error (http://ipxe.org/1d8c2139)[/CODE]

                          After some testing I think, that this should be a vesa framebuffer problem. This can be resolved by deleting line 540 (background picture) from /var/www/fog/lib/fog/BootMenu.class.php[/quote]

                          Sorry about the delay since my last post here…

                          I commented out line 540 of /var/www/fog/lib/fog/BootMenu.class.php like you suggested and it worked! I got to the Fog menu! However… When I try to do Quick Registration or Full Registration, I get an error:
                          [IMG]http://i.imgur.com/HSWXzOd.jpg[/IMG]
                          It continues until I see this:
                          [IMG]http://i.imgur.com/YDcuyv5.jpg[/IMG]

                          After that, it keeps scrolling down until I see nothing but a blank screen, and nothing appears in the Fog host inventory.

                          1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            I’m currently building a 64 and 32 bit kernel with this firmware added. Thank you.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              Kernels are now updated and available in svn or from my website.

                              [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage[/url] (64bit)
                              [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage32[/url] (32bit)

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • B
                                BBBBlaine
                                last edited by

                                [quote=“Tom Elliott, post: 35659, member: 7271”]Kernels are now updated and available in svn or from my website.

                                [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage[/url] (64bit)
                                [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage32[/url] (32bit)[/quote]

                                You’re amazing! I downloaded the new kernels and replaced the old ones and my PE 2900 is now uploading an image to my Fog server!

                                Thank you so much for your help. This is a huge step in being able to replace our existing Acronis system with Fog.

                                1 Reply Last reply Reply Quote 0
                                • 1
                                • 2
                                • 1 / 2
                                • First post
                                  Last post

                                148

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project