Summary: | net-wireless/wireless-regdb regulatory.db firmware required for linux 4.15 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Lothian <mike> |
Component: | Current packages | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cyrilmaley, jstein, konstantinos.smanis, zerochaos |
Priority: | Normal | Keywords: | EBUILD, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
wireless-regdb-20171223.ebuild
wireless-regdb-20171223.ebuild |
Description
Mike Lothian
2018-01-05 10:13:23 UTC
Created attachment 513728 [details]
wireless-regdb-20171223.ebuild
Try this on for size.
All I did was bump the ebuild, and copy those 2 files to the /lib/firmware directory (without rebuilding the database).
Created attachment 515752 [details]
wireless-regdb-20171223.ebuild
Fixed typo and added bug number.
This bug blocks #646018 *** Bug 646018 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2dfb50194b70d205c86c8c4809a1e45a46b0f7a commit a2dfb50194b70d205c86c8c4809a1e45a46b0f7a Author: Tony Vroon <chainsaw@gentoo.org> AuthorDate: 2018-01-29 09:55:12 +0000 Commit: Tony Vroon <chainsaw@gentoo.org> CommitDate: 2018-01-29 09:55:12 +0000 net-wireless/wireless-regdb: regulatory.db support As reported by Mike Lothian in bug #643520 and implemented by "Cyrillic", 4.15 kernels require both regulatory.db and the corresponding PKCS#7 signature. Straight to stable as per the precedent set by previous commits from Richard "Zero-Chaos" Farina. Closes: https://bugs.gentoo.org/643520 Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --force .../wireless-regdb-20171223-r1.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) The signature isn't required if these options are set: CFG80211_CERTIFICATION_ONUS=y CFG80211_REQUIRE_SIGNED_REGDB=n Currently this is what the ebuild installs: equery f wireless-regdb * Searching for wireless-regdb ... * Contents of net-wireless/wireless-regdb-20171223: /etc /etc/wireless-regdb /etc/wireless-regdb/pubkeys /etc/wireless-regdb/pubkeys/sforshee.key.pub.pem /usr /usr/lib /usr/lib/crda /usr/lib/crda/regulatory.bin /usr/share /usr/share/doc /usr/share/doc/wireless-regdb-20171223 /usr/share/doc/wireless-regdb-20171223/README.bz2 /usr/share/doc/wireless-regdb-20171223/db.txt.bz2 /usr/share/man /usr/share/man/man5 /usr/share/man/man5/regulatory.bin.5.bz2 So no /lib/firmware/regulatory.db (In reply to Mike Lothian from comment #6) > The signature isn't required if these options are set: > CFG80211_CERTIFICATION_ONUS=y > CFG80211_REQUIRE_SIGNED_REGDB=n Which is a non-standard setup. What is installed should cope with an untweaked kernel. Sorry my comment was in relation to net-wireless/wireless-regdb-20171223 not net-wireless/wireless-regdb-20171223-r1, all files now in place Thanks I still get the following output with wireless-regdb-20171223-r1, is there any relevant kernel config option that should be switched on as well? [ 1.398297] Loading compiled-in X.509 certificates [ 1.399866] rtc_cmos 00:03: setting system clock to 2018-01-29 14:59:26 UTC (1517237966) [ 1.399956] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 1.400753] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 1.400784] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 1.400785] cfg80211: failed to load regulatory.db Never mind, I had cfg80211 built into the kernel. Either the firmware should be embedded as well, or cfg80211 should be built as a module. thanks Tony! |