Bug 209863 - [cfg80211] regulatory.db loading attempted prior root mounted
Summary: [cfg80211] regulatory.db loading attempted prior root mounted
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: ARM Linux
: P1 high
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
Depends on:
Reported: 2020-10-26 10:40 UTC by vtolkm
Modified: 2020-11-30 20:26 UTC (History)
0 users

See Also:
Kernel Version: 5.9.1 & next-20201026
Tree: Mainline
Regression: No

kernel config next-20201026 (117.09 KB, text/plain)
2020-10-26 10:40 UTC, vtolkm

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.

Note You need to log in before you can comment on or make changes to this bug.