You are not logged in.

#1 2024-07-24 16:12:06

rdx22
Member
Registered: 2024-07-21
Posts: 9

Very slow firmware boot time

Fresh installation of arch, boot takes roughly a minute on fairly good hardware and I can't figure out why

systemd-analyze
Startup finished in 41.705s (firmware) + 3.533s (loader) + 8.117s (kernel) + 3.758s (userspace) = 57.115s
graphical.target reached after 3.745s in userspace.
systemd-analyze critical-chain
graphical.target @3.745s
└─sddm.service @3.744s
  └─systemd-user-sessions.service @3.739s +3ms
    └─network.target @3.738s
      └─wpa_supplicant.service @3.698s +39ms
        └─basic.target @2.906s
          └─dbus-broker.service @2.891s +13ms
            └─dbus.socket @2.887s
              └─sysinit.target @2.885s
                └─systemd-timesyncd.service @2.829s +55ms
                  └─systemd-tmpfiles-setup.service @2.732s +95ms
                    └─run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount @2.800s

Part of journalctl -b -p 4 output at the very start that looks concerning:

Jul 24 17:28:29 arch kernel: Speculative Return Stack Overflow: IBPB-extending microcode not applied!
Jul 24 17:28:29 arch kernel: Speculative Return Stack Overflow: WARNING: See https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation options.
Jul 24 17:28:29 arch kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP7._PRW], AE_ALREADY_EXISTS (20240322/dswload2-326)
Jul 24 17:28:29 arch kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20240322/psobject-220)
Jul 24 17:28:29 arch kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP2._PRW], AE_ALREADY_EXISTS (20240322/dswload2-326)
Jul 24 17:28:29 arch kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20240322/psobject-220)
Jul 24 17:28:29 arch kernel: ACPI BIOS Error (bug): Failure creating named object [\_GPE._L08], AE_ALREADY_EXISTS (20240322/dswload2-326)
Jul 24 17:28:29 arch kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20240322/psobject-220)
Jul 24 17:28:29 arch kernel: amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
Jul 24 17:28:29 arch kernel: ata7.00: supports DRM functions and may not be fully accessible
Jul 24 17:28:29 arch kernel: ata7.00: supports DRM functions and may not be fully accessible
Jul 24 17:28:29 arch kernel: nvme nvme0: missing or invalid SUBNQN field.
Jul 24 17:28:29 arch kernel: hub 10-0:1.0: config failed, hub doesn't have any ports! (err -19)
Jul 24 17:28:30 arch kernel: ACPI Warning: SystemIO range 0x0000000000000B00-0x0000000000000B08 conflicts with OpRegion 0x0000000000000B00-0x0000000000000B0F (\GSA1.SMBI) (20240322/utaddress-204)
Jul 24 17:28:30 arch kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Jul 24 17:28:30 arch bootctl[599]: ! Mount point '/boot' which backs the random seed file is world accessible, which is a security hole! !
Jul 24 17:28:30 arch bootctl[599]: ! Random seed file '/boot/loader/random-seed' is world accessible, which is a security hole! !
cat /sys/devices/system/cpu/vulnerabilities/spec_rstack_overflow
Vulnerable: Safe RET, no microcode

Specs if relevant:

Host: X670 AORUS ELITE AX
CPU: AMD Ryzen 7 7800X3D (16) @ 4.05 GHz
GPU: AMD Radeon RX 7900 XT [Discrete]
Mem: 2x16GB 6000mhz

Last edited by rdx22 (2024-07-24 16:14:05)

Offline

#2 2024-07-24 16:14:36

cryptearth
Member
Registered: 2024-02-03
Posts: 2,181

Re: Very slow firmware boot time

have you enabled xmp? could be slow memory training
look for bios updates

Online

#3 2024-07-24 16:42:26

rdx22
Member
Registered: 2024-07-21
Posts: 9

Re: Very slow firmware boot time

yes i have xmp enabled, will try and update bios

Offline

#4 2024-07-24 20:15:50

rdx22
Member
Registered: 2024-07-21
Posts: 9

Re: Very slow firmware boot time

seems that updating my bios fixed the issue

Startup finished in 14.076s (firmware) + 3.308s (loader) + 8.288s (kernel) + 3.405s (userspace) = 29.078s
graphical.target reached after 3.392s in userspace.

also stack overflow entries are no longer logged to journalctl
thank you for help

Offline

#5 2024-07-25 06:50:41

cryptearth
Member
Registered: 2024-02-03
Posts: 2,181

Re: Very slow firmware boot time

as for the still quite long 15sec my bet is on memory training - maybe due to xmp - but here I would recommend: as long as you get xmp stable working for me it would be worth an extra 5sec of boot time

Online

#6 2024-07-25 12:54:51

rdx22
Member
Registered: 2024-07-21
Posts: 9

Re: Very slow firmware boot time

sure, i used EXPO1 for RAM and 15 sec is acceptable for me. if need be i might try other stuff to make it faster but i prefer a stable boot without using fast boot

Offline

Board footer

Powered by FluxBB