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

    UMB/MBIM Support on Web Interface

    Scheduled Pinned Locked Moved Development
    27 Posts 3 Posters 1.7k Views 4 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.
    • LuKePicciL
      LuKePicci
      last edited by

      Yeah, I had the plan to port to 2.8.x but I couldn't find the RELENG_2_8_0 branch for the kernel to compile the umb driver against and so test the patches.
      Not sure if the umb driver is now being shipped pre-built in 2.9.0 by default, in that case I might skip 2.8.x and port to 2.9.0 directly.
      I also had the plan to rename "UMB" string references to "MBIM" as that is the actual protocol name.

      4pack4 1 Reply Last reply
      Reply Quote 0
      • 4pack4
        4pack @LuKePicci
        last edited by

        @LuKePicci yeah in 2.9.0, the UMB driver is shipped by default, so it might just be better to skip 2.8. I can also look for the kernel sources as well.

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

          You mean change the actual driver name? It's far less likely to be accepted if it requires additional patches over upstream.

          LuKePicciL 1 Reply Last reply
          Reply Quote 0
          • LuKePicciL
            LuKePicci @stephenw10
            last edited by

            @stephenw10 said in UMB/MBIM Support on Web Interface:

            You mean change the actual driver name? It's far less likely to be accepted if it requires additional patches over upstream.

            Nope, I meant in my PR. I incorrectly used the driver name (umb) as an IP protocol name in pSsense patches within my PR.
            Drivers in BSD have their own naming conventions, umb is correctly respecting that convention.

            That said, @stephenw10 I just realized the umb driver in CE 2.9.0 obviously lacks the patch I submitted for review here: https://reviews.freebsd.org/D58641
            is by any chance possible for you or your team to provide a patched umb.ko for my testing?

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

              Hmm, I'll see what I can do. Adding patches to carry is always frowned upon though. It would be much better to just get it accepted upstream. But just for testing....let's see.

              LuKePicciL 1 Reply Last reply
              Reply Quote 0
              • LuKePicciL
                LuKePicci @stephenw10
                last edited by

                Just added @4pack to reviewers, happy to include you as well if useful.

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

                  Ha, no I'd be useless personally there. Let me see if I can get any traction internally.

                  1 Reply Last reply
                  Reply Quote 0
                  • 4pack4
                    4pack @LuKePicci
                    last edited by

                    @LuKePicci I can send you my compiled version of this patch if you would like to try it on your end.

                    LuKePicciL 1 Reply Last reply
                    Reply Quote 0
                    • LuKePicciL
                      LuKePicci @4pack
                      last edited by

                      @4pack that would help a lot as I could use one of the spare boxes I have already equipped with the MC7710. Just curious... how did you get it compiled? did you extract pfSense kernel flags somehow or you made it from vanilla FreeBSD reference commit?

                      4pack4 1 Reply Last reply
                      Reply Quote 0
                      • 4pack4
                        4pack @LuKePicci
                        last edited by

                        @LuKePicci I used the FreeBSD 16.0-CURRENT latest VMDK image and brought in the master pfSense source repo. Then I just injected the patch you made and ran make on the umb module.

                        I DM'd you a link to the compiled module. I can also wrap up my entire development VM if you want that.

                        LuKePicciL 1 Reply Last reply
                        Reply Quote 0
                        • LuKePicciL
                          LuKePicci @4pack
                          last edited by

                          @4pack thank you, ah ok so it's from vanilla Freebsd CURRENT, I fear there might be kernel flags/patch mismatch with the pfsense rebuild of the reference (older) 16-CURRENT. Let me test.

                          4pack4 1 Reply Last reply
                          Reply Quote 0
                          • 4pack4
                            4pack @LuKePicci
                            last edited by

                            @LuKePicci Eh there could be. I figured as long as I wasn't replacing the whole kernel and just replacing the UMB module, there wouldn't be too many issues. I haven't panic'd my system yet.

                            I also quickly ported over your 2.7.2 changes to 2.9.0. Haven't tested them yet though so no guarantees that it works or doesn't break anything.

                            https://github.com/4pack/pfsense/tree/umb290

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

                              If the module loads it should be OK. Usually that sort of mismatch just rejects the module entirely. If there is a mismatch.

                              4pack4 1 Reply Last reply
                              Reply Quote 0
                              • 4pack4
                                4pack @stephenw10
                                last edited by

                                @stephenw10 Is there somewhere else where the 2.9.0 source is posted? I just tried comparing my repo changes on the pfsense master branch to what's installed on my 2.9.0 pfSense instance, and there's quite a few mismatches that would definitely break things.

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

                                  Not other than github.

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • 4pack4
                                    4pack
                                    last edited by

                                    I have opened up a redmine issue for both of the repos.

                                    https://redmine.pfsense.org/issues/17128

                                    1 Reply Last reply
                                    Reply Quote 1
                                    • 4pack4
                                      4pack @LuKePicci
                                      last edited by

                                      @LuKePicci said in UMB/MBIM Support on Web Interface:

                                      https://github.com/pfsense/pfsense/pull/4760

                                      One thing I did need to add to the pfSense master version was to add umb to the interface ignore list to support removable MBIM devices. Ran into trouble with that one!

                                      LuKePicciL 1 Reply Last reply
                                      Reply Quote 1
                                      • LuKePicciL
                                        LuKePicci @4pack
                                        last edited by

                                        @4pack interesting, we generally had issues with interfaces not being present during boot. This was the same with Dip mode which spawn the module as ue0.

                                        I managed to load the umb module you shared into a 2.9.0 VM.

                                        My plan is to apply umb patches to the files into the 2.9.0 device files directly. Before that, I would generate a diff file between the current master branch and the files into 2.9.0. So in the end I can provide a clean diff including umb only patches for 2.9.0.

                                        4pack4 1 Reply Last reply
                                        Reply Quote 0
                                        • 4pack4
                                          4pack @LuKePicci
                                          last edited by

                                          @LuKePicci That's definitely the better idea than what I did!

                                          LuKePicciL 1 Reply Last reply
                                          Reply Quote 0
                                          • LuKePicciL
                                            LuKePicci @4pack
                                            last edited by

                                            Quick update, reconstructed baseline is done (find it in my GH fork), MBIM port to 2.9.0 is done also but I need to test it before publishing that branch as well.

                                            1 Reply Last reply
                                            Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post
                                            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                            Privacy Policy · Cookie Policy