You are not logged in.

#1 2020-08-04 21:32:49

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 186

[Solved] Kernel 5.8.0 - xhci_pci

Hallo,

after upgrading kernel to testing/5.8.0 I have 2 new messages about missing firmware for xhci_pci during mkinitcpio
for both presets (default/fallback)

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.8.0-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.8.0-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

I had no this messages for 5.7.x and lts kernels

Last edited by GeorgeJP (2020-08-05 00:18:00)

Offline

#2 2020-08-04 23:34:28

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: [Solved] Kernel 5.8.0 - xhci_pci

Offline

#3 2020-08-05 00:17:38

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 186

Re: [Solved] Kernel 5.8.0 - xhci_pci

So possibly needed drivers will be soon or later (or never) part of linux-firmware (or add-on package).
Marking this as solved.

Offline

#4 2020-08-17 16:33:53

trames
Member
Registered: 2016-10-19
Posts: 1

Re: [Solved] Kernel 5.8.0 - xhci_pci

I see this is Solved, but I thought I would add this info since I am having this issue too. I traced mine to the Renesas USB controller pci card.

xhci_hcd 0000:02:00.0: FW has invalid version :8209
xhci_hcd 0000:02:00.0: Direct firmware load for renesas_usb_fw.mem failed with error -2
xhci_hcd 0000:02:00.0: request_firmware failed: -2
xhci_hcd: probe of 0000:02:00.0 failed with error -2

I found this kernel.org bugzilla that is discussing this issue, so hopefully the fix will come soon:
https://bugzilla.kernel.org/show_bug.cgi?id=208911

Last edited by trames (2020-08-17 17:01:49)

Offline

#5 2020-08-23 18:07:10

ali_molaei
Member
From: Iran
Registered: 2015-12-24
Posts: 63
Website

Re: [Solved] Kernel 5.8.0 - xhci_pci

Offline

#6 2020-08-23 19:04:50

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: [Solved] Kernel 5.8.0 - xhci_pci

ali_molaei wrote:

For those with the uPD720201 or uPD720202 controller.
Although the package includes a pointless install file duplicating the functionality of the mkinitcpio hook but without a dependency on mkinitcpio meaning if it is installed on a system without mkinitcpio it will cause an error.  Package is also missing a license file.

Offline

#7 2020-08-29 10:15:40

philo
Member
Registered: 2015-01-26
Posts: 251

Re: [Solved] Kernel 5.8.0 - xhci_pci

@loqs
On the web page of the package, the maintainer says he has "tried to fix it" and that  it should be OK now.

PS - Hoping I did no harm by re-opening a thread marked as [Solved]...

Last edited by philo (2020-08-29 10:30:36)

Offline

#8 2020-08-29 10:43:24

loqs
Member
Registered: 2014-03-06
Posts: 17,326

Re: [Solved] Kernel 5.8.0 - xhci_pci

@philo Thank you for relaying my comments.  The existing hook can be reused by placing an empty file in /usr/lib/initcpio/.  The only difference would be initrd will not be rebuilt on package removal.

diff --git a/PKGBUILD b/PKGBUILD
index 4164a52..0111e82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,22 +11,12 @@ depends=('bash')
 source=(
     "https://raw.githubusercontent.com/denisandroid/uPD72020x-Firmware/master/UPDATE.mem"
     "https://raw.githubusercontent.com/denisandroid/uPD72020x-Firmware/master/License.rtf"
-    "upd72020x-fw"
-    "upd72020x-fw-remove.hook"
-    "upd72020x-fw-install.hook"
-)
-sha512sums=(
-    '1ea117f9a1a772013fb7509c76d731865e6c05ae3c55a304ff42b31ec8a474e9bf16dd1b05b2e5b666ec5fd301aefed54bfeb6bfd7c3f23dc23faf082cf2a9f7'
-    'f5be9af49a6ec81f77275c6f4092e6675a707a95a33bf37eb9ba84a7226f3310eebffb7699f8b9b12110c9ca2af1a56f528a94f1e4891fd45f297affd8ebb577'
-    '2733827c1c3d0fcef088b9bcb01101318b11c22bbae7b7787a2f020f0d0a6be327a0edebd0a159dd110bd044f3fb8c3139b66d80876be440ba4d3ba90779a372'
-    'bdbd37974bdb0257de1b27f0cb5e40a58288a7f5d142cff0c1f32fe07737a212b7a9ca8c68e86c6f95471ff58ca3d0fd2941d99579b4a9833f86b66087493db3'
-    '6f831395c23e3b17055745ea619e8031f9fdd9e56aab28e08258309f848bbaa194a9403d7ee98a1f2004580c8a289e18165f9be9d495f64ebffad0928d526d3c'
 )
+sha512sums=('1ea117f9a1a772013fb7509c76d731865e6c05ae3c55a304ff42b31ec8a474e9bf16dd1b05b2e5b666ec5fd301aefed54bfeb6bfd7c3f23dc23faf082cf2a9f7'
+            'f5be9af49a6ec81f77275c6f4092e6675a707a95a33bf37eb9ba84a7226f3310eebffb7699f8b9b12110c9ca2af1a56f528a94f1e4891fd45f297affd8ebb577')
 
 package() {
     install -Dm644 UPDATE.mem "$pkgdir/usr/lib/firmware/renesas_usb_fw.mem"
     install -Dm644 License.rtf "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rtf"
-    install -Dm755 upd72020x-fw "$pkgdir/usr/share/libalpm/scripts/upd72020x-fw"
-    install -Dm644 upd72020x-fw-remove.hook "$pkgdir/usr/share/libalpm/hooks/upd72020x-fw-remove.hook"
-    install -Dm644 upd72020x-fw-install.hook "$pkgdir/usr/share/libalpm/hooks/upd72020x-fw-install.hook"
+    install -Dm644 /dev/null "$pkgdir/usr/lib/initcpio/$pkgname"
 }
diff --git a/upd72020x-fw b/upd72020x-fw
deleted file mode 100644
index bb45f2e..0000000
--- a/upd72020x-fw
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash -e
-
-if [ $1 == 'remove' ]; then
-    rm /usr/lib/firmware/renesas_usb_fw.mem
-fi
-
-mkinitcpio -P
diff --git a/upd72020x-fw-install.hook b/upd72020x-fw-install.hook
deleted file mode 100644
index 32fc01b..0000000
--- a/upd72020x-fw-install.hook
+++ /dev/null
@@ -1,11 +0,0 @@
-[Trigger]
-Type = Package
-Operation = Install
-Operation = Upgrade
-Target = upd72020x-fw
-
-[Action]
-Description = Updating linux initcpios...
-Depends = mkinitcpio
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/upd72020x-fw install
diff --git a/upd72020x-fw-remove.hook b/upd72020x-fw-remove.hook
deleted file mode 100644
index a1be7b3..0000000
--- a/upd72020x-fw-remove.hook
+++ /dev/null
@@ -1,10 +0,0 @@
-[Trigger]
-Type = Package
-Operation = Remove
-Target = upd72020x-fw
-
-[Action]
-Description = Updating linux initcpios...
-Depends = mkinitcpio
-When = PreTransaction
-Exec = /usr/share/libalpm/scripts/upd72020x-fw remove

Offline

#9 2020-10-30 08:03:26

andrea993
Member
Registered: 2015-02-19
Posts: 12

Re: [Solved] Kernel 5.8.0 - xhci_pci

I have exactly the same missing firmwares

Offline

#10 2020-10-30 08:33:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [Solved] Kernel 5.8.0 - xhci_pci

Everyone has those, ignore the message if you don't have an affected USB controller or install the linked package if you have an affected USB controller.

Closing to prevent further empty posts.

Online

Board footer

Powered by FluxBB