• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.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.
  • D
    d4rk3
    last edited by Oct 13, 2014, 1:49 PM

    Same error, only saying “clone: open /dev/mmcblk error” instead.

    I tried a bunch of kernel arguments yesterday…to no avail.

    Do you think using Partclone v0.2.73 would help at all?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Oct 13, 2014, 1:54 PM

      I don’t think it’s the partclone having the issue, rather it’s the kernel not recognizing the disk.

      You stated in debug, when you fdisk -l you show no disks?

      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
      • D
        d4rk3
        last edited by Oct 13, 2014, 1:57 PM

        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
        • D
          d4rk3
          last edited by Oct 13, 2014, 2:03 PM

          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
          • D
            d4rk3
            last edited by Oct 15, 2014, 3:56 PM

            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
            • D
              d4rk3
              last edited by Oct 15, 2014, 4:02 PM

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

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Oct 15, 2014, 4:49 PM

                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
                • D
                  d4rk3
                  last edited by Oct 15, 2014, 6:21 PM

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

                  1 Reply Last reply Reply Quote 0
                  • D
                    d4rk3
                    last edited by Oct 20, 2014, 1:35 PM

                    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
                    • D
                      d4rk3
                      last edited by Oct 26, 2014, 12:15 AM

                      Bump!

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Oct 27, 2014, 9:48 AM

                        [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
                        • T
                          Tom Elliott
                          last edited by Oct 27, 2014, 10:06 AM

                          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
                          • D
                            d4rk3
                            last edited by Oct 27, 2014, 1:20 PM

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

                            1 Reply Last reply Reply Quote 0
                            • D
                              d4rk3
                              last edited by Oct 28, 2014, 1:48 PM

                              No dice 😕

                              1 Reply Last reply Reply Quote 0
                              • D
                                d4rk3
                                last edited by Nov 14, 2014, 5:25 PM

                                Bump because I have nothing to lose 😄

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by Nov 14, 2014, 5:56 PM

                                  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
                                  • D
                                    d4rk3
                                    last edited by Jul 6, 2015, 4:33 PM

                                    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
                                    • T
                                      Tom Elliott
                                      last edited by Jul 6, 2015, 4:54 PM

                                      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

                                      D 1 Reply Last reply Jul 6, 2015, 5:00 PM Reply Quote 0
                                      • D
                                        d4rk3 @Tom Elliott
                                        last edited by d4rk3 Jul 6, 2015, 11:03 AM Jul 6, 2015, 5:00 PM

                                        @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
                                        • D
                                          d4rk3
                                          last edited by Wayne Workman Jul 6, 2015, 11:41 AM Jul 6, 2015, 5:38 PM

                                          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 Jul 6, 2015, 5:39 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          • First post
                                            Last post

                                          121

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project