You are not logged in.

#1 2023-11-06 21:20:28

Lacksal
Member
Registered: 2023-11-06
Posts: 29

[SOLVED] Firmware Issues After System Update

I have been using Arch for a few months now after using Manjaro for the past year or so.  Two days ago, I ran

sudo pacman -Syu

as I routinely do, and had no issues until the next time I tried to login.  I was greeted with the flashing underscore of death in the top left of the screen. I tty'd into a different console and dug around and saw that my amdgpu firmware and bluetooth firmware ran into issues on boot (attached photos of startup log) (And sorry the photos aren't great but it's the best I can do)

https://imgur.com/Ik75yqG
https://imgur.com/Py2kp39

Another issue I have is that I am unable to connect to the internet.  I use wifi cause, and i tried to set it up with iwctl, but when I ran

iwctl device list

no device was listed.  I was able to find my wifi card using

lspci -k

and the correct controller came up. 

I would attach more computer information (inxi etc), but I can't copy/paste it.  Basic information is:
Asus Rog Zephyrus G14 GA401
AMD Ryzen 9 5900HS (with integrated graphics)
Nvidia RTX 3060 Mobile-Q
Using Arch Linux 11
Kernel 6.5.9


I looked around online and didn't see anything that could help, so I chrooted into my system from a live usb, and did a complete system update, but that didn't work.  I am unsure where to go from here and any help would be greatly appreciated.

ps: if there are formatting errors, please let me know, I am still kinda new to these types of forums big_smile

Last edited by Lacksal (2023-11-08 17:46:24)

Offline

#2 2023-11-06 22:17:18

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

From the chroot please post the complete system journal for a boot with the issue to a pastebin and provide the link for that here.  For example if the issue was with the last boot you could use:

# journalctl -b -1 | curl -F 'file=@-' 0x0.st

Last edited by loqs (2023-11-06 22:17:37)

Offline

#3 2023-11-06 22:41:13

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

Here is the output

https://pastebin.com/u9n0idME

Offline

#4 2023-11-07 07:40:27

seth
Member
Registered: 2012-09-03
Posts: 61,647

Re: [SOLVED] Firmware Issues After System Update

No, that's some 241 lines out of the middle of the journal

Offline

#5 2023-11-07 15:49:35

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

Not sure how that happened, but here is the full log:

https://pastebin.com/a6PZtbfS

Offline

#6 2023-11-07 16:02:33

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

From inside the chroot what is the output of:

pacman -Qikk linux-firmware
stat /lib/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin.zst
stat /lib/firmware/amdgpu/green_sardine_asd.bin.zst

Offline

#7 2023-11-07 17:35:33

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

I noticed the error loading those in the logs, but wasn't sure what to make of them.  I am assuming those are drivers for my wifi controller/integrated graphics (correct me if I'm wrong)

Here are the outputs of the commands you sent:
https://imgur.com/a/IufTJiP

Offline

#8 2023-11-07 17:43:55

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

At least the linux-firmware package is corrupted.  Please post the link generated by the following,  which checks all installed packages for corruption:

LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/broken_packages.txt
cat /tmp/broken_packages.txt | curl -F 'file=@-' 0x0.st

Edit:
Oh and thanks seth for the commands.

Last edited by loqs (2023-11-07 17:44:19)

Offline

#9 2023-11-07 18:48:33

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

This makes me incredibly nervous.

https://pastebin.com/LGYw0Lw1

Offline

#10 2023-11-07 18:53:27

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

gst-plugin-pipewire: no mtree file
gupnp: no mtree file
inxi: no mtree file
kirigami-addons5: no mtree file
linux-firmware: no mtree file
linux-firmware-whence: no mtree file
pipewire-alsa: no mtree file
pipewire-audio: no mtree file
pipewire-jack: no mtree file
pipewire-pulse: no mtree file
sdl2: no mtree file

Reinstall the eleven corrupt packages listed above.  Were those all part of the last update?

Offline

#11 2023-11-07 19:13:49

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

loqs wrote:
gst-plugin-pipewire: no mtree file
gupnp: no mtree file
inxi: no mtree file
kirigami-addons5: no mtree file
linux-firmware: no mtree file
linux-firmware-whence: no mtree file
pipewire-alsa: no mtree file
pipewire-audio: no mtree file
pipewire-jack: no mtree file
pipewire-pulse: no mtree file
sdl2: no mtree file

Reinstall the eleven corrupt packages listed above.  Were those all part of the last update?

I reinstalled everything, and it said

Errors occurred, no packages were upgraded

after just spitting out that everything "already exists on filesystem"

One of the first things I did when I had this problem was chroot into my system and update everything.

Offline

#12 2023-11-07 19:39:21

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

You will need to fix the database first.

pacman -S --dbonly gst-plugin-pipewire gupnp inxi kirigami-addons5 linux-firmware linux-firmware-whence pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse sdl2 # Restore the corrupted packages in pacman's database.
pacman -Syu

I meant,  were those eleven packages part of the last update before you discovered the issue?

Last edited by loqs (2023-11-07 19:39:43)

Offline

#13 2023-11-08 00:00:31

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

I entered the commands you sent and this was the output:

https://imgur.com/gallery/sYjjvJa

About what packages were in the last update, I'm not 100% sure about all of them but I know all the pipewire ones were in my last update.

Offline

#14 2023-11-08 00:05:56

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

I missed you need to reinstall the eleven packages after fixing pacman's database:

pacman -S gst-plugin-pipewire gupnp inxi kirigami-addons5 linux-firmware linux-firmware-whence pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse sdl2

Offline

#15 2023-11-08 00:36:25

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

loqs wrote:

I missed you need to reinstall the eleven packages after fixing pacman's database:

pacman -S gst-plugin-pipewire gupnp inxi kirigami-addons5 linux-firmware linux-firmware-whence pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse sdl2

I did that and rebooted, and I still had the same issue from my original post.  The network/amdgpu drivers seem to still not be working.  I checked the status of the

lightdm.service

and it said it was loaded and not active.  I tried to restart the service and it didn't do anything.

Offline

#16 2023-11-08 07:41:38

seth
Member
Registered: 2012-09-03
Posts: 61,647

Re: [SOLVED] Firmware Issues After System Update

Please post an updated journal.

Offline

#17 2023-11-08 13:25:40

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

Current output of journalctl in chroot:

https://pastebin.com/vP99tker

Offline

#18 2023-11-08 13:32:41

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

Please rerun the commands from post #8.

Offline

#19 2023-11-08 13:55:36

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

Oh, sorry about that!

Here is the broken_packages log


https://pastebin.com/khMvF9FN

Offline

#20 2023-11-08 13:59:19

seth
Member
Registered: 2012-09-03
Posts: 61,647

Re: [SOLVED] Firmware Issues After System Update

error: error while reading file /var/lib/pacman/local/linux-firmware-whence-20231030.2b304bfe-1/mtree: Unrecognized archive format
linux-firmware: no mtree file
linux-firmware-whence: no mtree file
ghostscripterror: error while reading file /var/lib/pacman/local/gst-plugin-pipewire-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/gupnp-1:1.6.6-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/inxi-3.3.31.1-1/mtree: Unrecognized archive format
jre-openjdk-headless: 32error: error while reading file /var/lib/pacman/local/kirigami-addons5-0.11.0-6/mtree: Unrecognized archive format
libyaml: 13 terror: error while reading file /var/lib/pacman/local/linux-firmware-20231030.2b304bfe-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/linux-firmware-whence-20231030.2b304bfe-1/mtree: Unrecognized archive format
backup file: pacman: /etc/paerror: error while reading file /var/lib/pacman/local/pipewire-alsa-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/pipewire-audio-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/pipewire-jack-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/pipewire-pulse-1:0.3.84-1/mtree: Unrecognized archive format
python-rtslib-error: error while reading file /var/lib/pacman/local/sdl2-2.28.5-1/mtree: Unrecognized archive format

Re-run them w/ --dbonly and then re-iinstall them.
Post the outputs.

Also the posted output looks corrupted, do't copy and paste out of th pager, tee the output into a file and upload that.

Offline

#21 2023-11-08 14:02:25

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

seth wrote:
error: error while reading file /var/lib/pacman/local/linux-firmware-whence-20231030.2b304bfe-1/mtree: Unrecognized archive format
linux-firmware: no mtree file
linux-firmware-whence: no mtree file
ghostscripterror: error while reading file /var/lib/pacman/local/gst-plugin-pipewire-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/gupnp-1:1.6.6-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/inxi-3.3.31.1-1/mtree: Unrecognized archive format
jre-openjdk-headless: 32error: error while reading file /var/lib/pacman/local/kirigami-addons5-0.11.0-6/mtree: Unrecognized archive format
libyaml: 13 terror: error while reading file /var/lib/pacman/local/linux-firmware-20231030.2b304bfe-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/linux-firmware-whence-20231030.2b304bfe-1/mtree: Unrecognized archive format
backup file: pacman: /etc/paerror: error while reading file /var/lib/pacman/local/pipewire-alsa-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/pipewire-audio-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/pipewire-jack-1:0.3.84-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/pipewire-pulse-1:0.3.84-1/mtree: Unrecognized archive format
python-rtslib-error: error while reading file /var/lib/pacman/local/sdl2-2.28.5-1/mtree: Unrecognized archive format

Re-run them w/ --dbonly and then re-iinstall them.
Post the outputs.

Also the posted output looks corrupted, do't copy and paste out of th pager, tee the output into a file and upload that.


Just double checking here, when you say rerun them, do you mean the log (LC_ALL etc), or reinstall

pacman -S --dbonly ect

Also, I did tee into a file then post that.

Edit: For clarification, I meant to a re enter the commands from post #8 with --dbonly

Last edited by Lacksal (2023-11-08 14:04:02)

Offline

#22 2023-11-08 14:11:47

loqs
Member
Registered: 2014-03-06
Posts: 18,354

Re: [SOLVED] Firmware Issues After System Update

pacman -S --dbonly gst-plugin-pipewire gupnp inxi kirigami-addons5 linux-firmware linux-firmware-whence pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse sdl2 # Restore the corrupted packages in pacman's database.
pacman -S gst-plugin-pipewire gupnp inxi kirigami-addons5 linux-firmware linux-firmware-whence pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse sdl2 # Reinstall corrupted packages

Offline

#23 2023-11-08 14:18:41

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

loqs wrote:
pacman -S --dbonly gst-plugin-pipewire gupnp inxi kirigami-addons5 linux-firmware linux-firmware-whence pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse sdl2 # Restore the corrupted packages in pacman's database.
pacman -S gst-plugin-pipewire gupnp inxi kirigami-addons5 linux-firmware linux-firmware-whence pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse sdl2 # Reinstall corrupted packages

Updates log:

https://pastebin.com/1kLktk0E

Offline

#24 2023-11-08 14:24:37

seth
Member
Registered: 2012-09-03
Posts: 61,647

Re: [SOLVED] Firmware Issues After System Update

Looks better - did you reboot?

Offline

#25 2023-11-08 14:29:04

Lacksal
Member
Registered: 2023-11-06
Posts: 29

Re: [SOLVED] Firmware Issues After System Update

It works now, Thank you both so much!!

Do you guys have an idea of exactly what went wrong and caused this?

Offline

Board footer

Powered by FluxBB