Driver not loading on host:

Hi, my setup was running just fine last week, then I came this morning to find that the drivers are not loading on the host side.
my other Realtek ethernet was named enp20s*, the name automatically changed to enp3s*.
I have done no configuration changes in between as this happened during the weekend, most probably due to some update.

$ sudo dmesg | grep mlx
[    0.776683] mlx_compat: loading out-of-tree module taints kernel.
[    0.776764] mlx_compat: loading out-of-tree module taints kernel.
[    0.777613] mlx_compat: module verification failed: signature and/or required key missing - tainting kernel
[    0.898249] mlx5_core 0000:01:00.0: Missing registers BAR, aborting
[    0.898252] mlx5_core 0000:01:00.0: mlx5_pci_init:1117:(pid 202): error requesting BARs, aborting
[    0.898592] mlx5_core 0000:01:00.0: probe_one:2124:(pid 202): mlx5_pci_init failed with error code -19
[    0.898742] mlx5_core 0000:01:00.1: Missing registers BAR, aborting
[    0.898744] mlx5_core 0000:01:00.1: mlx5_pci_init:1117:(pid 202): error requesting BARs, aborting
[    0.899164] mlx5_core 0000:01:00.1: probe_one:2124:(pid 202): mlx5_pci_init failed with error code -19

$ sudo lshw -C network
  *-network:0 UNCLAIMED     
       description: Ethernet controller
       product: MT42822 BlueField-2 integrated ConnectX-6 Dx network controller
       vendor: Mellanox Technologies
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm cap_list
       configuration: latency=0
       resources: memory:df200000-df2fffff
  *-network:1 UNCLAIMED
       description: Ethernet controller
       product: MT42822 BlueField-2 integrated ConnectX-6 Dx network controller
       vendor: Mellanox Technologies
       physical id: 0.1
       bus info: pci@0000:01:00.1
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm cap_list
       configuration: latency=0
       resources: memory:df300000-df3fffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 11
       serial: 38:2c:4a:ba:6f:51
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=10.30.2.148 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:18 ioport:e000(size=256) memory:f7b00000-f7b00fff memory:df500000-df503fff
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: tmfifo_net0
       serial: 00:1a:ca:ff:ff:02
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full ip=192.168.100.1 link=yes multicast=yes port=twisted pair speed=10Mbit/s

I tried uninstalling and reinstalling everything from scratch but that didn’t solve my problems.
any help or inspiration would be much appreciated.
thanks

resetting the BIOS settings seems to have solved the problem.

Seems you enable scure boot on BIOS. That will prevent unsign kernel module load.

fyi,

https://docs.nvidia.com/networking/display/OFEDv501000/UEFI+Secure+Boot

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.