multicast group assignments fixed
The kernel was incorrectly assigning multicast groups for the `nl80211` protocol, causing problems with `nl80211` wireless drivers, for example, preventing `hostapd` from starting and initializing wireless devices in Access Point mode. This update fixes multicast group assignments for `nl80211` and allows wireless devices to be managed correctly.
Created attachment 1069994 [details]
Patch fixing the issue
Description of problem:
Since the release of 6.7 and the 2.6.32-573 series of kernels, it is no longer possible to use hostapd, see bug #1251726.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try starting hostapd with a simple configuration.
nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
Successful hostapd start, and wifi connectivity.
The problem is due to the fact that multicast groups are not being registered in the genetlink-compat layer introduced. The attached patch fixes the problem, but not in the best way. What was done for ops would need to be duplicated for multicast groups. With it applied, hostapd works as expected again.
*** Bug 1253751 has been marked as a duplicate of this bug. ***
Has anyone tried with the new 2.6.32-573.7.1.el6 kernel? Sadly I can't try it on my box because is a production server..
(In reply to Martín Oyola from comment #4)
> Has anyone tried with the new 2.6.32-573.7.1.el6 kernel? Sadly I can't try
> it on my box because is a production server..
Just tried the new 2.6.32-573.7.1.el6 kernel and still hostapd not starting with following error : nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
*** Bug 1251726 has been marked as a duplicate of this bug. ***
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release. Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.
*** Bug 1285094 has been marked as a duplicate of this bug. ***
Patch(es) available on kernel-2.6.32-593.el6
So that means the patch won't be available until RHEL 6.8 is released, right?
No, it will be available on RHEL 6.7 kernel update too (bz 1291978).
Not fixed by https://rhn.redhat.com/errata/RHSA-2015-2636.html
Installed RHEL-6.8-20160125.0 on a test system and installed hostapd. After manually configuring hostapd I was able to start the service successfully. Using another test system I was able to connect to the hostapd SSID and successfully ping the hostapd system. Marking as verified.
Confirmation that https://rhn.redhat.com/errata/RHBA-2016-0150.html solved the issue for us.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.