ADMA error after mounting root partition












0














We are trying to boot Linux on a custom board based on ARM processor. The kernel executes successfully from both SD card and eMMC but when the kernel tries to mount the root file system, it is able to mount the root partition but hangs after throwing following error:




[ 11.303145] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 11.311651] mmcblk mmc1:aaaa: Card claimed for testing.
[ 11.318832] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[ 11.341076] mmcblk1: p1
[ 11.461523] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[ 11.473340] VFS: Mounted root (ext4 filesystem) on device 179:33.
[ 11.488610] devtmpfs: mounted
[ 11.493848] Freeing unused kernel memory: 500K (c0b0d000 - c0b8a000)
[ 11.911302] init: plymouth-upstart-bridge main process (115) terminated with status 1
[ 11.923611] init: plymouth-upstart-bridge main process ended, respawning
[ 11.935367] mmc1: ADMA error
[ 11.941245] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 11.949353] sdhci: Sys addr: 0x00000000 | Version: 0x00000303
[ 11.957510] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000028
[ 11.965688] sdhci: Argument: 0x00440cc0 | Trn mode: 0x00000033
[ 11.973895] sdhci: Present: 0x01fb0206 | Host ctl: 0x00000013
[ 11.982134] sdhci: Power: 0x0000000d | Blk gap: 0x00000000
[ 11.990404] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 11.998644] sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
[ 12.006822] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[ 12.014939] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 12.022978] sdhci: Caps: 0x376fd080 | Caps_1: 0x10002f73
[ 12.030966] sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 12.038910] sdhci: Host ctl2: 0x0000308b
[ 12.044909] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xae8420c0
[ 12.052861] sdhci: ===========================================



As a workaround, when I tried to disable ADMA by passing sdhci.debug_quirks=32832 to kernel command line arguments, the system hangs at following point:



[ 8.076631] Waiting for root device /dev/mmcblk1p1...



Can anyone suggest some solution as I am stuck at this point?










share|improve this question



























    0














    We are trying to boot Linux on a custom board based on ARM processor. The kernel executes successfully from both SD card and eMMC but when the kernel tries to mount the root file system, it is able to mount the root partition but hangs after throwing following error:




    [ 11.303145] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [ 11.311651] mmcblk mmc1:aaaa: Card claimed for testing.
    [ 11.318832] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
    [ 11.341076] mmcblk1: p1
    [ 11.461523] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
    [ 11.473340] VFS: Mounted root (ext4 filesystem) on device 179:33.
    [ 11.488610] devtmpfs: mounted
    [ 11.493848] Freeing unused kernel memory: 500K (c0b0d000 - c0b8a000)
    [ 11.911302] init: plymouth-upstart-bridge main process (115) terminated with status 1
    [ 11.923611] init: plymouth-upstart-bridge main process ended, respawning
    [ 11.935367] mmc1: ADMA error
    [ 11.941245] sdhci: =========== REGISTER DUMP (mmc1)===========
    [ 11.949353] sdhci: Sys addr: 0x00000000 | Version: 0x00000303
    [ 11.957510] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000028
    [ 11.965688] sdhci: Argument: 0x00440cc0 | Trn mode: 0x00000033
    [ 11.973895] sdhci: Present: 0x01fb0206 | Host ctl: 0x00000013
    [ 11.982134] sdhci: Power: 0x0000000d | Blk gap: 0x00000000
    [ 11.990404] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
    [ 11.998644] sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
    [ 12.006822] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
    [ 12.014939] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
    [ 12.022978] sdhci: Caps: 0x376fd080 | Caps_1: 0x10002f73
    [ 12.030966] sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
    [ 12.038910] sdhci: Host ctl2: 0x0000308b
    [ 12.044909] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xae8420c0
    [ 12.052861] sdhci: ===========================================



    As a workaround, when I tried to disable ADMA by passing sdhci.debug_quirks=32832 to kernel command line arguments, the system hangs at following point:



    [ 8.076631] Waiting for root device /dev/mmcblk1p1...



    Can anyone suggest some solution as I am stuck at this point?










    share|improve this question

























      0












      0








      0







      We are trying to boot Linux on a custom board based on ARM processor. The kernel executes successfully from both SD card and eMMC but when the kernel tries to mount the root file system, it is able to mount the root partition but hangs after throwing following error:




      [ 11.303145] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
      [ 11.311651] mmcblk mmc1:aaaa: Card claimed for testing.
      [ 11.318832] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
      [ 11.341076] mmcblk1: p1
      [ 11.461523] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
      [ 11.473340] VFS: Mounted root (ext4 filesystem) on device 179:33.
      [ 11.488610] devtmpfs: mounted
      [ 11.493848] Freeing unused kernel memory: 500K (c0b0d000 - c0b8a000)
      [ 11.911302] init: plymouth-upstart-bridge main process (115) terminated with status 1
      [ 11.923611] init: plymouth-upstart-bridge main process ended, respawning
      [ 11.935367] mmc1: ADMA error
      [ 11.941245] sdhci: =========== REGISTER DUMP (mmc1)===========
      [ 11.949353] sdhci: Sys addr: 0x00000000 | Version: 0x00000303
      [ 11.957510] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000028
      [ 11.965688] sdhci: Argument: 0x00440cc0 | Trn mode: 0x00000033
      [ 11.973895] sdhci: Present: 0x01fb0206 | Host ctl: 0x00000013
      [ 11.982134] sdhci: Power: 0x0000000d | Blk gap: 0x00000000
      [ 11.990404] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
      [ 11.998644] sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
      [ 12.006822] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
      [ 12.014939] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
      [ 12.022978] sdhci: Caps: 0x376fd080 | Caps_1: 0x10002f73
      [ 12.030966] sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
      [ 12.038910] sdhci: Host ctl2: 0x0000308b
      [ 12.044909] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xae8420c0
      [ 12.052861] sdhci: ===========================================



      As a workaround, when I tried to disable ADMA by passing sdhci.debug_quirks=32832 to kernel command line arguments, the system hangs at following point:



      [ 8.076631] Waiting for root device /dev/mmcblk1p1...



      Can anyone suggest some solution as I am stuck at this point?










      share|improve this question













      We are trying to boot Linux on a custom board based on ARM processor. The kernel executes successfully from both SD card and eMMC but when the kernel tries to mount the root file system, it is able to mount the root partition but hangs after throwing following error:




      [ 11.303145] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
      [ 11.311651] mmcblk mmc1:aaaa: Card claimed for testing.
      [ 11.318832] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
      [ 11.341076] mmcblk1: p1
      [ 11.461523] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
      [ 11.473340] VFS: Mounted root (ext4 filesystem) on device 179:33.
      [ 11.488610] devtmpfs: mounted
      [ 11.493848] Freeing unused kernel memory: 500K (c0b0d000 - c0b8a000)
      [ 11.911302] init: plymouth-upstart-bridge main process (115) terminated with status 1
      [ 11.923611] init: plymouth-upstart-bridge main process ended, respawning
      [ 11.935367] mmc1: ADMA error
      [ 11.941245] sdhci: =========== REGISTER DUMP (mmc1)===========
      [ 11.949353] sdhci: Sys addr: 0x00000000 | Version: 0x00000303
      [ 11.957510] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000028
      [ 11.965688] sdhci: Argument: 0x00440cc0 | Trn mode: 0x00000033
      [ 11.973895] sdhci: Present: 0x01fb0206 | Host ctl: 0x00000013
      [ 11.982134] sdhci: Power: 0x0000000d | Blk gap: 0x00000000
      [ 11.990404] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
      [ 11.998644] sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
      [ 12.006822] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
      [ 12.014939] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
      [ 12.022978] sdhci: Caps: 0x376fd080 | Caps_1: 0x10002f73
      [ 12.030966] sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
      [ 12.038910] sdhci: Host ctl2: 0x0000308b
      [ 12.044909] sdhci: ADMA Err: 0x00000001 | ADMA Ptr: 0xae8420c0
      [ 12.052861] sdhci: ===========================================



      As a workaround, when I tried to disable ADMA by passing sdhci.debug_quirks=32832 to kernel command line arguments, the system hangs at following point:



      [ 8.076631] Waiting for root device /dev/mmcblk1p1...



      Can anyone suggest some solution as I am stuck at this point?







      linux-kernel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 mins ago









      arshan

      173110




      173110






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492162%2fadma-error-after-mounting-root-partition%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492162%2fadma-error-after-mounting-root-partition%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Accessing regular linux commands in Huawei's Dopra Linux

          Can't connect RFCOMM socket: Host is down

          Kernel panic - not syncing: Fatal Exception in Interrupt