From nobody Sun Nov 30 12:18:30 2025 X-Original-To: freebsd-hackers@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 4dK5g21Qyyz6JKRp; Sun, 30 Nov 2025 12:18:54 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh-b2-smtp.messagingengine.com (fhigh-b2-smtp.messagingengine.com [202.12.124.153]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4dK5g10Lpfz3vY5; Sun, 30 Nov 2025 12:18:52 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm2 header.b=A+uAVb80; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="R KM/Fo9"; dmarc=pass (policy=reject) header.from=skunkwerks.at; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 202.12.124.153 as permitted sender) smtp.mailfrom=dch@skunkwerks.at Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 827037A00A1; Sun, 30 Nov 2025 07:18:51 -0500 (EST) Received: from phl-imap-16 ([10.202.2.88]) by phl-compute-06.internal (MEProxy); Sun, 30 Nov 2025 07:18:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1764505131; x=1764591531; bh=14GIHbtTAY07t8XtR6GoyUX1eGtwDOWJ kwRaJDhSh7E=; b=A+uAVb80rlm/tNoKJEhl4cYW2USa2nYisnfvnZWBxwWrJvFI I9JZykkLmASBVvYRLEXkOb3L+1tBwupu3PJ1pof3RwGOdSSwexG2EGhWOa8KiJRw 0XefBbaDOA/E4imMW42vmfamUqM04PkLSjtHvm5pOfsaJc12HPeL8zgwpYjATqO4 TeZh/H0hBHqk1JQyGeal/LipUVHZcOkwvWEqPrf3PMc7jYyd/LYsQxEh9P2c7hVW JomPDxfvOqYUnBZGJzDjhbtX6tngTD78U/M3hQ1nh1gKCuemqMxsVeIP0Z8IG2RF zrStbHq40mzygIcBijSSb7ly4uYZggzP7Rnyhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1764505131; x= 1764591531; bh=14GIHbtTAY07t8XtR6GoyUX1eGtwDOWJkwRaJDhSh7E=; b=R KM/Fo9VwMsaHdKlvz3Nv4fpKKhk1gA8nzekU5AVtDRLIq4KsEoiu2pbvBhgjlQqu FptckR880pEq+rttSB2G4gHXy8XSKt3kclPKVvv7XeKl0SiPy+l6Ci9YUIIRwzUt AavqRYJXVdDogRkuB2ztCiNBy1JID20cD9VVWYkV7Fkal4vXi0Mt53iogN+EsfkA zOIrFCxYBtQdxDyRWPHDdyCAzgRDfjFgIsxJkNLb3DaGNJLTTjRV81kHRuz5k9JL lQPnzaVgafiT4mfbfk/IKSipe3HivOF07SPMSe7+YE7AXDck7XKqqbk0VqD2QjMm bEhDgFID9e2hmRwLWJuYA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvheegkeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedfffgrvhgv ucevohhtthhlvghhuhgsvghrfdcuoegutghhsehskhhunhhkfigvrhhkshdrrghtqeenuc ggtffrrghtthgvrhhnpeetleffvefhteeuvdetuddtkefgjeevudevhfelheeufeffheev fffgheekiefhieenucffohhmrghinhepfhhrvggvsghsugdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegutghhsehskhhunhhkfigv rhhkshdrrghtpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtph htthhopehfrhgvvggsshguqdhhrggtkhgvrhhssehfrhgvvggsshgurdhorhhgpdhrtghp thhtohepfhhrvggvsghsugdqfihirhgvlhgvshhssehfrhgvvggsshgurdhorhhgpdhrtg hpthhtohepkhgrrhhlohelkedrmhesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id B9B852CC0083; Sun, 30 Nov 2025 07:18:50 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 X-ThreadId: AcfgwSpocbrR Date: Sun, 30 Nov 2025 12:18:30 +0000 From: "Dave Cottlehuber" To: =?UTF-8?Q?Karlo_Mili=C4=8Devi=C4=87?= Cc: "FreeBSD Hackers" , freebsd-wireless@freebsd.org Message-Id: In-Reply-To: References: Subject: Re: 15.0-RELEASE boot panic when if_iwm_load="YES" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.07 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.976]; DMARC_POLICY_ALLOW(-0.50)[skunkwerks.at,reject]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm2,messagingengine.com:s=fm1]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.153:from]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[dch]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org,freebsd-wireless@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4dK5g10Lpfz3vY5 On Sat, 29 Nov 2025, at 16:00, Karlo Mili=C4=8Devi=C4=87 wrote: > I know 15.0 is not released yet but the image is up and I wanted to tr= y=20 > it out on real hardware. > > After I put if_iwm_load=3D"YES" in /boot/loader.conf it fails to boot. > After saying it's loading loader.conf and briefly flashing FreeBSD log= o=20 > I get a panic: > > panic: page fault > cpuid =3D 0 > time =3D 1 > KDB: stack backtrace: > #0 0xffffffff80bbe1ed at kdb_backtrace+0x5d > #1 0xffffffff80b71576 at vpanic+0x136 > #2 0xffffffff80b71433 at panic+0x43 > #3 0xffffffff81079f69 at trap_pfault+0x3c9 > #4 0xffffffff8104ff18 at calltrap+0x8 > #5 0xffffffff80c4f974 at namei+0xe4 > #6 0xffffffff80c768b2 at vn_open_cred+0x5b2 > #7 0xffffffff80bb9ef4 at loadimage+0x274 > #8 0xffffffff80bd4de2 at taskqueue_run_locked+0x182 > #9 0xffffffff80bd5fb2 at taskqueue_thread_loop+0xc2 > #10 0xffffffff80b2786b at fork_exit+0x7b > #11 0xffffffff81050f3e at fork_trampoline+0xe > Uptime: 1s > Automatic reboot in 15 seconds - press a key on the console to abort > > Am I doing something wrong? > IIRC this worked on 14.3 on the same hardware. Hi Karlo I can't speak for the panic, but these other tips may help. Make sure you've got the relevant firmware - boot with iw_iwm disabled (see below if devmatch attaches it automatically), and run `fwget`, it should do the right thing even if the driver isn't loaded: # fwget Needed firmware packages: 'wifi-firmware-mt76-kmod-mt792x ... The most recent versions of packages are already installed The 15.0-RELEASE tag is already in sources, and signed, so there's nothing release-specific we can do at this stage. You can try using the /latest/ FreeBSD ports tree (or via packages) and make sure your intel firmware bundle is updated. I don't know what hardware you have, but if it's supported by https://man.freebsd.org/iwlwifi then you can try that as an alternative, it's seen a lot of development during the last few months.=20 It's probably more convenient to late-load via rc.conf: devmatch_blocklist=3D"if_iwmn" kld_list=3D"${kld_list} if_iwlwifi" This prevents the iwm driver being attached, and prefers the newer one instead. There is also https://man.freebsd.org/if_iwx with overlapping hardware support. In either case, thanks for testing, and consider logging a PR after checking https://wiki.freebsd.org/WiFi/Iwlwifi#testing & seeing if your issue is already reported in the meta-bug at https://bugs.freebs= d.org/bugzilla/show_bug.cgi?id=3D273620 There is a freebsd-wireless@freebsd.org list too. I believe both 16-CURRENT and 15-STABLE have some new bits too already, so that may be worth a try as a final resort. A+ Dave