> From: Sebastian Wiesner <sebastian@xxxxxxxx> > Sent: Sunday, January 28, 2024 21:10 > To: linux-wireless@xxxxxxxxxxxxxxx > Cc: daan.j.demeyer@xxxxxxxxx > Subject: Missing firmware dependencies in iwlwifi module? > > Hello, > > the iwlwifi module seems to be missing firmware dependencies on some "pnvm" > files. At least, the module crashes at boot of the pnvm file corresponding to the > ucode file isn't present, but "modinfo -F firmware iwlwifi" does not list the pnvm > files: > > $ uname -r > 6.7.1-arch1-1 > $ ls /usr/lib/firmware/iwlwifi-*.pnvm.zst > /usr/lib/firmware/iwlwifi-gl-c0-fm-c0.pnvm.zst > /usr/lib/firmware/iwlwifi-so-a0-gf4-a0.pnvm.zst > /usr/lib/firmware/iwlwifi-ma-b0-gf4-a0.pnvm.zst > /usr/lib/firmware/iwlwifi-so-a0-gf-a0.pnvm.zst > /usr/lib/firmware/iwlwifi-ma-b0-gf-a0.pnvm.zst > /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.zst > $ modinfo -F firmware iwlwifi | rg pnvm > > I stumbled over this while building a system image with mkosi. To minimze > image size I was removing unneeded modules from the image, and mkosi > automatically removed firmware files no longer needed according to "modinfo". > > The image failed to boot, with iwlwifi complaining about a missing pnvm file (I'm > sorry but I don't have the actual error message at hand anymore). After > manually adding the pnvm file to the image, it booted successfully. > > See https://github.com/systemd/mkosi/issues/2334 for the mkosi bug report. > > This is my first mail to this list, and to any kernel mailing list really, so I'm sorry if > it's missing information or is somehow inappropriate. > > I'm not subscribed to this list, so please keep me CC'ed if you need further > information. > > Cheers, > Sebastian Wiesner Hi Sebastian, Looks like we indeed miss that dependencies. We'll fix it and let you know when done. Thanks for reporting! Miri