Touble getting ath5k wifi working on Ubuntu 11.10

Jan Mostert jan.mostert at gmail.com
Tue Jan 17 06:35:17 UTC 2012


Doing a "sudo iwlist wlan0 scan" just says no results found (that's after
shutting it down and bringing it up again, otherwise it doesn't scan).

Some snippets of the dmesg output, error message in error log "wlan0: link
is not ready":

...

[   16.093490] radeon 0000:01:05.0: WB enabled

[   16.236585] [drm] Loading R300 Microcode

[   16.332310] ath5k 0000:09:02.0: PCI INT A -> GSI 21 (level, low) -> IRQ
21

[   16.332396] ath5k 0000:09:02.0: registered as 'phy0'

[   17.140419] Bluetooth: Core ver 2.16

...

[   17.798978] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

[   17.800970] ath5k phy0: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)

[   17.819332] [drm] Radeon display connector VGA-1: No monitor connected
or invalid EDID

...

[   63.310052]  [<c17bf0a9>] ? i386_start_kernel+0xa9/0xaf

[   63.310055] handlers:

[   63.310063] [<f824d730>] ath5k_intr

[   63.310067] Disabling IRQ #21

[   63.336507] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[  136.492264] audit_printk_skb: 21 callbacks suppressed

[  136.492270] type=1400 audit(1326747240.814:19): apparmor="STATUS"
operation="profile_replace"
name="/usr/lib/lightdm/lightdm-guest-session-wrapper" pid=1720
comm="apparmor_parser"

[  136.502258] type=1400 audit(1326747240.822:20): apparmor="STATUS"
operation="profile_replace" name="/sbin/dhclient" pid=1721
comm="apparmor_parser"

[  136.507816] type=1400 audit(1326747240.826:21): apparmor="STATUS"
operation="profile_replace"
name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1721
comm="apparmor_parser"

[  136.509488] type=1400 audit(1326747240.830:22): apparmor="STATUS"
operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script"
pid=1721 comm="apparmor_parser"

[  136.525168] type=1400 audit(1326747240.846:23): apparmor="STATUS"
operation="profile_replace" name="/usr/bin/evince" pid=1722
comm="apparmor_parser"

[  136.534893] type=1400 audit(1326747240.854:24): apparmor="STATUS"
operation="profile_replace" name="/usr/bin/evince-previewer" pid=1722
comm="apparmor_parser"

[  136.548906] type=1400 audit(1326747240.870:25): apparmor="STATUS"
operation="profile_replace" name="/usr/bin/evince-thumbnailer" pid=1722
comm="apparmor_parser"

[  136.558563] type=1400 audit(1326747240.878:26): apparmor="STATUS"
operation="profile_replace" name="/usr/lib/telepathy/mission-control-5"
pid=1724 comm="apparmor_parser"

[  136.559333] type=1400 audit(1326747240.878:27): apparmor="STATUS"
operation="profile_replace" name="/usr/lib/telepathy/telepathy-*" pid=1724
comm="apparmor_parser"

...

[  137.097854] init: plymouth-stop pre-start process (1852) terminated with
status 1

[  164.072460] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[  708.838154] ath5k 0000:09:02.0: PCI INT A disabled

[  761.437495] ath5k 0000:09:02.0: PCI INT A -> GSI 21 (level, low) -> IRQ
21

[  761.437585] ath5k 0000:09:02.0: registered as 'phy1'

[  762.152577] ath: EEPROM regdomain: 0x63

[  762.152583] ath: EEPROM indicates we should expect a direct regpair map

[  762.152589] ath: Country alpha2 being used: 00

[  762.152592] ath: Regpair used: 0x63

[  762.152599] cfg80211: Updating information on frequency 2412 MHz for a
20 MHz width channel with regulatory rule:

[  762.152604] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152607] cfg80211: Updating information on frequency 2417 MHz for a
20 MHz width channel with regulatory rule:

[  762.152612] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152616] cfg80211: Updating information on frequency 2422 MHz for a
20 MHz width channel with regulatory rule:

[  762.152620] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152624] cfg80211: Updating information on frequency 2427 MHz for a
20 MHz width channel with regulatory rule:

[  762.152628] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152632] cfg80211: Updating information on frequency 2432 MHz for a
20 MHz width channel with regulatory rule:

[  762.152636] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152640] cfg80211: Updating information on frequency 2437 MHz for a
20 MHz width channel with regulatory rule:

[  762.152645] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152648] cfg80211: Updating information on frequency 2442 MHz for a
20 MHz width channel with regulatory rule:

[  762.152653] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152656] cfg80211: Updating information on frequency 2447 MHz for a
20 MHz width channel with regulatory rule:

[  762.152661] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152664] cfg80211: Updating information on frequency 2452 MHz for a
20 MHz width channel with regulatory rule:

[  762.152669] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152673] cfg80211: Updating information on frequency 2457 MHz for a
20 MHz width channel with regulatory rule:

[  762.152677] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152681] cfg80211: Updating information on frequency 2462 MHz for a
20 MHz width channel with regulatory rule:

[  762.152685] cfg80211: 2402000 KHz - 2472000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152689] cfg80211: Updating information on frequency 2467 MHz for a
20 MHz width channel with regulatory rule:

[  762.152693] cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152697] cfg80211: Updating information on frequency 2472 MHz for a
20 MHz width channel with regulatory rule:

[  762.152702] cfg80211: 2457000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000
mBm)

[  762.152705] cfg80211: Disabling freq 2484 MHz as custom regd has no rule
that fits a 20 MHz wide channel

[  762.154490] cfg80211: Ignoring regulatory request Set by core since the
driver uses its own custom regulatory domain

[  762.157129] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'

[  762.161704] ath5k phy1: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)

[  763.928517] irq 21: nobody cared (try booting with the "irqpoll" option)

[  763.928527] Pid: 0, comm: swapper Not tainted 3.0.0-14-generic #23-Ubuntu

[  763.928531] Call Trace:

[  763.928543]  [<c151a3f2>] ? printk+0x2d/0x2f

[  763.928553]  [<c10aad49>] __report_bad_irq+0x29/0xd0

[  763.928565]  [<f8511dc8>] ? ath5k_hw_is_intr_pending+0x18/0x20 [ath5k]

[  763.928571]  [<c10ab114>] note_interrupt+0x104/0x150

[  763.928577]  [<c10a963e>] handle_irq_event_percpu+0x9e/0x200

[  763.928583]  [<c1026208>] ? default_spin_lock_flags+0x8/0x10

[  763.928591]  [<c152dd0d>] ? _raw_spin_lock_irqsave+0x2d/0x40

[  763.928596]  [<c10a97db>] handle_irq_event+0x3b/0x60

[  763.928601]  [<c10ab850>] ? unmask_irq+0x30/0x30

[  763.928606]  [<c10ab89e>] handle_fasteoi_irq+0x4e/0xc0

[  763.928609]  <IRQ>  [<c1535232>] ? do_IRQ+0x42/0xc0

[  763.928620]  [<c1008818>] ? sched_clock+0x8/0x10

[  763.928627]  [<c106c84b>] ? sched_clock_local+0xcb/0x1c0

[  763.928632]  [<c1535170>] ? common_interrupt+0x30/0x38

[  763.928638]  [<c10600d8>] ? cwq_dec_nr_in_flight+0x48/0x90

[  763.928645]  [<c12fa8f0>] ? arch_local_irq_enable+0x5/0xb

[  763.928650]  [<c12fb587>] ? acpi_idle_enter_bm+0x227/0x25e

[  763.928656]  [<c141064d>] ? cpuidle_idle_call+0x7d/0x240

[  763.928661]  [<c100175a>] ? cpu_idle+0x8a/0xc0

[  763.928669]  [<c1500eb5>] ? rest_init+0x5d/0x68

[  763.928675]  [<c17bf763>] ? start_kernel+0x352/0x358

[  763.928680]  [<c17bf3a2>] ? pass_bootoption.constprop.2+0xe2/0xe2

[  763.928685]  [<c17bf0a9>] ? i386_start_kernel+0xa9/0xaf

[  763.928688] handlers:

[  763.928696] [<f851d730>] ath5k_intr

[  763.928699] Disabling IRQ #21

[  763.972512] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[  785.852611] ADDRCONF(NETDEV_UP): wlan0: link is not ready--



Jan Vladimir Mostert
BEngSci

MyCee Technologies


On Sun, Jan 15, 2012 at 12:08 PM, Nils Kassube <kassube at gmx.net> wrote:

> Jan Mostert wrote:
> > Did a clean install of Ubuntu 11.10 just to be sure it's not
> > something I've messed up.
> > First time it booted into Unity, it could see the wireless networks,
> > but just wouldn't connect, rebooted, now there's no wireless
> > connections to connect to.
> >
> > Reinstalled the non-free drivers with
> > sudo apt-get install linux-firmware-nonfree
> > and still nothing to connect to.
>
> The command
>
> dmesg
>
> should reveal if there is a problem loading the firmware to the wireless
> card. Or you could have a look at the file "/var/log/syslog".
>
> > iwconfig:
> >
> > lo        no wireless extensions.
> >
> > eth0      no wireless extensions.
> >
> > wlan0     IEEE 802.11bg  ESSID:off/any
> >           Mode:Managed  Access Point: Not-Associated   Tx-Power=20
> > dBm Retry  long limit:7   RTS thr:off   Fragment thr:off Power
> > Management:off
>
> You could try the command
>
> sudo iwlist wlan0 scan
>
> to check if you can see wireless networks. IIRC, I once had a situation
> where network-manager didn't show my AP before I used that command. But
> I prefer to use wicd instead of network-manager. Maybe you could try
> wicd as well. If you do that, please uninstall network-manager because
> otherwise both wicd and nm want to handle the wireless network and both
> will fail.
>
>
> Nils
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120117/6ce096fc/attachment.html>


More information about the ubuntu-users mailing list