oli Posted October 23, 2016 Posted October 23, 2016 i had contact with some devs regarding this problem: [root@alarm alarm]# rmmod ath10k_pci [root@alarm alarm]# modprobe ath10k_pci [ 597.613290] ath10k_pci 0000:02:00.0: Refused to change power state, currently in D3 [ 597.651254] ath10k_pci 0000:02:00.0: failed to wake up device : -110 [ 597.657727] ath10k_pci: probe of 0000:02:00.0 failed with error -110 Compex cards (wle600 and wle900) do not work on kernel 4.4.x without changes. The answer i got is: Hi, On 21 October 2016 at 18:25, Oliver Z wrote:> The problem is gone with kernel 4.7.3 on armbian - both compex cards work> (wle600, wle900), Interesting to know this issue isn't present in 4.7 - I alsoencountered it in 4.4 with LEDE. > unfortunately that kernel does not support sfp (seems like> its kind of proprietary drivers from clearfog). They aren't really proprietary, they are proper patches that weresubmitted as RFC once, so it shouldn't be much effort to port them toe.g. 4.7. Anyways ... > So its a driver issue but i> have no clue who to contact or where to file a bug report. The only> available kernel which supports sfp (from solidrun, vendor of the clearfog> board) is 4.4.23> I am wondering if i could simply checkout the 4.4.x sources, merge the> atheros drivers in it and try to rebuild the kernel? the issue seems to be that MSI interrupts do not work on 4.4 (at leastwith ath10k, didn't have any other drivers that support it to test).Your options are either to disable support for them in the kernelconfig, or pass irq_mode=1 to ath10k_pci on probe to force legacyinterrupts; it should work then properly.RegardsJonas Maybe someone could fix that? Would be really nice! I have no idea how to do that with the irq_mode
oli Posted December 3, 2016 Author Posted December 3, 2016 The new kernel of clearfog does fix the wlan problem and the sfp problem. Is this already available in armbian? https://github.com/mxOBS/deb-pkg_kernel-xyz/tree/4.4.y-clearfog
Igor Posted December 3, 2016 Posted December 3, 2016 Yes, it should be. All upstream fixes are in Armbian nighty kernel build in less then 24h but you need to switch to DEV kernel + dtb in beta repository - details. BTW: I only have ath9 cards around and they used to had problems too. I have to check if this is also resolved ...
zador.blood.stained Posted December 3, 2016 Posted December 3, 2016 Last time I tested this tree (Armbian dev kernel) it had problems with miniPCIe initialization
oli Posted December 3, 2016 Author Posted December 3, 2016 @zador.blood.stained when was "last time" ? They made a change about 1 month ago so that mpcie should work now.
zador.blood.stained Posted December 3, 2016 Posted December 3, 2016 @zador.blood.stained when was "last time" ? They made a change about 1 month ago so that mpcie should work now. I tested it a week ago, and specifically asked Igor to test it too. Here is his dmesg log: http://sprunge.us/ZjGZ
oli Posted December 3, 2016 Author Posted December 3, 2016 Are you trying to install a mpcie raid card? For me, this looks like a bug. I would try it with solidrun's support. They fixed a bug for wifi pcie cards with state-switches (d2 did not got wake up or so...)
zador.blood.stained Posted December 3, 2016 Posted December 3, 2016 Are you trying to install a mpcie raid card? No, I tried a wireless card (BCM94312, don't have logs for it, but error messages about of_irq_parse_pci() and stuff were similar), and Igor tried some wireless cards too AFAIK. For me this card works on mainline (next branch), and mainline kernel works well enough in general (apart from some NetworkManager / SFP related bug, but I didn't have time to investigate this properly). Edit: After checking kernel sources it looks like of_irq_parse_pci() stuff is not an actual error, I'll have to investigate PCIe issues further.
Recommended Posts