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

    FOG `Kernel panic - not syncing' error after entering quick host registration

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    13
    5.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.
    • J
      JDoornhof
      last edited by JDoornhof

      Hi,

      Today we are upgrading to ubuntu 14.04.4 + FOG 1.2.0 (Version: 7100)
      Installing went all fine, but i got stuck when I wanted to register a computer.
      0_1459943432357_IMG_20160406_131151.jpg
      I Already tried different kernels, without succes.
      The machine/server Fog is running on is a HP Proliant ML350 G5

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        What did you upgrade from?

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        J 1 Reply Last reply Reply Quote 0
        • J
          JDoornhof @Wayne Workman
          last edited by

          @Wayne-Workman said in FOG `Kernel panic - not syncing' error after entering quick host registration:

          What did you upgrade from?

          I went with a clean install on this machine.
          We used to run ubuntu 12.04 + fog 0.32

          1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator
            last edited by

            We had this issue a while a go and has been resolved for a 1000 or so revisions.

            Lets find out a bit more about the target computer.

            What is the make and model?
            Is it configured for efi or bios mode?
            iPXE is not and issue since you are getting the FOS kernel to start (kind of).

            Since you make references to kernels and you are running the trunk version of fog. I would just run through the ./installfog.sh script again and get the correct kernels and inits installed. Lets not make some bad decisions based on what we think is installed.

            What the error is saying is that the kernel can’t find the inits (virtual hard drove) for the FOS client.

            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!

            J 1 Reply Last reply Reply Quote 0
            • J
              JDoornhof @george1421
              last edited by

              @george1421 said in FOG `Kernel panic - not syncing' error after entering quick host registration:

              We had this issue a while a go and has been resolved for a 1000 or so revisions.

              Lets find out a bit more about the target computer.

              What is the make and model?
              Is it configured for efi or bios mode?
              iPXE is not and issue since you are getting the FOS kernel to start (kind of).

              Since you make references to kernels and you are running the trunk version of fog. I would just run through the ./installfog.sh script again and get the correct kernels and inits installed. Lets not make some bad decisions based on what we think is installed.

              Target pc’s/laptops:
              I tested with;
              Gigabyte Brix 4010
              Gigabyte Brix 5010
              Lenovo B50-B80
              (used 2 of them all, just to be sure)

              Bios of the clients is configured to use legacy mode.
              iPXE works fine untill the execution of a task.
              I installed everything as bare as possible (even tried 2 clean installs, Ubuntu+LAMP+FOG via svn checkout)

              What the error is saying is that the kernel can’t find the inits (virtual hard drove) for the FOS client.

              This makes more sense now, thanks in advance!

              1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator
                last edited by george1421

                I would start by re-running the trunk installer script. No need to use svn or git since you have a pretty new install, just run the installer again.

                Then navigate to /var/www/html/fog/service/ipxe (you may need to adjust the path for Ubuntu) make sure the inits and bzImages are there. There should be two sets one for x64 and one for x86. maybe just do a ls -la on that folder and post the results here. The installer script should verify they are the right once since the installer is checking image fingerprints now to ensure things are as they should be.

                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!

                J 1 Reply Last reply Reply Quote 0
                • J
                  JDoornhof @george1421
                  last edited by

                  @george1421 said in FOG `Kernel panic - not syncing' error after entering quick host registration:

                  I would start by re-running the trunk installer script. No need to use svn or git since you have a pretty new install, just run the installer again.

                  Then navigate to /var/www/html/fog/service/ipxe (you may need to adjust the path for Ubuntu) make sure the inits and bzImages are there. There should be two sets one for x64 and one for x86. maybe just do a ls -la on that folder and post the results here. The installer script should verify they are the right once since the installer is checking image fingerprints now to ensure things are as they should be.

                  root@NG-FOGSERVER:/var/www/html/fog/service/ipxe# ls -la
                  total 49128
                  drwxr-xr-x 2 fog      www-data     4096 Apr  6 15:11 .
                  drwxr-xr-x 3 www-data www-data     4096 Apr  6 15:07 ..
                  -rw-r--r-- 1 fog      www-data     1156 Apr  6 15:07 advanced.php
                  -rw-r--r-- 1 fog      www-data    21280 Apr  6 15:07 bg.png
                  -rw-r--r-- 1 fog      www-data      695 Apr  6 15:07 boot.php
                  -rw-r--r-- 1 fog      www-data  7023312 Apr  6 15:08 bzImage
                  -rw-r--r-- 1 fog      www-data  6916224 Apr  6 15:08 bzImage32
                  -rw-r--r-- 1 fog      www-data   234697 Apr  6 15:07 grub.exe
                  -rw-r--r-- 1 fog      www-data 16492316 Apr  6 15:08 init_32.xz
                  -rw-r--r-- 1 fog      www-data 17486980 Apr  6 15:08 init.xz
                  -rw-r--r-- 1 fog      www-data    25340 Apr  6 15:07 memdisk
                  -rw-r--r-- 1 fog      www-data  1839104 Apr  6 15:07 memtest.bin
                  -rw-r--r-- 1 fog      www-data    20933 Apr  6 15:07 refind.conf
                  -rw-r--r-- 1 fog      www-data   205192 Apr  6 15:07 refind.efi
                  root@NG-FOGSERVER:/var/www/html/fog/service/ipxe#
                  
                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @JDoornhof Coming from FOG 0.32 I guess you were using pxelinux(.0) as a boot file. FOG 1.2.0 and FOG trunk use iPXE instead of pxelinux and we have seen the exact same issue that you have chainloading from pxelinux: https://forums.fogproject.org/topic/5642/end-kernel-panic-not-syncing

                    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

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JDoornhof @Sebastian Roth
                      last edited by

                      @Sebastian-Roth said in FOG `Kernel panic - not syncing' error after entering quick host registration:

                      @JDoornhof Coming from FOG 0.32 I guess you were using pxelinux(.0) as a boot file. FOG 1.2.0 and FOG trunk use iPXE instead of pxelinux and we have seen the exact same issue that you have chainloading from pxelinux: https://forums.fogproject.org/topic/5642/end-kernel-panic-not-syncing

                      Wow! Thank you soo much!

                      sudo mv /tftpboot/pxelinux.0 /tftpboot/pxelinux.0.OLD1
                      sudo mv /tftpboot/undionly.kpxe /tftpboot/pxelinux.0
                      

                      That fixed the problem for me, it actually failed to chainload.
                      Strangely ln -s did not work, just renaming it did it for me.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth

                        You could have pointed your DHCP server (option 67) to undionly.kpxe as well instead of renaming… 😉

                        Would be actually a good idea because we often ask “Which iPXE file you use?” when people have issues. If you tell us pxelinux.0 (although it’s actually undionly.kpxe) that might cause a lot of confusion…

                        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

                        J 1 Reply Last reply Reply Quote 1
                        • J
                          JDoornhof @Sebastian Roth
                          last edited by

                          @Sebastian-Roth said in FOG `Kernel panic - not syncing' error after entering quick host registration:

                          You could have pointed your DHCP server (option 67) to undionly.kpxe as well instead of renaming… 😉

                          Would be actually a good idea because we often ask “Which iPXE file you use?” when people have issues. If you tell us pxelinux.0 (although it’s actually undionly.kpxe) that might cause a lot of confusion…

                          0_1460016344760_gj224xt.jpg

                          1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator
                            last edited by

                            It is recommended that you update your dhcp server to use post undionly.kpxe instead of renaming the file in the fog server. The next time you update FOG the proper file will not be updated properly. Plus when you ask for FOG support it will confuse the person helping you because they are not suspecting this non-standard setup.

                            You should contact your network support team to have this value updated on the dhcp server. In the dhcp server it is option #67 also called bootfile.

                            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!

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                            • Wayne WorkmanW
                              Wayne Workman @george1421
                              last edited by

                              @george1421 said in FOG `Kernel panic - not syncing' error after entering quick host registration:

                              Plus when you ask for FOG support it will confuse the person helping you because they are not suspecting this non-standard setup.

                              Going to quote you on that 😉

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

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

                              206

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project