Wifi driver will fail to load if regulatory domain set in module options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Won't Fix
|
Low
|
Andy Whitcroft | ||
module-init-tools (Ubuntu) |
Won't Fix
|
Low
|
Scott James Remnant (Canonical) |
Bug Description
In Jaunty, up to and including 2.6.28-7, if the Wireless network regulatory domain needed setting manually for non USA regions such as the European Union (EU) or Japan, an option was added for the cfg80211 module in /etc/modprobe.
options cfg80211 ieee80211_regdom=EU
The kernel build config used:
CONFIG_
In Ubuntu-2.6.28-8.21 the wireless-crda package was introduced to work with udev to set the regulatory domain automatically. Therefore the manual override was no longer used and the kernel build config changed to:
# CONFIG_
However, if the manually added module option was left in place it causes cfg80211 to fail to load, which in turn causes the wireless drivers to fail to load too:
kernel: [ 379.889060] cfg80211: Unknown parameter `ieee80211_regdom'
sudo modprobe iwl3945
WARNING: Error inserting led_class (/lib/modules/
WARNING: Error inserting mac80211 (/lib/modules/
FATAL: Error inserting iwl3945 (/lib/modules/
The solution is to remove the module option, e.g:
sudo sed -i '/options cfg80211/ s/^.*$//' /etc/modprobe.
Changed in linux (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in linux: | |
assignee: | nobody → apw |
status: | Triaged → In Progress |
Changed in module-init-tools (Ubuntu): | |
assignee: | nobody → ubuntu-foundations |
Changed in module-init-tools: | |
importance: | Undecided → Low |
As Jaunty users are all volunteers it might be reasonable to expect them to cope and remove it. However this has also affected Intrepid so those upgrading from there might need something to help them remove those options.