Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23043 - [kernel26] wrong crda country code selected using 2.6.37.x

Attached to Project: Arch Linux
Opened by Paweł (Pawlerson) - Friday, 25 February 2011, 13:44 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 18 June 2011, 08:32 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

After upgrading to 2.6.37.x (and 2.6.38-rcx) kernels I cannot connect to the Internet, because wrong CRDA country code is being chosen. I have a proper configuration set in /etc/conf.d/wireless-regdom and /etc/rc.conf:

WIRELESS_REGDOM="PL"

DAEMONS=(syslog-ng dbus wireless-regdom network ppp @crond @alsa @sensors)

It seems the kernel sets a different CRDA from some reason:

25/02/2011 14:21:57 cfg80211 Calling CRDA for country: PL
25/02/2011 14:21:57 cfg80211 Regulatory domain changed to country: PL
25/02/2011 14:21:57 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
25/02/2011 14:21:57 (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
25/02/2011 14:21:57 (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
25/02/2011 14:21:57 (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
25/02/2011 14:21:57 (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
25/02/2011 14:21:57 input ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4

***************************************************************************
25/02/2011 14:21:57 ath EEPROM regdomain: 0x809c
25/02/2011 14:21:57 ath EEPROM indicates we should expect a country code
25/02/2011 14:21:57 ath doing EEPROM country->regdmn map search
25/02/2011 14:21:57 ath country maps to regdmn code: 0x52
25/02/2011 14:21:57 ath Country alpha2 being used: CN
25/02/2011 14:21:57 ath Regpair used: 0x52
25/02/2011 14:21:57 ieee80211 phy0 Selected rate control algorithm 'minstrel_ht'
25/02/2011 14:21:57 ath5k phy0 Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)
25/02/2011 14:21:57 cfg80211 Calling CRDA for country: CN
25/02/2011 14:21:57 cfg80211 Current regulatory domain intersected:
25/02/2011 14:21:57 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
25/02/2011 14:21:57 (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 18 June 2011, 08:32 GMT
Reason for closing:  None
Additional comments about closing:  cannot reproduce
Comment by Thomas Bächler (brain0) - Tuesday, 01 March 2011, 20:51 GMT
The driver claims your chip is registered to China. Atheros thinks it is a good idea to respect that, no matter where you actually are. This sounds stupid, and it is stupid, and we can't do a thing. Complain to Atheros.
Comment by Paweł (Pawlerson) - Wednesday, 02 March 2011, 13:56 GMT
Thank you for your reply. I have noticed, I have the same output using 2.6.36.4 kernel, but it connects without any problems. Tried in Arch and Kubuntu. I'm a little confused now. :>

PS. 2.6.37/38 doesn't connect in Kubuntu too.
Comment by Thomas Bächler (brain0) - Wednesday, 02 March 2011, 14:19 GMT
So, this is not a country issue (although you should get your EEPROM fixed, somehow), but another new wireless bug.
Comment by Jelle van der Waa (jelly) - Sunday, 05 June 2011, 11:12 GMT
any update?
Comment by Paweł (Pawlerson) - Sunday, 05 June 2011, 13:17 GMT
I bought a router, so I don't know if this is fixed. :)

Loading...