lspci spews "Unable to load libkmod resources: error -12" and returns zero error code after printing details correctly

Bug #1937304 reported by bhs
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kmod (Ubuntu)
Confirmed
Undecided
Unassigned
pciutils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

lspci spews "Unable to load libkmod resources: error -12" and returns error code after printing details correctly

# lspci
...
0004:01:00.0 Ethernet controller: Aquantia Corp. AQC107 Ethernet Controller [AQtion] (rev 02)

# lspci -v -s 0004:01:00.0
lspci -v -s 0004:01:00.0
0004:01:00.0 Ethernet controller: Aquantia Corp. AQC107 Ethernet Controller [AQtion] (rev 02)
        Subsystem: AQC107 Ethernet Controller [AQtion]
        Flags: bus master, fast devsel, latency 0, IRQ 69
        Memory at 1740440000 (64-bit, non-prefetchable) [size=64K]
        Memory at 1740450000 (64-bit, non-prefetchable) [size=4K]
        Memory at 1740000000 (64-bit, non-prefetchable) [size=4M]
        Expansion ROM at 1740400000 [virtual] [disabled] [size=256K]
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI-X: Enable+ Count=32 Masked-
        Capabilities: [a0] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [150] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [180] Secondary PCI Express
        Kernel driver in use: atlantic
lspci: Unable to load libkmod resources: error -12
(returns zero error code)

Revision history for this message
bhs (bharath-vegito) wrote :

Bug repros on Ubuntu-20.04 ARM64.

tags: added: ubuntu-20.04-arm64
Revision history for this message
bhs (bharath-vegito) wrote :

Updated description with example. Sorry for the delay.

description: updated
summary: lspci spews "Unable to load libkmod resources: error -12" and returns
- error code after printing details correctly
+ zero error code after printing details correctly
bhs (bharath-vegito)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kmod (Ubuntu):
status: New → Confirmed
Changed in pciutils (Ubuntu):
status: New → Confirmed
bhs (bharath-vegito)
no longer affects: ubuntu-default-settings
no longer affects: kmod
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.