QCA9984 with kernel panic

Ben Greear greearb at candelatech.com
Tue Mar 21 06:47:23 PDT 2017


Try enabling vt-d in your BIOS.

Thanks,
Ben

On 03/21/2017 01:17 AM, 吳重毅 wrote:
> Hi all:
> I have a PCIE wireless card which chip is QCA9984. Since I noticed
> that ath10k is support this chip since linux kernel 4.8. I first test
> it with my PC which Ubuntu16.04 and kernel 4.8 installed. But I get
> kernel panic immediately while booting system. And the same situation
> with Ubuntu+kernel4.10. Then I test it with latest Arch Linux which
> kernel is 4.10 and I get the same result.  Can anyone help me figure
> out what should I do now?
>
> Panic log:
> Ubuntu:
>
> [0.893432] Failed to find cpu0 device node
> [2.113821] scsi host4: runtime PM trying to activate child device
> host4 but parent (1—1.1:1.0) is not active
> /dev/sa1: clean, 224325/30328560 files, 3104406/121077760 blocks
> [3.311732] sd 4:0:0:0: [sdb] No Caching mode page found
> [3.311785] sd 4:0:0:0: [sdb] assuming drive cache: write through
> [17.005967] DMA: Out of SA—IOMMU space for 770224 bytes at device 0000:03:00.0
> [17.005998] Kernel panic - not syncing: DMA: Random memory could be DMA read
> [17.005998]
> [17.006024] CPU: 2 PID: 72 Comm: Kworker/u8:3 Not tainted
> 4.8.0—040800-generic #201610022031
> [17.006047] Hardware name: Acer Aspire M1935/Aspire M1935, BIOS
> P01-H2L 06/14/2012
> [17.006077] Workqueue: ath10k_aux_wq
> ath10k_wmi_event_service_ready_work [ath10k_core]
> [17.006101] 0000000000000086 0000000013bbb388 ffffffff9f75aec4 ffffffffffffffOO
> [17.006129] ffffaO2bd1957cb0 ffffffff9f587c51 0000000000000008 ffffa02bd1957cc0
> [17.006157] ffffaO2bd1957058 0000000013bbba88 0000000000000018 ffffaO2bde30db68
> [17.006183] Call Trace:
> [17.006196] [<ffffffff9f75aec4>] ? dump_stack+0xSc/0x78
> [17.006213] [<ffffffff9f587c51>] ? panic+0xe4/0x226
> [17.006230] [<ffffffff9f78516c>] ? swiotlb_map_page+0x16c/0x1c0
> [17.006251] [<ffffffffco789c93>] ?
> ath10k_wmi_event_service_ready_work+0x353/0x640 [ath10k_core]
> [17.006276] [<ffffffff9f498cf4>] ? process_one_work+0x184/0x4b0
> [17.006293] [<ffffffff9f499066>] ? worker_thread+0x4d/0x480
> [17.006312] [<ffffffff9fb3b8d1>] ? __schedule+0x261/0x720
> [17.006328] [<ffffffff9f499020>] ? process_one_work+0x4b0/0x4b0
> [17.006347] [<ffffffff9f49f1cd>] ? kthread+0xcd/0xf0
> [17.006363] [<ffffffff9f42c751>] ? __switch_to+0x2c1/0x7a0
> [17.006380] [<ffffffff9fb4041f>] ? ret_from_fork+0x1f/0x40
> [17.006397] [<ffffffff9f49f100>] ? kthread_create_on_node+0x1a0/0x1a0
> [17.006439] Kernel Offset: 0x1e400000 from 0xffffffff81000000
> (relocation range: Oxffffffff80000000-0xffffffffbfffffff)
> [17.006469] —--[ end Kernel panic - not syncing: DMA: Random memory
> could be DMA read
>
> Arch Linux:
> CPU: 3 PID: 111 Comm: kworker/u8:3 Not tainted 4.10.3-1-ARCH #1
> Hardware name: Acer Aspire M1935/Aspire M1935, BIOS P01-A2L 06/14/2012
> Workqueue: ath10k_aux_wq ath10k_wmi_event_service_ready_work [ath10k_core]
> Call Trace:
>  <IRQ>
>  dump_stack_0x63/0x83
>  __warn+0xcb/0xf0
>  warn_slowpath_null_0x1d/0x20
>  native_smp_send_reschedule+0x3a/0x40
>  resched_curr+0xc3/0xd0
>  check_preempt_curr+0x52/0x90
>  ttwu_do_wakeup+0x19/0xf0
>  ttwu_do_active_0x6f/0x80
>  try_to_wake_up+0x165/0x3c0
>  default_wake_function+0x12/0x20
>  __wake_up_common+0x4d/0x80
>  __wake_up_locked+0x13/0x20
>  ep_poll_callback+0x128/0x1e0
>  __wake_up_common+0x4d/0x80
>  __wake_up+0x39/0x50
>  wake_up_klogd_work_func+0x40/0x60
>  irq_work_run_list+0x48/0x70
>  ? tick_sched_handle.isra.7+0x50/0x50
>  irq_work_tick+0x40/0x50
>  update_process_timer+0x42/0x70
>  tick_sched_handle.isra.7+0x21/0x50
>  tick_sched_timer+0x42/0x70
>  __hrtimer_interrupt+0xa4/0x1e0
>  local_apic_timer_interrupt+0x89/0x90
>  apic_timer_interrupt+0x89/0x90
> RIP: 0010:panic+0x1ed0x22d
> RSP: 0018:ffffc90000ad7c20 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10
> RAX: 000000000000004e RBX: 0000000000000000 RCX: 0000000000000006
> RDX: 0000000000000080 RSI: 0000000000000047 RDI: ffff88011e38dca0
> RBP: ffffc98000ad7c98 R08: 0000000000000000 R09: 00000000000002e1
> R10: ffffffff81b06990 R11: 0000000000008001 R12: 0000000000000000
> R13: 0000000000000000 R14: 00000000000bc0b0 R15: 0000000000000000
>  </IRQ>
>  swiotlb_full+0x88/0xa0
>  swiotlb_map_page+0x14c/0x160
>  ath10k_wmi_event_service_ready_work+0x367/0x690 [ath10k_core]
>  ? set_next_entity_0x4c/0xb90
>  process_one_work+0x1e5/0x470
>  woeker_thread+0x48/0x4e0
>  kthread+0x101/0x140
>  ? process_one_work+0x470/0x470
>  ? kthread_create_on_node+0x60/0x60
>  ret_from_fork+0x2c/0x40
> ---[end trace 7d08cfff2e381005 ]---
>

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the ath10k mailing list