Bug 487445
Summary: | wpa-supplicant fails with TKIP ciphers on 2.6.29 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rubio <_rubio_> | ||||||
Component: | kernel | Assignee: | John W. Linville <linville> | ||||||
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | rawhide | CC: | kernel-maint, quintela, redhat, _rubio_ | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-03-02 17:52:39 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Rubio
2009-02-26 01:59:57 UTC
Created attachment 333264 [details]
debug wpa supplicant log for failure under 2.6.29
Created attachment 333265 [details]
debug wpa supplicant log for success under 2.6.27
I appreciate the thoroughness of your bug report. It does draw some suspicion on the movement of code to lib80211, although I am equally suspicious of the patch that adapts the partially closed-source wl driver. Unfortnately, I cannot support problems with the wl driver. I have to close this bug. TKIP problems in lib80211 ought to reveal themselves with ipw2100, ipw2200, and hostap users. If any such user discovers this problem, please reopen this bug. Hi everybody, I too have to thank you Rubio for your efforts in describing this situation. Although I'm on Debian, I ran into the same situation. So as you already compared the modules, I simply ran insmod lib80211_crypt_tkip.ko insmod lib802100_crypt_ccmp.ko (I suppose modprobe'ing them works as well), and afterwards modprobe'd wl. After this I got a working connection instantly. So the problem seems to be a missing dependency between lib80211.ko and lib802100_crypt*. Perhaps you, Mr. Linville, can forward this issue to the correct person (supposedly kernel developer?) I'm just a mere user and do really not know who could be responsible for fixing this. Thanks everybody! Joost ifdown wlan0 rmmod wl modprobe lib80211_crypt_ccmp modprobe lib80211_crypt_tkip modprobe wl ifup wlan0 works for me. Bye, Joost Joost, thanks for providing the missing link to understand this problem with the (mostly) closed-source Broadcom driver. Fortunately for those using that driver, the problem is fixable within the open-source parts of it. As you indicated, the problem should disappear if one manually loads the lib80211_crypt_tkip module. Judging from the sources, the lib80211_crypt_ccmp module should be unnecessary even when using CCMP. (I guess they are using hardware encryption for CCMP?) The issue is that the old ieee80211 crypto API required the crypto algorithms to be loaded before they are used. The ieee80211 component took care of this for the ipw2100 and ipw2200 drivers. The hostap driver (which only uses the crypto API of the ieee80211 component) requests the appropriate modules on its own, as apparently does (or did) the wl driver. The upstream kernel has reorganized the code, and in the process the old ieee80211 component has been split-up into different pieces. The old crypto API is now part of the new lib80211 component and its modules have been renamed appropriately. Unfortunately, the wl driver seems not to have "gotten the memo". The driver is calling 'request_module("ieee80211_crypto_tkip")', which no longer exists. As of kernel version 2.6.28, the module's new name is "lib80211_crypto_tkip". Perhaps you, Mr. Joost, can forward this information to whomever is maintaining the wl driver sources on your behalf? I've opened a bug for this over at rpmfusion.org https://bugzilla.rpmfusion.org/show_bug.cgi?id=466 Please continue discussion there. I hope to have a new build later today. Chris |