[Bug 290901] pciconf: /dev/pci: No such file or directory during install fwget

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Nov 2025 18:01:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290901

            Bug ID: 290901
           Summary: pciconf: /dev/pci: No such file or directory during
                    install fwget
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@peterk.org

follow up from:
https://lists.freebsd.org/archives/freebsd-stable/2025-October/003534.html
FreeBSD 15.0-BETA3 - no iwlwifi0 wifi firmware after install

During the install, I successfully connect to wifi and download 
pkgbase.  After booting into the freshly installed system, no wifi and 
this in /var/log/messages:

Oct 30 01:04:29 freeburg kernel: iwlwifi0: <iwlwifi> mem 
0x603db9c000-0x603db9ffff at device 20.3 on pci0
Oct 30 01:04:29 freeburg kernel: iwlwifi0: Detected crf-id 0x3617, 
cnv-id 0x20000302 wfpm id 0x80000000
Oct 30 01:04:29 freeburg kernel: iwlwifi0: PCI dev 43f0/0070, rev=0x351, 
rfid=0x10a100
Oct 30 01:04:29 freeburg kernel: iwlwifi0: Detected Intel(R) Wi-Fi 6 
AX201 160MHz
Oct 30 01:04:29 freeburg kernel: iwlwifi-QuZ-a0-hr-b0-77.ucode: could 
not load binary firmware /boot/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode either
Oct 30 01:04:29 freeburg syslogd: last message repeated 1 times
Oct 30 01:04:29 freeburg kernel: iwlwifi-QuZ-a0-hr-b0-77_ucode: could 
not load binary firmware /boot/firmware/iwlwifi-QuZ-a0-hr-b0-77_ucode either
Oct 30 01:04:29 freeburg kernel: iwlwifi_QuZ_a0_hr_b0_77_ucode: could 
not load binary firmware /boot/firmware/iwlwifi_QuZ_a0_hr_b0_77_ucode either
Oct 30 01:04:29 freeburg kernel: iwlwifi0: could not load firmware image 
'iwlwifi-QuZ-a0-hr-b0-77.ucode'
Oct 30 01:04:29 freeburg kernel: iwlwifi0: File size way too small!
Oct 30 01:04:29 freeburg kernel: iwlwifi0: no suitable firmware found!
Oct 30 01:04:29 freeburg kernel: iwlwifi0: iwlwifi-QuZ-a0-hr-b0-77 is 
required
Oct 30 01:04:29 freeburg kernel: iwlwifi0: check 
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
Oct 30 01:04:29 freeburg kernel: iwlwifi0: On FreeBSD the firmware 
package can be installed running fwget(8).

During the install the fwget step, it says nothing to download.

My workaround has been to open a shell during the install and 
copy /boot/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode 
to /mnt/boot/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode. Only then do I have 
wifi on a fresh install and can run 'fwget', which downloads all the 
other iwlwifi...ucode files.

I figure if I have wifi during install, it should work on fresh boot, as 
my /etc/wpa_supplicant.conf is setup correctly by the installer.


]Peter[

-- 
You are receiving this mail because:
You are the assignee for the bug.