Bug 29285 - renesas USB3 PCI card not work
Summary: renesas USB3 PCI card not work
Status: REOPENED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 29311
Blocks:
  Show dependency treegraph
 
Reported: 2021-07-24 17:34 CEST by Mészáros Csaba
Modified: 2021-10-06 21:34 CEST (History)
1 user (show)

See Also:
Source RPM: kernel-5.10.52-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Mészáros Csaba 2021-07-24 17:34:13 CEST
There is a USB3 PCI card in the machine.
$ lspci
03:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)

It still worked well with the previous 5.10.48 kernel, and if I load it it still works, But not with the newer 5.10.52 anymore.
It says at the beginning of the boot that it cannot load the firmware:
Direct firmware load for renesas_usb_fw.mem failed with error -2

Here is the relevant journalctl -b0 detail:
xhci_hcd 0000:03:00.0: Direct firmware load for renesas_usb_fw.mem failed with error -2
xhci_hcd 0000:03:00.0: request_firmware failed: -2
xhci_hcd: probe of 0000:03:00.0 failed with error -2
Comment 1 Dave Hodgins 2021-07-24 18:15:03 CEST
See if any of the workarounds described work ...
https://github.com/intel/gvt-linux/issues/77

Assigning to kernel team

Assignee: bugsquad => kernel
CC: (none) => davidwhodgins

Comment 2 Thomas Backlund 2021-07-24 18:31:24 CEST
Yeah, there is a broken patch in upstream stable kernels that I reverted in 5.13 series kernels, but I missed that it also had been backported to 5.10 series in 5.10.50 :(

I will revert it for next kernel build
Comment 3 Thomas Backlund 2021-07-25 22:54:15 CEST
There is now a  kernel-5.10.53-1.mga8 in Core Updates Testing that you can try
Comment 4 Mészáros Csaba 2021-07-26 18:21:35 CEST
(In reply to Thomas Backlund from comment #3)
> There is now a  kernel-5.10.53-1.mga8 in Core Updates Testing that you can
> try

Thanks for the speed. The USB3 card works again.
Thomas Backlund 2021-07-31 20:02:01 CEST

Depends on: (none) => 29311

Comment 5 Thomas Backlund 2021-08-07 11:47:09 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2021-0397.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 6 Mészáros Csaba 2021-10-06 21:34:21 CEST
Hi guys!

Unfortunately, there seems to be a problem with this renesas again.
It still works with the 5.10.60 kernel. But after that, he runs into problems.

logs:
5.10.60 kernel - all ok.
okt 06 20:42:42 csablakPC kernel: xhci_hcd 0000:03:00.0: xHCI Host Controller
okt 06 20:42:42 csablakPC kernel: xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4
okt 06 20:42:42 csablakPC kernel: xhci_hcd 0000:03:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000001100000410
okt 06 20:42:42 csablakPC kernel: usb usb4: Manufacturer: Linux 5.10.60-desktop-2.mga8 xhci-hcd
okt 06 20:42:42 csablakPC kernel: xhci_hcd 0000:03:00.0: xHCI Host Controller
okt 06 20:42:42 csablakPC kernel: xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 6
okt 06 20:42:42 csablakPC kernel: xhci_hcd 0000:03:00.0: Host supports USB 3.0 SuperSpeed
okt 06 20:42:42 csablakPC kernel: usb usb6: Manufacturer: Linux 5.10.60-desktop-2.mga8 xhci-hcd
okt 06 20:42:42 csablakPC kernel: usb 4-1: new high-speed USB device number 2 using xhci_hcd
okt 06 20:42:42 csablakPC kernel: usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd

5.10.62 -> wrong
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: failed to load firmware renesas_usb_fw.mem, fallback to ROM
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: xHCI Host Controller
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000001100000410
okt 06 20:39:07 csablakPC kernel: usb usb4: Manufacturer: Linux 5.10.62-desktop-1.mga8 xhci-hcd
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: xHCI Host Controller
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 6
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: Host supports USB 3.0 SuperSpeed
okt 06 20:39:07 csablakPC kernel: usb usb6: Manufacturer: Linux 5.10.62-desktop-1.mga8 xhci-hcd
okt 06 20:39:07 csablakPC kernel: usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
okt 06 20:39:07 csablakPC kernel: usb 4-1: new high-speed USB device number 2 using xhci_hcd

****************************
okt 06 20:39:07 csablakPC kernel: xhci_hcd 0000:03:00.0: failed to load firmware renesas_usb_fw.mem, fallback to ROM

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED


Note You need to log in before you can comment on or make changes to this bug.