ath9k wireless not working with AR9280

Bug #270748 reported by Steve Halasz
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

The ath9k module appears to load fine. But I'm unable to see any wireless networks by scanning and I can't get a dhcp lease.

root@panther:~# lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

root@panther:~# cat /proc/version
Linux version 2.6.27-3-generic (buildd@vernadsky) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu6) ) #1 SMP Wed Sep 10 16:02:00 UTC 2008

root@panther:~# ifconfig
eth0 Link encap:Ethernet HWaddr foo
          inet addr:192.168.11.8 Bcast:192.168.11.255 Mask:255.255.255.0
          inet6 addr:bar/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:32090 errors:0 dropped:3988762564 overruns:0 frame:0
          TX packets:17840 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:47008544 (47.0 MB) TX bytes:1653147 (1.6 MB)
          Interrupt:218 Base address:0xe000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:2352 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2352 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:117600 (117.6 KB) TX bytes:117600 (117.6 KB)

wlan0 Link encap:Ethernet HWaddr aa:bb:cc:dd:ee:ff
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wmaster0 Link encap:UNSPEC HWaddr AA-BB-CC-DD-EE-FF-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@panther:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:""
          Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root@panther:~# iwconfig wlan0 essid myessid
root@panther:~# iwconfig wlan0 key 1 s:aabbccddeeff0
root@panther:~# iwconfig wlan0 ap 00:11:22:33:44:55

root@panther:~# dhclient wlan0
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/aa:bb:cc:dd:ee:ff
Sending on LPF/wlan0/aa:bb:cc:dd:ee:ff
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

root@panther:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"myessid"
          Mode:Managed Frequency:2.432 GHz Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2352 B
          Encryption key:6161-6262-6363-6464-6565-6666-30 Security mode:open
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root@panther:~# iwlist wlan0 scan
wlan0 No scan results

I tried broadcasting my ssid and turning off WEP. Same results.

Matching iwconfig wlan0 chan 5 to my router's current channel did not help.

My wireless router doesn't report any log activity.

The wireless LED on my laptop is on. Fn+F2 appears like it is supposed to turn this off an on but has no effect.

I successfully connected to this router with this laptop when it had Vista on it.

03:00.0 Network controller: Atheros Communications Inc. Device 002a (rev 01)
 Subsystem: Device 1a3b:1067
 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 fdff0000 (64-bit, non-prefetchable) [size=64K]
 Capabilities: [40] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000 Data: 0000
 Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
  DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
   ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
  DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
   RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
   MaxPayload 128 bytes, MaxReadReq 512 bytes
  DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
  LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency L0 <512ns, L1 <64us
   ClockPM- Suprise- LLActRep- BwNot-
  LnkCtl: ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk+
   ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
  LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
 Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
  Vector table: BAR=0 offset=00000000
  PBA: BAR=0 offset=00000000
 Capabilities: [100] Advanced Error Reporting <?>
 Capabilities: [140] Virtual Channel <?>
 Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
 Kernel driver in use: ath9k
 Kernel modules: ath9k

root@panther:~# grep -P 'ath9k|phy0' /var/log/dmesg
[ 15.642168] ath9k: 0.1
[ 15.658303] ath9k 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 15.658315] ath9k 0000:03:00.0: setting latency timer to 64
[ 16.347609] phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 16.521823] phy0: Atheros 9280: mem=0xf8ba0000, irq=17

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: linux-image-2.6.27-3-generic 2.6.27-3.4 [modified: lib/modules/2.6.27-3-generic/modules.pcimap lib/modules/2.6.27-3-generic/modules.dep lib/modules/2.6.27-3-generic/modules.ieee1394map lib/modules/2.6.27-3-generic/modules.usbmap lib/modules/2.6.27-3-generic/modules.isapnpmap lib/modules/2.6.27-3-generic/modules.inputmap lib/modules/2.6.27-3-generic/modules.seriomap lib/modules/2.6.27-3-generic/modules.alias lib/modules/2.6.27-3-generic/modules.symbols]
ProcCmdLine: root=UUID=d048706d-1e80-47b5-9f7a-ddc2baaf7c79 ro quiet splash
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.27-3.4-generic
SourcePackage: linux

Revision history for this message
Steve Halasz (stevehalasz) wrote :
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Steve Halasz (stevehalasz) wrote :

Once I was able to list scanned aps, associate with mine and get a dhcp lease after I did:
root@panther:~# invoke-rc.d NetworkManager stop

The connection wasn't usable however and I've been unable to repeat that partial success. I seem to be back at square one.

Revision history for this message
michael (mikahgiacchetti) wrote :

I have an asus m70vm-x1 and was having the same problem.. (intrepid saw the card oob and installed the ath9k drivers but was unable to connect to the router...) After figuring out the echo 0 > /sys/devices/platform/asus-laptop/ls_switch to fix my backlight problem, i wondered if i could do the same to the wlan...

also my bluetooth was on by default.. so

sudo su
echo 0 > /sys/devices/platform/asus-laptop/bluetooth
echo 1 > /sys/devices/platform/asus-laptop/wlan

turned off my bluetooth and turned on my wlan. I am now able to connect to the router however the connection is poor at best... the signal goes anywhere from 28% to 110%

Revision history for this message
michael (mikahgiacchetti) wrote :

It would seem you are experiencing a similar problem, as i noticed your wlan is not tx or rx data...

You may wish to look for something similar to the above for a fix.

Note:

I am currently running ubuntu Intrepid off of a usb stick "non-persistent" for testing until i can get this working, so every time i boot i have to do the above...

Request:
Once you manage to get your wlan turned on, try connecting to an access point/router, and try a multiple ping to your router...
When its done note your packet loss. mine was horrid.

Revision history for this message
michael (mikahgiacchetti) wrote :

ALSO:

In ubuntu iwconfig shows the bitrate as 1 mbit/s

I have attatched screenshots of it working in vista.. for comparison.

Revision history for this message
michael (mikahgiacchetti) wrote :
Revision history for this message
Steve Halasz (stevehalasz) wrote :

Thank you Michael!! I have the very same laptop and after disabling bluetooth and enabling wlan as you suggest I am posting this over my wireless connection :-) The speed seems fine and I don't drop any packets pinging my router. My link quality appears steady around 90%.

iwconfig reports 1Mb/s as my bit rate as well. But I suspect this is due to a recently fixed bug in the driver:
https://lists.ath9k.org/pipermail/ath9k-devel/2008-September/000267.html
At least I'm pretty sure I saw it was fixed. I can only find the problem report now.

There have been other problems posted on the ath9k mailing list lately which may apply to you. Perhaps you are using 11n and the lack of aggregation support in the driver is causing you trouble. My router only supports 11g.

I still wasn't able to connect with the network manager. I'll have to try fiddling with that some more.

Michael, feel free to contact me if you want to share more information about getting Ubuntu working on this laptop. I'm stevehalasz at gee mail. Using the envyng-gtk package to install the latest beta nvidia drivers worked for my video.

Revision history for this message
michael (mikahgiacchetti) wrote :

Still fiddling with this problem, i have been unable to correct the issue, I am using a Linksys WRT54GL router with Latest Linksys Firmware, and still nothing....

i receive anywhere from 20 - 90% packet loss on a ping 192.168.1.1 -c 50 but when it connects, its great... I have read somewhere that the signal is determined by the calibration?? I don't exactly know what that means, because when I tried to apply the fix suggested there, i figured out that wlan0 no private ioctls. Whatever that means..

Steve, What type of router are you using??

Revision history for this message
Steve Halasz (stevehalasz) wrote :

My router is a Buffalo AirStation - WHR-HP-G54. There are reports of packet loss in this thread: https://lists.ath9k.org/pipermail/ath9k-devel/2008-August/000204.html. It's not clear if that was ever resolved. I have the latest 2.6.27-4-generic kernel for Intrepid. I don't know what, if any, wireless updates made it into that version.

Revision history for this message
michael (mikahgiacchetti) wrote :

allright...

sudo gedit /etc/rc.local

add this above exit 0:

echo 0 > /sys/devices/platform/asus-laptop/bluetooth
echo 1 > /sys/devices/platform/asus-laptop/wlan

save and close, you no longer have to do that every boot.

Revision history for this message
bernales (serg-ba) wrote :

this fixes the problem with an asus-laptop
Any solutions with other platforms?
thanks. Ive been going at this for days and everywhere there is the solution for asus-laptop
The error again i have is that i dont get an IP address from my router.
Everything else works fine. I can see all the close by AP and ethernet works fine.
Thanks in advance again.

Revision history for this message
bernstein (bernstein) wrote :

I have a very simililar problem... although my connection drops each 10-30 seconds. no big deal while browsing but this renders wireless completely unusable for any other task (streaming, copying files bigger than 5MB).... while active i get about 3MB/s throughput. network manager does automatically reconnect each time, but this takes just to long for any copy/streaming operation to not abort.

I use a macbookpro santarosa in conjunction with a timecapsule router from apple. on OSX & windows everything works fine. The router is in g/n mode on the 2.5Ghz band using WPA2-Personal encryption.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

Please upgrade to at least linux-image-2.6.27-11-generic.

Please see:

http://wireless.kernel.org/en/users/Drivers/ath9k#Mostcommonknownissues

and to get the latest ath9k driver:

http://wireless.kernel.org/en/users/Drivers/ath9k#Getthelatestath9kdriver

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

Need user feedback on new 2.6.27 kernel image... Also 2.6.27 is old, please try a newer kernel.

Revision history for this message
Jim Lieb (lieb) wrote :

Unfortunately it seems this bug is still an issue. Can you confirm this issue exists with the most recent Jaunty Jackalope 9.04 release - http://www.ubuntu.com/news/ubuntu-9.04-desktop . Please let us know your results. Thanks.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
R. Damon Osborne (x-fnord) wrote :

@Jim Lieb: yes, so it seems. My Amilo Pa 3553 has an AR928X. No Bluetooth interference, as lsmod and lspci show nothing of the kind. ath9k within 32-bit Jaunty does little more than bringing up kernel module (not autodetected, added in /etc/modules) and dependent modules. While looking for some clue about bad device initialization/enabling, I only found these two data:

~$ sudo cat /sys/class/net/wmaster0/device/enable
1

~$ sudo cat /sys/class/net/wlan0/device/enable
1

no more at this time. A LED in the corner stays off, which could mean the device to be OK and the radio to be just turned off; but I found no sysvars about radio switching while peeking around the two ones you see above. Nuff said, by now.

Revision history for this message
R. Damon Osborne (x-fnord) wrote :

Whoa. In my case, it was just this (let's hope not to fry anything now).
http://wireless.kernel.org/en/users/Drivers/ath9k/Amilo Pa3553

Revision history for this message
michael (mikahgiacchetti) wrote : Re: [Bug 270748] Re: ath9k wireless not working with AR9280

With my system (asus m70 vm) i had to (for atheros to work when Jaunty was still beta, not sure if I had to when it came official)

> sudo su
Enter password...

# echo 1 > /sys/devices/platform/asus-laptop/wlan

________________________________
From: R. Damon Osborne <email address hidden>
To: <email address hidden>
Sent: Monday, July 20, 2009 3:08:08 PM
Subject: [Bug 270748] Re: ath9k wireless not working with AR9280

@Jim Lieb: yes, so it seems. My Amilo Pa 3553 has an AR928X. No
Bluetooth interference, as lsmod and lspci show nothing of the kind.
ath9k within 32-bit Jaunty does little more than bringing up kernel
module (not autodetected, added in /etc/modules) and dependent modules.
While looking for some clue about bad device initialization/enabling, I
only found these two data:

~$ sudo cat /sys/class/net/wmaster0/device/enable
1

~$ sudo cat /sys/class/net/wlan0/device/enable
1

no more at this time. A LED in the corner stays off, which could mean
the device to be OK and the radio to be just turned off; but I found no
sysvars about radio switching while peeking around the two ones you see
above. Nuff said, by now.

--
ath9k wireless not working with AR9280
https://bugs.launchpad.net/bugs/270748
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Jim Lieb (lieb) wrote :

Can you confirm this issue exists with the most recent Karmic Koala 9.10 Beta release? ISO CD images are available at http://cdimage.ubuntu.com/releases/karmic/ . If the issue remains with Karmic it would be great to then also test the latest upstream mainline kernel available. This will allow additional upstream developers to examine this issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Thanks in advance.

Revision history for this message
glass.dimly (jmjohn) wrote :

I can confirm this problem for Karmic 9.10. My wifi is at 50% when right by the router (dual boot wifi in windows is much more powerful). The signal drops and reloads when in the same room as the router.

I've got a Asus EEE 1005HAB BLU001X, wifi card AR9285

Revision history for this message
Luis R. Rodriguez (mcgrof) wrote :

On Fri, Oct 23, 2009 at 2:35 AM, glass.dimly <email address hidden> wrote:
> I can confirm this problem for Karmic 9.10.  My wifi is at 50% when
> right by the router (dual boot wifi  in windows is much more powerful).
> The signal drops and reloads when in the same room as the router.
>
> I've got a Asus EEE 1005HAB BLU001X, wifi card AR9285

Can you try lbm or compat-wireless-2.6.32-rc5.tar.bz2:

http://wireless.kernel.org/en/users/Download/stable

  Luis

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.