* QCA6174 seemingly randomly fails to wake
@ 2015-11-04 0:00 theros
2015-11-04 7:30 ` Michal Kazior
0 siblings, 1 reply; 5+ messages in thread
From: theros @ 2015-11-04 0:00 UTC (permalink / raw)
To: ath10k
Hello,
I am having issues with the ath10k driver and the Qualcomm Atheros
QCA6174 network adapter. Seemingly randomly, the wireless connection on
my laptop stops working. dmesg outputs a long series of:
[11061.645929] ath10k_pci 0000:07:00.0: failed to wake target for
write32 of 0x0000025c at 0x0003543c: -110
Rarely a reboot fixes this and I can use the network adapter again, but
more often than not, after a reboot, there is no output related to
ath10k in dmesg and the laptop is behaving as if the network adapter is
not present. The adapter eventually starts working again - I have not
noticed a specific pattern, sometimes it is after a few hours, sometimes
I couldn't get it working for days.
I have tried thoroughly searching online but was unable to find anything
that would be of help. I do admit I am a little out of my depth here,
but I will happily provide any further information necessary in order to
diagnose and fix this.
I am on Xubuntu 15.10, kernel 4.2.0-16-generic.
Thanks.
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: QCA6174 seemingly randomly fails to wake
2015-11-04 0:00 QCA6174 seemingly randomly fails to wake theros
@ 2015-11-04 7:30 ` Michal Kazior
2016-01-09 23:26 ` theros
0 siblings, 1 reply; 5+ messages in thread
From: Michal Kazior @ 2015-11-04 7:30 UTC (permalink / raw)
To: theros; +Cc: ath10k@lists.infradead.org
On 4 November 2015 at 01:00, <theros@openmailbox.org> wrote:
> Hello,
>
> I am having issues with the ath10k driver and the Qualcomm Atheros QCA6174
> network adapter. Seemingly randomly, the wireless connection on my laptop
> stops working. dmesg outputs a long series of:
>
> [11061.645929] ath10k_pci 0000:07:00.0: failed to wake target for write32 of
> 0x0000025c at 0x0003543c: -110
This looks very similar to how QCA99X0 failed when PCI PS was enabled
for the card:
http://lists.infradead.org/pipermail/ath10k/2015-September/005939.html
As far as I know the reason of failure is not really understood and it
simply was disabled to fix reliability.
It seems that QCA6174 suffers from this as well - at least on your
platform. This is rather sad as we'll probably need to disable it by
default for QCA6174 now as well which will increase power consumption
a little bit.
> Rarely a reboot fixes this and I can use the network adapter again, but more
> often than not, after a reboot, there is no output related to ath10k in
> dmesg and the laptop is behaving as if the network adapter is not present.
> The adapter eventually starts working again - I have not noticed a specific
> pattern, sometimes it is after a few hours, sometimes I couldn't get it
> working for days.
>
> I have tried thoroughly searching online but was unable to find anything
> that would be of help. I do admit I am a little out of my depth here, but I
> will happily provide any further information necessary in order to diagnose
> and fix this.
>
> I am on Xubuntu 15.10, kernel 4.2.0-16-generic.
Can you perhaps try compiling the kernel from:
git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
with the following diff applied:
diff --git a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index 3fca200b986c..edf7a7637d88 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -2968,7 +2968,7 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
case QCA6164_2_1_DEVICE_ID:
case QCA6174_2_1_DEVICE_ID:
hw_rev = ATH10K_HW_QCA6174;
- pci_ps = true;
+ pci_ps = false;
break;
case QCA99X0_2_0_DEVICE_ID:
hw_rev = ATH10K_HW_QCA99X0;
and report back if this fixes the problem for you, please?
Michał
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: QCA6174 seemingly randomly fails to wake
2015-11-04 7:30 ` Michal Kazior
@ 2016-01-09 23:26 ` theros
2016-01-11 12:48 ` Michal Kazior
0 siblings, 1 reply; 5+ messages in thread
From: theros @ 2016-01-09 23:26 UTC (permalink / raw)
To: Michal Kazior; +Cc: ath10k
Sorry about the late response, I was without my laptop due to an
unrelated problem.
The patch seems to have fixed the issue - it didn't occur again after
applying it. I did however use driver backports and applied the patch to
those myself, as opposed to compiling the entire kernel from the
repository you provided.
On 2015-11-04 08:30, Michal Kazior wrote:
> On 4 November 2015 at 01:00, <theros@openmailbox.org> wrote:
>> Hello,
>>
>> I am having issues with the ath10k driver and the Qualcomm Atheros
>> QCA6174
>> network adapter. Seemingly randomly, the wireless connection on my
>> laptop
>> stops working. dmesg outputs a long series of:
>>
>> [11061.645929] ath10k_pci 0000:07:00.0: failed to wake target for
>> write32 of
>> 0x0000025c at 0x0003543c: -110
>
> This looks very similar to how QCA99X0 failed when PCI PS was enabled
> for the card:
>
>
> http://lists.infradead.org/pipermail/ath10k/2015-September/005939.html
>
> As far as I know the reason of failure is not really understood and it
> simply was disabled to fix reliability.
>
> It seems that QCA6174 suffers from this as well - at least on your
> platform. This is rather sad as we'll probably need to disable it by
> default for QCA6174 now as well which will increase power consumption
> a little bit.
>
>
>> Rarely a reboot fixes this and I can use the network adapter again,
>> but more
>> often than not, after a reboot, there is no output related to ath10k
>> in
>> dmesg and the laptop is behaving as if the network adapter is not
>> present.
>> The adapter eventually starts working again - I have not noticed a
>> specific
>> pattern, sometimes it is after a few hours, sometimes I couldn't get
>> it
>> working for days.
>>
>> I have tried thoroughly searching online but was unable to find
>> anything
>> that would be of help. I do admit I am a little out of my depth here,
>> but I
>> will happily provide any further information necessary in order to
>> diagnose
>> and fix this.
>>
>> I am on Xubuntu 15.10, kernel 4.2.0-16-generic.
>
> Can you perhaps try compiling the kernel from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
>
> with the following diff applied:
>
> diff --git a/drivers/net/wireless/ath/ath10k/pci.c
> b/drivers/net/wireless/ath/ath10k/pci.c
> index 3fca200b986c..edf7a7637d88 100644
> --- a/drivers/net/wireless/ath/ath10k/pci.c
> +++ b/drivers/net/wireless/ath/ath10k/pci.c
> @@ -2968,7 +2968,7 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
> case QCA6164_2_1_DEVICE_ID:
> case QCA6174_2_1_DEVICE_ID:
> hw_rev = ATH10K_HW_QCA6174;
> - pci_ps = true;
> + pci_ps = false;
> break;
> case QCA99X0_2_0_DEVICE_ID:
> hw_rev = ATH10K_HW_QCA99X0;
>
> and report back if this fixes the problem for you, please?
>
>
> Michał
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: QCA6174 seemingly randomly fails to wake
2016-01-09 23:26 ` theros
@ 2016-01-11 12:48 ` Michal Kazior
2016-01-11 16:21 ` Adrian Chadd
0 siblings, 1 reply; 5+ messages in thread
From: Michal Kazior @ 2016-01-11 12:48 UTC (permalink / raw)
To: theros; +Cc: ath10k@lists.infradead.org
On 10 January 2016 at 00:26, <theros@openmailbox.org> wrote:
> Sorry about the late response, I was without my laptop due to an unrelated
> problem.
>
> The patch seems to have fixed the issue - it didn't occur again after
> applying it. I did however use driver backports and applied the patch to
> those myself, as opposed to compiling the entire kernel from the repository
> you provided.
That's good news (to users like you who have broken qca6174). Is my
understanding correct that you double-checked that *without* the patch
qca6174 fails to work? There could be something else that fixed the
problem for you otherwise.
Michał
> On 2015-11-04 08:30, Michal Kazior wrote:
>>
>> On 4 November 2015 at 01:00, <theros@openmailbox.org> wrote:
>>>
>>> Hello,
>>>
>>> I am having issues with the ath10k driver and the Qualcomm Atheros
>>> QCA6174
>>> network adapter. Seemingly randomly, the wireless connection on my laptop
>>> stops working. dmesg outputs a long series of:
>>>
>>> [11061.645929] ath10k_pci 0000:07:00.0: failed to wake target for write32
>>> of
>>> 0x0000025c at 0x0003543c: -110
>>
>>
>> This looks very similar to how QCA99X0 failed when PCI PS was enabled
>> for the card:
>>
>> http://lists.infradead.org/pipermail/ath10k/2015-September/005939.html
>>
>> As far as I know the reason of failure is not really understood and it
>> simply was disabled to fix reliability.
>>
>> It seems that QCA6174 suffers from this as well - at least on your
>> platform. This is rather sad as we'll probably need to disable it by
>> default for QCA6174 now as well which will increase power consumption
>> a little bit.
>>
>>
>>> Rarely a reboot fixes this and I can use the network adapter again, but
>>> more
>>> often than not, after a reboot, there is no output related to ath10k in
>>> dmesg and the laptop is behaving as if the network adapter is not
>>> present.
>>> The adapter eventually starts working again - I have not noticed a
>>> specific
>>> pattern, sometimes it is after a few hours, sometimes I couldn't get it
>>> working for days.
>>>
>>> I have tried thoroughly searching online but was unable to find anything
>>> that would be of help. I do admit I am a little out of my depth here, but
>>> I
>>> will happily provide any further information necessary in order to
>>> diagnose
>>> and fix this.
>>>
>>> I am on Xubuntu 15.10, kernel 4.2.0-16-generic.
>>
>>
>> Can you perhaps try compiling the kernel from:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
>>
>> with the following diff applied:
>>
>> diff --git a/drivers/net/wireless/ath/ath10k/pci.c
>> b/drivers/net/wireless/ath/ath10k/pci.c
>> index 3fca200b986c..edf7a7637d88 100644
>> --- a/drivers/net/wireless/ath/ath10k/pci.c
>> +++ b/drivers/net/wireless/ath/ath10k/pci.c
>> @@ -2968,7 +2968,7 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
>> case QCA6164_2_1_DEVICE_ID:
>> case QCA6174_2_1_DEVICE_ID:
>> hw_rev = ATH10K_HW_QCA6174;
>> - pci_ps = true;
>> + pci_ps = false;
>> break;
>> case QCA99X0_2_0_DEVICE_ID:
>> hw_rev = ATH10K_HW_QCA99X0;
>>
>> and report back if this fixes the problem for you, please?
>>
>>
>> Michał
>>
>> _______________________________________________
>> ath10k mailing list
>> ath10k@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k
>
>
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-01-11 16:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-04 0:00 QCA6174 seemingly randomly fails to wake theros
2015-11-04 7:30 ` Michal Kazior
2016-01-09 23:26 ` theros
2016-01-11 12:48 ` Michal Kazior
2016-01-11 16:21 ` Adrian Chadd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).