Upgrade failes for F32, prevents upgrade to f33

Trying to upgrade a Thinkstation P500. Trying to make sure F2 is up to date before upgrade to F33.
Keep getting:

Error calling StartServiceByName for org.freedesktop.fwupd: Timeout was reached

Runing
journalctl -b -u fwupd
shows:

Apr 26 17:54:21 localhost.localdomain systemd[1]: Starting Firmware update daemon...
Apr 26 17:54:48 localhost.localdomain fwupd[17030]: ERROR:sys:src/tss2-sys/api/Tss2_Sys_Execute.c:114:Tss2_Sys_ExecuteFinish() Unsupported device. The device is a TPM 1.2
Apr 26 17:54:48 localhost.localdomain fwupd[17030]: ERROR:esys:src/tss2-esys/api/Esys_Startup.c:216:Esys_Startup_Finish() Received a non-TPM Error
Apr 26 17:54:48 localhost.localdomain fwupd[17030]: ERROR:esys:src/tss2-esys/api/Esys_Startup.c:78:Esys_Startup() Esys Finish ErrorCode (0x00080001)
Apr 26 17:54:48 localhost.localdomain fwupd[17030]: 22:54:48:0064 FuEngine             failed to add device (null): failed to initialize TPM
Apr 26 17:54:48 localhost.localdomain fwupd[17030]: 22:54:48:0755 FuDeviceList         ignoring device 79ace0a011036d0107e1629af76482edb39d6cf1 [ata:(null)] existing device af04bed0039ed01abf9b6b08d90cef9de4b17c08 [ata:(null)] already>
Apr 26 17:54:48 localhost.localdomain fwupd[17030]: 22:54:48:0765 FuDeviceList         ignoring device b784a0abe923e607ca856f4317ce849f9d07b60e [ata:(null)] existing device af04bed0039ed01abf9b6b08d90cef9de4b17c08 [ata:(null)] already>
Apr 26 17:54:48 localhost.localdomain fwupd[17030]: 22:54:48:0775 FuDeviceList         ignoring device 788f9ddb38891bb14bd733f9adca3f43466dd02f [ata:(null)] existing device af04bed0039ed01abf9b6b08d90cef9de4b17c08 [ata:(null)] already>
Apr 26 17:54:48 localhost.localdomain systemd[1]: Started Firmware update daemon.
Apr 26 17:54:55 localhost.localdomain fwupd[17030]: 22:54:55:0121 FuPluginPciMei       ME family not supported for 0:9.1.2.1010

Can you please check this, if this helps for you?

1 Like

firmware updates are not required before you system-upgrade from F32 to F33

https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/

As for your fwupd problem, have you tried this: Fedora 31: Error calling StartServiceByName for org.freedesktop.fwupd: Timeout was reached Β· Issue #1549 Β· fwupd/fwupd Β· GitHub (β€œThe issue resolved itself after removing tpm2-abrmd.”)

1 Like

$ fwupdmgr --version
client version: 1.5.7
compile-time dependency versions
gusb: 0.3.5

daemon version: 1.5.7

$ rpm -qa | grep tpm2
tpm2-tools-4.1.3-1.fc32.x86_64
tpm2-tss-2.4.4-1.fc32.x86_64

and
$ rpm -qa | grep β€˜tpm2-abrmd’

finds nothing. So no tpm2-abrmd’ that i can find

The problem is the this is blocking akernel update.

what’s the output of sudo dnf update kernel?

The TPM on this box may be disabled or back-level/unsupported.

$ ./tpm2_selftest
bash: ./tpm2_selftest: No such file or directory
[sjmunroe@localhost ~]$ tpm2_selftest
ERROR:tcti:src/tss2-tcti/tcti-device.c:477:Tss2_Tcti_Device_Init() Failed to open specified TCTI device file /dev/tpmrm0: No such file or directory
WARNING:tcti:src/tss2-tcti/tctildr.c:79:tcti_from_init() TCTI init for function 0x7f9b55d5a0a0 failed with a000a
WARNING:tcti:src/tss2-tcti/tctildr.c:109:tcti_from_info() Could not initialize TCTI named: tcti-device
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:150:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-device.so.0
ERROR:tcti:src/tss2-tcti/tcti-device.c:477:Tss2_Tcti_Device_Init() Failed to open specified TCTI device file /dev/tpm0: Permission denied
WARNING:tcti:src/tss2-tcti/tctildr.c:79:tcti_from_init() TCTI init for function 0x7f9b55d5a0a0 failed with a000a
WARNING:tcti:src/tss2-tcti/tctildr.c:109:tcti_from_info() Could not initialize TCTI named: tcti-device
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:150:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-device.so.0
WARNING:tcti:src/util/io.c:252:socket_connect() Failed to connect to host 127.0.0.1, port 2321: errno 111: Connection refused
WARNING:tcti:src/tss2-tcti/tctildr.c:79:tcti_from_init() TCTI init for function 0x7f9b55d5a500 failed with a000a
WARNING:tcti:src/tss2-tcti/tctildr.c:109:tcti_from_info() Could not initialize TCTI named: tcti-socket
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:150:tcti_from_file() Could not initialize TCTI file: libtss2-tcti-mssim.so.0
ERROR:tcti:src/tss2-tcti/tctildr-dl.c:250:tctildr_get_default() No standard TCTI could be loaded
ERROR:tcti:src/tss2-tcti/tctildr.c:416:Tss2_TctiLdr_Initialize_Ex() Failed to instantiate TCTI
ERROR: Could not load tcti, got: β€œ(null)”

That is what dnf complains about when attempting to update kernel*?

Your device not appears on the LVFS page ?!

Lenovo (ThinkStation)

Fedora Modular 32 - x86_64 - Updates             32 kB/s |  12 kB     00:00    
Fedora 32 - x86_64 - Updates                     40 kB/s | 9.0 kB     00:00    
Fedora 32 - x86_64 - Updates                    1.8 MB/s | 3.8 MB     00:02    
Ignoring repositories: advance-toolchain
Dependencies resolved.
================================================================================
 Package                  Arch       Version                 Repository    Size
================================================================================
Installing:
 kernel                   x86_64     5.11.16-100.fc32        updates      152 k
 kernel-core              x86_64     5.11.16-100.fc32        updates       34 M
 kernel-modules           x86_64     5.11.16-100.fc32        updates       31 M
Removing:
 kernel                   x86_64     5.11.10-100.fc32        @updates       0  
 kernel-core              x86_64     5.11.10-100.fc32        @updates      74 M
 kernel-modules           x86_64     5.11.10-100.fc32        @updates      30 M
Removing dependent packages:
 kernel-modules-extra     x86_64     5.11.10-100.fc32        @updates     1.9 M

Transaction Summary
================================================================================
Install  3 Packages
Remove   4 Packages

Total download size: 65 M

Yes it is bit old. P500 Haswell 8 Core
Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz

Still have no solution for this. I keep getting

Detailed errors from the package manager follow:

Error calling StartServiceByName for org.freedesktop.fwupd: Timeout was reached

Finally got F32 β†’ F33 upgrade to work.

It seems that fedore is very fussy about install sources and some of the IBM POWER install sources have moved (and timed out) . So had to clean those up manually.

I think other distros disable these and give you a warning so you can reinstall what you need after the upgrade.

Fedora normally trows you a message when something is not good anymore. You were just about 2 weeks to late to update, so some repos might not be available anymore. That’s why you got 404 errors.

Next time you just have to save the repolist so that you can see if you find something like this for the newer version too (sudo dnf repolist >>F32reposlist.txt for example). Have a look in the log-files if you find the messages about the IBM stuff.

About your firmware you might have to check on the Lenovo page if you can get an update to make it manually.