• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
184.7k
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.
  • S
    Sebastian Roth Moderator
    last edited by Jan 29, 2016, 3:47 PM

    @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

    S 1 Reply Last reply Jan 29, 2016, 4:04 PM Reply Quote 0
    • S
      sarge_212 @Sebastian Roth
      last edited by Jan 29, 2016, 4:04 PM

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

      T G 2 Replies Last reply Jan 29, 2016, 4:05 PM Reply Quote 0
      • T
        Tom Elliott @sarge_212
        last edited by Jan 29, 2016, 4:05 PM

        @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
        • G
          george1421 Moderator @sarge_212
          last edited by Jan 29, 2016, 4:20 PM

          @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 Jan 29, 2016, 4:20 PM

            @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

            S 1 Reply Last reply Jan 29, 2016, 4:21 PM Reply Quote 0
            • S
              sarge_212 @Sebastian Roth
              last edited by Jan 29, 2016, 4:21 PM

              @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?

              T 1 Reply Last reply Jan 29, 2016, 4:23 PM Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Jan 29, 2016, 4:23 PM

                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
                • T
                  Tom Elliott @sarge_212
                  last edited by Jan 29, 2016, 4:23 PM

                  @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

                  S W 2 Replies Last reply Jan 29, 2016, 4:26 PM Reply Quote 0
                  • S
                    sarge_212 @Tom Elliott
                    last edited by Jan 29, 2016, 4:26 PM

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

                    1 Reply Last reply Reply Quote 0
                    • S
                      sarge_212
                      last edited by Jan 29, 2016, 4:57 PM

                      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
                      • W
                        Wayne Workman @Tom Elliott
                        last edited by Jan 29, 2016, 5:06 PM

                        @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
                        • S
                          sarge_212
                          last edited by Jan 29, 2016, 5:07 PM

                          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 Jan 29, 2016, 5:53 PM

                            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

                            S 1 Reply Last reply Jan 29, 2016, 7:18 PM Reply Quote 0
                            • S
                              sarge_212 @Sebastian Roth
                              last edited by Jan 29, 2016, 7:18 PM

                              @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
                              • S
                                sarge_212
                                last edited by Jan 29, 2016, 7:59 PM

                                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 Jan 29, 2016, 10:39 PM

                                  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

                                  S 1 Reply Last reply Jan 29, 2016, 10:44 PM Reply Quote 0
                                  • S
                                    sarge_212 @Sebastian Roth
                                    last edited by Jan 29, 2016, 10:44 PM

                                    @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!!

                                    T 1 Reply Last reply Jan 30, 2016, 12:43 AM Reply Quote 0
                                    • S
                                      sarge_212
                                      last edited by Jan 29, 2016, 10:59 PM

                                      I “wgot” the kernels and inits. I sha’d them to make sure they were okay and they both checked out. Chown’d them to fog:apache and the UEFI booted the surface. Here is what I have:

                                      0_1454108207812_kernelpanic.PNG
                                      0_1454108228353_invalidmac.PNG

                                      This second picture is a Optiplex 9020 on the new kernels and inits. It seems there is an issue when I try to go to the new kernels and inits with the stable FOG 1.2.0 and grab the undionly.kpxe. So in order to image the other machines we have in production(Optiplex 9020 and Latitude E7450, E7470) I drop back down to the other kernels. Thoughts?

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tom Elliott @sarge_212
                                        last edited by Jan 30, 2016, 12:43 AM

                                        @sarge_212 I still want to help!!!

                                        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 2
                                        • G
                                          george1421 Moderator
                                          last edited by george1421 Jan 29, 2016, 8:22 PM Jan 30, 2016, 12:48 AM

                                          If I remember what Tom said, you need to keep the inits (i.e. virtual hard drive) for 1.2.0 stable with 1.2.0 since the trunk inits have changed quite a bit. I got the impression that the inits for the trunk version were not backwards compatible. But the kernel (bzImage) could be used. Understand its been a long week and I may not have understood what I was told, but that is what I remember.

                                          I have a ESXi VM that is configured for efi booting. And I can boot both ipxe.efi and spnonly.efi using a trunk version of FOG and right where the ram drive gets loaded I get an error message basically saying the inits can’t be found. This same setup will boot a 9020, e7440, and e6430 without issue. I did note that on the 6430 the fog menu is black with red text, and with the ESXi image it is the traditional white background with blue text. I’m going to work with my home lab this weekend to see if I can find any combination of ipxe script settings that will let me boot with the esxi vm. I have a few ideas I want to test. I agree with Sebastian that we are very close we just need to find the right combination to have repeatable success. EFI is here to stay, much like windows 10. We just have to learn to work with it.

                                          [edit] I’m not looking to resolve this problem in the OPs thread. I want to document it here since I think it all related. The error message on the console is “Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b”. In the following link the error message I have is exactly like the error message in the first picture. No resolution was given in the thread.
                                          http://askubuntu.com/questions/651974/kernel-panic-not-syncing-attempted-to-kill-init-exitcode-0x00000009
                                          Here is a great explanation of what this cryptic error message really means (first post) http://www.linuxquestions.org/questions/linux-software-2/explained-kernel-panic-not-syncing-attempted-to-kill-init-353920/
                                          [/edit]

                                          [edit 2]I’ve tried every combination of esxi configuration to change the results (or at least alter the error message) with no success. I did check the apache access log and confirmed that the bzImage and init.xz were being requested and sent to the target. In the access log I did see that the version of the ipxe environment was the same as when I used the rom-o-matic earlier in the day so ipxe is as fresh as today. Next I renamed the bzImage and init.xz to something else and copied in the init.xz and bzImage from the 1.2.0 stable version. Booting this still gave me the same results in kernel panic. But there was some additional detail in the error. “Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation for guidance” [/edit2]

                                          [edit3] I was finally able to trap the error before the kernel panic. This error was trapped with the 1.2.0 stable kernel and inits.

                                          RAMDISK: xz image found at block 0
                                          XZ-compressed data is corrupt
                                          EXT2-fs (ram0): error: ext2_lookup: deleted inode reference: 1565
                                          EXT2-fs (ram0): error: remounting filesystem read-only
                                          <this above errors was repeated about 8 times. Then this error (below) was thrown>
                                          Failed to execute /sbin/init (error -5). Attempting defaults...
                                          

                                          So it appears that the inits are being corrupted in transit (??) or the memory they are being saved into is being damaged somehow.
                                          [/edit3]

                                          [edit4] Just for sanity sake, I changed the mode of the vm from efi to bios, changed the dhcp option 67 back to undionly. kxpe and rebooted the vm. At the fog menu I selected again the quick register host. This time the vm booted into FOG client OS. [/edit4]

                                          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!

                                          T 1 Reply Last reply Jan 30, 2016, 12:50 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • 5 / 9
                                          5 / 9
                                          • First post
                                            91/169
                                            Last post

                                          160

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project