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

    Trouble setting up FOG 1.3.3 (PXE-boot problems and Kernel panic)

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    21
    7.1k
    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.
    • george1421G
      george1421 Moderator @Doppelgrau
      last edited by

      @Doppelgrau said in Trouble setting up FOG 1.3.3 (PXE-boot problems and Kernel panic):

      group {
      next-server <fogIp>;
      filename “undionly.kpxe”;
      host bauwi-test { hardware ethernet 14:bb:6e:dc:05:d2; fixed-address <clientIp>; }
      }

      Where is this coming from? I know what it is, but where did you set it up?

      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!

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

        Now that I look further, I see what you mean by the “IMG_0164” from earlier.

        It appears, to me, that your NIC is already iPXE capable?

        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
        • george1421G
          george1421 Moderator @george1421
          last edited by

          Just for clarity here the only thing we are trying to PXE boot is the Samsung TC222W, right?

          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!

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

            This is sounding more and more like the device is getting information from pxelinux.0. In particular the messages about “Pre-eXecution Boot Environment.”

            If I recall properly, this message get’s displayed by the ipxe.krn file which would ONLY happen if pxelinux.0 file is being called (unless somebody else made a change).

            Would you mind trying:

            mv /tftpboot/pxelinux.0{,_bak}
            cp -p /tftpboot/{undionly.kpxe,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 1
            • D
              Doppelgrau @Tom Elliott
              last edited by

              @Tom-Elliott
              The PXE problem:
              0_1485278451328_IMG_0164.JPG

              @george1421 said in Trouble setting up FOG 1.3.3 (PXE-boot problems and Kernel panic):

              @Doppelgrau said in Trouble setting up FOG 1.3.3 (PXE-boot problems and Kernel panic):

              group {
              next-server <fogIp>;
              filename “undionly.kpxe”;
              host bauwi-test { hardware ethernet 14:bb:6e:dc:05:d2; fixed-address <clientIp>; }
              }

              Where is this coming from? I know what it is, but where did you set it up?

              That’s from the dhcpd-Server admin, that is used in the subnet. (So I did not set it up).
              But the setting seems allright, plugging the device into an other subnet where the dhcpd is not configured to issue opition 66&67 the pxe-menu times out.

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

                @Doppelgrau Ok from the picture it appears that the iPXE kernel itself is freezing. It never continues on or displays initializing devices... Is that correct?

                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!

                D 1 Reply Last reply Reply Quote 0
                • D
                  Doppelgrau @george1421
                  last edited by

                  @george1421 yes, that screenshot has been taken after >10 minutes of no change.

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

                    @Doppelgrau ok I see this has a marvel network adapter.

                    Lets try changing the iPXE boot file from undionly.kpxe to ipxe.kpxe. Maybe the undi code is a bit flaky. Understand what you have is a non-standard system so we may need to test a few iPXE kernels until we find the right one.

                    My intuition is telling me that we need to make sure that pxelinux.0 is not being used since that will causes the error shown in your previous post about the kernel not syncing.

                    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!

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

                      Have you tried the stuff here?

                      https://forums.fogproject.org/topic/9366/trouble-setting-up-fog-1-3-3-pxe-boot-problems-and-kernel-panic/12#

                      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
                      • D
                        Doppelgrau @george1421
                        last edited by

                        You guys are fabolus, giving me input faster than I mangage to run around on this floor to test it 🙂

                        @george1421 said in Trouble setting up FOG 1.3.3 (PXE-boot problems and Kernel panic):

                        Just for clarity here the only thing we are trying to PXE boot is the Samsung TC222W, right?

                        Right. (Long term more, but ATM only the Samsung TC222W)

                        @Tom-Elliott said in Trouble setting up FOG 1.3.3 (PXE-boot problems and Kernel panic):

                        This is sounding more and more like the device is getting information from pxelinux.0. In particular the messages about “Pre-eXecution Boot Environment.”

                        If I recall properly, this message get’s displayed by the ipxe.krn file which would ONLY happen if pxelinux.0 file is being called (unless somebody else made a change).

                        Would you mind trying:

                        mv /tftpboot/pxelinux.0{,_bak}
                        cp -p /tftpboot/{undionly.kpxe,pxelinux.0}
                        

                        Tried it, didn’t change anything.

                        @george1421 said in Trouble setting up FOG 1.3.3 (PXE-boot problems and Kernel panic):

                        @Doppelgrau ok I see this has a marvel network adapter.

                        Lets try changing the iPXE boot file from undionly.kpxe to ipxe.kpxe. Maybe the undi code is a bit flaky. Understand what you have is a non-standard system so we may need to test a few iPXE kernels until we find the right one.

                        Since the dhcpd admin isn’t in the office anymore, tried the “rename hack” (undo the pxelinux.0 try, changed to ipxe)

                        root@fog:~# cd /tftpboot
                        root@fog:/tftpboot# mv pxelinux.0_bak pxelinux.0
                        root@fog:/tftpboot# mv undionly.kpxe undionly.kpxe_bak
                        root@fog:/tftpboot# cp -a ipxe.kpxe undionly.kpxe
                        

                        And it worked, could register the TC222W.

                        Thank you so much for your support.
                        Tomorrow I can try Immaging with fog.

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

                          @Doppelgrau Ok now that we have a kernel that will boot this samsung hardware we can help you decide the next steps.

                          The idea situation is to configure isc dhcp server when it sees one of these samsung computers to send the ipxe.kpxe boot file instead of undionly.kpxe. This can be done with a little debugging and configuration.

                          The basis of what we need to do is covered here: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

                          The above example is for configuring isc dhcp to manage both uefi and bios systems and to send out the right boot file based on the hardware type. While this isn’t exactly what we need to do it gives you an idea what could be possible.

                          If you want to take it to the next step we can guide you, if you want to run ipxe.kpxe for everything, it “should” work for almost all bios (legacy) based computers.

                          just for reference the pxelinux.0 file is bad news, never use it with FOG. Its only in there for legacy purposes.

                          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!

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Doppelgrau @george1421
                            last edited by

                            @george1421 Thank you for your help.
                            Since we have only few other computer models and static dhcp entries for all computers that might be used with fog, knowing that “testing” the different PXE-Loaders (if the ipxe.kpxe doesn’t work) helps a lot.

                            I hope I gain enough experience, that I can give this great community a bit back some times.

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

                            183

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project