Re: ath10k driver status?

2019-02-11 Thread Adrian Chadd
hi,

I'm trying to update things with Geramy right now. We hit a snag where his
updates broke my QCA9880 NIC in STA mode, so we're working through that
right now.



-adrian


On Mon, 11 Feb 2019 at 09:51, Ben Widawsky  wrote:

> On 19-02-04 00:29:29, Anthony Jenkins wrote:
>
> [snip]
>
> Hi Adrian. I too am wondering what the plan is for this chipset. I am
> currently
> using an awful USB wifi dongle. I can help with testing if needed - but I
> just
> really want to know if we should expect upstream support which is
> relatively
> stable in the next month or two. If not, I'll look for alternative
> solutions.
>
> Thanks.
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ath10k driver status?

2019-02-11 Thread Ben Widawsky
On 19-02-04 00:29:29, Anthony Jenkins wrote:

[snip]

Hi Adrian. I too am wondering what the plan is for this chipset. I am currently
using an awful USB wifi dongle. I can help with testing if needed - but I just
really want to know if we should expect upstream support which is relatively
stable in the next month or two. If not, I'll look for alternative solutions.

Thanks.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


ath10k driver status?

2019-02-03 Thread Anthony Jenkins
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:0x826089ce
stack pointer   = 0x28:0xfe00aa8275f0
frame pointer   = 0x28:0xfe00aa827650
code segment    = base 0x0, limit 0xf, 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 
0xfe00aa827300

vpanic() at vpanic+0x1b4/frame 0xfe00aa827360
panic() at panic+0x43/frame 0xfe00aa8273c0
trap_fatal() at trap_fatal+0x369/frame 0xfe00aa827410
trap() at trap+0x6c/frame 0xfe00aa827520
calltrap() at calltrap+0x8/frame 0xfe00aa827520
--- trap 0x9, rip = 0x826089ce, rsp = 0xfe00aa8275f0, rbp = 
0xfe00aa827650 ---
__ath10k_htt_rx_ring_fill_n() at __ath10k_htt_rx_ring_fill_n+0x2ae/frame 
0xfe00aa827650
ath10k_htt_rx_ring_fill_n() at ath10k_htt_rx_ring_fill_n+0x1b/frame 
0xfe00aa827670
ath10k_htt_rx_ring_refill() at ath10k_htt_rx_ring_refill+0x65/frame 
0xfe00aa8276b0

ath10k_core_start() at ath10k_core_start+0x5d1/frame 0xfe00aa827770
ath10k_core_probe_fw() at ath10k_core_probe_fw+0x2ef/frame 
0xfe00aa827830
attempt_ath10k_core_probe_fw() at 
attempt_ath10k_core_probe_fw+0x18/frame 0xfe00aa827890
ath10k_core_register_work() at ath10k_core_register_work+0x27/frame 
0xfe00aa8278e0
taskqueue_run_locked() at taskqueue_run_locked+0x10c/frame 
0xfe00aa827940
taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 
0xfe00aa827970

fork_exit() at fork_exit+0x84/frame 0xfe00aa8279b0
fork_trampoline() at fork_trampoline+0xe/frame 0xfe00aa8279b0
--- 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=) at 
/usr/src/sys/kern/kern_shutdown.c:371
#2  0x8041c35b in db_dump (dummy=, 
dummy2=, dummy3=, dummy4=)

    at /usr/src/sys/ddb/db_command.c:574
#3  0x8041c11d in db_command (last_cmdp=, 
cmd_table=, dopager=1)

    at /usr/src/sys/ddb/db_command.c:481
#4  0x8041beb4 in db_command_loop () at 
/usr/src/sys/ddb/db_command.c:534
#5  0x8041f05f in db_trap (type=, code=out>) at /usr/src/sys/ddb/db_main.c:252
#6  0x807b7e63 in kdb_trap (type=3, code=0, tf=) 
at /usr/src/sys/kern/subr_kdb.c:692
#7  0x80af191a in trap (frame=0xfe00aa827230) at 
/usr/src/sys/amd64/amd64/trap.c:619

#8  
#9  kdb_enter (why=0x80c3ff7b "panic", msg=) at 
/usr/src/sys/kern/subr_kdb.c:479
#10 0x80770021 in vpanic (fmt=, 
ap=0xfe00aa8273a0) at /usr/src/sys/kern/kern_shutdown.c:866
#11 0x8076fdb3 in panic (fmt=0x81115b38  
"/\252\301\200\377\377\377\377")

    at /usr/src/sys/kern/kern_shutdown.c:804
#12 0x80af1d39 in trap_fatal (frame=0xfe00aa827530, eva=0) 
at /usr/src/sys/amd64/amd64/trap.c:929
#13 0x80af117c in trap (frame=0xfe00aa827530) at 
/usr/src/sys/amd64/amd64/trap.c:217

#14 
#15 0x826089ce in __ath10k_htt_rx_ring_fill_n () from 
/boot/modules/if_athp.ko
#16 0x82605c4b in ath10k_htt_rx_ring_fill_n () from 
/boot/modules/if_athp.ko
#17 0x82605bd5 in ath10k_htt_rx_ring_refill () from 
/boot/modules/if_athp.ko

#18 0x825d1851 in ath10k_core_start () from /boot/modules/if_athp.ko
#19 0x825d2d3f in ath10k_core_probe_fw () from 
/boot/modules/if_athp.ko
#20 0x825d6048 in attempt_ath10k_core_probe_fw () from 
/boot/modules/if_athp.ko
#21 0x825d40c7 in ath10k_core_register_work () from 
/boot/modules/if_athp.ko
#22 0x807ca6ac in taskqueue_run_locked 
(queue=0xf8000