You are not logged in.

#1 2024-01-18 11:49:35

probackup-nl
Member
From: Delft
Registered: 2017-11-15
Posts: 83
Website

[Solved] How to best disable cfg80211?

The system has no WiFi hardware. Bluetooth as well as btusb are blacklisted. It runs kernel 6.7.0-arch3-1.

Despite that the dmesg boot message outputs annoying cfg80211 (used by all modern wireless drivers in Linux):

cfg80211: Loading compiled-in X.509 certificates for regulatory database
...
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db

First sign of the messages is after dmesg lines:

708-[    3.732824] e1000e 0000:00:19.0 eno1: renamed from eth0
709-[    4.023653] intel_rapl_common: Found RAPL domain package
710-[    4.023659] intel_rapl_common: Found RAPL domain core
711-[    4.023661] intel_rapl_common: Found RAPL domain uncore
712-[    4.023663] intel_rapl_common: Found RAPL domain dram
713-[    4.184270] 8021q: 802.1Q VLAN Support v1.8

Lspci -k:

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
	Subsystem: Intel Corporation Haswell-ULT DRAM Controller
	Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
	DeviceName:  CPU1
	Subsystem: Intel Corporation Haswell-ULT Integrated Graphics Controller
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
	Subsystem: Intel Corporation Haswell-ULT HD Audio Controller
	Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
	Subsystem: Intel Corporation 8 Series USB xHCI HC
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
	Subsystem: Intel Corporation 8 Series HECI
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V (rev 04)
	DeviceName:  ILAN
	Subsystem: Intel Corporation Ethernet Connection I218-V
	Kernel driver in use: e1000e
	Kernel modules: e1000e
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
	Subsystem: Intel Corporation 8 Series USB EHCI
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
	Subsystem: Intel Corporation 8 Series LPC Controller
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
	Subsystem: Intel Corporation 8 Series SATA Controller 1 [AHCI mode]
	Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
	Subsystem: Intel Corporation 8 Series SMBus Controller
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

There is no WiFi or bluetooth here, thus I think there is no need for loading cfg80211.

How to best disable/blacklist cfg80211 and/or all modern Wireless drivers?

Last edited by probackup-nl (2024-01-18 14:46:49)

Offline

#2 2024-01-18 12:00:10

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,928

Re: [Solved] How to best disable cfg80211?

What is the output of

$ lsmod | grep cfg80211

?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2024-01-18 12:26:46

probackup-nl
Member
From: Delft
Registered: 2017-11-15
Posts: 83
Website

Re: [Solved] How to best disable cfg80211?

Lone_Wolf wrote:

What is the output of lsmod | grep cfg80211 ?

The output is:

cfg80211             1339392  0
rfkill                 40960  2 cfg80211

Might be related to mkinitcpio detecting wmi:

mkinitcpio -M | grep wmi
wmi
wmi_bmof

For now these blacklists have been added in this order after "bluetooth" and "btusb":

blacklist rfkill
blacklist cfg80211

That stops the cfg80211 messages in dmesg output.

As part of package "util-linux", I don't see a neat way to uninstall/remove rfkill.

Last edited by probackup-nl (2024-01-18 12:40:26)

Offline

#4 2024-01-18 14:13:24

seth
Member
Registered: 2012-09-03
Posts: 51,325

Re: [Solved] How to best disable cfg80211?

NoExtract, but the userspace tool hanging out on your disk doesn't really do anything in and by itself.

Offline

Board footer

Powered by FluxBB