Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 401277

Summary: net-misc/networkmanager needs to install net-wireless/crda
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Robert Piasek (RETIRED) <dagger>
Status: RESOLVED FIXED    
Severity: normal CC: alexxy, gurligebis, junghans, mobile+disabled, nirbheek, qiaomuf, tetromino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 416403    
Bug Blocks: 345143    

Description Pacho Ramos gentoo-dev 2012-01-29 10:23:42 UTC
Not sure if this dep should be added to networkmanager or net-wireless/wpa_supplicant instead. Currently, every time I disconnect from my AP I see a message in logs telling me it tries to get CRDA updated but, finally, nothing is updated because net-wireless/crda is not installed. Once it's installed, everything works automagically and CRDA is properly updated.

But I don't know how could we ensure crda is installed (probably due a rdepend from wpa_supplicant)

Reproducible: Always
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-01-29 10:59:02 UTC
It would make sense to add net-wireless/crda as a RDEPEND in wpa_supplicant, what do you other guys think?
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-01-29 19:43:31 UTC
(In reply to comment #1)
> It would make sense to add net-wireless/crda as a RDEPEND in wpa_supplicant,
> what do you other guys think?

+1 to making wpa_supplicant[kernel_linux] pull in crda. All wifi drivers in 2.6.29 and higher call crda, this is certainly not networkmanager-specific.
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2012-02-05 21:43:33 UTC
Can you please post the message from the log?

I don't have crda installed and no problems with networkmanager.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-05 22:33:17 UTC
(In reply to comment #3)
> I don't have crda installed and no problems with networkmanager.

If you are using kernel 2.6.29 or newer and a wireless card whose driver uses the cfg80211 framework, then the wireless driver driver will try to call crda. Crda is also required for 802.11d support. The wireless driver should still work if crda is not found, but performance is likely to suffer because the driver will probably try to limit itself to the set of frequencies that are simultaneously legal in all major jurisdictions.
Comment 5 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-02-12 12:08:49 UTC
Minor problem, we need to get crda keyworded like wpa_supplicant before I can add it as a RDEPEND :)

I'll make a new keyword bug, and make it block this.
Comment 6 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2012-06-03 08:04:35 UTC
Fixed, wpa_supplicant-1.0 now RDEPEND on net-wireless/crda if kernel_linux is set.

It does not make sense on Gentoo/*BSD, since it does not have the kernel API for crda to work.
Comment 7 Pacho Ramos gentoo-dev 2012-06-03 10:55:48 UTC
Thanks!