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

    HP Stream 11 pro

    Scheduled Pinned Locked Moved Solved
    Hardware Compatibility
    4
    84
    72.8k
    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.
    • Tom ElliottT
      Tom Elliott @Sebastian Roth
      last edited by

      @Sebastian-Roth said:

      al thing about mmcblk0bootX devices being readonly by default. I’ll have a look on how to check and automaticly enable write access in fog.download.

      I’m re-refactoring the fog.download to follow similar methodology as the fog.upload script does.

      I can add in the checks if you want.

      That said, I’m kind of scared to enforce write access to this partitions.

      https://www.kernel.org/doc/Documentation/mmc/mmc-dev-parts.txt

      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

      drc0ncD 1 Reply Last reply Reply Quote 0
      • drc0ncD
        drc0nc @Tom Elliott
        last edited by

        @Tom-Elliott @Sebastian-Roth I thank both of you guys! I can wait, no problem. Also, you need me to test any of it, I’m more than willing.

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

          @Tom-Elliott said:

          I can add in the checks if you want.

          That said, I’m kind of scared to enforce write access to this partitions.

          While you are at it… See if you can add this as well. I felt kind of the same when first reading about the read only boot partitions. But on the other hand this is kind of like writing the MBR or partition layout. If we do something wrong there things can really go wrong. But we still do because we need to. Same with those boot partitions on mmcblk devices I reckon. We just won’t get around writing to those if we want to properly deploy to those kind of devices.

          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
            last edited by

            fog.download has been rewritten.

            I’ve made quite a few adjustments and calculations for this and have tested the resizable download capability.

            With this, i believe i fixed upload and download with multipart types (non resize) as well.

            This should be the most non-assumptive init yet.

            While I’m sure I could post this to the masses, I’d rather those of you with these “weird” hard drives test this and verify if the findings are correct and things are working correctly.

            I have performed some decent testing, but I’d rather rely on information straight from those of you who have this issue.

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

              Probably needed information.

              The init’s are currently at:

              http://mastacontrola.com/init.xz (64 bit)
              http://mastacontrola.com/init_32.xz (32 bit)

              You can use these commands:

              wget -O /var/www/fog/service/ipxe/init.xz http://mastacontrola.com/init.xz
              wget -O /var/www/fog/service/ipxe/init_32.xz http://mastacontrola.com/init_32.xz
              

              I hope for the best of news, but I’m not holding my breath.

              While I’m quite impressed with the fog.upload, I still worry how fog.download turned out a little bit.

              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

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

                @Tom-Elliott So they are not added into trunk yet?

                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/

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

                  @Wayne-Workman the scripts are. the inits are not updated with these changes yet.

                  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

                  drc0ncD 1 Reply Last reply Reply Quote 0
                  • drc0ncD
                    drc0nc @Tom Elliott
                    last edited by drc0nc

                    @Tom-Elliott @Wayne-Workman @Sebastian-Roth Here is just a snapshot of a debug capture task. http://i.imgur.com/m2l2Nfo.jpg (sorry but chrome was giving me problems uploading into the forum.)
                    I will post info once the capture is done and I’m deploying an image.
                    It’s working so far with the inits I got from Tom.

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

                      @drc0nc Is this good or bad?

                      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

                      drc0ncD 1 Reply Last reply Reply Quote 1
                      • drc0ncD
                        drc0nc @Tom Elliott
                        last edited by

                        @Tom-Elliott It pulled an image just fine. When I go to deploy this is what happens http://i.imgur.com/Hbw7LL3.jpg

                        If i use the

                        echo 0 > /sys/block/mmcblk0boot0/force_ro
                        echo 0 > /sys/block/mmcblk0boot1/force_ro
                        

                        and run a debug deploy this is what happens
                        http://i.imgur.com/YlxKwGY.jpg

                        It can capture just fine, deploying is having a problem (looks like a syntax issue?)

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

                          Teamviewer?

                          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

                          drc0ncD 1 Reply Last reply Reply Quote 0
                          • drc0ncD
                            drc0nc @Tom Elliott
                            last edited by drc0nc

                            @Tom-Elliott sure thing

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

                              Remoted in and found a few more deploy bugs, but I think we finally got them worked out.

                              It appears that the mmcblk#boot# parts are not parts, but disks in their own right.

                              Because of this, I have removed the read/write code (commented really) and am not iterating through these disks in any manner.

                              I suppose if you wanted to, you could down the road but I would highly recommend against it.

                              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 1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator @Tom Elliott
                                last edited by

                                @Tom-Elliott said:

                                It appears that the mmcblk#boot# parts are not parts, but disks in their own right.

                                Because of this, I have removed the read/write code (commented really) and am not iterating through these disks in any manner.

                                Sounds interesting but I don’t really get what you mean by that Tom. Would you mind explaining this a bit more? From what I saw in earlier posts it seamed like mmcblk#boot# partitions where no problem if read only was disabled. But maybe I am wrong?!

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

                                  The mmcblk#boot# are the disks, while the mmcblk#boot#p# are the partitions of those disks.

                                  The problem occurs in that these boot volumes are incredibly tiny. However, the mbr that get’s written is not always appropriate for the volume. (Maybe somebody else can take that approach on?)

                                  I ask because the boot partitions on these are not designed to be the same methods as you foresee on a typical volume layout. Perhaps there’s a reason they’re started in Read only to begin with? I’m guessing something along the lines of nand or something in a a similar fashion.

                                  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

                                    Ohh, now I see. Have been sitting on my eye balls I suppose. You are right mmcblk#boot# are disks, not partitions. Started a new discussion on device enumeration here: https://forums.fogproject.org/topic/6372/enumerating-disks-and-partitions

                                    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
                                    • drc0ncD
                                      drc0nc
                                      last edited by drc0nc

                                      @tom-elliott
                                      I’ve updated fog to 5844 (still using Toms’ inits.) the image is setup as windows 8.1 and using option 2 for type (multiple part single disk) and when I created a simple upload task on a new image it’ll pull an image like this:

                                      mmcblk0 will pull a full RAW rip (~39GB)
                                      then it’ll continue using partclone for each “partition” ex: mmcblk0p1
                                      each one being its respective sizes.

                                      I feel that the first step of pulling a raw image is unnecessary. or is there a way i can skip it? I’ll update this as soon as it’s finished pulling the image and I deploy it.

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

                                        @drc0nc I have found and fixed this issue on my server. It was related that the getPartitions function was only checking if the device passed ended in a number. While this works for older style disks (/dev/{h,s}d[a-z]), it doesn’t work for disks ending with a number itself. This should now be corrected for.

                                        Please test, if you can, and let me know?

                                        Thank you

                                        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

                                        drc0ncD 1 Reply Last reply Reply Quote 1
                                        • drc0ncD
                                          drc0nc @Tom Elliott
                                          last edited by drc0nc

                                          @Tom-Elliott Ok! I’ll test today and update.
                                          EDIT: It worked, the init skipped the main block and went to the partitions and pulls images just fine.

                                          1 Reply Last reply Reply Quote 0
                                          • drc0ncD
                                            drc0nc
                                            last edited by drc0nc

                                            @Sebastian-Roth @tom-elliott New issues with enabling write cache. I can pull images fine still. Just not deploy.
                                            stream

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

                                            137

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project