ublue-os / bazzite

Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
4.15k stars 253 forks source link

bazzite-hardware-setup service fail #428

Closed breningham closed 1 year ago

breningham commented 1 year ago

Hi, just updated and rebooted my system, (have been using bazzite for about a month now).

just had the bazzite-hardware-setup.service take 2mins on boot, to then fail with the following error:

-- Boot c8ebe6dec3e0428499940fbb417b9e29 --
Oct 14 11:43:52 brens-home-pc systemd[1]: Starting bazzite-hardware-setup.service - Configure Bazzite for current hardware...
Oct 14 11:43:53 brens-home-pc bazzite-hardware-setup[1402]: cat: /etc/bazzite/fedora_version: No such file or directory
Oct 14 11:43:53 brens-home-pc bazzite-hardware-setup[1328]: Current kargs: rhgb quiet root=UUID=50823119-4dfd-431c-a2e4-a88d0d7349da rootflags=subvol=root rw rd.luks.options=discard amd_pstate=active amd_pstate.shared_mem=1 amdgpu.ppfeaturemask>
Oct 14 11:43:53 brens-home-pc bazzite-hardware-setup[1328]: Checking for needed karg changes
Oct 14 11:44:00 brens-home-pc bazzite-hardware-setup[1511]: Checking out tree 07165c9...done
Oct 14 11:44:00 brens-home-pc bazzite-hardware-setup[1511]: Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ublue-os:staging fedora-cisco-openh264 fedora-modular updates-modular updates fedora rpmfusion-free-updates rpmfusion-free r>
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: Importing rpm-md...done
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'copr:copr.fedorainfracloud.org:ublue-os:staging' (cached); generated: 2023-10-11T23:15:15Z solvables: 70
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2023-03-14T10:56:46Z solvables: 4
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'fedora-modular' (cached); generated: 2023-04-13T20:30:47Z solvables: 1082
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'updates-modular' (cached); generated: 2023-09-16T00:25:03Z solvables: 1087
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'updates' (cached); generated: 2023-10-14T01:23:14Z solvables: 25212
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'fedora' (cached); generated: 2023-04-13T20:37:10Z solvables: 69222
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2023-10-12T21:20:43Z solvables: 194
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'rpmfusion-free' (cached); generated: 2023-04-14T11:37:11Z solvables: 468
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2023-10-12T21:49:50Z solvables: 83
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-04-14T12:02:51Z solvables: 235
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'copr:copr.fedorainfracloud.org:meeuw:droidcam' (cached); generated: 2023-04-18T18:46:58Z solvables: 4
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: rpm-md repo 'updates-archive' (cached); generated: 2023-10-10T02:42:32Z solvables: 41995
Oct 14 11:44:01 brens-home-pc bazzite-hardware-setup[1511]: Resolving dependencies...done
Oct 14 11:44:02 brens-home-pc bazzite-hardware-setup[1511]: Checking out packages...done
Oct 14 11:44:02 brens-home-pc bazzite-hardware-setup[1511]: Running pre scripts...done
Oct 14 11:44:07 brens-home-pc bazzite-hardware-setup[1511]: Running post scripts...done
Oct 14 11:44:13 brens-home-pc bazzite-hardware-setup[1511]: Running posttrans scripts...done
Oct 14 11:44:14 brens-home-pc bazzite-hardware-setup[1511]: Writing rpmdb...done
Oct 14 11:44:47 brens-home-pc bazzite-hardware-setup[1511]: Generating initramfs...done
Oct 14 11:45:43 brens-home-pc bazzite-hardware-setup[1511]: Writing OSTree commit...done
Oct 14 11:45:48 brens-home-pc bazzite-hardware-setup[1511]: Staging deployment...done
Oct 14 11:45:53 brens-home-pc bazzite-hardware-setup[1511]: Freed: 99.6 MB (pkgcache branches: 0)
Oct 14 11:45:54 brens-home-pc bazzite-hardware-setup[1511]: Initramfs regeneration is now: enabled
Oct 14 11:45:54 brens-home-pc bazzite-hardware-setup[1328]: No karg changes needed
Oct 14 11:45:54 brens-home-pc bazzite-hardware-setup[1328]: /usr/bin/bazzite-hardware-setup: line 201: syntax error: unexpected end of file
Oct 14 11:45:54 brens-home-pc systemd[1]: bazzite-hardware-setup.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 14 11:45:54 brens-home-pc systemd[1]: bazzite-hardware-setup.service: Failed with result 'exit-code'.
Oct 14 11:45:54 brens-home-pc systemd[1]: Failed to start bazzite-hardware-setup.service - Configure Bazzite for current hardware.

i've included the full log as to help with any possible debugging.

image ^specs

KyleGospo commented 1 year ago

Thank you for the report, found and fixed the issue. The 2-minute boot is due to initramfs generating for the first time and won't occur again.