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

    Surface Pro 4 won't get to registration menu

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    169
    193.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.
    • george1421G
      george1421 Moderator
      last edited by george1421

      Take the hint from Sebastian for image verify here is what I did so far.

      I created a new snponly.efi image from the rom-o-matic. The script will chain to my dev fog server running the trunk build, but contains fog 1.2.0 stable kernels (yields better error messages).

      This is the ipxe chain command: chain tftp://192.168.1.88/tester.ipxe

      The tester.ipxe script file was populated with the code used for the quick reg action.

      #!ipxe
      
      kernel bzImage init=/sbin/init initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.1.88/fog/ consoleblank=0 debug loglevel=7 mode=autoreg
      initrd  init.xz
      boot
      

      So that is the testing environment.

      [round 1]
      I copied the bzImage and init.xz files (fog 1.2.0 stable) to the /tftpboot directory so I could load them via tftp instead of http. The system was booted and the transfer (as expected) was terribly slow. But the results were the same “corrupt init.xz”

      [round 2]
      I updated the ipxe file to use http to download the image file.

      #!ipxe
      
      kernel http://192.168.1.88/fog/service/ipxe/bzImage init=/sbin/init initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 web=192.168.1.88/fog/ consoleblank=0 debug loglevel=7 mode=autoreg
      initrd  http://192.168.1.88/fog/service/ipxe/init.xz
      boot
      

      Same results: “corrupt init.xz”

      [round 3]
      Increased the size of the ram drive to 250000
      Results: “corrupt init.xz”

      [round 4]
      Attempted to boot bzImage32 and init_32.xz
      Results: boot failed

      [round 5]
      Reset bzImage and init.xz

      Updated the tester.ipxe to use image verify command and built the self signed ca and then signed both bzImage and init.xz creating the required .sig files.

      #!ipxe
      
      imgtrust --permanent
      
      kernel http://192.168.1.88/fog/service/ipxe/bzImage init=/sbin/init initrd=init.xz root=/dev/ram0 rw ramdisk_size=250000 web=192.168.1.88/fog/ consoleblank=0 debug loglevel=7 mode=autoreg
      initrd  http://192.168.1.88/fog/service/ipxe/init.xz
      imgverify bzImage http://192.168.1.88/fog/service/ipxe/bzImage.sig
      
      boot
      

      Results: imgverify command not found (!!nuts!!)

      [round 6]
      rebuilt the ipxe.efi to include the IMAGE_TRUST_CMD. updated dhcp to use ipxe.efi instead of snponly.efi
      Results: Failure the ipxe.efi was not compiled with a valid certificate. Ugh! unless the ipxe.efi file was compiled with the self signing certificate the imgverify command won’t work.

      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 1
      • Tom ElliottT
        Tom Elliott @Sebastian Roth
        last edited by

        @Sebastian-Roth I think I’m just hoping to see nic information. While efi issues are still present the original issue which registration was failing the output may help us get at least drivers for the nic.

        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

        sarge_212S 1 Reply Last reply Reply Quote 0
        • sarge_212S
          sarge_212 @Tom Elliott
          last edited by

          @Tom-Elliott In which OS should I do this? Will I do this in the Flogger OS or in the ubuntu live image or where should I run this command?

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

            @sarge_212 Yes in FOS/FLOGGER

            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

            sarge_212S 1 Reply Last reply Reply Quote 0
            • sarge_212S
              sarge_212 @Tom Elliott
              last edited by

              @Tom-Elliott Here is the output from those 2 commands:

              0_1454352566454_lspci.jpg

              Let me know what else I can do, thanks!

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

                So this system doesn’t have an onboard nic? Is the usb nic plugged in when you ran these commands.

                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

                sarge_212S 1 Reply Last reply Reply Quote 0
                • sarge_212S
                  sarge_212 @Tom Elliott
                  last edited by sarge_212

                  @Tom-Elliott
                  Correct, the surface pro 4 does not have an onboard nic. Let me compare output but I think the USB nic is plugged in when I ran this. I might be able to boot from the USB stick in the dock and with the 2.0 USB network adapter plugged in, would that be helpful?

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

                    @sarge_212 I think/hope so maybe. I don’t really know though,

                    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

                    sarge_212S 1 Reply Last reply Reply Quote 0
                    • sarge_212S
                      sarge_212 @Tom Elliott
                      last edited by

                      @Tom-Elliott So I tried that, with the USB network-adapter, and it just added a device in the output of lsusb. Not sure where to go from here.

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

                        @sarge_212 You might wanna try this bzImage_epk kernel image. Download it and put it into /var/www/fog/service/ipxe on your FOG server. I compiled this kernel with something called earlyprintk enabled. Possibly we see some more information before we hit the kernel panic. I mean use this kernel and try PXE booting your device with the USB NIC. Just use this kernel binary instead of the normal one. Plus use earlyprintk=efi as kernel parameter for this host - register this host/MAC by hand in the WebGUI, add the kernel parameter to it and run a debug task with it.

                        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

                        sarge_212S 2 Replies Last reply Reply Quote 0
                        • sarge_212S
                          sarge_212 @Sebastian Roth
                          last edited by

                          @Sebastian-Roth So I can manually register the host in the WebGUI with the MAC address? I will try that out.

                          sarge_212S 1 Reply Last reply Reply Quote 0
                          • sarge_212S
                            sarge_212 @Sebastian Roth
                            last edited by

                            @Sebastian-Roth I’ve done the manual registration and pushed the bzImage_epk to the host with the kernel arguments and it did give a lot of text printing before the kernel panic. Video coming soon…

                            1 Reply Last reply Reply Quote 1
                            • sarge_212S
                              sarge_212 @sarge_212
                              last edited by

                              @sarge_212 Here is some video output of the pxe boot and kernel panic. Hope this helps!

                              https://www.youtube.com/watch?v=YvzswksAOUg

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

                                @sarge_212 Thanks for the video. I get the impression but it’s impossible to read what’s going on there. Are you able to take a series of pictures? Most cameras can do this. And having the camera in a fixed position would also help I guess. As a start, can you take a clear picture of the full screen when it gets to the end (kernel panic). Possibly we see something there already.

                                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

                                sarge_212S george1421G 3 Replies Last reply Reply Quote 0
                                • sarge_212S
                                  sarge_212 @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth Sorry! Yeah I can do that.

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

                                    @Sebastian-Roth I would think if you could get the camera in a fixed postiion and then only try to record the bottom half of the screen (sharply) then that may yield better results. I did see that my iPhone 5 has a slow motion mode (120 fps) that would allow more time to try to read the information before it scrolls off.

                                    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
                                    • sarge_212S
                                      sarge_212 @Sebastian Roth
                                      last edited by

                                      @Sebastian-Roth Yeah I have an iPhone 6 with the Slo Mo, think that might be of help ? The bigger problem is a fixed position. IF only we had a selfie stick in the office!

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

                                        Doesn’t need to be in a self standing position I reckon. Would be a lot better if you can arrange things so that your phone is “standing” on ground (table, books, …). That way the shaking is a lot less. Best if you can cramp it in between two books to make it stand by itself… you will figure it out I am sure.

                                        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

                                        sarge_212S 1 Reply Last reply Reply Quote 0
                                        • sarge_212S
                                          sarge_212 @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth Genius! Give me a few minutes here…

                                          1 Reply Last reply Reply Quote 0
                                          • sarge_212S
                                            sarge_212
                                            last edited by

                                            Sorry for the delay all. Here is the latest output from the bzImage_epk argument:

                                            https://www.youtube.com/watch?v=fg2cWbnVPaI

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

                                            217

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project