[Bug 1937304] Re: lspci spews "Unable to load libkmod resources: error -12" and returns error code after printing details correctly

bhs 1937304 at bugs.launchpad.net
Thu Jul 29 01:34:54 UTC 2021


Updated description with example. Sorry for the delay.

** Description changed:

  lspci spews "Unable to load libkmod resources: error -12" and returns
  error code after printing details correctly
  
  # lspci
- <output>
+ ...
+ 0004:01:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
  
- # lspci -v -s <device id>
- <output>
+ 
+ # lspci -v -s 0004:01:00.0
+ lspci -v -s 0004:01:00.0
+ 0004:01:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
+         Subsystem: NVIDIA Corporation AQC107 NBase-T/IEEE 802.3bz 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 negative error code)
+ (returns zero error code)

** Summary changed:

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pciutils in Ubuntu.
https://bugs.launchpad.net/bugs/1937304

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

Status in pciutils package in Ubuntu:
  New

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 NBase-T/IEEE 802.3bz 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 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
          Subsystem: NVIDIA Corporation AQC107 NBase-T/IEEE 802.3bz 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pciutils/+bug/1937304/+subscriptions




More information about the foundations-bugs mailing list