Bug 1154802 - Kernel reports unknown header type 7f for pci device
Kernel reports unknown header type 7f for pci device
Status: RESOLVED WORKSFORME
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-10-23 06:10 UTC by Andreas Schneider
Modified: 2019-11-10 11:20 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2019-10-23 06:10:04 UTC
I have an Asus Pro-WS-X570-ACE motherboard [1]. During boot the kernel reports:

[    0.695677] pci 0000:03:09.0: [1022:57a4] type 7f class 0xffffff
[    0.695682] pci 0000:03:09.0: unknown header type 7f, ignoring device
[    0.695697] pci 0000:03:0a.0: [1022:57a4] type 7f class 0xffffff
[    0.695703] pci 0000:03:0a.0: unknown header type 7f, ignoring device

As the kernel is ignoring it, lspci doesn't list 00:03:09 or 00:03:0a. So I have no idea how to extract information about those PCI devices.


[1] https://www.asus.com/Motherboards/Pro-WS-X570-ACE/
Comment 1 Takashi Iwai 2019-10-23 06:24:24 UTC
1022:57a4 should be AMD PCI bridge.  It looks like something for Joerg.  Cc'ed.

You're running the latest TW kernel (5.3.x), right?
Comment 2 Andreas Schneider 2019-10-23 06:34:40 UTC
Yes, I'm running Kernel 5.3.6
Comment 3 Joerg Roedel 2019-10-23 08:41:30 UTC
Might be a BIOS problem, are you running on the latest vendor BIOS?
Comment 4 Andreas Schneider 2019-10-23 08:42:58 UTC
Yes, I'm on

Pro WS X570-ACE BIOS 1001
Update AM4 combo PI 1.0.0.3 patch ABBA
Comment 5 Joerg Roedel 2019-10-23 09:03:21 UTC
(In reply to Andreas Schneider from comment #4)
> Yes, I'm on
> 
> Pro WS X570-ACE BIOS 1001
> Update AM4 combo PI 1.0.0.3 patch ABBA

Okay, but still, it seems that the BIOS does not program the PCI headers for those devices correctly. There is nothing the Linux kernel can do about that. The header type should be 0, 1 or 2 for Linux to recognize the devices.

Please report the problem to your board vendor.
Comment 6 Jiri Slaby 2019-10-23 11:07:02 UTC
(In reply to Joerg Roedel from comment #5)
> Okay, but still, it seems that the BIOS does not program the PCI headers for
> those devices correctly.

That, or reads from config space return all 1's (and we might need a quirk).
Comment 7 Joerg Roedel 2019-10-23 12:56:23 UTC
(In reply to Jiri Slaby from comment #6)
> (In reply to Joerg Roedel from comment #5)
> > Okay, but still, it seems that the BIOS does not program the PCI headers for
> > those devices correctly.
> 
> That, or reads from config space return all 1's (and we might need a quirk).

In that case type should be 0xff and vendor/device-ids should also be invalid.
Comment 8 Andreas Schneider 2019-10-24 15:18:37 UTC
I've created a support request with Asus.
Comment 9 Andreas Schneider 2019-10-25 13:04:51 UTC
It could be that the report is for the two Aquacomputer kryo M.2 PCIe 3.0 Adapter I use for two NVMe disks.
Comment 10 Jiri Slaby 2019-11-07 12:57:11 UTC
So this looks like a BIOS bug.
Comment 11 Andreas Schneider 2019-11-10 11:20:32 UTC
JFYI:

I've reported the issue to Asus, but just got a BS mail back from support that Linux isn't supported.

However the BIOS update Pro WS X570-ACE BIOS 1104 fixes the issue.