Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 03:40:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM)
Message-ID:  <bug-263783-19105-j0CWntX3cv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263783-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263783-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263783

--- Comment #39 from Pierre Pronchery <pierre@freebsdfoundation.org> ---
(In reply to Zhenlei Huang from comment #35)
Thanks for the hint about VNET, I have now added this to the code:

> CURVNET_SET_QUIET(vnet0);

just before calling if_alloc(), and I get a different panic:

> # umb0: version 1.0
> panic: _mtx_lock_sleep: recursed on non-recursive mutex umb0 @ /home/khor=
ben/Projects/FreeBSD/src/sys/dev/usb/net/if_umb.c:1022
>=20
> cpuid =3D 2
> time =3D 1732160066
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00688=
e3ba0
> vpanic() at vpanic+0x136/frame 0xfffffe00688e3cd0
> panic() at panic+0x43/frame 0xfffffe00688e3d30
> __mtx_lock_sleep() at __mtx_lock_sleep+0x482/frame 0xfffffe00688e3dc0
> __mtx_lock_flags() at __mtx_lock_flags+0xd8/frame 0xfffffe00688e3e10
> umb_newstate() at umb_newstate+0x11b/frame 0xfffffe00688e3e50
> umb_get_response_task() at umb_get_response_task+0x3c/frame 0xfffffe00688=
e3ec0
> usb_process() at usb_process+0xf0/frame 0xfffffe00688e3ef0
> fork_exit() at fork_exit+0x82/frame 0xfffffe00688e3f30
> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00688e3f30
> --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---
> KDB: enter: panic
> [ thread pid 15 tid 100182 ]
> Stopped at      kdb_enter+0x33: movq    $0,0x1057302(%rip)

I'm investigating further.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263783-19105-j0CWntX3cv>