UMB/MBIM Support on Web Interface
-
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. -
@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.
-
You mean change the actual driver name? It's far less likely to be accepted if it requires additional patches over upstream.
-
@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? -
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.
-
Just added @4pack to reviewers, happy to include you as well if useful.
-
Ha, no I'd be useless personally there. Let me see if I can get any traction internally.
-
@LuKePicci I can send you my compiled version of this patch if you would like to try it on your end.
-
@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?
-
@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.
-
@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.
-
@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
-
If the module loads it should be OK. Usually that sort of mismatch just rejects the module entirely. If there is a mismatch.
-
@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.
-
Not other than github.
-
I have opened up a redmine issue for both of the repos.
https://redmine.pfsense.org/issues/17128
-
@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!
-
@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.
-
@LuKePicci That's definitely the better idea than what I did!
-
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.
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 LoginPrivacy Policy · Cookie Policy