Skip to main content
typo fixes
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

My server has two 1-Gbit and two 10-Gbit onboard network cards.

I need to disable the 1-Gbit network cards completely, so that ifconfig -a does not show them.

The network cards use different kernel modules. The 10-Gbit use ixgbe, and the 1-Gbit use igb.

01:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
Subsystem: Dell Ethernet 10G 4P X520/I350 rNDC
Kernel driver in use: ixgbe

05:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
Subsystem: Dell I350 Gigabit Network Connection
Kernel driver in use: igb 

Both ixgbe and igb are compiled statically in the kernel (not as a lodableloadable module). I need to disable the module using the kernel boot parameters.

I have tried appending the following to my kernel, but it has no effect:

igb.blacklist=yes
igb.enable=0
igb.disable=yes

the igb network cards are still showing

How can I disable igb completely ?

My server has two 1-Gbit and two 10-Gbit onboard network cards.

I need to disable the 1-Gbit network cards completely, so that ifconfig -a does not show them.

The network cards use different kernel modules. The 10-Gbit use ixgbe, and the 1-Gbit use igb.

01:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
Subsystem: Dell Ethernet 10G 4P X520/I350 rNDC
Kernel driver in use: ixgbe

05:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
Subsystem: Dell I350 Gigabit Network Connection
Kernel driver in use: igb 

Both ixgbe and igb are compiled statically in the kernel (not as a lodable module). I need to disable the module using the kernel boot parameters

I have tried appending the following to my kernel, but it has no effect:

igb.blacklist=yes
igb.enable=0
igb.disable=yes

the igb network cards are still showing

How can I disable igb completely ?

My server has two 1-Gbit and two 10-Gbit onboard network cards.

I need to disable the 1-Gbit network cards completely, so that ifconfig -a does not show them.

The network cards use different kernel modules. The 10-Gbit use ixgbe, and the 1-Gbit use igb.

01:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
Subsystem: Dell Ethernet 10G 4P X520/I350 rNDC
Kernel driver in use: ixgbe

05:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
Subsystem: Dell I350 Gigabit Network Connection
Kernel driver in use: igb 

Both ixgbe and igb are compiled statically in the kernel (not as a loadable module). I need to disable the module using the kernel boot parameters.

I have tried appending the following to my kernel, but it has no effect:

igb.blacklist=yes
igb.enable=0
igb.disable=yes

the igb network cards are still showing

How can I disable igb completely ?

Tweeted twitter.com/StackUnix/status/1039212561797996552
Source Link
Martin Vegter
  • 788
  • 81
  • 257
  • 449

disable kernel module which is compiled in kernel (not loaded)

My server has two 1-Gbit and two 10-Gbit onboard network cards.

I need to disable the 1-Gbit network cards completely, so that ifconfig -a does not show them.

The network cards use different kernel modules. The 10-Gbit use ixgbe, and the 1-Gbit use igb.

01:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
Subsystem: Dell Ethernet 10G 4P X520/I350 rNDC
Kernel driver in use: ixgbe

05:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
Subsystem: Dell I350 Gigabit Network Connection
Kernel driver in use: igb 

Both ixgbe and igb are compiled statically in the kernel (not as a lodable module). I need to disable the module using the kernel boot parameters

I have tried appending the following to my kernel, but it has no effect:

igb.blacklist=yes
igb.enable=0
igb.disable=yes

the igb network cards are still showing

How can I disable igb completely ?