Possibly missing firmware for module: xhci_pci

Have here till last testing update only with 5.16.7-1 and 5.17.0-1 a Message at building the fallback kernel:
WARNING: Possibly missing firmware for module: xhci_pci

1 Like

I got tired of this warning and installed AUR (en) - upd72020x-fw

1 Like

Identify if you need the Firmware >

sudo dmesg | grep xhci_pci

if not ignore it.

3 Likes

Thank you! That 'll do itā€¦ :slight_smile:

This firmware is only needed if you have the hardware to use it - otherwise itā€™s just junk taking up spaceā€¦

Tried dmesgā€¦ but i get reading the kernelbuffer operation is not allowedā€¦ but youā€™re right, i think iā€™ve seen this before and ignored it also for a long timeā€¦

itā€™s allowed with sudo

Thought also and tried with sudo, but then it shows / came up nothing!?

then u can ignore the warning

2 Likes

grep means ā€œshow all the lines that include this.ā€ if it showed nothing, then there werenā€™t any to show, which means there werenā€™t any dmesg errors about that module. thatā€™s good.

True, it might bite me someday and this post can be pointed out to me if in the future I request assistance and it is because of the frivolous installation of useless packages (as I donā€™t have the hardware) :wink:

ok, now makes sense, the errorsā€¦ (a hard dayā€™s work, iā€™m tired :wink: ). thank you! :slight_smile:

Try to check it:

sudo dmesg | grep xhci

But there are many xhci for USB bus in dmesg. (But xhci_hcd, not xhci_pci)

āÆ sudo dmesg | grep xhci                                                                                                                                                                                         āœ˜ 0|1
[    1.778083] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    1.778089] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
[    1.833398] xhci_hcd 0000:02:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x0000000000000410
[    1.833553] usb usb1: Manufacturer: Linux 5.16.7-1-MANJARO xhci-hcd
[    1.837823] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    1.837826] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    1.837828] xhci_hcd 0000:02:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[    1.837890] usb usb2: Manufacturer: Linux 5.16.7-1-MANJARO xhci-hcd
[    1.839628] xhci_hcd 0000:0b:00.3: xHCI Host Controller
[    1.839631] xhci_hcd 0000:0b:00.3: new USB bus registered, assigned bus number 3
[    1.839733] xhci_hcd 0000:0b:00.3: hcc params 0x0278ffe5 hci version 0x110 quirks 0x0000000000000410
[    1.839992] usb usb3: Manufacturer: Linux 5.16.7-1-MANJARO xhci-hcd
[    1.840153] xhci_hcd 0000:0b:00.3: xHCI Host Controller
[    1.840155] xhci_hcd 0000:0b:00.3: new USB bus registered, assigned bus number 4
[    1.840156] xhci_hcd 0000:0b:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[    1.840179] usb usb4: Manufacturer: Linux 5.16.7-1-MANJARO xhci-hcd
[    2.087280] usb 1-7: new full-speed USB device number 2 using xhci_hcd
[    2.087280] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[    2.540614] usb 1-10: new full-speed USB device number 3 using xhci_hcd
[  669.160642] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd

and check modinfo xhci_pci

āÆ modinfo xhci_pci
filename:       /lib/modules/5.16.7-1-MANJARO/kernel/drivers/usb/host/xhci-pci.ko.xz
license:        GPL
description:    xHCI PCI Host Controller Driver
firmware:       renesas_usb_fw.mem
srcversion:     15F87C6E54F604CBB479169
alias:          pci:v*d*sv*sd*bc0Csc03i30*
alias:          pci:v00001912d00000015sv*sd*bc*sc*i*
alias:          pci:v00001912d00000014sv*sd*bc*sc*i*
depends:        xhci-pci-renesas
retpoline:      Y
intree:         Y
name:           xhci_pci
vermagic:       5.16.7-1-MANJARO SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key

xHCI PCI Host Controller Driver (xhci_hcd = xhci_pci)?

1 Like

Iā€™m also wondering that. I get nothing from

sudo dmesg | grep xhci_pci

But resembling results for xhci_hcd

If you are not using this hardware component in particular, and no SCSI controllers in general, you may also edit /etc/initcpio/block.
In that file, you will find code like below:

    for filter in 'scsi/.*ata' '/(block|scsi|fusion|nvme)/' 'ata/[ps]ata_' \
            'ata/(ahci|pdc_adma|ata_piix|ata_generic)'; do
        add_checked_modules "$filter"
    done

Just remove scsi from there so that it reads like this:

    for filter in '/(block|fusion|nvme)/' 'ata/[ps]ata_' \
            'ata/(ahci|pdc_adma|ata_piix|ata_generic)'; do
        add_checked_modules "$filter"
    done

This avoids including the scsi controller drivers in the initcpio for your kernel, thus avoiding the missing firmware warnings, and also speeding up initcpio generation a little bit.

Of course, it is recommended to run sudo mkinitcpio -P && sudo update-grub afterwards.

By the way: These warnings occur only with the fallback initcpios. If you do not require them to be created, you can also avoid fallback initcpio generation altogether, by editing /etc/mkinitcpio.d/linux[version].preset and removing the word fallback from the PRESETS line.

If you have more than one kernel installed, and have verified that they are all working, you do not necessarily need that fallback image.
In case any of your kernels does not work after an update, just reboot and choose a known working kernel.
Of course, your mileage may vary at that point.

3 Likes

Since this thread is not closed I assume there never was a clear explanation.

This is my situation every single time (not just fallbacks):

==> WARNING: Possibly missing firmware for module: 'xhci_pci'

sudo dmesg | grep xhci_pci returns nothing but:

$ lspci -nnk
------cut unimportant info-------------
11:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f7] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:1142]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
12:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f6] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:1062]
        Kernel driver in use: ahci
13:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f7] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:1142]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
14:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f6] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:1062]
        Kernel driver in use: ahci
15:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c2)
        Subsystem: Gigabyte Technology Co., Ltd Raphael [1458:d000]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
15:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
15:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649]
        Subsystem: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649]
        Kernel driver in use: ccp
        Kernel modules: ccp
15:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b6]
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
15:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b7]
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
15:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
        DeviceName: Realtek ALC1220
        Subsystem: Gigabyte Technology Co., Ltd Family 17h/19h HD Audio Controller [1458:a194]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
16:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

Not only xhci_pci but also mentions of intel, witch I do not have, but maybe that is irrelevant, idk.
My usb ports has ALWAYS been wonky on Manjaro on this computer.
The other day my computer went to sleep while I was away for a while, came back, woke it up and none of the usb connections in the front of the computer worked at all, the ones directly on the mb still worked though.
I use linux67, I tried to reproduce this error and yepp, after sleep no usb:s.
If I do the same on linux66 SOMETIMES the usb ports work, and sometimes they do not.
Kernels just got updated so I do not know if it is still the case, yesterday it was at least.

I never use bluetooth so it is turned off (in KDE plasma) anyway.
I have this every single boot, no idea if it is related:

$ sudo journalctl -b0 -p3
Nov 23 11:18:37 bednaManjaro kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP7._PRW], AE_ALREADY_EXISTS (20230628/dswload2-326)
Nov 23 11:18:37 bednaManjaro kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230628/psobject-220)
Nov 23 11:18:37 bednaManjaro kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP2._PRW], AE_ALREADY_EXISTS (20230628/dswload2-326)
Nov 23 11:18:37 bednaManjaro kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230628/psobject-220)
Nov 23 11:18:37 bednaManjaro kernel: ACPI BIOS Error (bug): Failure creating named object [\_GPE._L08], AE_ALREADY_EXISTS (20230628/dswload2-326)
Nov 23 11:18:37 bednaManjaro kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230628/psobject-220)
Nov 23 11:18:37 bednaManjaro kernel: 
Nov 23 11:18:37 bednaManjaro kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  545.29.02  Thu Oct 26 21:21:38 UTC 2023
Nov 23 11:18:37 bednaManjaro kernel: hub 10-0:1.0: config failed, hub doesn't have any ports! (err -19)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to clear UUIDs: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to set mode: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:18:39 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:18:44 bednaManjaro smbd[1027]: [2023/11/23 11:18:44.723049,  0] ../../source3/smbd/server.c:1746(main)
Nov 23 11:18:44 bednaManjaro smbd[1027]:   smbd version 4.19.2 started.
Nov 23 11:18:44 bednaManjaro smbd[1027]:   Copyright Andrew Tridgell and the Samba Team 1992-2023
Nov 23 11:19:19 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:19:19 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:19:19 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)
Nov 23 11:19:19 bednaManjaro bluetoothd[816]: Failed to add UUID: Failed (0x03)

I only posted in this thread because this is a high hit on google (if you search for hxci_pci) and no solution in thread.

Edit
Yesterday I tried to install Manjaro-arm with the Manjaro script but the sd-cards caused kernel panic when trying to use them in a raspberry pi. TWO DIFFERENT CARDS. I got tips on using unstable and suddenly it worked and also the stable that I tried 4 times earlier suddenly worked.

I JUST realized, I rebooted in between, and selected kernel 6.6 instead of 6.7, and I used the front usb ports to create the sd-cards.
I am starting to feel that completely random error has to do with this too.

Super necro.

Also ā€¦

https://wiki.archlinux.org/title/Mkinitcpio#Possibly_missing_firmware_for_module_XXXX

(dont know how this is missed ā€¦ it mentions your snippet and this general and exact thing has been asked, answered, and referenced dozens of times ā€¦ but here it is again)

That link provides NOTHING and the question has NOT been answered or thread would have been closed.
It simply states that you MIGHT have to do things, VERY unclear WHAT and WHEN.
If you have another thread on this forum, feel free to link to the solution that you say ā€œhas been asked, answered, and referenced dozens of timesā€ because I can not find them.

If we follow the advice in this thread typing sudo dmesg | grep xhci_pci should tell you if you ā€œneedā€ it, Iā€™m not so sure about that.

I do not want to get rid of the warnings on ALL KERNEL BUILDING (not just fallbacks) I want to get rid of the ERRORS this seems to cause.

linux-firmware is obv installed.

Aaaaah, that was what I was going for, I just wanted someone else come to this conclusion as well.

So let me get this straight:

To get Manjaro to work 100% on my setup I have to do things that is not supported by Manjaro,using AUR.
So by doing that I risk getting the answer: ā€œyou have installed stuff that are not supported by Manjaroā€ if I were to ask for support surrounding this.
That, on top of risking breaking things, because I use AUR instead of the Manjaro repositories.

Thanks for the clarification.
To me this seems VERY strange.