ath9k not working
Hi people,
the ath9k driver is not working on my new laptop, an Amilo PA 3553. The wireless card, as detected by Windows Vista, is a AR928X.
I'm using, apart from Vista, Opensuse 11.1. The card gets listed by iwconfig, but the access point is not associated, and the led on the lapton is off. Any help?
Quoted 6 lines · Ciccio
Hi people,
the ath9k driver is not working on my new laptop, an Amilo PA 3553. The wireless card, as detected by Windows Vista, is a AR928X.
I'm using, apart from Vista, Opensuse 11.1. The card gets listed by iwconfig, but the access point is not associated, and the led on the lapton is off. Any help?
What is the version of the kernel you are running ?
Sujith
Signature · 1 line
http://sujith-m.blogspot.com
2009/1/18 Sujith <[email protected]>:
Quoted 8 lines
Quoted 6 lines · Ciccio
Hi people,
the ath9k driver is not working on my new laptop, an Amilo PA 3553. The wireless card, as detected by Windows Vista, is a AR928X.
I'm using, apart from Vista, Opensuse 11.1. The card gets listed by iwconfig, but the access point is not associated, and the led on the lapton is off. Any help?
Quoted 6 lines
What is the version of the kernel you are running ?
Sujith
--
http://sujith-m.blogspot.com
The default opensuse 11.1 kernel, which is 2.6.27.7, but I also tried other kernels without success, including the latest 2.6.29-rc2 compiled from source. All kernels are for x86_64 arch.
Quoted 3 lines · Ciccio
The default opensuse 11.1 kernel, which is 2.6.27.7, but I also tried other kernels without success, including the latest 2.6.29-rc2 compiled from source. All kernels are for
x86_64arch.
Can you post the kernel log after loading ath9k as 'modrobe ath9k debug=0x00002000' ?
Note: CONFIG_ATH9K_DEBUG=y has to be present in your .config
Also, this option is present in newer kernels, so 2.6.29-rc2 should do fine.
Sujith
Signature · 1 line
http://sujith-m.blogspot.com
2009/1/18 Sujith <[email protected]>:
Quoted 5 lines
Quoted 3 lines · Ciccio
The default opensuse 11.1 kernel, which is 2.6.27.7, but I also tried other kernels without success, including the latest 2.6.29-rc2 compiled from source. All kernels are for
x86_64arch.
Quoted 8 lines
Can you post the kernel log after loading ath9k as 'modrobe ath9k debug=0x00002000' ?
Note:CONFIG_ATH9K_DEBUG=yhas to be present in your .config
Also, this option is present in newer kernels, so 2.6.29-rc2 should do fine.Sujith
--
http://sujith-m.blogspot.com
Here it is, dmesg lines after I modprobe'd the module in. I had to
recompile the kernel 2.6.29-rc2
because the suse default config doesn't have ath9k debug on by default. -------------- next part --------------
A non-text attachment was scrubbed...
Name: log
Type: application/octet-stream
Size: 2647 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090119/73f2ca79/attachment.obj
[ath9k-devel] Oops with AR5008 and ath9k
ath9k has stopped working for me, dmesg log follows:
____________________________________________________________
Ubuntu Intrepid, standard kernel 2.6.27-9-generic
Fujitsu Siemens P7230 with gigabyte mini pci express card (lspci -v):-
03:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Subsystem: Giga-byte Technology Device e916
Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at f0000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
Kernel modules: ath9k
_____________________________________________________________
With compat-wireless-2009-11-19 and also the few days preceeding:-
[41372.469564] ath9k 0000:03:00.0: PCI INT A disabled [41372.469898] ath9k: Driver unloaded [41372.668131] cfg80211: Using static regulatory domain info [41372.668143] cfg80211: Regulatory domain: EU [41372.668147] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [41372.668152] (2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm) [41372.668157] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [41372.668162] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [41372.668166] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [41372.668171] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm) [41372.668176] (5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [41372.763365] ath9k: 0.1 [41372.764880] ath9k 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [41372.764908] ath9k 0000:03:00.0: setting latency timer to 64 [41372.993431] BUG: unable to handle kernel NULL pointer dereference at 00000004 [41372.993605] IP: [<f8ae6f8f>] :cfg80211:wiphy_update_regulatory+0x8f/0x310 [41372.993725] *pde = 00000000 [41372.993731] Oops: 0000 [#1] SMP [41372.993870] Modules linked in: ath9k(+) mac80211 cfg80211 rfkill led_class
usb_storage libusual cifs nfs lockd nfs_acl sunrpc isofs udf crc_itu_t i915 drm af_packet binfmt_misc tun vboxnetflt vboxdrv ppdev ipv6 acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_userspace cpufreq_stats freq_table cpufreq_conservative sbs pci_slot sbshc wmi container iptable_filter ip_tables x_tables aes_i586 aes_generic cbc nls_iso8859_1 nls_cp437 vfat fat dm_crypt dm_mod sbp2 parport_pc lp parport joydev mmc_block pcmcia evdev serio_raw psmouse uvcvideo compat_ioctl32 videodev arc4 v4l1_compat btusb ecb bluetooth crypto_blkcipher pcspkr snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy video output sdhci_pci sdhci mmc_core yenta_socket rsrc_nonstatic pcmcia_core snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq battery ac fujitsu_laptop button iTCO_wdt iTCO_vendor_support snd_timer snd_seq_device snd soundcore intel_agp snd_page_alloc shpchp pci_hotplug agpgart ext3 jbd mbcache sr_mod cdrom sd_mod crc_t10dif sg pata_acpi ata_generic ata_piix ohci1394 libata ieee1394 scsi_mod ehci_hcd uhci_hcd sky2 usbcore dock thermal processor fan fbcon tileblit font bitblit softcursor fuse [last unloaded: led_class]
[41372.996007] [41372.996007] Pid: 8724, comm: modprobe Not tainted (2.6.27-9-generic #1) [41372.996007] EIP: 0060:[<f8ae6f8f>] EFLAGS: 00010202 CPU: 0 [41372.996007] EIP is at wiphy_update_regulatory+0x8f/0x310 [cfg80211] [41372.996007] EAX: 0024cde0 EBX: f7ac953c ECX: 00000000 EDX: f7ac953c [41372.996007] ESI: f7ac8000 EDI: 00000002 EBP: f77c1d10 ESP: f77c1ca8 [41372.996007] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [41372.996007] Process modprobe (pid: 8724, ti=f77c0000 task=ee638000 task.ti=f77c0000) [41372.996007] Stack: edb11300 00001000 c04a1108 f77c1cc0 c018a5f2 00000000 00000004 00000001 [41372.996007] f7ac8040 00000000 00000000 00000000 000000c0 edb11300 00001000 f8aec0f4 [41372.996007] f7ac953c f7acdcf4 00000000 00000000 0024cde0 00000000 f7ac8040 f7acdd20 [41372.996007] Call Trace: [41372.996007] [<c018a5f2>] ? __get_free_pages+0x32/0x40 [41372.996007] [<f8ae63a5>] ? wiphy_register+0xe5/0x1c0 [cfg80211] [41372.996007] [<f8b81230>] ? ieee80211_register_hw+0x50/0x380 [mac80211] [41372.996007] [<f91e05e0>] ? ath_attach+0x710/0xb10 [ath9k] [41372.996007] [<c013bb14>] ? round_jiffies+0x14/0x20 [41372.996007] [<f8b81788>] ? ieee80211_alloc_hw+0x1c8/0x260 [mac80211] [41372.996007] [<f91e6145>] ? ath_pci_probe+0x145/0x30c [ath9k] [41372.996007] [<c0200265>] ? sysfs_addrm_start+0x75/0xa0 [41372.996007] [<c020104a>] ? sysfs_do_create_link+0xaa/0x130 [41372.996007] [<c0262729>] ? pci_match_id+0x9/0xa0 [41372.996007] [<c026315e>] ? pci_device_probe+0x5e/0x80 [41372.996007] [<c02c3cb9>] ? really_probe+0x59/0x190 [41372.996007] [<c0262966>] ? pci_match_device+0xc6/0xd0 [41372.996007] [<c02c3e33>] ? driver_probe_device+0x43/0x60 [41372.996007] [<c02c3ec9>] ? __driver_attach+0x79/0x80 [41372.996007] [<c02c3593>] ? bus_for_each_dev+0x53/0x80 [41372.996007] [<c02630a0>] ? pci_device_remove+0x0/0x40 [41372.996007] [<c02c3b6e>] ? driver_attach+0x1e/0x20 [41372.996007] [<c02c3e50>] ? __driver_attach+0x0/0x80 [41372.996007] [<c02c2f37>] ? bus_add_driver+0x1b7/0x230 [41372.996007] [<c02630a0>] ? pci_device_remove+0x0/0x40 [41372.996007] [<c02c409e>] ? driver_register+0x6e/0x150 [41372.996007] [<f892b000>] ? ath9k_init+0x0/0x74 [ath9k] [41372.996007] [<c026338f>] ? __pci_register_driver+0x4f/0x90 [41372.996007] [<f892b000>] ? ath9k_init+0x0/0x74 [ath9k] [41372.996007] [<f892b090>] ? ath_pci_init+0x1c/0x1e [ath9k] [41372.996007] [<f892b039>] ? ath9k_init+0x39/0x74 [ath9k] [41372.996007] [<c0101120>] ? _stext+0x30/0x160 [41372.996007] [<c014c604>] ? __blocking_notifier_call_chain+0x14/0x70 [41372.996007] [<c015c208>] ? sys_init_module+0x88/0x1b0 [41372.996007] [<c0103f7b>] ? sysenter_do_call+0x12/0x2f [41372.996007] ======================= [41372.996007] Code: 00 00 00 00 8b 4d c0 8b 1a 8d 04 c9 8b 4d c4 8d 04 83 89 45 d8 8b 40 18 8b 55 d8 89 45 e4 0f b7 42 04 69 c0 e8 03 00 00 89 45 e8 <8b> 49 04 83 f9 04 89 4d c8 0f 84 2a 02 00 00 8b 5d b8 8b 5b 1c [41372.996007] EIP: [<f8ae6f8f>] wiphy_update_regulatory+0x8f/0x310 [cfg80211] SS:ESP 0068:f77c1ca8 [41373.009017] ---[ end trace c70a7cb2fbbd20dc ]---
[ath9k-devel] Oops with AR5008 and ath9k
Quoted 30 lines · Michael and Claire
ath9k has stopped working for me, dmesg log follows:
____________________________________________________________
Ubuntu Intrepid, standard kernel 2.6.27-9-generic
Fujitsu Siemens P7230 with gigabyte mini pci express card (lspci -v):-
03:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Subsystem: Giga-byte Technology Device e916
Flags: bus master, fast devsel, latency 0, IRQ 17 Memory atf0000000(64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
Kernel modules: ath9k
_____________________________________________________________With compat-wireless-2009-11-19 and also the few days preceeding:-
[41372.469564] ath9k 0000:03:00.0: PCI INT A disabled [41372.469898] ath9k: Driver unloaded [41372.668131] cfg80211: Using static regulatory domain info [41372.668143] cfg80211: Regulatory domain: EU [41372.668147] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [41372.668152] (2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm) [41372.668157] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [41372.668162] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [41372.668166] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
Quoted 8 lines
[41372.668171] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm) [41372.668176] (5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [41372.763365] ath9k: 0.1 [41372.764880] ath9k 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [41372.764908] ath9k 0000:03:00.0: setting latency timer to 64 [41372.993431] BUG: unable to handle kernel NULL pointer dereference at 00000004 [41372.993605] IP: [<f8ae6f8f>] :cfg80211:wiphy_update_regulatory+0x8f/0x310
Please do:
modprobe -l cfg80211
modprobe -l mac80211
modprobe -l ath9k
Luis
[ath9k-devel] Oops with AR5008 and ath9k
Hi Luis,
Quoted 5 lines
Please do:
modprobe -l cfg80211
modprobe -l mac80211
modprobe -l ath9k
Here is the output of modprobe -l for each module (using compat- wireless-2009-01-19) :-
/lib/modules/2.6.27-9-generic/updates/net/wireless/cfg80211.ko /lib/modules/2.6.27-9-generic/updates/net/mac80211/mac80211.ko /lib/modules/2.6.27-9-generic/updates/drivers/net/wireless/ath9k/ath9k.ko
Note I have the following in my /etc/modprobe.d/options:-
options cfg80211 ieee80211_regdom=EU
If I comment this out, and do a depmod -a, then all works:-
[ 313.012926] cfg80211: Using static regulatory domain info [ 313.012943] cfg80211: Regulatory domain: US [ 313.012949] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 313.012956] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) [ 313.012964] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012970] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012977] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012984] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 313.012991] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [ 313.012997] cfg80211: Calling CRDA for country: US [ 342.159188] ath9k: 0.1 [ 342.161262] ath9k 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 342.161286] ath9k 0000:03:00.0: setting latency timer to 64 [ 342.299291] phy0: Selected rate control algorithm 'ath9k_rate_control' [ 342.421479] Registered led device: ath9k-phy0:radio [ 342.421840] Registered led device: ath9k-phy0:assoc [ 342.422119] Registered led device: ath9k-phy0:tx [ 342.422369] Registered led device: ath9k-phy0:rx [ 342.422385] phy0: Atheros AR5418 MAC/BB Rev:2 AR5133 RF Rev:81: mem=0xf9000000, irq=17 [ 346.460314] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 346.555810] NET: Registered protocol family 17 [ 348.594855] wlan0: authenticate with AP f764b628 [ 348.596828] wlan0: authenticated [ 348.596840] wlan0: associate with AP f764b628 [ 348.599255] wlan0: RX AssocResp from ee4c004a (capab=0x401 status=0 aid=4) [ 348.599268] wlan0: associated [ 348.600798] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 348.607684] wlan0: disassociating by local choice (reason=3) [ 358.604058] wlan0: no IPv6 routers present
If I modporbe with ieee80211_regdom=US then all still works fine and I can modprobe mac80211
followed by ath9k without problems.
If I use ieee80211_regdom=EU when I modprobe cfg80211 it apparently loads ok, followed by mac80211, again apparently OK,
but then when I modprobe ath9k we get the Oops.
The above is associating with a D-Link DI-624
Switching to an 802.11n capable D-Link DAP-1353 (firmware 2.10)
[ 591.852428] wlan0: disassociating by local choice (reason=3) [ 596.126394] wlan0: authenticate with AP f7a1e628 [ 596.128907] wlan0: authenticated [ 596.128919] wlan0: associate with AP f7a1e628 [ 596.139672] wlan0: RX AssocResp from f74a604a (capab=0x431 status=0 aid=1) [ 596.139685] wlan0: associated
Connection speed is variously reported between 1 and 54 Mbps however it typically runs at around 16 regardless of what it reports. The AP reports the connection as being 802.11g never 802.11n (laptop and AP will connect at 802.11n using another OS).
With either AP there is nothing in dmesg to suggest that the regulatory domain is being recognised and changed from US to EU although both have EU firmware.
Regards,
Michael
Quoted 9 lines · Ciccio
2009/1/18 Sujith <[email protected]>:
Quoted 8 lines
Quoted 3 lines · Ciccio
The default opensuse 11.1 kernel, which is 2.6.27.7, but I also tried other kernels without success, including the latest 2.6.29-rc2 compiled from source. All kernels are for
x86_64arch.Can you post the kernel log after loading ath9k as 'modrobe ath9k debug=0x00002000' ?
Note:CONFIG_ATH9K_DEBUG=yhas to be present in your .config
Also, this option is present in newer kernels, so 2.6.29-rc2 should do fine.
Can you post the debug log after you try to associate ? Also, the commands that you used, the AP's details (encryption, mode).
Sujith
Signature · 1 line
http://sujith-m.blogspot.com
Hi,
just to let you know, the ath9k is working now. I just upgraded the bios and now the led turns on and the wireless card associates correctly.
Thank you anyway for your help.