Linux - Kernel This forum is for all discussion relating to the Linux kernel.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
02-02-2018, 01:00 PM
#1
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973
kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
I've been getting
Quote:
kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
since I upgraded to kernel 4.15. I don't see that this causes a problem.
02-03-2018, 04:41 AM
#2
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
Does the file exist in /lib/firmware?
How did you get the 4.15 kernel? Did you compile on your own (there might be a missing config option) or you installed from your distribution?
02-03-2018, 09:57 AM
#3
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973
Original Poster
Quote:
Originally Posted by
Mara
Does the file exist in /lib/firmware?
No.
Quote:
Originally Posted by
Mara
How did you get the 4.15 kernel? Did you compile on your own (there might be a missing config option) or you installed from your distribution?
I build my own. What config option would I be missing?
02-03-2018, 12:31 PM
#4
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973
Original Poster
Documentation/networking/regulatory.txt reads
Quote:
When the regulatory domain is first set up, the kernel will request a database file (regulatory.db) containing all the regulatory rules.
It points to a source for making one's regulatory.db (which, unfortunately errors for me; I'll have to dig into it.)
This started for me Jan 29 16:21:04, after I upgraded to kernel 4.15 ; /usr/src/linux/net/wireless/reg.c has the code that reports it.
03-01-2018, 11:21 PM
#5
Member
Registered: Jul 2016
Posts: 94
Rep:
Anyone know much about this?
I compiled many of the 4.15x kernels in Slackware and I see the same thing.
I'm trying to figure out if I'm missing a system package, or compile option, or if this is a bug?
Thanks
03-02-2018, 10:42 AM
#6
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973
Original Poster
Quote:
Originally Posted by
LQSlacker
Anyone know much about this?
It's in the CRDA package.
03-02-2018, 08:57 PM
#7
Member
Registered: Jul 2016
Posts: 94
Rep:
Quote:
Originally Posted by
RandomTroll
It's in the CRDA package.
Of course it's CRDA and I have it installed...
That's not what I was asking, I'm asking why the regulatory.db failed in the logs and how to fix?
kernel: cfg80211: failed to load regulatory.db
kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Last edited by LQSlacker; 03-02-2018 at 09:01 PM .
03-02-2018, 09:09 PM
#8
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973
Original Poster
Quote:
Originally Posted by
LQSlacker
Of course it's CRDA and I have it installed...
Then you have a different problem than the one I started this thread with.
Quote:
Originally Posted by
LQSlacker
That's not what I was asking, I'm asking why the regulatory.db failed in the logs and how to fix?
Do /lib/firmware/regulatory.db and /lib/firmware/regulatory.db.p7s exist?
03-03-2018, 12:49 AM
#9
Member
Registered: Jul 2016
Posts: 94
Rep:
Quote:
Originally Posted by
RandomTroll
Then you have a different problem than the one I started this thread with.
Do /lib/firmware/regulatory.db and /lib/firmware/regulatory.db.p7s exist?
Hmm you started the post with the same thing as me;
kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Not sure where this is a different problem?
I don't have either files in /lib/firmware...
I'm not running WiFi at the moment, would this be the reason there is no regulatory.db and regulatory.db.p7s?
Last edited by LQSlacker; 03-03-2018 at 12:54 AM .
03-06-2018, 11:50 AM
#10
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973
Original Poster
Quote:
Originally Posted by
LQSlacker
Hmm you started the post with the same thing as me;
kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Not sure where this is a different problem?
I solved my problem by upgrading to the most-recent CRDA package.
Quote:
Originally Posted by
LQSlacker
I don't have either files in /lib/firmware...
I'm not running WiFi at the moment, would this be the reason there is no regulatory.db and regulatory.db.p7s?
It's because you haven't installed the most-recent CRDA package.
03-26-2018, 07:32 PM
#11
Member
Registered: Jul 2016
Posts: 94
Rep:
Quote:
Originally Posted by
RandomTroll
I solved my problem by upgrading to the most-recent CRDA package.
It's because you haven't installed the most-recent CRDA package.
I run the Stable Tree which is 14.2, and that only has crda-3.18-x86_64-3, that is the only version if you run 14.2.
So I'm assuming you're talking about the version crda-3.18-x86_64-5 from 'Current'?
Last edited by LQSlacker; 03-26-2018 at 07:34 PM .
03-27-2018, 01:07 AM
#12
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973
Original Poster
Quote:
Originally Posted by
LQSlacker
I run the Stable Tree which is 14.2, and that only has crda-3.18-x86_64-3, that is the only version if you run 14.2.
So I'm assuming you're talking about the version crda-3.18-x86_64-5 from 'Current'?
Yes.
You can download the current package, extract those 2 files (which don't exist in previous versions), put them in /lib/firmware.
I think that current is stable. You may want to ask in the Slackware forum. I update to current daily, rarely had a problem, then only minor.
Last edited by RandomTroll; 03-27-2018 at 01:37 PM .
Reason: Added information.
04-25-2018, 10:50 PM
#13
Member
Registered: Jul 2016
Posts: 94
Rep:
Quote:
Originally Posted by
RandomTroll
Yes.
You can download the current package, extract those 2 files (which don't exist in previous versions), put them in /lib/firmware.
I think that current is stable. You may want to ask in the Slackware forum. I update to current daily, rarely had a problem, then only minor.
I upgraded with crda-3.18-x86_64-6, which is now the 'current' version and it works!
WoOT
THANKS RandomTroll
Last edited by LQSlacker; 04-25-2018 at 10:51 PM .
All times are GMT -5. The time now is 03:16 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News