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

    Awesome, thank you! I will test it once you’ve made it.

    Also, it looks like I forgot to mention that these are 32-bit devices.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Oct 10, 2014, 3:09 PM

      Kernels are ready:

      [url]https://mastacontrola.com/fogboot/kernel/bzImage[/url] (64bit)
      [url]https://mastacontorla.com/fogboot/kernel/bzImage32[/url] (32bit)

      I don’t know if it will work properly, but can you boot the system and see if it at least can recognize the disks now?

      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 11, 2014, 3:39 PM

        First off, sorry for my delayed response. I didn’t receive an email notification of a response to my thread.

        The kernel panics, but, it then spits out two lines before locking up:

        [B]VFS: Mounted root (ext2 filesystem) on device 1:0.[/B]
        [B]devtmpfs: mounted[/B]

        1 Reply Last reply Reply Quote 0
        • D
          d4rk3
          last edited by Oct 11, 2014, 3:40 PM

          Getting closer! I’m gonna try various arguments and see if I can coax this any further.

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Oct 11, 2014, 3:56 PM

            What kernel did you try?

            The bzImage32 should be the one you need and if you replaced your original bzImage32 with that, things should work.

            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 11, 2014, 4:01 PM

              I used the bzImage32. I was able to launch a debug task by setting argument /dev/mmcblk. Still can’t see anything with fdisk, gdisk, etc. 😕

              Gonna continue trying…

              1 Reply Last reply Reply Quote 0
              • D
                d4rk3
                last edited by Oct 11, 2014, 5:26 PM

                Good news: I was able to hit the PartClone screen while trying to upload! I just had to set the primary disk to /dev/mmcblk0.

                It then threw an error about not being able to open /dev/mmcblk0 and reboots, but that’s ok because I’m so close now! It seems I just need to find the right disk/argument and these will be FOG compatible 🙂

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

                  Tom, if you or anyone knows where I should go from here I’d appreciate it!

                  [url=“/_imported_xf_attachments/1/1427_Partclone Error.jpg?:”]Partclone Error.jpg[/url]

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

                    Can you remove the 0?

                    mmcblk should find mmcblk1 or mmcblk2 as needed.

                    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: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
                                          • 1
                                          • 2
                                          • 3
                                          • 3 / 3
                                          3 / 3
                                          • First post
                                            24/46
                                            Last post

                                          159

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project