When I set two PC with Atheros AR2413 in mesh mode, they can find each other, then I tried to ping each other, after send 10-12 ping packets, the PC will hang up, below is the dmesg output, I suspicion this bug is the same as this one http://marc.info/?l=linux-wireless&m=121731102709834&w=2, but don't know if anyone has solved it?
[ 94.041925] ath5k_pci 0000:04:00.0: enabling device (0000 -> 0002) [ 94.048025] ath5k_pci 0000:04:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 94.056701] ath5k_pci 0000:04:00.0: registered as 'phy0' [ 94.154253] phy0: Selected rate control algorithm 'pid' [ 94.168037] ath5k phy0: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45) [ 136.445196] mesh: no IPv6 routers present [ 577.621901] Mesh plink (peer, state, llid, plid, event): 00:19:e0:86:0f:2f 0 0 0 1 [ 577.631229] Mesh plink (peer, state, llid, plid, event): 00:19:e0:86:0f:2f 2 47797 62946 4 [ 577.639420] Mesh plink with 00:19:e0:86:0f:2f ESTABLISHED [ 602.864544] BUG: sleeping function called from invalid context at mm/slab.c:3043 [ 602.869975] in_atomic():1, irqs_disabled():0 [ 602.874241] INFO: lockdep is turned off. [ 602.878162] Pid: 5160, comm: ath5k_pci Not tainted 2.6.27-rc1-wl-14922-gb73da91 #4 [ 602.885719] [<c0172e5f>] kmem_cache_alloc+0xef/0x110 [ 602.890794] [<c04e9908>] mesh_path_add+0xb8/0x2f0 [ 602.895610] [<c04e9908>] mesh_path_add+0xb8/0x2f0 [ 602.900468] [<c04eb8c6>] hwmp_route_info_get+0x406/0x4c0 [ 602.905886] [<c04eb4e5>] hwmp_route_info_get+0x25/0x4c0 [ 602.911927] [<c04eb9f4>] mesh_rx_path_sel_frame+0x74/0x870 [ 602.917257] [<c04d76dd>] ieee80211_rx_bss_info+0x67d/0xe80 [ 602.922846] [<c04d70dc>] ieee80211_rx_bss_info+0x7c/0xe80 [ 602.928353] [<c04d9d40>] ieee80211_rx_mgmt_action+0x180/0x8a0 [ 602.933948] [<c042429a>] skb_dequeue+0x1a/0x70 [ 602.938499] [<c0505107>] _spin_unlock_irqrestore+0x37/0x60 [ 602.944091] [<c04dd089>] ieee80211_sta_work+0x259/0xfc0 [ 602.949424] [<c012a687>] run_timer_softirq+0x27/0x190 [ 602.954582] [<c050515b>] _spin_unlock_irq+0x2b/0x40 [ 602.959565] [<c012a7bc>] run_timer_softirq+0x15c/0x190 [ 602.964850] [<c012675b>] __do_softirq+0x7b/0xc0 [ 602.969492] [<c012667f>] _local_bh_enable+0x3f/0xa0 [ 602.974476] [<c0126aa4>] irq_exit+0x44/0x50 [ 602.978769] [<c01310cc>] run_workqueue+0xfc/0x1e0 [ 602.983579] [<c04dce30>] ieee80211_sta_work+0x0/0xfc0 [ 602.988735] [<c013111e>] run_workqueue+0x14e/0x1e0 [ 602.993631] [<c01310cc>] run_workqueue+0xfc/0x1e0 [ 602.998443] [<c0131b00>] worker_thread+0x0/0xd0 [ 603.003127] [<c0131b7d>] worker_thread+0x7d/0xd0 [ 603.007852] [<c0134830>] autoremove_wake_function+0x0/0x40 [ 603.013442] [<c0131b00>] worker_thread+0x0/0xd0 [ 603.018123] [<c0134562>] kthread+0x42/0x70 [ 603.022326] [<c0134520>] kthread+0x0/0x70 [ 603.026445] [<c0103f8b>] kernel_thread_helper+0x7/0x1c [ 603.031692] ======================= [ 607.867013] BUG: sleeping function called from invalid context at mm/slab.c:3043 [ 607.871954] in_atomic():1, irqs_disabled():0 [ 607.876220] INFO: lockdep is turned off. [ 607.880141] Pid: 5182, comm: ping Not tainted 2.6.27-rc1-wl-14922-gb73da91 #4 [ 607.887265] [<c0172e5f>] kmem_cache_alloc+0xef/0x110 [ 607.892337] [<c04eaf7b>] mesh_queue_preq+0x4b/0x190 [ 607.897324] [<c04eaf7b>] mesh_queue_preq+0x4b/0x190 [ 607.902304] [<c04e924a>] mesh_path_lookup+0x1a/0xc0 [ 607.907287] [<c04ec6c1>] mesh_nexthop_lookup+0x1d1/0x200 [ 607.912701] [<c04ec525>] mesh_nexthop_lookup+0x35/0x200 [ 607.918049] [<c04e64a7>] ieee80211_subif_start_xmit+0x697/0x740 [ 607.924089] [<c04e6316>] ieee80211_subif_start_xmit+0x506/0x740 [ 607.930113] [<c042a35d>] dev_hard_start_xmit+0x27d/0x310 [ 607.935528] [<c0438a41>] __qdisc_run+0x141/0x1e0 [ 607.940250] [<c042cbc2>] dev_queue_xmit+0xb2/0x500 [ 607.945149] [<c042cdc7>] dev_queue_xmit+0x2b7/0x500 [ 607.950130] [<c042cb49>] dev_queue_xmit+0x39/0x500 [ 607.955041] [<c04463a5>] ip_finish_output+0x105/0x2a0 [ 607.960199] [<c0444d35>] ip_local_out+0x15/0x20 [ 607.964834] [<c0444f7f>] ip_push_pending_frames+0x23f/0x3a0 [ 607.970509] [<c043f1f4>] ip_route_output_flow+0x74/0x280 [ 607.975925] [<c04601a9>] raw_sendmsg+0x749/0x7a0 [ 607.980651] [<c0171677>] poison_obj+0x27/0x50 [ 607.985114] [<c0171913>] cache_free_debugcheck+0xd3/0x230 [ 607.990614] [<c0468417>] inet_sendmsg+0x37/0x70 [ 607.995250] [<c041e43d>] sock_sendmsg+0xcd/0x100 [ 607.999973] [<c0134830>] autoremove_wake_function+0x0/0x40 [ 608.005561] [<c0138ba1>] __atomic_notifier_call_chain+0x81/0xb0 [ 608.011581] [<c0281d18>] copy_from_user+0x38/0x80 [ 608.016391] [<c042641a>] verify_iovec+0x2a/0x90 [ 608.021047] [<c041e5c9>] sys_sendmsg+0x159/0x270 [ 608.025788] [<c0504d7c>] _spin_lock_irqsave+0x6c/0x80 [ 608.030943] [<c01afa05>] dnotify_parent+0x35/0x90 [ 608.035753] [<c041fae3>] sys_socketcall+0xc3/0x2c0 [ 608.040649] [<c0281fda>] copy_to_user+0x3a/0x70 [ 608.045306] [<c02818b4>] trace_hardirqs_on_thunk+0xc/0x10 [ 608.050810] [<c01033d1>] sysenter_do_call+0x12/0x35 [ 608.055810] ======================= [ 612.873012] BUG: sleeping function called from invalid context at mm/slab.c:3043 [ 612.877955] in_atomic():1, irqs_disabled():0 [ 612.882223] INFO: lockdep is turned off. [ 612.886146] Pid: 5182, comm: ping Not tainted 2.6.27-rc1-wl-14922-gb73da91 #4 [ 612.893270] [<c0172e5f>] kmem_cache_alloc+0xef/0x110 [ 612.898346] [<c04eaf7b>] mesh_queue_preq+0x4b/0x190 [ 612.903331] [<c04eaf7b>] mesh_queue_preq+0x4b/0x190 [ 612.908314] [<c04e924a>] mesh_path_lookup+0x1a/0xc0 [ 612.913295] [<c04ec6c1>] mesh_nexthop_lookup+0x1d1/0x200 [ 612.918710] [<c04ec525>] mesh_nexthop_lookup+0x35/0x200 [ 612.924039] [<c04e64a7>] ieee80211_subif_start_xmit+0x697/0x740 [ 612.930062] [<c04e6316>] ieee80211_subif_start_xmit+0x506/0x740 [ 612.936105] [<c0130308>] sys_setresgid+0xd8/0x120 [ 612.940918] [<c042a35d>] dev_hard_start_xmit+0x27d/0x310 [ 612.946335] [<c0438a41>] __qdisc_run+0x141/0x1e0 [ 612.951060] [<c042cbc2>] dev_queue_xmit+0xb2/0x500 [ 612.955956] [<c042cdc7>] dev_queue_xmit+0x2b7/0x500 [ 612.960937] [<c042cb49>] dev_queue_xmit+0x39/0x500 [ 612.965835] [<c04463a5>] ip_finish_output+0x105/0x2a0 [ 612.971009] [<c0444d35>] ip_local_out+0x15/0x20 [ 612.975645] [<c0444f7f>] ip_push_pending_frames+0x23f/0x3a0 [ 612.981320] [<c043f1f4>] ip_route_output_flow+0x74/0x280 [ 612.986735] [<c04601a9>] raw_sendmsg+0x749/0x7a0 [ 612.991461] [<c0426c7f>] __skb_recv_datagram+0x7f/0x230 [ 612.996791] [<c0468417>] inet_sendmsg+0x37/0x70 [ 613.001445] [<c041e43d>] sock_sendmsg+0xcd/0x100 [ 613.006169] [<c0134830>] autoremove_wake_function+0x0/0x40 [ 613.011757] [<c0134830>] autoremove_wake_function+0x0/0x40 [ 613.017346] [<c0281d18>] copy_from_user+0x38/0x80 [ 613.022158] [<c042641a>] verify_iovec+0x2a/0x90 [ 613.026793] [<c041e5c9>] sys_sendmsg+0x159/0x270 [ 613.031518] [<c012675b>] __do_softirq+0x7b/0xc0 [ 613.036174] [<c0504d7c>] _spin_lock_irqsave+0x6c/0x80 [ 613.041331] [<c01afa05>] dnotify_parent+0x35/0x90 [ 613.046142] [<c041fae3>] sys_socketcall+0xc3/0x2c0 [ 613.051037] [<c0281fda>] copy_to_user+0x3a/0x70 [ 613.055672] [<c02818b4>] trace_hardirqs_on_thunk+0xc/0x10 [ 613.061173] [<c01033d1>] sysenter_do_call+0x12/0x35 [ 613.066157] ======================= [ 679.679344] BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0] [ 679.680923] Modules linked in: ath5k [ 679.680923] irq event stamp: 707396 [ 679.680923] hardirqs last enabled at (707395): [<c02dc49f>] acpi_processor_idle+0x2a6/0x3ff [ 679.680923] hardirqs last disabled at (707396): [<c050267d>] schedule+0x6d/0x340 [ 679.680923] softirqs last enabled at (707344): [<c01267e5>] do_softirq+0x45/0x50 [ 679.680923] softirqs last disabled at (707337): [<c01267e5>] do_softirq+0x45/0x50 [ 679.680923] [ 679.680923] Pid: 0, comm: swapper Not tainted (2.6.27-rc1-wl-14922-gb73da91 #4) [ 679.680923] EIP: 0060:[<c0108e98>] EFLAGS: 00000286 CPU: 0 [ 679.680923] EIP is at native_read_tsc+0x8/0x10 [ 679.680923] EAX: 800dad30 EBX: f5077d14 ECX: 00000001 EDX: 00000049 [ 679.680923] ESI: 00000001 EDI: 00000000 EBP: 00000000 ESP: c06f7c48 [ 679.680923] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 679.680923] CR0: 8005003b CR2: b8037a7c CR3: 3656e000 CR4: 000006d0 [ 679.680923] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 679.680923] DR6: ffff0ff0 DR7: 00000400 [ 679.680923] [<c028148c>] delay_tsc+0x1c/0x9c [ 679.680923] [<c0281406>] __delay+0x6/0x10 [ 679.680923] [<c02857dc>] _raw_spin_lock+0xbc/0x140 [ 679.680923] [<c02854b8>] spin_bug+0x18/0x100 [ 679.680923] [<c0504a08>] _spin_lock_bh+0x58/0x70 [ 679.680923] [<f885a3d5>] ath5k_tx+0x335/0x490 [ath5k] [ 679.680923] [<f885a3d5>] ath5k_tx+0x335/0x490 [ath5k] [ 679.680923] [<f885d150>] ath5k_hw_setup_4word_tx_desc+0x0/0x2a0 [ath5k] [ 679.680923] [<c04e577e>] __ieee80211_tx+0x3e/0x160 [ 679.680923] [<c04e5bf7>] ieee80211_master_start_xmit+0x247/0x3e0 [ 679.680923] [<c04e5b27>] ieee80211_master_start_xmit+0x177/0x3e0 [ 679.680923] [<c042a35d>] dev_hard_start_xmit+0x27d/0x310 [ 679.680923] [<c0438a41>] __qdisc_run+0x141/0x1e0 [ 679.680923] [<c042cbc2>] dev_queue_xmit+0xb2/0x500 [ 679.680923] [<c042cdc7>] dev_queue_xmit+0x2b7/0x500 [ 679.680923] [<c042cb49>] dev_queue_xmit+0x39/0x500 [ 679.680923] [<c04eb2d6>] mesh_path_error_tx+0xe6/0x100 [ 679.680923] [<c04e9728>] mesh_plink_broken+0xc8/0x130 [ 679.680923] [<c04e9660>] mesh_plink_broken+0x0/0x130 [ 679.680923] [<c04ecf32>] rate_control_pid_tx_status+0x582/0x5a0 [ 679.680923] [<c04ec9d5>] rate_control_pid_tx_status+0x25/0x5a0 [ 679.680923] [<c04cfd60>] ieee80211_tx_status+0x240/0x4f0 [ 679.680923] [<c04cfbd5>] ieee80211_tx_status+0xb5/0x4f0 [ 679.680923] [<c04cfb20>] ieee80211_tx_status+0x0/0x4f0 [ 679.680923] [<f8858f36>] ath5k_tasklet_tx+0x126/0x250 [ath5k] [ 679.680923] [<c0126903>] tasklet_action+0x43/0x90 [ 679.680923] [<c0126742>] __do_softirq+0x62/0xc0 [ 679.680923] [<c01267e5>] do_softirq+0x45/0x50 [ 679.680923] [<c0126aa4>] irq_exit+0x44/0x50 [ 679.680923] [<c0105de6>] do_IRQ+0x46/0x90 [ 679.680923] [<c02818c4>] trace_hardirqs_off_thunk+0xc/0x18 [ 679.680923] [<c0103df8>] common_interrupt+0x28/0x30 [ 679.680923] [<c02dc47c>] acpi_processor_idle+0x283/0x3ff [ 679.680923] [<c0101dff>] cpu_idle+0x2f/0x80 [ 679.680923] ======================= [ 745.177504] BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0] [ 745.179923] Modules linked in: ath5k [ 745.179923] irq event stamp: 707396 [ 745.179923] hardirqs last enabled at (707395): [<c02dc49f>] acpi_processor_idle+0x2a6/0x3ff [ 745.179923] hardirqs last disabled at (707396): [<c050267d>] schedule+0x6d/0x340 [ 745.179923] softirqs last enabled at (707344): [<c01267e5>] do_softirq+0x45/0x50 [ 745.179923] softirqs last disabled at (707337): [<c01267e5>] do_softirq+0x45/0x50 [ 745.179923] [ 745.179923] Pid: 0, comm: swapper Not tainted (2.6.27-rc1-wl-14922-gb73da91 #4) [ 745.179923] EIP: 0060:[<c0108e98>] EFLAGS: 00000286 CPU: 0 [ 745.179923] EIP is at native_read_tsc+0x8/0x10 [ 745.179923] EAX: ec8607fa EBX: f5077d14 ECX: 00000001 EDX: 00000067 [ 745.179923] ESI: 00000001 EDI: ec860764 EBP: 00000000 ESP: c06f7c48 [ 745.179923] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 745.179923] CR0: 8005003b CR2: b8037a7c CR3: 3656e000 CR4: 000006d0 [ 745.179923] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 745.179923] DR6: ffff0ff0 DR7: 00000400 [ 745.179923] [<c02814c1>] delay_tsc+0x51/0x9c [ 745.179923] [<c0281406>] __delay+0x6/0x10 [ 745.179923] [<c02857dc>] _raw_spin_lock+0xbc/0x140 [ 745.179923] [<c02854b8>] spin_bug+0x18/0x100 [ 745.179923] [<c0504a08>] _spin_lock_bh+0x58/0x70 [ 745.179923] [<f885a3d5>] ath5k_tx+0x335/0x490 [ath5k] [ 745.179923] [<f885a3d5>] ath5k_tx+0x335/0x490 [ath5k] [ 745.179923] [<f885d150>] ath5k_hw_setup_4word_tx_desc+0x0/0x2a0 [ath5k] [ 745.179923] [<c04e577e>] __ieee80211_tx+0x3e/0x160 [ 745.179923] [<c04e5bf7>] ieee80211_master_start_xmit+0x247/0x3e0 [ 745.179923] [<c04e5b27>] ieee80211_master_start_xmit+0x177/0x3e0 [ 745.179923] [<c042a35d>] dev_hard_start_xmit+0x27d/0x310 [ 745.179923] [<c0438a41>] __qdisc_run+0x141/0x1e0 [ 745.179923] [<c042cbc2>] dev_queue_xmit+0xb2/0x500 [ 745.179923] [<c042cdc7>] dev_queue_xmit+0x2b7/0x500 [ 745.179923] [<c042cb49>] dev_queue_xmit+0x39/0x500 [ 745.179923] [<c04eb2d6>] mesh_path_error_tx+0xe6/0x100 [ 745.179923] [<c04e9728>] mesh_plink_broken+0xc8/0x130 [ 745.179923] [<c04e9660>] mesh_plink_broken+0x0/0x130 [ 745.179923] [<c04ecf32>] rate_control_pid_tx_status+0x582/0x5a0 [ 745.179923] [<c04ec9d5>] rate_control_pid_tx_status+0x25/0x5a0 [ 745.179923] [<c04cfd60>] ieee80211_tx_status+0x240/0x4f0 [ 745.179923] [<c04cfbd5>] ieee80211_tx_status+0xb5/0x4f0 [ 745.179923] [<c04cfb20>] ieee80211_tx_status+0x0/0x4f0 [ 745.179923] [<f8858f36>] ath5k_tasklet_tx+0x126/0x250 [ath5k] [ 745.179923] [<c0126903>] tasklet_action+0x43/0x90 [ 745.179923] [<c0126742>] __do_softirq+0x62/0xc0 [ 745.179923] [<c01267e5>] do_softirq+0x45/0x50 [ 745.179923] [<c0126aa4>] irq_exit+0x44/0x50 [ 745.179923] [<c0105de6>] do_IRQ+0x46/0x90 [ 745.179923] [<c02818c4>] trace_hardirqs_off_thunk+0xc/0x18 [ 745.179923] [<c0103df8>] common_interrupt+0x28/0x30 [ 745.179923] [<c02dc47c>] acpi_processor_idle+0x283/0x3ff [ 745.179923] [<c0101dff>] cpu_idle+0x2f/0x80 [ 745.179923] ======================= [ 810.675575] BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0] [ 810.677923] Modules linked in: ath5k [ 810.677923] irq event stamp: 707396 [ 810.677923] hardirqs last enabled at (707395): [<c02dc49f>] acpi_processor_idle+0x2a6/0x3ff [ 810.677923] hardirqs last disabled at (707396): [<c050267d>] schedule+0x6d/0x340 [ 810.677923] softirqs last enabled at (707344): [<c01267e5>] do_softirq+0x45/0x50 [ 810.677923] softirqs last disabled at (707337): [<c01267e5>] do_softirq+0x45/0x50 [ 810.677923] [ 810.677923] Pid: 0, comm: swapper Not tainted (2.6.27-rc1-wl-14922-gb73da91 #4) [ 810.677923] EIP: 0060:[<c0108e9b>] EFLAGS: 00000286 CPU: 0 [ 810.677923] EIP is at native_read_tsc+0xb/0x10 [ 810.677923] EAX: 58dff3ca EBX: f5077d14 ECX: 00000001 EDX: 00000086 [ 810.677923] ESI: 00000001 EDI: 00000000 EBP: 00000000 ESP: c06f7c48 [ 810.677923] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 810.677923] CR0: 8005003b CR2: b8037a7c CR3: 3656e000 CR4: 000006d0 [ 810.677923] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 810.677923] DR6: ffff0ff0 DR7: 00000400 [ 810.677923] [<c028148c>] delay_tsc+0x1c/0x9c [ 810.677923] [<c0281406>] __delay+0x6/0x10 [ 810.677923] [<c02857dc>] _raw_spin_lock+0xbc/0x140 [ 810.677923] [<c02854b8>] spin_bug+0x18/0x100 [ 810.677923] [<c0504a08>] _spin_lock_bh+0x58/0x70 [ 810.677923] [<f885a3d5>] ath5k_tx+0x335/0x490 [ath5k] [ 810.677923] [<f885a3d5>] ath5k_tx+0x335/0x490 [ath5k] [ 810.677923] [<f885d150>] ath5k_hw_setup_4word_tx_desc+0x0/0x2a0 [ath5k] [ 810.677923] [<c04e577e>] __ieee80211_tx+0x3e/0x160 [ 810.677923] [<c04e5bf7>] ieee80211_master_start_xmit+0x247/0x3e0 [ 810.677923] [<c04e5b27>] ieee80211_master_start_xmit+0x177/0x3e0 [ 810.677923] [<c042a35d>] dev_hard_start_xmit+0x27d/0x310 [ 810.677923] [<c0438a41>] __qdisc_run+0x141/0x1e0 [ 810.677923] [<c042cbc2>] dev_queue_xmit+0xb2/0x500 [ 810.677923] [<c042cdc7>] dev_queue_xmit+0x2b7/0x500 [ 810.677923] [<c042cb49>] dev_queue_xmit+0x39/0x500 [ 810.677923] [<c04eb2d6>] mesh_path_error_tx+0xe6/0x100 [ 810.677923] [<c04e9728>] mesh_plink_broken+0xc8/0x130 [ 810.677923] [<c04e9660>] mesh_plink_broken+0x0/0x130 [ 810.677923] [<c04ecf32>] rate_control_pid_tx_status+0x582/0x5a0 [ 810.677923] [<c04ec9d5>] rate_control_pid_tx_status+0x25/0x5a0 [ 810.677923] [<c04cfd60>] ieee80211_tx_status+0x240/0x4f0 [ 810.677923] [<c04cfbd5>] ieee80211_tx_status+0xb5/0x4f0 [ 810.677923] [<c04cfb20>] ieee80211_tx_status+0x0/0x4f0 [ 810.677923] [<f8858f36>] ath5k_tasklet_tx+0x126/0x250 [ath5k] [ 810.677923] [<c0126903>] tasklet_action+0x43/0x90 [ 810.677923] [<c0126742>] __do_softirq+0x62/0xc0 [ 810.677923] [<c01267e5>] do_softirq+0x45/0x50 [ 810.677923] [<c0126aa4>] irq_exit+0x44/0x50 [ 810.677923] [<c0105de6>] do_IRQ+0x46/0x90 [ 810.677923] [<c02818c4>] trace_hardirqs_off_thunk+0xc/0x18 [ 810.677923] [<c0103df8>] common_interrupt+0x28/0x30 [ 810.677923] [<c02dc47c>] acpi_processor_idle+0x283/0x3ff [ 810.677923] [<c0101dff>] cpu_idle+0x2f/0x80 [ 810.677923] ======================= _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel