From nobody Tue Nov 12 15:19:38 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 4XnqpR2d1rz5cgM8 for ; Tue, 12 Nov 2024 15:19:43 +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 4XnqpR1ZTCz4SBp for ; Tue, 12 Nov 2024 15:19:43 +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=1731424783; 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=dKBJyF+8VAHbfwyjqyLkO+uGKekVMgxVKVaGFANDevU=; b=T0izAZPtN9VOowY8lrp3gCcfTwU0aHCvtnaG62d+NelSkqJJv5YU5Jsd/aW4BBOo5AC7+c KI2Hx8BbSTx2Wyw356DyX0kiMtCN/R2Y4QC7/yHM3+zPfYfkuSPQd61tOkXRfn/DZtjMaD 38ioCpThKGRwR1rj47TFj9m1TufYrwV9MNZmPBBEGCSiqC8sEL7970conTxfHJgak7SKU6 zuuQIr+6aZ7bUDRaOXoEf2YAS+3FiTgPOkk26SMd7fFGSXuSGSJqDSru3//usUn726BPDU VAlDZlBKYmk2DlL6S0ydas5lGAOwK9fVN4cmxzU9XjKXT/KmDFDofTE9Gcyz8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731424783; a=rsa-sha256; cv=none; b=EEgsN2eKsTdCrQbBHMSUbPkB7RYmAy8soynW4SbBM4JK55+TNNEk35Gv1leLpeQqlYssBz FRjFgO+5oqkFeegRdeI+JfjNpeycexkffuP238b3e1bJHMuHyLkWEVqcDSkJ8q5skkV9HI Z4rzWvJJB6BQBfnmLnIge5VyPbvr+MHBYYS3EQ3Dba5wloj/md1H+WdjvhgaQC5cu/txIV TMC37LE0fY/J+mMAfvgEQOm3Yu+/zoTf2uJh5ZdQc8i5tf02t4+nV+ZTuhA1rd2F9cZzsq Rzb8dyQXlPGE8foAHHc2CRNAmLDEe4w8j47o16d08KB0836mNOcKG0/bqDELWA== 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 4XnqpR1BT2zG8s for ; Tue, 12 Nov 2024 15:19:43 +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 4ACFJhtO059236 for ; Tue, 12 Nov 2024 15:19:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ACFJh2T059235 for usb@FreeBSD.org; Tue, 12 Nov 2024 15:19:43 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: Tue, 12 Nov 2024 15:19:38 +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: zlei@FreeBSD.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 #35 from Zhenlei Huang --- For the backtrace,=20 > Fatal trap 12: page fault while in kernel mode > cpuid =3D 2; apic id =3D 02 > fault virtual address =3D 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 late= st main or stable branches ? 1. https://cgit.freebsd.org/src/commit/?id=3Dd1d839d0b593541174ca48c675c9eff4d= db4715e --=20 You are receiving this mail because: You are the assignee for the bug.=