• 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
    201.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.
    • sarge_212S
      sarge_212 @george1421
      last edited by

      @george1421 ip addr show indicates the following:

      1: lo loopback
      2: eth0 <NO-CARRIER, BROADCAST,MULTICAST,UP> but doesn’t indicate an IP
      3: eth1 gives information that I would think would be on eth0, such as an IP address on my network

      So according to this and your response, I think the fog live boot OS (FLOS fog-live-oS, good name?) will work. So, where do we go from here?

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

        @sarge_212 OK you are seeing two ethernet adapters, I will assume eth0 is the built in wireless adapter and eth1 is the add on adapter. So the FLOS (its growing on me) image is viable.

        So now you have the same issue is another poster, the handoff between ipxe (not a fog project product) and the flos kernel is not happening correctly. Let me try something in my lab, I want to see if I can update/the ipxe kernel to get this handoff to work. You are still using FOG 1.2.0 (stable) 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!

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

          @george1421 Yep 1.2.0 stable with some mods though, eg playing with kernels and the like and I’ve pulled the /tftpboot directory from a recent trunk version but I don’t know how much of an effect that will have. At this point it all seems to be working normally, eg still imaging other hardware without issue.

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

            @george1421 said:

            I will assume eth0 is the built in wireless adapter and eth1 is the add on adapter.

            I don’t think this is the case as Tom does not add wireless drivers to the kernel AFAIK. So it’s a really good question what eth0 is. Can you please boot again and run the following commands:

            ls -al /sys/class/net/eth0/device/driver/ | grep module
            ...
            ls -al /sys/class/net/eth1/device/driver/ | grep module
            ...
            

            This should at least show us which drivers are used for those devices and hopefully we then understand which is which.

            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 do this in the FLOS usb? (the one debug Fog Live OS I created?)

              Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @sarge_212
                last edited by

                @sarge_212 Maybe we could call it 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

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

                  @sarge_212 Yes that command is a linux command so you need to boot into flos (flogger) and get to the command prompt. Then run the ls command that will display all files in that location and then just filter out the ones that have module

                  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
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @sarge_212 said:

                    do this in the FLOS usb? (the one debug Fog Live OS I created?)

                    Yes I’d say so.

                    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 I like flos better, no offense @Tom-Elliott. I’ll boot into that and get you all the output of those 2 commands. may come in cell phone selfie form, but hey, that’s okay, right?

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

                        Yes, whichever you like. Picture is great because we see exactly what you have on screen!

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

                          @sarge_212 Aww man,

                          I was just thinking of a way to phrase it as an acronym and all.

                          Free Live Opensource Ghost/Ghosting environment replacement.

                          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 Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                          • sarge_212S
                            sarge_212 @Tom Elliott
                            last edited by

                            @Tom-Elliott That is a better one. FLOGGER it is, Tom.

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

                              So, I think part of the problem is the surface doesn’t have hard wire ethernet, be nice if it did. I’m using a surface dock. Here is what I’m seeing (using the ethernet adapter on the dock, because I can’t use the usb 2.0 network-ethernet adapter on the surface because the usb FLOGGER is in that port) oh surface woes. 0_1454086590852_fogdriver.jpg

                              anyhow, I’m going to try and find a usb hub to plug them all in to the one single port on the surface. Anything else I can check while in the Flogger OS?

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @Tom Elliott
                                last edited by

                                @Tom-Elliott said:

                                @sarge_212 Aww man,

                                I was just thinking of a way to phrase it as an acronym and all.

                                Free Live Opensource Ghost/Ghosting environment replacement.

                                I’m still partial to fog-too

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

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

                                  Okay. Here is something else. I have the ethernet cable in the surface dock. I put the ipxe usb boot only, eg only thing on flash drive is /efi/boot/bootx64.efi into the single usb port and booted. Was able to get to a registration menu. Keyboard didn’t work, but surface touch did. Arrowed down to perform full host registration and inventory and received the following:

                                  0_1454087178740_kernelp.PNG

                                  This is using the kernel with FOG 1.2.0, I believe 3.19.8 but I can check that if needed.

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

                                    So now we are back to eth0 only (driver seams to be r8152). But what was the other eth device just some hours ago?? Where is it gone. Maybe because you changed back to an older kernel? Sorry man but I think you’ve lost me here. Not really sure what devices (dock, USB NIC) you have and kernels you switch forth and back.

                                    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 The other eth device some hours ago was the USB 2.0 usb-ethernet adapter I was using. This helped us some how in the testing but I can’t remember how. I did go back to an older kernel. Here is the current config:

                                      Surface Dock (ethernet cable plugged into that)
                                      Older kernel
                                      USB booting of flogger os in usb port ON surface

                                      I can test a variety of other configs, I can’t remember what we were doing yesterday with the ethernet-usb adapter though…

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

                                        Just playing with the Flogger os, and looking around at things. When I’m connected to the surface dock using the ethernet cable, I get this before the fog prompt:

                                        r8152 2-2.2:1.0 eth0: v 1.08.2

                                        I don’t know if that helps at all?

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

                                          Feels like we are going in circles with this. If you don’t remember what you tried yesterday how would we be able to keep track of what has been tried and which options we should look into. No offense here - just saying that it’s very hard to follow through so many posts and no real track to follow down.

                                          Re-reading your initial post and one of your very early posts I find that were pretty close already. You had iPXE (snponly.efi/ipxe.efi) booting up to the menu but no kernel coming up at first. Then you posted:

                                          Copied over the contents of a fresh trunk install to /tftpboot/ on FOG 1.2.0 server
                                          Updated Kernel from 3.19.3 to 4.1.2 as seemed good in FOG UI
                                          Tried imaging, it pulled ipxe.efi down from dhcp and we got our customized FOG
                                          menu(different than before)
                                          Went to register and the machine kernel panic’d:

                                          i8042: No Controller found
                                          cdc-ether 2-2.2:2.- eth0 kevent 12 may have been dropped
                                          Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
                                          Kernel Offset: disabled
                                          -----[ end Kernel panic – not syncing: VFS: unable to mount root fs on unknown-block(1,0)]----

                                          So we have seen the kernel panic already. So to me it actually seams like hand over from netbooted iPXE to the kernel is kind of working. At least we see some kernel messages! And the other thing we know (for sure?!) is that you were able to boot the most current FOG kernel from a USB stick. So kernel is fine on the device and netboot also seams good.

                                          So we are left with the question what’s going on with this kernel panic?? What this panic actually means is that the root device given (in the case of FOG it is a ramdisk where init.xz is loaded into) cannot be mounted. There can be other reasons for this but in most cases this is due to a corrupted or wrong init file.

                                          So lets try to download and check most current kernel and init files by hand. Just to make sure those are fine. Run those commands as root on your FOG server:

                                          cd /var/www/fog/service/ipxe
                                          mkdir bak
                                          mv bzImage* init*.xz bak
                                          wget -O kernels.sha512 https://fogproject.org/kernels/index.php
                                          wget https://fogproject.org/kernels/bzImage
                                          wget https://fogproject.org/kernels/bzImage32
                                          sha512sum -c kernels.sha512
                                          wget -O inits.sha512 https://fogproject.org/inits/index.php
                                          wget https://fogproject.org/inits/init.xz
                                          wget https://fogproject.org/inits/init_32.xz
                                          sha512sum -c inits.sha512
                                          

                                          Pay attention if you get ‘OK’ as results from the sha512sum commands. This is really important! Then try booting your device via netboot (not via USB stick!) in UEFI mode like you have already done several times.

                                          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 I understand that I “may” have gone in circles. Thanks to @george1421 I’m documenting all the changes I’m doing from here on out so we don’t have that problem. I will do this now, thanks again for all your awesome suggestions and indications of where its going wrong, I really do appreciate it!!

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 9 / 9
                                            • First post
                                              Last post

                                            166

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project