Re: 15.0-BETA4 - pciconf: /dev/pci: No such file or directory for firmware

From: peter <fbsdq_at_peterk.org>
Date: Sat, 08 Nov 2025 18:06:36 UTC
opened PR:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290901

On 11/7/25 3:25 PM, Bjoern A. Zeeb wrote:
> On Tue, 4 Nov 2025, peter wrote:
>
> Hi,
>
> thank you for debugging this and looking more into it!
>
>>   During the install, I successfully connect to wifi and download 
>> pkgbase.  After booting into the freshly installed system, no wifi or 
>> any firmware was installed. This is on an HP ZBook laptop.
>>
>> Tested with BETA{1,3,4}. Same results.
>>
>> I delete the install and try again:
>>
>> At the end of the install, I select 'shell' into the new system, and 
>> run 'fwget':
>>
>> # fwget
>> pciconf: /dev/pci: No such file or directory
>> No firmware packages to install.
>> #
>>
>> That is also the exact message the installer gives me during the 
>> firmware step: 'No firmware packages to install.'
>>
>> same error in bsdinstall_log:
>>
>> DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
>> DEBUG: f_include_lang: 
>> file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[C.UTF-8]
>> DEBUG: packages/packages.subr: Successfully loaded.
>> pciconf: /dev/pci: No such file or directory
>> DEBUG: f_dialog_max_size: bsddialog --print-maxsize = [MaxSize: 67, 240]
>> DEBUG: f_getvar: var=[height] value=[8] r=0
>> DEBUG: f_getvar: var=[width] value=[41] r=0
>>
>>
>> So I try alt+F4, and run fwget there:
>>
>> # fwget
>>  Needed firmware packages: 'gpu-firmware-intel-kmod-tigerlake 
>> wifi-firmware-iwlwifi-kmod-22000'
>>  pkg: Error extracting the archive: 'Write error'
>>  pkg: No signature found
>>  pkg: Repository FreeBSD-ports cannot be opened. 'pkg update' required
>>  pkg: Fail to create temporary directory: 
>> /usr/local/share/licenses/.pkgtemp.gpu-firmware-intel-kmod-tigerlake-20230625.1500068.i683tDzxwROk:Read-only 
>> file system
>>  pkg: Fail to create temporary file for 
>> /usr/local/share/licenses/gpu-firmware-intel-kmod-tigerlake-20230625.1500068/catalog.mk:No 
>> such file or director
>>
>> Using the memstick for install, so I can mount that memstick and copy 
>> the iwlwifi-QuZ-a0-hr-b0-77.ucode to the fresh system: 
>> /mnt/boot/firmware/. Then I have wifi, and 'fwget' works when I boot 
>> into the fresh system.
>>
>> Is this expected behavior to manually copy firmware for wifi from the 
>> memstick, or I need to have ethernet to run 'fwget' ?
>>
>> I'm guessing fwget never works during install because of: "pciconf: 
>> /dev/pci: No such file or directory" error message, right?
>
> sorry only seeing this now;  that means devfs is no longer mounted in 
> the chroot.
> That means there was an installer change;  this needs to be fixed;  a 
> PR with a
> link to your email in th archives or something is still in order.
>
> /bz
>