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

Surface 3 Fails to Image

Scheduled Pinned Locked Moved Solved
Hardware Compatibility
surface surface 3 hard drive
6
63
49.2k
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.
  • W
    wwarsin @Sebastian Roth
    last edited by Jan 13, 2016, 5:30 PM

    @Sebastian-Roth

    I’m finally back in the office for a few days! Here’s the video: https://youtu.be/UFYNan98lmw This is with the Vanilla bzimage.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jan 13, 2016, 10:17 PM

      @wwarsin Looking at the last few lines of output it seams a bit like FOG doesn’t find any partitions on your device. It says “Saving Partition Tables (GTP)” and then “Task complete” straight way.
      Can you please run a debug session on the surface and see what you get from lsblk

      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

      W 1 Reply Last reply Jan 14, 2016, 8:12 PM Reply Quote 0
      • W
        wwarsin @Sebastian Roth
        last edited by Jan 14, 2016, 8:12 PM

        @Sebastian-Roth

        Here’s a picture of the command;
        0_1452802234736_surface.png

        I have in “/dev/mmcblk0” in Host Primary Disk

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Jan 14, 2016, 3:06 PM Jan 14, 2016, 9:01 PM

          @wwarsin I am really sorry that it seams like we have just been turning in circles! But I might have an idea of what is wrong here now. Spent a long time closely looking at the pictures and videos you posted and I might have found something.

          Picture and video show version 5798 (FOG boot logo message) which FOG polls from the server. But later on it says “Re-reading Partition Tables”. As far as I could find out in the code repository this string was changed in version 5752. So I am pretty sure you have version 5798 installed on the server but your init files did not get updated on the last upgrade - so the clients booting up use an older version.

          Please try this on your FOG server (as root!):

          cd /var/www/fog/service/ipxe
          mv init.xz init.xz_old
          wget https://fogproject.org/inits/init.xz
          chown www-data:www-data init.xz
          

          Then try booting your surface again. Hopefully this will make a difference!

          Tom has changed the disk/partition enumeration from lsblk to fdisk lately. So I am really keen to see if this is working on your device out of the box. Looking forward to hearing from you!

          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

          W 2 Replies Last reply Jan 14, 2016, 9:43 PM Reply Quote 0
          • W
            wwarsin @Sebastian Roth
            last edited by wwarsin Jan 14, 2016, 4:40 PM Jan 14, 2016, 9:43 PM

            @Sebastian-Roth

            Success! It’s capturing the image now!

            I’ll write back a little later, i’m going to try a deploy after this finishes to verify it works completely.

            I appreciate all of the help you and Tom have been!

            1 Reply Last reply Reply Quote 0
            • W
              wwarsin @Sebastian Roth
              last edited by wwarsin Jan 14, 2016, 5:05 PM Jan 14, 2016, 11:04 PM

              @Sebastian-Roth
              So close! Now i’m getting the following error when i try to deploy:

              Checking write caching status on HDD…Failed

              Could not set caching status (enableWriteCache)

              0_1452812572278_surface.png

              Edit: I still have “/dev/mmcblk0” set as the Host Primary Disk

              W 1 Reply Last reply Jan 15, 2016, 3:53 AM Reply Quote 0
              • W
                Wayne Workman @wwarsin
                last edited by Jan 15, 2016, 3:53 AM

                @Tom-Elliott I think center alignment of those pieces in that picture below don’t look very good. I suggest making only the initial logo/credits box be centered, and everything else left aligned.

                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
                  Sebastian Roth Moderator
                  last edited by Jan 15, 2016, 11:34 PM

                  @wwarsin Great! Can you please run another debug session and let us know what you get from hdparm -i /dev/mmcblk0

                  Yeah, pretty close we are indeed! 🙂

                  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

                  W 2 Replies Last reply Jan 18, 2016, 4:48 PM Reply Quote 0
                  • W
                    wwarsin @Sebastian Roth
                    last edited by Jan 18, 2016, 4:48 PM

                    @Sebastian-Roth

                    Here’s the output of the command:

                    # hdparm -i /dev/mmcblk0
                    
                    /dev/mmcblk0:
                     HDIO_DRIVE_CMD(identify) failed: Invalid argument
                     HDIO_Get_IDENTITY failed: Invalid argument
                    #
                    
                    1 Reply Last reply Reply Quote 0
                    • W
                      wwarsin @Sebastian Roth
                      last edited by Jan 26, 2016, 11:51 PM

                      @Sebastian-Roth Any updates by chance?

                      W 1 Reply Last reply Jan 27, 2016, 12:03 AM Reply Quote 0
                      • W
                        Wayne Workman @wwarsin
                        last edited by Jan 27, 2016, 12:03 AM

                        @wwarsin Interestingly we got fog 1.2.0 to image a Surface 3 the other day. I couldn’t understand why trunk wouldn’t work

                        Have you updated recently and tried again?

                        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
                          Sebastian Roth Moderator
                          last edited by Jan 27, 2016, 6:41 AM

                          @wwarsin Thanks for reminding me on this! Can you please go for another debug session and run hdparm with a different parameter to see how this behaves: hdparm -W /dev/mmcblk0

                          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

                          drc0ncD 1 Reply Last reply Feb 3, 2016, 5:34 PM Reply Quote 0
                          • drc0ncD
                            drc0nc @Sebastian Roth
                            last edited by Feb 3, 2016, 5:34 PM

                            @Sebastian-Roth I’m using the streams on this, and they’re running into the exact same problem with the mmcblk0 drive.
                            after running both hdparm -i and hdparm -W i was getting failed invalid argument.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Feb 3, 2016, 6:31 PM

                              @drc0nc Thanks for letting me know! @Tom-Elliott Seams like we need to look into this again and find a way to check for writeCache without it failing on mmcblk devices. Any ideas? Maybe check the return code of hdparm?

                              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

                              Tom ElliottT 1 Reply Last reply Feb 6, 2016, 8:57 PM Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @Sebastian Roth
                                last edited by Feb 6, 2016, 8:57 PM

                                @Sebastian-Roth the write cache problem was only a warning, but I did come up with a fix I think anyway. There was no error code returned that showed there was or wasn’t a problem, so the fix I’ve added is to check the variable we store the check in. If the value has write cache with a value of not supported or is blank we won’t try enabling write support to begin with.

                                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
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Feb 7, 2016, 3:01 PM

                                  Looks good from my point of view. @wwarsin and @drc0nc could you try updating to the very latest and give it a try?

                                  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

                                  drc0ncD 1 Reply Last reply Feb 8, 2016, 2:28 PM Reply Quote 0
                                  • drc0ncD
                                    drc0nc @Sebastian Roth
                                    last edited by Feb 8, 2016, 2:28 PM

                                    @Sebastian-Roth Works just fine now! thanks guys…

                                    W 1 Reply Last reply Feb 8, 2016, 2:50 PM Reply Quote 1
                                    • W
                                      Wayne Workman @drc0nc
                                      last edited by Wayne Workman Feb 8, 2016, 8:50 AM Feb 8, 2016, 2:50 PM

                                      @Sebastian @drc0nc Please let us know what kernel you used, what version of FOG, what boot file, what USB to Ethernet adapter (the model), what kernel parameters or HDD parameters, and anything else special that you’ve done to get this device working.

                                      I’m going to add this device to the Wiki’s working hardware list, that’s why I need all that stuff.

                                      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/

                                      drc0ncD 1 Reply Last reply Feb 8, 2016, 4:01 PM Reply Quote 0
                                      • drc0ncD
                                        drc0nc @Wayne Workman
                                        last edited by Feb 8, 2016, 4:01 PM

                                        @Wayne-Workman
                                        Fog trunk 6327
                                        boot file ipxe.efi
                                        usb to ethernet adapter with ASIX AX88772B chip usb2 to 10/100. (I’ve been testing out gig to usb 3 adapters but no luck booting so far)
                                        Host Kernel Arguments has_usb_nic=1
                                        Host Primary Disk /dev/mmcblk0
                                        I’m using the HP Streams. I believe you already updated the wiki pertaining to these. We’ve lost the ability for a little while but @Tom-Elliott got it squared away.

                                        W 1 Reply Last reply Feb 8, 2016, 4:15 PM Reply Quote 0
                                        • W
                                          Wayne Workman @drc0nc
                                          last edited by Feb 8, 2016, 4:15 PM

                                          @drc0nc Oh, I thought you were working with a Surface 3?

                                          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/

                                          drc0ncD 1 Reply Last reply Feb 8, 2016, 5:01 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 3 / 4
                                          • First post
                                            Last post

                                          175

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project