• 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.4k
    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.
    • 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.

      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.

          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
                                      • B
                                        BPSTravis Developer
                                        last edited by

                                        Viper, check your DHCP server and make sure it points to undionly.kpxe not pxelinux.0.

                                        If that does not work open a mysql terminal and type [SIZE=13px][FONT=arial][COLOR=#262626]“truncate table tasks” this will clear up any tasks from .32.[/COLOR][/FONT][/SIZE]

                                        If none of that works [SIZE=13px][FONT=arial][COLOR=#262626]what is the output of “[/COLOR][/FONT][/SIZE][SIZE=13px][FONT=arial][COLOR=#262626][url]http://{fogserverip}/fog/service/ipxe/boot.php?mac=XX:XX:XX:XX:XX:XX[/url] spits out (where the x’s are the systems MAC ADDRESS)”[/COLOR][/FONT][/SIZE]

                                        You can type it into any machine on the network.[SIZE=13px][FONT=arial][COLOR=#262626][/COLOR][/FONT][/SIZE]

                                        For the record this is why we recommend a fresh install vs a update when going from .32 to .33b. If you can, back up your images and hosts and do a clean install of .33b and you will not have to hunt down all of these little changes.

                                        [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
                                        • Tom ElliottT
                                          Tom Elliott
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • V
                                            viper02
                                            last edited by

                                            is that the same as a standard terminal window. where do i find that output? is that something i should see when i first boot?
                                            I will load a new drive and see if i can do a "clean boot later on.

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

                                            149

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project