Maybe a bug somewhere in the WIFI driver
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 184 lines · BARRAL Adrien
Hello,
Here is a description of my system :
Linux : 2.6.35-22-generic (on a ubuntu 10.04 LTS)
My wifi card is : 02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
"dmesg" outputs about the wifi controller are :
Oct 10 17:28:49 kernel: [?? 12.546288] ath9k 0000:02:00.0: PCI INT A -> GSI17 (level, low) -> IRQ 17
Oct 10 17:28:49 kernel: [?? 12.606040] HDA Intel 0000:00:1b.0: PCI INT A ->GSI 16 (level, low) -> IRQ 16
Oct 10 17:28:49 kernel: [?? 12.653486] phy0: Atheros AR9285 Rev:2mem=0xf8e60000, irq=17
I am using an atheros Wifi Card in ad-hoc mode, I create my ad-hoc network with two differents ways :
1. Thanks to the following commands :
??????????????? ifconfig wlan2 down
??????????????? iwconfig wlan2 mode Ad-Hoc
??????????????? iwconfig wlan2 essid "Toto"
??????????????? ifconfig wlan2 up
2. Thanks to the ubuntu network manager "Create a New Network" function's.
The way I use to create the network doesn't matter.
A few minutes after the AdHoc network is created, my system freeze. I have got the following message in
/var/log/kernel:----------------- START OF MESSAGE ------------------
Oct 11 09:44:52 kernel: [? 840.290670] BUG: unable to handle kernel NULLpointer dereference at 00000080
Oct 11 09:44:52 kernel: [? 840.290682] IP: [<c020cb7c>]
__kmalloc_track_caller+0x6c/0x170Oct 11 09:44:52 kernel: [? 840.290697] *pde = 7e630067Oct 11 09:44:52 ??kernel: [? 840.290703] Oops: 0000 [#1] SMPOct 11 09:44:52 ??kernel: [? 840.290709] last sysfs file:/sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/local_cpus
Oct 11 09:44:52 ??kernel: [? 840.290716] Modules linked in: ipt_MASQUERADE
xt_stateipt_REJECTxt_tcpudpiptable_filternf_nat_h323nf_conntrack_h323nf_nat_pptpnf_conntrack_pptpnf_conntrack_proto_grenf_nat_proto_grenf_nat_tftpnf_conntrack_tftpnf_nat_sipnf_conntrack_sipnf_nat_ircnf_conntrack_ircnf_nat_ftpnf_conntrack_ftpiptable_natnf_natnf_conntrack_ipv4nf_conntracknf_defrag_ipv4ip_tablesx_tablesnls_iso8859_1nls_cp437vfat fatparport_pcppdevsnd_hda_codec_nvhdmibinfmt_miscsnd_hda_codec_realteksnd_hda_intelsnd_hda_codecnvidia(P) arc4snd_usb_audioath9ksnd_hwdepsnd_usbmidi_libsnd_pcmath9k_commonsnd_seq_midiath9k_hwjoydevsnd_rawmidiath mac80211snd_seq_midi_eventsnd_seqsnd_timerusbhidsnd_seq_devicecfg80211 uvcvideointel_agpusb_storagehid sndcdc_acmpsmouse videodevv4l1_compatled_classserio_rawcoretempxhci_hcdagpgart soundcoresnd_page_alloclp parport r8169 miiOct 11 09:44:52 ??kernel: [? 840.290822]Oct 11 09:44:52 ??kernel: [? 840.290829] Pid: 757, comm: phy0 Tainted:P??????????? 2.6.35-22-generic #33-Ubuntu To be filled by O.E.M./To Be Filled By O.E.M.
Oct 11 09:44:52 ??kernel: [? 840.290837] EIP: 0060:[<c020cb7c>] EFLAGS:00010002 CPU: 3
Oct 11 09:44:52 ??kernel: [? 840.290844] EIP is at
__kmalloc_track_caller+0x6c/0x170Oct 11 09:44:52 ??kernel: [? 840.290849] EAX: c2705aec EBX: c07c6888 ECX:
c07c6888EDX: 00000000Oct 11 09:44:52 ??kernel: [? 840.290854] ESI: 000000d0 EDI: 00000080 EBP:
f3f6bebcESP:f3f6be94Oct 11 09:44:52 ??kernel: [? 840.290860]? DS: 007b ES: 007b FS: 00d8 GS:00e0 SS: 0068
Oct 11 09:44:52 ??kernel: [? 840.290866] Process phy0 (pid: 757, ti=f3f6a000task=f3ec3f70 task.ti=f3f6a000)
Oct 11 09:44:52 ??kernel: [? 840.290870] Stack:Oct 11 09:44:52 ??kernel: [? 840.290874]? c2705a98 00000000 c04ece6e
c04eddf800000246000000d0000001c4f35b5300Oct 11 09:44:52 ??kernel: [? 840.290886] <0> 000000d0 000000ff f3f6bedc
c04ece98c07c64d000000000000000c0f35b9000Oct 11 09:44:52 ??kernel: [? 840.290900] <0> 00000000 f080d000 f3f6bef8
c04eddf8fffffffff080d000f3dc848000000000Oct 11 09:44:52 ??kernel: [? 840.290914] Call Trace:Oct 11 09:44:52 ??kernel: [? 840.290924]? [<c04ece6e>] ?
__alloc_skb+0x2e/0x100Oct 11 09:44:52 ??kernel: [? 840.290931]? [<c04eddf8>] ? skb_copy+0x38/0x90Oct 11 09:44:52 ??kernel: [? 840.290938]? [<c04ece98>] ?
__alloc_skb+0x58/0x100Oct 11 09:44:52 ??kernel: [? 840.290944]? [<c04eddf8>] ? skb_copy+0x38/0x90Oct 11 09:44:52 ??kernel: [? 840.290976]? [<f8e3714d>] ?
ieee80211_rx_mgmt_probe_req+0xed/0x130[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291004]? [<f8e3810d>] ?
ieee80211_ibss_rx_queued_mgmt+0x3d/0xf0[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291012]? [<c04ec5c0>] ?
skb_dequeue+0x50/0x70Oct 11 09:44:52 ??kernel: [? 840.291039]? [<f8e38211>] ?
ieee80211_ibss_work+0x51/0xd0[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291049]? [<c0161a4e>] ?
run_workqueue+0x8e/0x150Oct 11 09:44:52 ??kernel: [? 840.291075]? [<f8e381c0>] ?
ieee80211_ibss_work+0x0/0xd0[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291084]? [<c0161b94>] ?
worker_thread+0x84/0xe0Oct 11 09:44:52 ??kernel: [? 840.291092]? [<c0165e10>] ?
autoremove_wake_function+0x0/0x50Oct 11 09:44:52 ??kernel: [? 840.291099]? [<c0161b10>] ?
worker_thread+0x0/0xe0Oct 11 09:44:52 ??kernel: [? 840.291106]? [<c01659e4>] ? kthread+0x74/0x80Oct 11 09:44:52 ??kernel: [? 840.291112]? [<c0165970>] ? kthread+0x0/0x80Oct 11 09:44:52 ??kernel: [? 840.291120]? [<c010363e>] ?
kernel_thread_helper+0x6/0x10Oct 11 09:44:52 ??kernel: [? 840.291123] Code: ec 75 5c 9c 58 8d 74 26 00 8945 e8 fa 90 8d 74 26 00 64 8b 15 54 e0 8b c0 8b 03 8d 04 02 8b 38 85 ff 0f 84 99 00 00 00 8b 53 10 <8b> 14 17 89 10 8b 45 e8 50 9d 8d 74 26 00 85 ff 75 2a 8b 0d e4
Oct 11 09:44:52 ??kernel: [? 840.291196] EIP: [<c020cb7c>]
__kmalloc_track_caller+0x6c/0x170SS:ESP 0068:f3f6be94Oct 11 09:44:52 ??kernel: [? 840.291206] CR2: 0000000000000080Oct 11 09:44:52 ??kernel: [? 840.291212] ---[ end trace 34d01f410e93db66]---
----------------- END OF MESSAGE ------------------
Of course this message is only the call trace of the wifi driver, all process running on the system generate a call trace. I am almost certain that the problem come from the WiFi in AdHoc mode, because if I disable this feature my system never freeze !
Quoted 3 lines
I will try with a newer kernel, but I read all the changelog from the 2.6.35 to 3.0, and I haven't seen any fix about my problem, so I don't think this bug was fixed...
please let us know if this issue occurs in the latest compat build
http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge
i just tried the same in my 3.1.0rc8- wireless-testing, no freeze happened... may be i would have missed something
please disable network-manager(sudo service network-manager stop) before configuring with command
may be the freeze can occur with the network manager enabled and we are trying to create an ad-hoc mode
Quoted 20 lines
Any help will be very appreciated,
Best regads,
Adrien BARRAL.
Robopec._______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 1 line
shafi
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · BARRAL Adrien
Hi Shafi,
I think the bug was corrected.
I installed compat-wireless 2011-10-10 and since, no freeze happens.
thank you very much for trying it out. (added ath9k list)
Quoted 251 lines
Thank you very much.
Regards,
Adrien BARRAL-----Message d'origine-----
De?: Mohammed Shafi [mailto:shafi.wireless at gmail.com] Envoy??: mercredi 12 octobre 2011 06:20
??: BARRAL Adrien
Cc?: ath9k-devel at lists.ath9k.org
Objet?: Re: [ath9k-devel] Maybe a bug somewhere in the WIFI driverQuoted 6 lines · BARRAL Adrien
Hello,
Here is a description of my system :
Quoted 8 lines
Linux : 2.6.35-22-generic (on a ubuntu 10.04 LTS)
My wifi card is : 02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
"dmesg" outputs about the wifi controller are :
Oct 10 17:28:49 kernel: [?? 12.546288] ath9k 0000:02:00.0: PCI INT A ->GSI
Quoted 3 lines
17 (level, low) -> IRQ 17
Oct 10 17:28:49 kernel: [?? 12.606040] HDA Intel 0000:00:1b.0: PCI INT A->
Quoted 48 lines
GSI 16 (level, low) -> IRQ 16
Oct 10 17:28:49 kernel: [?? 12.653486] phy0: Atheros AR9285 Rev:2mem=0xf8e60000, irq=17
I am using an atheros Wifi Card in ad-hoc mode, I create my ad-hoc network with two differents ways :
1. Thanks to the following commands :
??????????????? ifconfig wlan2 down
??????????????? iwconfig wlan2 mode Ad-Hoc
??????????????? iwconfig wlan2 essid "Toto"
??????????????? ifconfig wlan2 up
2. Thanks to the ubuntu network manager "Create a New Network" function's.
The way I use to create the network doesn't matter.
A few minutes after the AdHoc network is created, my system freeze. I have got the following message in
/var/log/kernel:----------------- START OF MESSAGE ------------------
Oct 11 09:44:52 kernel: [? 840.290670] BUG: unable to handle kernel NULLpointer dereference at 00000080
Oct 11 09:44:52 kernel: [? 840.290682] IP: [<c020cb7c>]
__kmalloc_track_caller+0x6c/0x170Oct 11 09:44:52 kernel: [? 840.290697] *pde = 7e630067Oct 11 09:44:52 ??kernel: [? 840.290703] Oops: 0000 [#1] SMPOct 11 09:44:52 ??kernel: [? 840.290709] last sysfs file:/sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/local_cpus
Quoted 8 lines
Oct 11 09:44:52 ??kernel: [? 840.290716] Modules linked in: ipt_MASQUERADE
xt_stateipt_REJECTxt_tcpudpiptable_filternf_nat_h323nf_conntrack_h323nf_nat_pptpnf_conntrack_pptpnf_conntrack_proto_grenf_nat_proto_grenf_nat_tftpnf_conntrack_tftpnf_nat_sipnf_conntrack_sipnf_nat_ircnf_conntrack_ircnf_nat_ftpnf_conntrack_ftpiptable_natnf_natnf_conntrack_ipv4nf_conntracknf_defrag_ipv4ip_tablesx_tablesnls_iso8859_1nls_cp437vfat fatparport_pcppdevsnd_hda_codec_nvhdmibinfmt_miscsnd_hda_codec_realteksnd_hda_intelsnd_hda_codecnvidia(P)arc4
Quoted 4 lines
snd_usb_audioath9ksnd_hwdepsnd_usbmidi_libsnd_pcmath9k_commonsnd_seq_midiath9k_hwjoydevsnd_rawmidiath mac80211snd_seq_midi_eventsnd_seqsnd_timerusbhidsnd_seq_devicecfg80211 uvcvideointel_agpusb_storagehid sndcdc_acmpsmouse videodevv4l1_compatled_class
serio_rawQuoted 17 lines
coretemp
xhci_hcdagpgart soundcoresnd_page_alloclp parport r8169 miiOct 11 09:44:52 ??kernel: [? 840.290822]Oct 11 09:44:52 ??kernel: [? 840.290829] Pid: 757, comm: phy0 Tainted:P??????????? 2.6.35-22-generic #33-Ubuntu To be filled by O.E.M./To Be Filled By O.E.M.
Oct 11 09:44:52 ??kernel: [? 840.290837] EIP: 0060:[<c020cb7c>] EFLAGS:00010002 CPU: 3
Oct 11 09:44:52 ??kernel: [? 840.290844] EIP is at
__kmalloc_track_caller+0x6c/0x170Oct 11 09:44:52 ??kernel: [? 840.290849] EAX: c2705aec EBX: c07c6888 ECX:
c07c6888EDX: 00000000Quoted 7 lines
Oct 11 09:44:52 ??kernel: [? 840.290854] ESI: 000000d0 EDI: 00000080 EBP:
f3f6bebcESP:f3f6be94Oct 11 09:44:52 ??kernel: [? 840.290860]? DS: 007b ES: 007b FS: 00d8 GS:00e0 SS: 0068
Oct 11 09:44:52 ??kernel: [? 840.290866] Process phy0 (pid: 757,ti=f3f6a000
Quoted 11 lines
task=f3ec3f70 task.ti=f3f6a000)
Oct 11 09:44:52 ??kernel: [? 840.290870] Stack:Oct 11 09:44:52 ??kernel: [? 840.290874]? c2705a98 00000000 c04ece6e
c04eddf800000246000000d0000001c4f35b5300Oct 11 09:44:52 ??kernel: [? 840.290886] <0> 000000d0 000000ff f3f6bedc
c04ece98c07c64d000000000000000c0f35b9000Oct 11 09:44:52 ??kernel: [? 840.290900] <0> 00000000 f080d000 f3f6bef8Quoted 8 lines
c04eddf8fffffffff080d000f3dc848000000000Oct 11 09:44:52 ??kernel: [? 840.290914] Call Trace:Oct 11 09:44:52 ??kernel: [? 840.290924]? [<c04ece6e>] ?
__alloc_skb+0x2e/0x100Oct 11 09:44:52 ??kernel: [? 840.290931]? [<c04eddf8>] ?
skb_copy+0x38/0x90Quoted 5 lines
Oct 11 09:44:52 ??kernel: [? 840.290938]? [<c04ece98>] ?
__alloc_skb+0x58/0x100Oct 11 09:44:52 ??kernel: [? 840.290944]? [<c04eddf8>] ?
skb_copy+0x38/0x90Quoted 28 lines
Oct 11 09:44:52 ??kernel: [? 840.290976]? [<f8e3714d>] ?
ieee80211_rx_mgmt_probe_req+0xed/0x130[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291004]? [<f8e3810d>] ?
ieee80211_ibss_rx_queued_mgmt+0x3d/0xf0[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291012]? [<c04ec5c0>] ?
skb_dequeue+0x50/0x70Oct 11 09:44:52 ??kernel: [? 840.291039]? [<f8e38211>] ?
ieee80211_ibss_work+0x51/0xd0[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291049]? [<c0161a4e>] ?
run_workqueue+0x8e/0x150Oct 11 09:44:52 ??kernel: [? 840.291075]? [<f8e381c0>] ?
ieee80211_ibss_work+0x0/0xd0[mac80211]Oct 11 09:44:52 ??kernel: [? 840.291084]? [<c0161b94>] ?
worker_thread+0x84/0xe0Oct 11 09:44:52 ??kernel: [? 840.291092]? [<c0165e10>] ?
autoremove_wake_function+0x0/0x50Oct 11 09:44:52 ??kernel: [? 840.291099]? [<c0161b10>] ?
worker_thread+0x0/0xe0Quoted 8 lines
Oct 11 09:44:52 ??kernel: [? 840.291106]? [<c01659e4>] ? kthread+0x74/0x80Oct 11 09:44:52 ??kernel: [? 840.291112]? [<c0165970>] ? kthread+0x0/0x80Oct 11 09:44:52 ??kernel: [? 840.291120]? [<c010363e>] ?
kernel_thread_helper+0x6/0x10Oct 11 09:44:52 ??kernel: [? 840.291123] Code: ec 75 5c 9c 58 8d 74 26 0089
Quoted 2 lines
45 e8 fa 90 8d 74 26 00 64 8b 15 54 e0 8b c0 8b 03 8d 04 02 8b 38 85 ff 0f 84 99 00 00 00 8b 53 10 <8b> 14 17 89 10 8b 45 e8 50 9d 8d 74 26 00 85 ff
75
Quoted 10 lines
2a 8b 0d e4
Oct 11 09:44:52 ??kernel: [? 840.291196] EIP: [<c020cb7c>]
__kmalloc_track_caller+0x6c/0x170SS:ESP 0068:f3f6be94Oct 11 09:44:52 ??kernel: [? 840.291206] CR2: 0000000000000080Oct 11 09:44:52 ??kernel: [? 840.291212] ---[ end trace 34d01f410e93db66]---
Quoted 7 lines
----------------- END OF MESSAGE ------------------
Of course this message is only the call trace of the wifi driver, all process running on the system generate a call trace. I am almost certain that the problem come from the WiFi in AdHoc mode, because if I disable
this
Quoted 5 lines
feature my system never freeze !
I will try with a newer kernel, but I read all the changelog from the
2.6.35
Quoted 2 lines
to 3.0, and I haven't seen any fix about my problem, so I don't think this bug was fixed...
please let us know if this issue occurs in the latest compat build
http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge
i just tried the same in my 3.1.0rc8- wireless-testing, no freeze happened... may be i would have missed something
please disable network-manager(sudo service network-manager stop) before configuring with command
may be the freeze can occur with the network manager enabled and we are trying to create an ad-hoc modeQuoted 14 lines
Any help will be very appreciated,
Best regads,
Adrien BARRAL.
Robopec.Quoted 6 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel--
shafi
Signature · 1 line
shafi