Bug 209863

Summary: [cfg80211] regulatory.db loading attempted prior root mounted
Product: Drivers Reporter: vtolkm
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: RESOLVED WILL_NOT_FIX    
Severity: high    
Priority: P1    
Hardware: ARM   
OS: Linux   
Kernel Version: 5.9.1 & next-20201026 Subsystem:
Regression: No Bisected commit-id:
Attachments: kernel config next-20201026

Description vtolkm 2020-10-26 10:40:48 UTC
Created attachment 293195 [details]
kernel config next-20201026

device: Turris Omnia (armv7l)
root FS: BTRFS

regulatory.db located on the node at /lib/firmware/regulatory.db

kernel compiled with all-in (no kmods) - kconfig attached

---

according to the dmesg timestamps the loading of regulatory.db is attempted prior than the root FS being mounted and subsequent fails:

[4.447438] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[4.456917] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[4.463695] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[4.480080] cfg80211: failed to load regulatory.db
[4.487309] BTRFS: device label ssd_oM devid 1 transid 6437 /dev/root scanned by swapper/0 (1)
[4.497047] BTRFS info (device sda6): disk space caching is enabled
[4.503350] BTRFS info (device sda6): has skinny extents
[4.517699] BTRFS info (device sda6): enabling ssd optimizations
[4.526436] VFS: Mounted root (btrfs filesystem) on device 0:18.

---

It does not seem logical that loading of regulatory.db is attempted prior the root is mounted.