From nobody Fri Dec 27 08:59:13 2024 X-Original-To: dev-commits-src-main@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 4YKKDg61GHz5jRym; Fri, 27 Dec 2024 08:59:15 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (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 4YKKDg1MtNz3yty; Fri, 27 Dec 2024 08:59:15 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1735289953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ssji6xQ93516F76hOeGVgwxLBqXMYbPjfquoJlj3+oc=; b=Gb6EJG/6JrdoWOBGq9KzOS1oMH6xrzoqQHlJIApsC7e09wXWIk1NnVYFHAp2ViIuVopy5W ZJxldUEnLniC9qUFwLyG5YAdlSOSIj0QaYTBJBDs63AeT6pFn/gBIOBBwyG5JlyecBxm9i jadui4UmcD2BsEA8JNXH9xBPN0ZENHA= Received: from skull.home.blih.net (arennes-299-1-68-49.w92-159.abo.wanadoo.fr [92.159.163.49]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 112a0639 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 27 Dec 2024 08:59:13 +0000 (UTC) Date: Fri, 27 Dec 2024 09:59:13 +0100 From: Emmanuel Vadot To: "Danilo G. Baio" Cc: "Emmanuel Vadot" , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 94e94d2dddfa - main - UPDATING: Add a notes for iwm(4) firmware and pkgbase users Message-Id: <20241227095913.cb0abf57b49986790134f8da@bidouilliste.com> In-Reply-To: <539b19c4-d1e7-4448-8dbb-f4b2f974722e@app.fastmail.com> References: <202412160947.4BG9lG3Z092493@gitrepo.freebsd.org> <539b19c4-d1e7-4448-8dbb-f4b2f974722e@app.fastmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4YKKDg1MtNz3yty X-Spamd-Bar: ---- On Thu, 26 Dec 2024 22:03:31 -0300 "Danilo G. Baio" wrote: > > > On Mon, Dec 16, 2024, at 06:47, Emmanuel Vadot wrote: > > The branch main has been updated by manu: > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=94e94d2dddfa43aa0aa3ad8aa3ab6d72363e4bd0 > > > > commit 94e94d2dddfa43aa0aa3ad8aa3ab6d72363e4bd0 > > Author: Emmanuel Vadot > > AuthorDate: 2024-12-16 09:46:05 +0000 > > Commit: Emmanuel Vadot > > CommitDate: 2024-12-16 09:46:05 +0000 > > > > UPDATING: Add a notes for iwm(4) firmware and pkgbase users > > > > Sponsored by: Beckhoff Automation GmbH & Co. KG > > --- > > UPDATING | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/UPDATING b/UPDATING > > index 2a67a65a92ed..4fef13073431 100644 > > --- a/UPDATING > > +++ b/UPDATING > > @@ -27,6 +27,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW: > > world, or to merely disable the most expensive debugging functionality > > at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) > > > > +20241216: > > + The iwm(4) firmwares are no longer compiled as kernel modules but instead > > + shipped as raw files. For pkgbase users if you use iwm(4) you will need > > + to install the FreeBSD-firmware-iwm package. > > Hi, > > I upgraded my dev box today (pkgbase/weekly packages) and got a kernel panic. > > Then I installed FreeBSD-firmware-iwm, but still got a panic. > > To get it working again, I had to comment out these entries from the /boot/loader.conf: > > if_iwm_load="YES" > iwm8265fw_load="YES" > > Now it's booting; the device works, but I don't know how. =) > > -- > Danilo G. Baio Hi Danilo, You got a panic because loader doesn't know that iwm8265fw is a raw firmware and not a kernel module anymore, and it's working after removing those lines because now iwm is loaded via devmatch and the firmware is correctly loaded. https://reviews.freebsd.org/D48211 is addressing this so users who loads iwm from loader(8) can still do it (even if I don't understand why anyone wants to do this). Cheers, -- Emmanuel Vadot