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

Trying to "Push" CentOS7 image on Lenovo P620

Scheduled Pinned Locked Moved
FOG Problems
4
35
5.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.
  • H
    Hybride @Sebastian Roth
    last edited by Jun 22, 2021, 4:52 PM

    @sebastian-roth said in Trying to "Push" CentOS7 image on Lenovo P620:

    n’t even need to copy all of the new compiled binaries. Just copy over the new ipxe.efi and see if that makes a difference. If not also try the new

    Saddly I don’t have much luck with new compiled efi files 😞

    I’ll install Wireshark on my FOG server and see what I can track,

    I’ll be back!

    1 Reply Last reply Reply Quote 0
    • H
      Hybride @Sebastian Roth
      last edited by Jun 22, 2021, 5:27 PM

      @sebastian-roth Here’s my wireshark capture fileFog_Capture1.txt

      Cheers!

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jun 22, 2021, 7:03 PM

        @hybride said in Trying to "Push" CentOS7 image on Lenovo P620:

        Here’s my wireshark capture file

        Ok, that’s a good start. We see the TFTP transfer of snponly.efi file. Though there is nothing else in the Wireshark dump. No DHCP packets nor any further TFTP request.

        Any chance you can get hold of an old network hub that you can connect between the Lenovo P620 and the network layer switch. Then connect another Windows notebook to that hub and capture the network traffic.

        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

        H 1 Reply Last reply Jun 22, 2021, 7:32 PM Reply Quote 0
        • H
          Hybride @Sebastian Roth
          last edited by Jun 22, 2021, 7:32 PM

          @sebastian-roth said in Trying to "Push" CentOS7 image on Lenovo P620:

          o DHCP packets nor any further TFTP request

          My fault I filtered my capture, here’s one with no filter in it.

          Hope it does the job!

          No filter this time 🙂

          CaptureFog.txt

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Jun 22, 2021, 7:52 PM

            @Hybride In Wireshark use the display filter eth.addr == e0:4f:43:e6:4a:3e to see all the packets sent from and received by the Lenovo P620 laptop. After the TFTP transfer (snponly.efi) we see packets of the second DHCP DORA done by iPXE (first one is done by the BIOS/UEFI firmware). And finally after that we see ARP resolution requests over and over.

            To me this looks like iPXE loaded on the L620 is able to actually send packets on the wire (as we see them arrive on the server side) but has problems to receive the answers. Otherwise it shouldn’t send the same ARP request so many times!

            Still question is, why is it able to do the DHCP DORA (two packets sent and two packets received) but then fails to go ahead?!

            Can you get to the iPXE shell again? Try sending a ping to the server: ping x.x.x.x and let us know if this works.

            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

            H 2 Replies Last reply Jun 22, 2021, 8:02 PM Reply Quote 0
            • H
              Hybride @Sebastian Roth
              last edited by Jun 22, 2021, 8:02 PM

              @sebastian-roth said in Trying to "Push" CentOS7 image on Lenovo P620:

              (two packets sent and two packets received) but then fails to go ahead?!

              I can’t ping anything, not even my gateway. I only get timeout.

              1 Reply Last reply Reply Quote 0
              • H
                Hybride @Sebastian Roth
                last edited by Jun 22, 2021, 8:15 PM

                @sebastian-roth Hello, just a minor correction: It’s a Lenovo Desktop P620 and the network card is a: Marvel AQtion 10Gbit Network Adapter

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Jun 23, 2021, 6:19 AM

                  @Hybride Any chance you can get hold of an old network hub that you can connect between the Lenovo P620 and the network layer switch? Then connect another Windows laptop to that hub and capture the network traffic using Wireshark in that laptop.

                  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

                  H 3 Replies Last reply Jun 23, 2021, 12:03 PM Reply Quote 0
                  • H
                    Hybride @Sebastian Roth
                    last edited by Jun 23, 2021, 12:03 PM

                    @sebastian-roth Sadly I don’t have any at my office 😞

                    1 Reply Last reply Reply Quote 0
                    • H
                      Hybride @Sebastian Roth
                      last edited by Jun 23, 2021, 12:26 PM

                      @sebastian-roth I will check what I can do with some “port mirroring” maybe!

                      1 Reply Last reply Reply Quote 0
                      • H
                        Hybride @Sebastian Roth
                        last edited by Jun 23, 2021, 12:54 PM

                        @sebastian-roth Well that was easier than I thought!

                        Here’s the file. But I’ve filtered the result a bit with this filter: eth.addr == e0:4f:43:e6:4a:3e

                        Because there was a lot of stuff running on my laptop but just tell me if you prefer more detailled logs. But I would like to send the complete log to your email and not post it on the forum please.

                        Lenovo-PortMirrorred.txt

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Jun 24, 2021, 12:41 PM

                          @hybride said in Trying to "Push" CentOS7 image on Lenovo P620:

                          Here’s the file. But I’ve filtered the result a bit with this filter: eth.addr == e0:4f:43:e6:4a:3e

                          Can’t make sense of this with the filter enabled. Please check the speech bubble in the top right corner of the forums for a private message.

                          One thing I really wonder, are FOG server and client host in the same subnet or is there a router in between? What’s the subnet mask in your setup, 255.255.0.0?

                          As well what’s the MAC address of the client host? I thought it’d be e0:4f:43:e6:4a:3e but then I just figured we have ICMPv6 packets in the dump as well, send from this MAC. That doesn’t make sense to me.

                          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

                          H 1 Reply Last reply Jun 29, 2021, 3:05 PM Reply Quote 0
                          • H
                            Hybride @Sebastian Roth
                            last edited by Jun 29, 2021, 3:05 PM

                            @sebastian-roth Sorry for the delay!!! My HR decided I needed more jobs lol

                            So I was forced to push back my ipxe debugging. Between two users I’ve installed a Startech (20 box) 1Gb ethernet card on my Lenovo P620 and put snponly.efi (fog) file in the option 067 on my DHCP and now I can deploy.

                            I wish I knew how to put the AQtion card drivers in those Kernel, it’s always a Driver bug 🙂

                            Thank you very much for answering all my noob question tho !!

                            If you want me the sent you drivers files or something to update Kernel just let me know, I’ll be happy to send you whatever you need to update FOG 🙂

                            Best regards!

                            F 1 Reply Last reply Aug 28, 2021, 4:10 PM Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Jun 29, 2021, 7:19 PM

                              @Hybride Thanks for the update on this. Definitely a driver issue but as it’s in iPXE there is not much we can do. You might think about reporting to the iPXE developer mailing list if you are keen. But as you were able to get around this by using a different NIC it’s probably not worth the time and effort.

                              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

                              H 1 Reply Last reply Jun 30, 2021, 1:11 PM Reply Quote 0
                              • H
                                Hybride @Sebastian Roth
                                last edited by Jun 30, 2021, 1:11 PM

                                @sebastian-roth said in Trying to "Push" CentOS7 image on Lenovo P620:

                                if you are keen. But as you were able to get around this by using a different NIC it’s probably not worth the time and effort.

                                I’ve contacted Lenovo about this and here’s their answer:

                                "We are currently working with Marvell and the developers of iPXE to update the iPXE source code to include the Marvell NIC driver for the P620. Unfortunately, this hasn’t been a quick and easy fix and we are currently waiting on the iPXE developers to pick up the updated patch code provided by Marvell in their official iPXE release. In the meantime, I can provide you with a test iPXE image that should work for you on the P620 platform. "

                                I haven’t got the time to test is test iPXE but I’ll stick to the 20$ network card add 🙂 I rarely install more than 5 computers at a time so I’ll be fine this way.

                                Thanks again Sebastian for your help,

                                1 Reply Last reply Reply Quote 1
                                • F
                                  fog8923 @Hybride
                                  last edited by Aug 28, 2021, 4:10 PM

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fog8923
                                    last edited by Aug 28, 2021, 4:28 PM

                                    @hybride Hi, I am on the same boat regarding the built-in NIC on the Lenovo P620. I would like to explore the option you suggested with the add-in PCIe NIC card.

                                    Pressing F12 to bring up the boot menu I cannot see listed the add-in 1GBe card. Did you have to take extra steps on the UEFI bios to make it show up on the boot menu?

                                    Please would you mind sharing with me the model of 1GBe card that worked for you.

                                    When you mentioned to put snponly.efi on option 67. Please could you give me extra details on where to put this file and how to perform this change.

                                    Thank you in advance for your help.

                                    george1421G 1 Reply Last reply Aug 28, 2021, 10:05 PM Reply Quote 0
                                    • george1421G
                                      george1421 Moderator @fog8923
                                      last edited by Aug 28, 2021, 10:05 PM

                                      @fog8923 said in Trying to "Push" CentOS7 image on Lenovo P620:

                                      Pressing F12 to bring up the boot menu I cannot see listed the add-in 1GBe card. Did you have to take extra steps on the UEFI bios to make it show up on the boot menu?

                                      You have found an annoyance I have with UEFI firmware. It doesn’t see every network adapter as capable of pxe booting. You have to think about uefi firmware this way, its actually a mini operating system with limited space so only a few drivers are installed by default. So you can only pxe boot off of network adapters supported by the hardware. Not every flavor of network adapter is supported by the the uefi kernel. Contact your hardware vendor for a list of approved add in network adapters that are supported by your hardware.

                                      When you mentioned to put snponly.efi on option 67. Please could you give me extra details on where to put this file and how to perform this change.

                                      This refers to your dhcp server. What device serves dhcp IP address to your network? Is it the fog server or are you using your campus dhcp server. That is where you will change this setting. The default recommended boot loader for uefi hardware by FOG is ipxe.efi. This is in a way much like the uefi bios and linux OS, it has many known network adapter drivers built into the kernel. The iPXE boot loader snponly.efi only contains shim code to talk to the network adapter through its built in driver, much like undionly.kpxe talks to the built in undi driver in most bios based network adapters. The recommendation for snponly.efi is that the built in network driver in the uefi network adapter may work better for you than the all inclusive ipxe.efi file. To change the boot file. look at your dhcp server.

                                      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!

                                      F 1 Reply Last reply Aug 31, 2021, 9:30 AM Reply Quote 0
                                      • F
                                        fog8923 @george1421
                                        last edited by Aug 31, 2021, 9:30 AM

                                        @george1421 Hi, thank you for your advise. I will contact the vendor to access the list of approved NICs.

                                        We are running the dhcp within the fog server. It is a CentOS 7 system. I will modify the dhcp settings to use snponly.efi to try boot from the add-in card as soon as we source a compatible one.

                                        Thanks again for your help.

                                        george1421G 1 Reply Last reply Aug 31, 2021, 11:38 AM Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @fog8923
                                          last edited by Aug 31, 2021, 11:38 AM

                                          @fog8923 said in Trying to "Push" CentOS7 image on Lenovo P620:

                                          I will modify the dhcp settings to use snponly.efi

                                          I would at least try the built in card with the snponly.efi driver. Make sure the firmware (bios) on the lenovo is up to date. We’ve also seen flaky first generation firmware from lenovo.

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

                                          159

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project