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

    Uploading an image from partition layout: /dev/mmcblk0

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    46
    15.5k
    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.
    • d4rk3D
      d4rk3
      last edited by

      I figured the kernel was probably the main issue here.

      And you are correct with running fdisk -l. Even after using your new kernel as well, unfortunately.

      1 Reply Last reply Reply Quote 0
      • d4rk3D
        d4rk3
        last edited by

        I was able to clone partition 1 (mmcblk0p1) successfully, but beyond that it fails to recognize the remaining partitions.

        I was only able to clone p1 by running Debug, creating /images, mounting it on my FOG server and running partclone.dd manually.

        1 Reply Last reply Reply Quote 0
        • d4rk3D
          d4rk3
          last edited by

          Update: making a custom init_32.xz with Buildroot, I’ll report back if I get these uploading!

          1 Reply Last reply Reply Quote 0
          • d4rk3D
            d4rk3
            last edited by

            And if anyone has any knowledge to shed, please, feel free to chime in 🙂

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

              The knowledge I have has been passed. It sounds like we “have” all the stuff you need in place. Now if only I could get it to recognize the mmcblk as /dev/sd{x}?

              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
              • d4rk3D
                d4rk3
                last edited by

                We’ll get it eventually. I wanna thank you again for all of your help, Tom.

                1 Reply Last reply Reply Quote 0
                • d4rk3D
                  d4rk3
                  last edited by

                  After more research, the problem lies within the Replay Protected Memory Block (/dev/mmcblk0rpmb). Now I just need to figure out what needs to be added to the kernel to fix this.

                  Some info/patch here: [url]https://dev-nell.com/rpmb-emmc-errors-under-linux.html[/url]

                  1 Reply Last reply Reply Quote 0
                  • d4rk3D
                    d4rk3
                    last edited by

                    Bump!

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

                      [quote=“d4rk3, post: 38039, member: 23583”]After more research, the problem lies within the Replay Protected Memory Block (/dev/mmcblk0rpmb). Now I just need to figure out what needs to be added to the kernel to fix this.

                      Some info/patch here: [url]https://dev-nell.com/rpmb-emmc-errors-under-linux.html[/url][/quote]

                      Are you seeing the same errors as specified in this patch?

                      I’m going to attempt building a kernel with the supplied patch, but there’s no guarantee this is going to fix your particular issue.

                      FOG Defaults to search for /dev/sd{a-z} or /dev/hd{a-z}.

                      It does not search out mmcblk devices.

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

                        I created 3.17.1 kernels with the patch in the link you provided above.

                        The kernels can be found at:
                        [code]http://mastacontrola.com/bzImage?64bit=1
                        http://mastacontrola.com/bzImage32?32bit=1[/code]

                        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
                        • d4rk3D
                          d4rk3
                          last edited by

                          Thanks so much, Tom! I’ll get back to you once I test the new kernel.

                          1 Reply Last reply Reply Quote 0
                          • d4rk3D
                            d4rk3
                            last edited by

                            No dice 😕

                            1 Reply Last reply Reply Quote 0
                            • d4rk3D
                              d4rk3
                              last edited by

                              Bump because I have nothing to lose 😄

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

                                Have you tried with the latest svn?

                                I’m attempting to not assume device letters and such and hoping that this may 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 0
                                • d4rk3D
                                  d4rk3
                                  last edited by

                                  Update:

                                  I’m on SVN 3504 and just deployed a debug task to see if fdisk would show anything this time around…and it does!

                                  The problem is, the screen fills up and I can only see the last disks which are all /dev/ram*.

                                  How can I slow down the list or scroll up?

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

                                    fdisk -l | more

                                    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

                                    d4rk3D 1 Reply Last reply Reply Quote 0
                                    • d4rk3D
                                      d4rk3 @Tom Elliott
                                      last edited by d4rk3

                                      @Tom-Elliott said:

                                      fdisk -l | more

                                      Thanks Tom 🙂

                                      Every disk looks like this (/dev/ram0 - /dev/ram15)

                                      Kind of disappointing because the mmcblk0rpmb is still blocking me from seeing the mmc partitions.

                                      If anyone has any ideas I’m all ears 🙂

                                      IMG_20150706_125709.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • d4rk3D
                                        d4rk3
                                        last edited by Wayne Workman

                                        Side note…I set the primary disk to /dev/ram0 with a raw DD image and it uploaded 🙂 lol…

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

                                          @d4rk3 I’m thinking that the correct one will not be any of the “ram” ones.

                                          You’ve tried these?
                                          /dev/mmcblk0
                                          /dev/loop0

                                          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/

                                          d4rk3D 1 Reply Last reply Reply Quote 0
                                          • d4rk3D
                                            d4rk3 @Wayne Workman
                                            last edited by d4rk3

                                            @Wayne-Workman said:

                                            @d4rk3 I’m thinking that the correct one will not be any of the “ram” ones.

                                            You’ve tried these?
                                            /dev/mmcblk0
                                            /dev/loop0

                                            Unfortunately, yes. I’ve tried everything from my partition table on my OP.

                                            However, fdisk actually being able to see anything is progress. Tomorrow I’ll try some different kernels, maybe I’ll luck out…

                                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            229

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project