From nobody Mon Feb 10 14:53:19 2025 X-Original-To: wireless@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 4Ys6yS30DBz5mHBx for ; Mon, 10 Feb 2025 14:53:20 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ys6yR3Nvrz4MKG for ; Mon, 10 Feb 2025 14:53:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739199199; 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=q2L48aXIYcQgSMC+AQlJhT9BdRk1peB6PHJ0l3mG1Sg=; b=me1lkEoKrhL3OlHyIWGxY9TcMYvvA1h6eE1AQeRIpzothRe6W/M77pcsqwu2gDCk14l9+H RXlD3Uv++P1EIZCi8RfjCPHbtBWVLoItwwfRRgdRSCzvQ6lZi0pCfnBpf8jBPqUjgtKIxV KNc1Z61GmMBhhIiYeoy4eiAxr/tUhTFutmus8xfaqK2yNJq0fzhGn+Kq0B7XksNF7QOrU3 vCyZWmqNqtrArkzTcylY9j7rbATvOFZQtIGeEZXpNQRD/jeiJ+uZfxukrLtCf+mc+KaNr1 W+8DJd0BRR6kBUwGBOB1yq2G+ZskqtH3m47RJ/e87Per4bKfkyNNZlSbNMuBpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739199199; 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=q2L48aXIYcQgSMC+AQlJhT9BdRk1peB6PHJ0l3mG1Sg=; b=LfBHpp/mfVEncSYPKxCPHpq4wowf1A1CReO63fNY93MwT4tei1Wfjy1ne1vyBRbm7rOBDM NlGlTq+s9jTe7dGsHxS8SeNkUhk7O8eZddv5RzOTvi6J1bGhmafbKa8uIwmL8GtNwaUhyY cCOXM14yjwIfZap8A5ST0dYeBt+A21qXK+SMzTUiKRWPWAmyX8R+sL4k5GlPm3yrRFI7Sf LYZZv3VpcVTlYQeKR1+O9+1H2g0yJrUO6EWxSBWtT/A1Fe4j7f5w/MbNdpYagbh/yfDGeN jHaxTg2aCYvIjmm1T0li9AJgQjd2HM64l+mScHsHm8NbypmzvBB0QvX4Ey1VZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739199199; a=rsa-sha256; cv=none; b=HMsD/yyGc2TOARhhT6hYJnP9T6N53VXuqeAhRKJ2Fki8bEBVipXRe69Qo5Tn14VYFp/PSU S0dRgVXJ8aMr2b8EIUM2kO8RaXE+txcWyyJ1lJMTUbkQSdipA2P6Hx9j/QeWa3S+0BE0vD yAGuqgdapXA9KG4db9D+OUk+RQdN1pUg6GiZCFRqxKJZstYQb06bySmhJj0m8uzBfdTWcd FlralAoyBJpTF3C0zSiSZusek6vW2QyCUFNEBkCusz9GHhQaucfHGLOGhytNLaObxZalTd bVbpRoikkjWQpYXImlU4pSG7dophZJbzluDDfeJUD/lItJ1YBNUzLLbZliN/FA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Ys6yR1YpZzXJq for ; Mon, 10 Feb 2025 14:53:19 +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 51AErJvU074789 for ; Mon, 10 Feb 2025 14:53:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51AErJ2p074788 for wireless@FreeBSD.org; Mon, 10 Feb 2025 14:53:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 282789] iwlwifi hangs on boot with request_module_nowait("iwlmvm") -- broken after 2ac644317e671b001d3fb8fd924a1ae808a0bf32 Date: Mon, 10 Feb 2025 14:53:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282789 --- Comment #14 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1ff77e61c64e80d4532f8433ccdad656e= 969d62f commit 1ff77e61c64e80d4532f8433ccdad656e969d62f Author: Bjoern A. Zeeb AuthorDate: 2024-12-08 20:24:10 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-02-10 14:52:07 +0000 iwlwifi: avoid (hard) hang on loading module For certain users or chipsets (reports were for CNVi devices but we are not sure if this is limited or specific to them) loading if_iwlwifi hangs. The reason for this is that a SYSINIT (module_load_order()) has not yet run in this case and the Linux driver tries to load the chipsets-specific module. On FreeBSD all supported sub-modules are part of if_iwlwifi so we do not have to load them separately but calling into kern_kldload via LinuxKPI request_module while loading the module gives us a hard hang. iwlwifi calls request_module_nowait() so we can simply skip over this and continue and the SYSINIT will do the job later if no other dependencies fail. Sponsored by: The FreeBSD Foundation PR: 282789 Tested by: Ruslan Makhmatkhanov, Pete Wright Differential Revision: https://reviews.freebsd.org/D47994 (cherry picked from commit 87e140a5c6f89eea7ea6320d1ae34566492abfc0) (cherry picked from commit 5d09d1070737c43738e433b547af1a90c0f10bf1) sys/contrib/dev/iwlwifi/iwl-drv.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=