• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.0k
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.
  • T
    Tom Elliott
    last edited by Jun 19, 2014, 10:57 PM

    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 Jun 19, 2014, 11:44 PM

      [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 Jun 20, 2014, 12:02 AM

        [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 Jun 20, 2014, 12:19 AM

          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 Jun 20, 2014, 12:29 AM

            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 Jun 25, 2014, 5:17 PM

              [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
              • T
                Tom Elliott
                last edited by Jun 25, 2014, 6:40 PM

                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 Aug 21, 2014, 10:31 PM

                  [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
                  • T
                    Tom Elliott
                    last edited by Aug 21, 2014, 10:53 PM

                    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
                    • T
                      Tom Elliott
                      last edited by Aug 21, 2014, 11:01 PM

                      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 Aug 22, 2014, 5:48 PM

                        [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
                        • 2 / 2
                        • First post
                          Last post

                        151

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project