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

    Fog wont load past kernal_thread_helper+0x6/0x10

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    62
    28.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.
    • V
      viper02
      last edited by

      I just recently updated my fog from 0.32 to 0.33b and I am unfortunately still stuck when I try to upload the image from an hp pro-book 450G1. I’ve tried registering both through a quick register and manually by inputting the mac address selecting the image and uploading. Both seem to stop at the 5.731830 kernel_thread_helper.

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

        Are you sure you’re using the correct bzImage and init.xz pair? A 32 bit bzImage needs the 32 bit init_32.xz file. A 64 bit bzImage needs the 64 bit kernel.

        As you say you’ve upgraded the fog system (I would typically recommend a fresh install) you likely need to adjust the values in FOG Configuration ( ? ) icon -> FOG Settings -> TFTP Server

        Make the following changes to the relevant lines:

        FOG_TFTP_PXE_KERNEL = bzImage (Exactly, NOT fog/kernel/bzImage)
        FOG_TFTP_PXE_KERNEL_32 = bzImage32 (Should already be set)
        If using Debian variant (e.g. Ubuntu, Debian, mint):
        FOG_TFTP_PXE_KERNEL_DIR = /var/www/fog/service/ipxe/
        If using Redhat Variant (e.g. Redhat, Fedora, CentOS, Scientific Linux)
        FOG_TFTP_PXE_KERNEL_DIR = /var/www/html/fog/service/ipxe/
        FOG_PXE_BOOT_IMAGE = init.xz (Exactly, NOT fog/images/init.gz)
        FOG_PXE_BOOT_IMAGE_32 = init_32.xz

        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
        • V
          viper02
          last edited by

          Ok made the setting changes to the tftp but i am still running into the issue. The G1 is a gen4 i5 processor the first one where we started having issues. Should i make the change to a 64bit kernel instead of a 32? if so how do i go about making this change if necessary

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

            When you changed over, are you booting to undionly.kpxe or pxelinux.0?

            You need to update (from 0.32 to 0.33 upgrade) the option 67 to point to undionly.kpxe rather than pxelinux.0.

            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
            • V
              viper02
              last edited by

              Ok i managed to botch something up i was attempting to make sure i had the correct kernel but doing the kernel update from the fog config. Afterwards when i try to create a image on a client i get bad kernel. So i went back to the kernel updater but i noticed that the unpublished is no longer loading on the page. I going to attempt to re-run the last good kernel and then once i’m back up check the dhcp server./

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

                My server is down at the moment, due to a kernel panic on my storage server, so I expect it to be down until around 5 pm EDT.

                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
                • V
                  viper02
                  last edited by

                  ok is that why it gets stuck at moving file to tftp server

                  1 Reply Last reply Reply Quote 0
                  • V
                    viper02
                    last edited by

                    Ok so i downloaded the kernel earlier from the site is there anyway to copy it to the folder and replace the other kernel? i’ve tried doing it with a click and drag which give me a permission denied.

                    1 Reply Last reply Reply Quote 0
                    • B
                      BPSTravis Developer
                      last edited by

                      Open a terminal and type in sudo nautilus

                      That will give you a GUI with copy permissions after entering your password.

                      otherwise use the copy command

                      cd /var/www/fog/service/ipxe
                      mv bzImage bzImage.orig.4-15-2014

                      cp /location/of/your/downloaded/file / /var/www/fog/service/ipxe

                      [SIZE=12px]signature:[/SIZE]
                      [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                      1 Reply Last reply Reply Quote 0
                      • V
                        viper02
                        last edited by

                        ok the one i downloaded was named tom.elliot i need to change the name to bzImage first correct?

                        1 Reply Last reply Reply Quote 0
                        • B
                          BPSTravis Developer
                          last edited by

                          Yes, it needs to be named bzImage

                          [SIZE=12px]signature:[/SIZE]
                          [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                          1 Reply Last reply Reply Quote 0
                          • V
                            viper02
                            last edited by

                            Ok used nautilus to change the downloaded tom.elliot.32 to bzImage and copied that file to var/www/fog/service/ipxe renamed the original to bzImage<date> and thats that. however when i attempt an image i am still getting bad kernel image. Do i need to reboot? sorry def noob at this

                            1 Reply Last reply Reply Quote 0
                            • B
                              BPSTravis Developer
                              last edited by

                              Do you have a specific kernel set under the FOG UI for that host??

                              Also a recheck of what Tom posted above:

                              [QUOTE]Are you sure you’re using the correct bzImage and init.xz pair? A 32 bit bzImage needs the 32 bit init_32.xz file. A 64 bit bzImage needs the 64 bit kernel.

                              As you say you’ve upgraded the fog system (I would typically recommend a fresh install) you likely need to adjust the values in FOG Configuration ( ? ) icon -> FOG Settings -> TFTP Server

                              Make the following changes to the relevant lines:

                              FOG_TFTP_PXE_KERNEL = bzImage (Exactly, NOT fog/kernel/bzImage)
                              FOG_TFTP_PXE_KERNEL_32 = bzImage32 (Should already be set)
                              If using Debian variant (e.g. Ubuntu, Debian, mint):
                              FOG_TFTP_PXE_KERNEL_DIR = /var/www/fog/service/ipxe/
                              If using Redhat Variant (e.g. Redhat, Fedora, CentOS, Scientific Linux)
                              FOG_TFTP_PXE_KERNEL_DIR = /var/www/html/fog/service/ipxe/
                              FOG_PXE_BOOT_IMAGE = init.xz (Exactly, NOT fog/images/init.gz)
                              FOG_PXE_BOOT_IMAGE_32 = init_32.xz [/QUOTE]

                              [SIZE=12px]signature:[/SIZE]
                              [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                              1 Reply Last reply Reply Quote 0
                              • V
                                viper02
                                last edited by

                                I have the init_32.xzfile and i made the changes specified above. I errored by trying to update the kernel from the updater page. the part im at now is should i name the kernel bzImage or bzImage32? this is with the copy and paste method and if i’m not mistaking it has to go to the ipxe folder correct?

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BPSTravis Developer
                                  last edited by

                                  That depends on which kernel that tom.elliot is.

                                  If it’s 32 bit then it needs to be bzImage32.

                                  [SIZE=12px]signature:[/SIZE]
                                  [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    BPSTravis Developer
                                    last edited by

                                    Just download both kernels from here, keep them named as they show and copy them to the ipxe directory.

                                    [SIZE=13px][FONT=arial][COLOR=#262626]svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage[/COLOR][/FONT][/SIZE]

                                    [SIZE=13px][FONT=arial][COLOR=#262626]svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage32[/COLOR][/FONT][/SIZE]

                                    [SIZE=13px][FONT=arial][COLOR=#262626][/COLOR][/FONT][/SIZE]

                                    [SIZE=12px]signature:[/SIZE]
                                    [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      viper02
                                      last edited by

                                      ok so i am now able to register it and inventory… the last thing i will need assistance with is this. I set a task to upload an image but when the client pxe boots it doesn’t see it and goes to the fog load page. What am i missing?

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        BPSTravis Developer
                                        last edited by

                                        Can you include a screen shot of the task you created?

                                        Are you sure you created a task for the correct host?

                                        Did you get any errors when creating the task?

                                        [SIZE=12px]signature:[/SIZE]
                                        [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          viper02
                                          last edited by

                                          Screenshot after task

                                          [url=“/_imported_xf_attachments/0/666_Screenshot from 2014-04-15 14:57:17.png?:”]Screenshot from 2014-04-15 14:57:17.png[/url]

                                          1 Reply Last reply Reply Quote 0
                                          • V
                                            viper02
                                            last edited by

                                            no errors popped up and yes its the only one like it listed in my inventory. I was able to get it there using the quick inventory function

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

                                            187

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project