[Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Nov 2024 15:19:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783

--- Comment #35 from Zhenlei Huang <zlei@FreeBSD.org> ---
For the backtrace, 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 2; apic id = 02
> fault virtual address   = 0x28
...
> if_alloc_domain() at if_alloc_domain+0xa4/frame 0xfffffe006abeae80
> umb_attach_task() at umb_attach_task+0x37/frame 0xfffffe006abeaeb0
> usb_process() at usb_process+0x100/frame 0xfffffe006abeaef0
> fork_exit() at fork_exit+0x7e/frame 0xfffffe006abeaf30
> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe006abeaf30

A quick look at `usb_process()` and `umb_attach_task()`, I suspect that the
vnet is not correctly set. With the option INVARIANTS or VNET_DEBUG on, the
recent change [1] ( has been MFCed to stable/14 and stable/13 branches ) can
easily spot that.

I do not have hardware to test. Can someone re-test the driver against latest
main or stable branches ?

1.
https://cgit.freebsd.org/src/commit/?id=d1d839d0b593541174ca48c675c9eff4ddb4715e

-- 
You are receiving this mail because:
You are the assignee for the bug.