Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2019 00:29:29 -0500
From:      Anthony Jenkins <Scoobi_doo@yahoo.com>
To:        freebsd-wireless@FreeBSD.org, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   ath10k driver status?
Message-ID:  <b5164aa3-45a7-2637-1dc8-328696f49117@yahoo.com>

next in thread | raw e-mail | index | archive | help
What is the current status of the Atheros ath10k driver effort?  I have 
a QCA6174 80211ac card in my new laptop.

none9@pci0:59:0:0:      class=0x028000 card=0x15351a56 chip=0x003e168c 
rev=0x32 hdr=0x00
     vendor     = 'Qualcomm Atheros'
     device     = 'QCA6174 802.11ac Wireless Network Adapter'
     class      = network

I pulled/built/loaded 107d83e8 from https://github.com/erikarn/athp.git 
but it panics my kernel whenever i load it:

Fatal trap 9: general protection fault while in kernel mode
cpuid = 8; apic id = 08
instruction pointer     = 0x20:0xffffffff826089ce
stack pointer           = 0x28:0xfffffe00aa8275f0
frame pointer           = 0x28:0xfffffe00aa827650
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (athp0 ath10k_at_wq)
trap number             = 9
panic: general protection fault
cpuid = 8
time = 1547866595
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
0xfffffe00aa827300
vpanic() at vpanic+0x1b4/frame 0xfffffe00aa827360
panic() at panic+0x43/frame 0xfffffe00aa8273c0
trap_fatal() at trap_fatal+0x369/frame 0xfffffe00aa827410
trap() at trap+0x6c/frame 0xfffffe00aa827520
calltrap() at calltrap+0x8/frame 0xfffffe00aa827520
--- trap 0x9, rip = 0xffffffff826089ce, rsp = 0xfffffe00aa8275f0, rbp = 
0xfffffe00aa827650 ---
__ath10k_htt_rx_ring_fill_n() at __ath10k_htt_rx_ring_fill_n+0x2ae/frame 
0xfffffe00aa827650
ath10k_htt_rx_ring_fill_n() at ath10k_htt_rx_ring_fill_n+0x1b/frame 
0xfffffe00aa827670
ath10k_htt_rx_ring_refill() at ath10k_htt_rx_ring_refill+0x65/frame 
0xfffffe00aa8276b0
ath10k_core_start() at ath10k_core_start+0x5d1/frame 0xfffffe00aa827770
ath10k_core_probe_fw() at ath10k_core_probe_fw+0x2ef/frame 
0xfffffe00aa827830
attempt_ath10k_core_probe_fw() at 
attempt_ath10k_core_probe_fw+0x18/frame 0xfffffe00aa827890
ath10k_core_register_work() at ath10k_core_register_work+0x27/frame 
0xfffffe00aa8278e0
taskqueue_run_locked() at taskqueue_run_locked+0x10c/frame 
0xfffffe00aa827940
taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 
0xfffffe00aa827970
fork_exit() at fork_exit+0x84/frame 0xfffffe00aa8279b0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00aa8279b0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic

warning: the debug information found in 
"/usr/lib/debug//boot/modules/if_athp.ko.debug" does not match 
"/boot/modules/if_athp.ko" (CRC mismatch).

warning: the debug information found in 
"/usr/lib/debug//boot/modules/athp_QCA6174_hw3.0_board.bin.ko.debug" 
does not match "/boot/modules/athp_QCA6174_hw3.0_board.bin.ko" (CRC 
mismatch).

warning: the debug information found in 
"/usr/lib/debug//boot/modules/athp_QCA6174_hw3.0_firmware-4.bin.ko.debug" 
does not match "/boot/modules/athp_QCA6174_hw3.0_firmware-4.bin.ko" (CRC 
mismatch).

__curthread () at ./machine/pcpu.h:230
230             __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" 
(OFFSETOF_CURTHREAD));
(kgdb) where
#0  __curthread () at ./machine/pcpu.h:230
#1  doadump (textdump=<optimized out>) at 
/usr/src/sys/kern/kern_shutdown.c:371
#2  0xffffffff8041c35b in db_dump (dummy=<optimized out>, 
dummy2=<unavailable>, dummy3=<unavailable>, dummy4=<unavailable>)
     at /usr/src/sys/ddb/db_command.c:574
#3  0xffffffff8041c11d in db_command (last_cmdp=<optimized out>, 
cmd_table=<optimized out>, dopager=1)
     at /usr/src/sys/ddb/db_command.c:481
#4  0xffffffff8041beb4 in db_command_loop () at 
/usr/src/sys/ddb/db_command.c:534
#5  0xffffffff8041f05f in db_trap (type=<optimized out>, code=<optimized 
out>) at /usr/src/sys/ddb/db_main.c:252
#6  0xffffffff807b7e63 in kdb_trap (type=3, code=0, tf=<optimized out>) 
at /usr/src/sys/kern/subr_kdb.c:692
#7  0xffffffff80af191a in trap (frame=0xfffffe00aa827230) at 
/usr/src/sys/amd64/amd64/trap.c:619
#8  <signal handler called>
#9  kdb_enter (why=0xffffffff80c3ff7b "panic", msg=<optimized out>) at 
/usr/src/sys/kern/subr_kdb.c:479
#10 0xffffffff80770021 in vpanic (fmt=<optimized out>, 
ap=0xfffffe00aa8273a0) at /usr/src/sys/kern/kern_shutdown.c:866
#11 0xffffffff8076fdb3 in panic (fmt=0xffffffff81115b38 <cnputs_mtx> 
"/\252\301\200\377\377\377\377")
     at /usr/src/sys/kern/kern_shutdown.c:804
#12 0xffffffff80af1d39 in trap_fatal (frame=0xfffffe00aa827530, eva=0) 
at /usr/src/sys/amd64/amd64/trap.c:929
#13 0xffffffff80af117c in trap (frame=0xfffffe00aa827530) at 
/usr/src/sys/amd64/amd64/trap.c:217
#14 <signal handler called>
#15 0xffffffff826089ce in __ath10k_htt_rx_ring_fill_n () from 
/boot/modules/if_athp.ko
#16 0xffffffff82605c4b in ath10k_htt_rx_ring_fill_n () from 
/boot/modules/if_athp.ko
#17 0xffffffff82605bd5 in ath10k_htt_rx_ring_refill () from 
/boot/modules/if_athp.ko
#18 0xffffffff825d1851 in ath10k_core_start () from /boot/modules/if_athp.ko
#19 0xffffffff825d2d3f in ath10k_core_probe_fw () from 
/boot/modules/if_athp.ko
#20 0xffffffff825d6048 in attempt_ath10k_core_probe_fw () from 
/boot/modules/if_athp.ko
#21 0xffffffff825d40c7 in ath10k_core_register_work () from 
/boot/modules/if_athp.ko
#22 0xffffffff807ca6ac in taskqueue_run_locked 
(queue=0xfffff80002ced800) at /usr/src/sys/kern/subr_taskqueue.c:467
#23 0xffffffff807cb628 in taskqueue_thread_loop (arg=<optimized out>) at 
/usr/src/sys/kern/subr_taskqueue.c:773
#24 0xffffffff80730354 in fork_exit (callout=0xffffffff807cb5a0 
<taskqueue_thread_loop>, arg=0xfffffe00b6c8c078,
     frame=0xfffffe00aa8279c0) at /usr/src/sys/kern/kern_fork.c:1053
--Type <RET> for more, q to quit, c to continue without paging--
#25 <signal handler called>

Thanks,
Anthony Jenkins



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b5164aa3-45a7-2637-1dc8-328696f49117>