From nobody Sat Nov 16 15:54:11 2024 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 4XrJNM4dtHz5dWcp for ; Sat, 16 Nov 2024 15:54:11 +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 4XrJNM0rksz4DkW for ; Sat, 16 Nov 2024 15:54:11 +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=1731772451; 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=xeEz681T1A3HGOsu0d00IMudNQJJ4/wsUgDbYq5veAg=; b=yr3C+W9xQZduJQfrZbhSewcBBRH5TyN8zLwa1K/x3pv7QNxJXbHw8/rxqOLzAGzkgteHNp Leik1JBohyaPig20MpHUN7cbnPE2UCL5uLxNJohxEb9at4LokBiEjgqWQEYcKtNIeVki9k ZyR9PHlHTUWAE23dsq7K344qhMNCrNbraFvEAsDYNWQk8slxAY5iG5DXmbNFdNvi7X8Psb xiwrUJ0wTNBaSyZniIHnECfYSymHKW0GOJ7UioXt/gTMiR4O4doA2v33PPBRMdpyg8ROQ8 1RoNMTbffuRxUlmxRq/d/BxMCS/B/rRBlltO+kyxI/+DiD7pQAU/nRwOtZxYug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731772451; a=rsa-sha256; cv=none; b=Zd7ZZYlJ6BVC6kx30l9Ra3zX1cwejiyScX1XqPx4GjcF8GAxDG3doMKtd2y81GXEVGOvjj aFjAYBpSuDg32sYHoN+6AheGeXF9JUbMa1pfEFfI898lffbJvOINzIGvgAkQS4sJLskLq0 ik3NptjJWtt7i98X0VYiS9MJQtBDR3uKkHhX0S7O5YpRTHLgZYbxdfqtS2Rd4mmS+qrz6A 9vNJDrUGf2MNRMXNGHaee3jUAcgKox8A0Qn2sO7m2Fl+ilZP8bYIdFrmFyFlNPWNy/FZQA YK/rdXuwPx83EQ0MfHGrFvJfikH8w+7fVMqUjLdQ2Lahe34unBC389hh43wWxg== 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 4XrJNM0QzDz1CbF for ; Sat, 16 Nov 2024 15:54:11 +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 4AGFsBNN031434 for ; Sat, 16 Nov 2024 15:54:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AGFsBnZ031433 for wireless@FreeBSD.org; Sat, 16 Nov 2024 15:54:11 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: wireless@FreeBSD.org Subject: [Bug 282789] iwlwifi hangs on boot with request_module_nowait("iwlmvm") -- broken after 2ac644317e671b001d3fb8fd924a1ae808a0bf32 Date: Sat, 16 Nov 2024 15:54:11 +0000 X-Bugzilla-Reason: AssignedTo 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: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status short_desc 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: 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 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wireless@FreeBSD.org |bz@FreeBSD.org Status|Open |In Progress Summary|iwlwifi broken after |iwlwifi hangs on boot with |2ac644317e671b001d3fb8fd924 |request_module_nowait("iwlm |a1ae808a0bf32 |vm") -- broken after | |2ac644317e671b001d3fb8fd924 | |a1ae808a0bf32 --- Comment #7 from Bjoern A. Zeeb --- Ruslan sent me debug information and I do now understand where the problem comes from but not yet why it only happens for some chipsets only. Or possibly not chipsets but something else; the entire order is triggered from SYSINITs via module_init; in the cases of hang iwl_mvm_init() has not= run (or not run to completion). For cards here it looks like (with XXX-BZ printfs added to show the problem) ------ Autoloading module: if_iwlwifi=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 Intel(R) Wireless WiFi based driver for FreeBSD=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 XXX-BZ iwl_opmode_register:1933: name 'iwlmvm' ops 0xffffffff82ba6d38=20=20= =20=20=20=20=20=20=20=20=20 XXX-BZ iwl_opmode_register:1940: name 'iwlmvm' ops 0xffffffff82ba6d38 op 0xffffffff82baf0e0 ^^^^ this is missing for the people with "hangs" pci0: driver added=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 found-> vendor=3D0x8086, dev=3D0x2725, revid=3D0x1a=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 domain=3D0, bus=3D0, slot=3D5, func=3D0=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 cmdreg=3D0x0407, statreg=3D0x0010, cachelnsz=3D0 (dwords)=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)= =20=20=20=20=20=20=20=20=20=20=20=20 powerspec 3 supports D0 D3 current D0=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 MSI supports 1 message, 64 bit=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 MSI-X supports 16 messages in map 0x10=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 pci0:0:5:0: reprobing on driver added=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 iwlwifi0: mem 0x800010000-0x800013fff at device 5.0 on pci0=20=20= =20=20=20=20=20=20=20=20=20 iwlwifi0: attempting to allocate 6 MSI-X vectors (16 supported)=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 msi: routing MSI-X IRQ 60 to local APIC 0 vector 57=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 msi: routing MSI-X IRQ 61 to local APIC 1 vector 51=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 msi: routing MSI-X IRQ 62 to local APIC 2 vector 52=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 msi: routing MSI-X IRQ 63 to local APIC 3 vector 51=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 msi: routing MSI-X IRQ 64 to local APIC 0 vector 58=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 msi: routing MSI-X IRQ 65 to local APIC 1 vector 52=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 iwlwifi0: using IRQs 60-65 for MSI-X=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 iwlwifi0: Detected crf-id 0x400410, cnv-id 0x400410 wfpm id 0x80000000=20= =20=20=20=20=20=20=20=20=20 iwlwifi0: PCI dev 2725/0024, rev=3D0x420, rfid=3D0x10d000=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 iwlwifi0: Detected Intel(R) Wi-Fi 6 AX210 160MHz=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ... ------ And so for the people where it does not work: in iwl_req_fw_callback op->ops is not defined and it tries to load the ilwm= vm module ( which we don't have given we never split the driver given we do not have dwm support ). I'll go and investigate why we never make it to the second SYSINIT. --=20 You are receiving this mail because: You are the assignee for the bug.=