Atheros AR928X doesn't work on Natty

Bug #762845 reported by Tiago Hillebrandt on 2011-04-16
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

The option "Enable wireless network" is enabled on network-manager applet, but the text "The wireless network is disabled" appears and I can't connect to wireless networks. The system is up-to-date (April 16) and the problem persists.

# lspci | grep -i Network
06:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)

# lsmod | grep ath
ath9k 118238 0
mac80211 294370 1 ath9k
ath9k_common 13851 1 ath9k
ath9k_hw 323077 2 ath9k,ath9k_common
ath 23773 2 ath9k,ath9k_hw
cfg80211 178528 3 ath9k,mac80211,ath

On "ifconfig" wlan0 interface doesn't appears, just "eth0" and "lo".

# cat /var/log/syslog | grep wlan0
Apr 16 08:49:59 scd-notebook NetworkManager[954]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:05.0/0000:06:00.0/net/wlan0, iface: wlan0)
Apr 16 08:49:59 scd-notebook NetworkManager[954]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:05.0/0000:06:00.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
Apr 16 08:49:59 scd-notebook NetworkManager[954]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Apr 16 08:49:59 scd-notebook NetworkManager[954]: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k' ifindex: 3)
Apr 16 08:49:59 scd-notebook NetworkManager[954]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
Apr 16 08:49:59 scd-notebook NetworkManager[954]: <info> (wlan0): now managed
Apr 16 08:49:59 scd-notebook NetworkManager[954]: <info> (wlan0): device state change: 1 -> 2 (reason 2)
Apr 16 08:49:59 scd-notebook NetworkManager[954]: <info> (wlan0): bringing up device.
Apr 16 08:49:59 scd-notebook NetworkManager[954]: <info> (wlan0): deactivating device (reason: 2).
Apr 16 08:50:00 scd-notebook NetworkManager[954]: <info> (wlan0): supplicant manager state: down -> idle

Would be a kernel bug like you can see on thread comment http://ubuntuforums.org/showpost.php?p=10440647&postcount=11, but I'm not sure.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC272X Analog [ALC272X Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tiagohillebrandt 1516 F.... pulseaudio
 /dev/snd/pcmC0D0p: tiagohillebrandt 1516 F...m pulseaudio
CRDA: Error: [Errno 2] Arquivo ou diretório não encontrado
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xd0400000 irq 16'
   Mixer name : 'Realtek ALC272X'
   Components : 'HDA:10ec0272,10250372,00100001'
   Controls : 19
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd0110000 irq 19'
   Mixer name : 'ATI RS690/780 HDMI'
   Components : 'HDA:1002791a,00791a00,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.04
Frequency: Once every few months.
HibernationDevice: RESUME=UUID=8f787b8a-aec4-4284-9458-00a6894bc6e5
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
MachineType: Acer Aspire 4551
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=pt_BR:en
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=3842a9a3-c8df-4c87-a2b4-9456d7fb35e5 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Regression: Yes
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.50
Reproducible: No
Tags: natty running-unity kernel-net regression-release needs-upstream-testing
Uname: Linux 2.6.38-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WifiSyslog: Apr 16 11:08:25 scd-notebook kernel: [ 8333.100220] process `skype' is using obsolete setsockopt SO_BSDCOMPAT
dmi.bios.date: 10/05/2010
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.11
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Aspire 4551
dmi.board.vendor: Acer
dmi.board.version: V1.11
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.11
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.11:bd10/05/2010:svnAcer:pnAspire4551:pvrV1.11:rvnAcer:rnAspire4551:rvrV1.11:cvnAcer:ct10:cvrV1.11:
dmi.product.name: Aspire 4551
dmi.product.version: V1.11
dmi.sys.vendor: Acer

summary: - Atheros AR928X doesn't work
+ Atheros AR928X doesn't work on Natty
affects: ubuntu → linux (Ubuntu)
Fabio Marconi (fabiomarconi) wrote :

assigned to linux to collect data.

HelloTiago
can you please verify that the 'Disposable for every user' box is checked on the network manager config window (right click on the NM icon, modify, wireless, name of the connection, modify.
If it is checked then please run in a terminal
apport-collect -p linux 762845
Thanks
Fabio

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected kernel-net natty needs-upstream-testing regression-release running-unity
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Fabio Marconi,

The wireless networks doesn't appears on nm-applet right-click list, only the text "The wireless network is disabled". So I can't connect to anyone network. But I tried to insert a wireless network manually into network manager, but after close config window the error continues.

Changed in linux (Ubuntu):
status: Incomplete → New
Fabio Marconi (fabiomarconi) wrote :

From lspci.txt:
06:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)
 Subsystem: Foxconn International, Inc. Device [105b:e01f]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at d0300000 (64-bit, non-prefetchable) [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: ath9k
 Kernel modules: ath9k

From Rfkill.txt:
0: acer-wireless: Wireless LAN
 Soft blocked: yes
 Hard blocked: no

From ProcModules:
ath9k 118238 0 - Live 0x0000000000000000
ath9k_common 13851 1 ath9k, Live 0x0000000000000000
ath9k_hw 323077 2 ath9k,ath9k_common, Live 0x0000000000000000

From BootDmesg:
[ 12.009916] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 12.010451] Registered led device: ath9k-phy0::radio
[ 12.010470] Registered led device: ath9k-phy0::assoc
[ 12.010486] Registered led device: ath9k-phy0::tx
[ 12.010504] Registered led device: ath9k-phy0::rx
[ 12.010511] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xffffc90001140000, irq=17

Seems working, can you please follow this guide:
https://wiki.ubuntu.com/DebuggingNetworkManager
and get more information
Thanks
Fabio

Follow the captured log from network-manager.

Just to say: eth0 interface already was working normally.

Fabio Marconi (fabiomarconi) wrote :

Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (eth0): now managed
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (eth0): device state change: 1 -> 2 (reason 2)
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (eth0): bringing up device.
Apr 16 15:06:38 scd-notebook kernel: [22625.980144] tg3 0000:03:00.0: irq 43 for MSI/MSI-X
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (eth0): preparing device.
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (eth0): deactivating device (reason: 2). <-------eth0=off
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k' ifindex: 4)
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (wlan0): now managed
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (wlan0): device state change: 1 -> 2 (reason 2)
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (wlan0): bringing up device.
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <info> (wlan0): deactivating device (reason: 2). <--------wlan=off
Apr 16 15:06:38 scd-notebook kernel: [22626.002502] ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 16 15:06:38 scd-notebook NetworkManager[6538]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
Apr 16 15:06:39 scd-notebook kernel: [22626.431121] tg3 0000:03:00.0: eth0: Link is down
Apr 16 15:06:41 scd-notebook NetworkManager[6538]: <info> (eth0): carrier now ON (device state 2) <--------eth0=on
Apr 16 15:06:41 scd-notebook NetworkManager[6538]: <info> (eth0): device state change: 2 -> 3 (reason 40)
Apr 16 15:06:41 scd-notebook NetworkManager[6538]: <info> Activation (eth0) starting connection 'Ethernet automática'

After the following commands on terminal the Atheros card have found the wireless networks but continue not working, including on network-manager.

When I try to connect to wifi using iwconfig tool via Terminal I can see '"Set Encode" (8B2A)' error (ESSID was defined like 'any' because the network ESSID is hidden).

# ifconfig wlan0 up
# iwlist wlan0 scan
wlan0 Scan completed :
          Cell 01 - Address: ***********
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=50/70 Signal level=-60 dBm
                    Encryption key:on
                    ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000188b02181
                    Extra: Last beacon: 810ms ago
                    IE: Unknown: 00080000000000000000
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 030101
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
# iwconfig wlan0 essid any key my_password
Error for wireless request "Set Encode" (8B2A) :
    invalid argument "my_password".

Just to say: system is up-to-date (April 21) and the problem persists!

Changed in linux (Ubuntu):
status: New → Confirmed
Thomas L.Gjeseth (thomaslgj) wrote :

I don't think this is a duplicate of #761176, as that one seems to be fixed, and is another issue (slow speed vs. not working at all on this one).

Also, I confirm this bug. I have an ubuntuforums thread on it here: http://ubuntuforums.org/showthread.php?t=1746861

I can confirm that bug was fixed on kernel 2.6.39.

To solve it on Natty:

sudo add-apt-repository ppa:kernel-ppa/ppa
sudo apt-get update && sudo apt-get dist-upgrade -y

PS: You first need to uninstall fglrx restricted driver because it is not compatible with the new kernel.

Thomas L.Gjeseth (thomaslgj) wrote :

I will do that, but either way, I just got it working with Wicd!

pothos (pothos) wrote :

We had to do blacklisting, that in worked:
echo "blacklist acer_wmi" | sudo tee /etc/modprobe.d/blacklist-acer-wmi.conf

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers