Re: git: 94e94d2dddfa - main - UPDATING: Add a notes for iwm(4) firmware and pkgbase users

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Fri, 27 Dec 2024 08:59:13 UTC
On Thu, 26 Dec 2024 22:03:31 -0300
"Danilo G. Baio" <dbaio@FreeBSD.org> 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 <manu@FreeBSD.org>
> > AuthorDate: 2024-12-16 09:46:05 +0000
> > Commit:     Emmanuel Vadot <manu@FreeBSD.org>
> > 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 <manu@bidouilliste.com> <manu@freebsd.org>