Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Netgate 1100 / 2100 - 26.07 - bus_dmamem_alloc failed to align memory properly

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    38 Posts 9 Posters 2.4k Views 9 Watching
    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.
    • R Offline
      rgijsen
      last edited by rgijsen

      We have a customer with a small remote office. The Netgate 1100 there is not stable. 26.07. We haven't seen this issue on any other netgate device, we mainly have 1100 and 2100 devices. This one from time to time loses its WAN connection, leaving us unable to access it. Checking the logs, during reboot of the 1100 I saw this:
      927352ee-d6fe-4cb2-8585-b10a2c112eaf-image.png

      After over 2000 of these 'bus_dmamem_alloc failed to align memory properly' messages, it 'just' continues with it's boot:

      fe5a271d-62ed-4d6c-84c8-b7d4f4821834-image.png

      I've never seen this before. Before I check all logs thouroughly, what would this 'bus_dmamem_alloc failed to align memory properly' mean?

      [edit]
      I just checked my Netgate 2100 at my home office, and that does excactly the same running 26.07. So probably it's nothing specific to that 1100, yet I still wonder what all those messages mean.

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        Hmm, so after seeing that at boot it continues to boot and run normally? No effects after boot?

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rgijsen @stephenw10
          last edited by

          @stephenw10 No apparent issues. I have in the meanwhile factory defaulted my own 2100, and still had the same result. Made a full log and created a ticket for it. We'll see.

          luckman212L 1 Reply Last reply Reply Quote 1
          • luckman212L Offline
            luckman212 LAYER 8 Rebel Alliance @rgijsen
            last edited by luckman212

            I found where that message is coming from in the FreeBSD source:

            sys/arm64/arm64/busdma_bounce.c#L618-L620

            The outer function is bounce_bus_dmamem_alloc() which describes itself as "Allocate a piece of memory that can be efficiently mapped into bus device space based on the constraints lited in the dma tag. A dmamap to for use with dmamap_load is also allocated."

            Funny that it seems there's a typo in that function block comment (lited → listed ?)

            Anyway, it looks like a fix was just committed to busdma_bounce.c, I wonder if it'd fix this issue (my guess is yes)...

            • cgit.freebsd.org commit b60c523
            • reviews.freebsd.org/D59476
            • freebsd-src/commit/b60c5233770cdbec77596c81e031cf874267efd4
            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              A TAC ticket or a redmine issue? Or both? 😉

              luckman212L R 2 Replies Last reply Reply Quote 0
              • luckman212L Offline
                luckman212 LAYER 8 Rebel Alliance @stephenw10
                last edited by luckman212

                The fix would have to be cherry picked from main, and I'm not sure at all how Netgate does their builds… that's above my pay grade.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rgijsen @stephenw10
                  last edited by

                  @stephenw10 said in Netgate 1100 / 2100 - 26.07 - bus_dmamem_alloc failed to align memory properly:

                  A TAC ticket or a redmine issue? Or both? 😉

                  A TAC ticket. It has been moved into an 'internal issue 23844'. I haven't checked if that means a redmine ticket but I guess so.

                  luckman212L stephenw10S 2 Replies Last reply Reply Quote 0
                  • luckman212L Offline
                    luckman212 LAYER 8 Rebel Alliance @rgijsen
                    last edited by

                    Don't see it on redmine, and those numbers only just passed 17000 so this must be some internal TAC issue number. @rgijsen please keep this thread posted for any other curious 1100/2100 owners…

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Offline
                      stephenw10 Netgate Administrator @rgijsen
                      last edited by

                      @rgijsen said in Netgate 1100 / 2100 - 26.07 - bus_dmamem_alloc failed to align memory properly:

                      internal issue 23844

                      Ah, yes I see it. I'll co-ordinate there.

                      luckman212L 1 Reply Last reply Reply Quote 0
                      • luckman212L Offline
                        luckman212 LAYER 8 Rebel Alliance @stephenw10
                        last edited by

                        Just another data point: I manage a few 2100's (with 26.07). I decided to check 'em out to see if this error was appearing in the logs - it wasn't. So there must be some special circumstances here.

                        R 1 Reply Last reply Reply Quote 1
                        • R Offline
                          rgijsen @luckman212
                          last edited by

                          @luckman212 said in Netgate 1100 / 2100 - 26.07 - bus_dmamem_alloc failed to align memory properly:

                          Just another data point: I manage a few 2100's (with 26.07). I decided to check 'em out to see if this error was appearing in the logs - it wasn't. So there must be some special circumstances here.

                          Same - we have a lot of small branch-offices using measly 1100 units. Some of them have these log-entries, some don't. What I find weird is that after factory-defaulting my 2100 I DO have those errors. Oh how I long for proper installation images to return rather than the installer. Just to make sure you have the exact baseline as intended.

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S Offline
                            stephenw10 Netgate Administrator
                            last edited by

                            Mmm, I thought it might be ufs vs zfs but I'm seeing it on ufs installs too here. Still digging...

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S Offline
                              stephenw10 Netgate Administrator
                              last edited by

                              Different uboot versions perhaps? That shouldn't be if they've ever been upgraded since it gets updated at that point.

                              luckman212L 1 Reply Last reply Reply Quote 0
                              • luckman212L Offline
                                luckman212 LAYER 8 Rebel Alliance @stephenw10
                                last edited by

                                @stephenw10 I checked all of the 2100's I have access to now (a mix of ufs and zfs as well). They all match this U-Boot version 2018.03-devel-1.2.0ROGUE2-01.00.00.02+:

                                e6e5d4ac-a7c2-4dfa-a931-a4cd0c908784-image.png

                                1 Reply Last reply Reply Quote 1
                                • stephenw10S Offline
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Hmm, not that then.....

                                  keyserK 1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    whanlon
                                    last edited by

                                    Last night my 2100 lost WAN connectivity. I eventually had to power cycle the device since I was locked out of both web interface and SSH. My system logs are also filled with "bus_dmamem_alloc failed to align memory properly". This is the first time I've had an issue with my Netgate.

                                    Screenshot from 2026-09-23 22-34-51.png

                                    1 Reply Last reply Reply Quote 0
                                    • keyserK Offline
                                      keyser Rebel Alliance @stephenw10
                                      last edited by

                                      @stephenw10 Just wanted to chime in. I have a couple of 2100’s as well, and they both logged thousands of those lines during last reboot (took a good while to reboot at well), so it seems it quite common

                                      Love the no fuss of using the official appliances :-)

                                      R 1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rgijsen @keyser
                                        last edited by

                                        I just asked for an update in the case and got one very quicly:

                                        Hello,

                                        Unfortunately, there have not been any updates on the internal ticket yet.

                                        Yes, it appears that all appliances are affected. However, since the issue does not impact the general operation or stability of the devices, it is not currently classified as high severity. As a result, it has not been prioritized over issues with a greater operational impact.

                                        We understand that this is still important to you and appreciate your continued patience while our development team works through their current priorities.


                                        Thank you,

                                        While I agree it doesn't break anything as it looks now, I still feel it floods the logs, recycling maybe important messages when no external syslog is used. I wonder when there will be a fix.

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S Offline
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Hmm, as I understand it in fact not all aarch64 devices are affected. Which makes it more interesting because identifying any differences on unaffected devices may help solve it.

                                          But, yes, it still appears to be ugly but harmless.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            someone464 @stephenw10
                                            last edited by

                                            @stephenw10 I'm experiencing the same "bus_dmamem_alloc failed to align memory properly" issue as the others on my 2100, it's affecting the stability of my Internet connection too. Please fix this ASAP! The connection drops are really frustrating.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                            Privacy Policy · Cookie Policy