From nobody Thu Nov 21 03:40:48 2024 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xv3sw2tHcz5f8SR for ; Thu, 21 Nov 2024 03:40:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xv3sw1plVz4cJc for ; Thu, 21 Nov 2024 03:40:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732160452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v3ntxZd+bIkvdWehYdImpLQyBVNhtZx/0RXTZIWgyBw=; b=Jat9U980V8aqIyVOg/AtMKGb7dgSHPurySelNgWuGGj39dEEE3B7YHlKGL+TCA7Vp2q4A2 7lHLcN/oi4bHwEctALRpxtvhmlbel2TOGd6wL3R8H9esE3JyrK2kVJv6PnGOfLJqCku2th TIy08IeMrMWCriuOCx6GZB0DNLHXi5masZWpTucCpeGPzwvty1ewTwynI2EUFjSao3SPFs 0c+m4VHDpIR7LETEanvZU/EPboWrhOWGXhOjcCwdAwFyEjkOwb/Vk4gNYybIgOA0O2PWbB y0aFV0aK0wytKhR+ljagQuQV1ABmldNtTAsRLzfpSWDUqF+lGnrsVxZt5AAdWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732160452; a=rsa-sha256; cv=none; b=lm/SBhfERuoIBPf0aHdV25VnzbdztvHEqXUQzBX2jX9lKXcz5zit4/i34bNBkFUYKf8PQP xOxtKuuYnb0ZMJDjWhBg+IzIJ14s4MU8RtIl6QcVDMub8YfVosrJ1n4mmOfJFvtW1wa4ON p5tRPgiV9NDra2jtLjiQEf5MPWDhV+YDebmBQJ1ogZfRhfyAS9hhGVotHurfFt1f03cIwM 1Fe7h0WNxZbku6pIi9Ip7J7msKeI+l5cX5X8bMnTHmrwPk8MbTLzABzVaSszr2JmTtwOKl liXDt+FuEyEttIkXde6nhLhW+33UFp2OuliJZpyDB0j++yiroLUteEZo1y6+LA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xv3sw1Jt4zN2X for ; Thu, 21 Nov 2024 03:40:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AL3eqTH026128 for ; Thu, 21 Nov 2024 03:40:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AL3eqtd026127 for usb@FreeBSD.org; Thu, 21 Nov 2024 03:40:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM) Date: Thu, 21 Nov 2024 03:40:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: feature, needs-qa, vendor X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pierre@freebsdfoundation.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263783 --- Comment #39 from Pierre Pronchery --- (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.=