getting an error on apu2 board while updating the fw to 4.19.0.1. The same after rebooting ipfire.
What could be the culprit?
pakfire status
Core-Version: 2.27-x86_64
Core-Update-Level: 175
Last update: 41m 44s ago
Last core-list update: 27m 51s ago
Last server-list update: 27m 53s ago
Last packages-list update: 27m 52s ago
Core-Update available: no
Package-Updates available: 0
Reboot required: no
+++
Do you want to proceed? [y/n] y
Flashing process is starting now…
PLEASE DO NOT TURN OFF THE SYSTEM WHILE FLASHING!
flashrom v1.2 on Linux 6.1.30-ipfire (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
coreboot table found at 0xcfed0000.
flashrom: symbol lookup error: flashrom: undefined symbol: pci_filter_init, version LIBPCI_3.3
Error: Flashing the firmware was not successful
The specific error flashrom: symbol lookup error: flashrom: undefined symbol: pci_filter_init, version LIBPCI_3.3 is saying that the flashrom program is trying to use a function called pci_filter_init from a library related to the PCI subsystem, but it can’t find this function.
This is the first time I encounter this problem. Did you manage to update the firmware before?
If the libpci.so.3 link is missing then something went wrong during the upgrade.
If all the links are the same then I don’t understand what is happening.
I did the upgrade to that version on my apu4 on CU174 and everything went without a hitch and the library links are the same as the above ones for CU175.
The symlink for libpci.so.3 to libpci.so.3.9.0 can be checked as follows:-
ls -hal /lib/libpci.so.3*
lrwxrwxrwx 1 root root 15 Jun 9 21:13 /lib/libpci.so.3 → libpci.so.3.9.0
-rwxr-xr-x 1 root root 140K Jun 9 22:27 /lib/libpci.so.3.9.0
This shows that the new library, libpci.so.3.9.0 is on the system and libpci.so.3 is symlinked to it.
My system shows the same as above but i cannot upgrade with flashrom anymore - at least not from my
Board : PC Engines apu4
HW Version : 1.0
...
BIOS Version: v4.16.0.4 (05/25/2022)
I get the same error message as Nils:
...
coreboot table found at 0xcfed0000.
flashrom: symbol lookup error: flashrom: undefined symbol: pci_filter_init, version LIBPCI_3.3
Error: Flashing the firmware was not successful
Your best choice may be to re-install version Core Update 174 and then do the firmware-update and then do the core update to 175.
There does look to be a problem with the pciutils package version 3.9.0
Fedora have found a problem with the cpupower package that is caused by the pciutils package and having the same error message as you and @rossomonza reported.
Fedora apparently made some changes to their pciutils install to make things work but currently I can’t access the fedorproject.org site at all. I keep getting:-
The connection has timed out
An error occurred during a connection to fedoraproject.org. PR_IO_TIMEOUT_ERROR
Error code: PR_IO_TIMEOUT_ERROR
Any fix will require a new compile build to make pciutils work and so will end up in CU176. Hence my suggestion to re-install CU174 and then do the apu firmware update.
My inability to access the fedoraproject.org sites was something to do with the IPFire Proxy. I changed my browser to use the system proxy and sites are accessible now.
Anyway, found the patch that Fedora have used for pciutils-3.9.0 to fix the problem of some symbols not being made available.
However version pciutils-3.10.0 has been released and Fedora have installed that and it doesn’t need the extra patch anymore as they have removed it. So I will submit an update patch for pciutils-3.10.0
Your quickest solution will still be to re-install CU174, do the firmware update then upgrade to CU175.
Maybe i will then wait for a 176 with corrected pciutils pkg - I did not reinstall from scratch yet (the setup of the Huawei 600VE modem was a bit tricky) and so far everything else runs smoothly.
With the GX-412TC EOL the FW will probably have to move to a new SOC anyway.
That’s sad, it was a very good platform for ipfire.