All of lore.kernel.org
 help / color / mirror / Atom feed
* QCA988x and kernel 4.13
@ 2017-09-30  8:39 svp
  2017-10-01 14:06 ` Sebastian Gottschall
  0 siblings, 1 reply; 11+ messages in thread
From: svp @ 2017-09-30  8:39 UTC (permalink / raw)
  To: ath10k

Hi!

After upgrade to 4.13 have errors in log

kernel: INFO: task kworker/u8:5:113 blocked for more than 120 seconds.
kernel:       Tainted: G           O    4.13.3-1-ARCH #1
kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this essage.
kernel: kworker/u8:5    D    0   113      2 0x00000000
kernel: Workqueue: phy0 ieee80211_ba_session_work [mac80211]
kernel: Call Trace:
kernel:  __schedule+0x239/0x890
kernel:  schedule+0x3d/0x90
kernel:  schedule_preempt_disabled+0x15/0x20
kernel:  __mutex_lock.isra.2+0x295/0x520
kernel:  ? ttwu_do_wakeup+0x1e/0x160
kernel:  __mutex_lock_slowpath+0x13/0x20
kernel:  ? update_load_avg+0x426/0x5a0
kernel:  ? __mutex_lock_slowpath+0x13/0x20
kernel:  mutex_lock+0x25/0x30
kernel:  __ieee80211_start_rx_ba_session+0x153/0x520 [mac80211]
kernel:  ieee80211_ba_session_work+0x164/0x250 [mac80211]
kernel:  process_one_work+0x1de/0x430
kernel:  worker_thread+0x47/0x3f0
kernel:  kthread+0x125/0x140
kernel:  ? process_one_work+0x430/0x430
kernel:  ? kthread_create_on_node+0x70/0x70
kernel:  ret_from_fork+0x25/0x30

Then this system became unstable.

lspci
06:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless 
Network Adapter

uname -a
Linux I5-4670 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64 
GNU/Linux

iwconfig
wlp6s0    IEEE 802.11  Mode:Master  Tx-Power=30 dBm
           Retry short limit:7   RTS thr:off   Fragment thr:off
           Power Management:on

firmware-5.bin_10.2.4.70.59-2 was used

Thanks!




_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
  2017-09-30  8:39 QCA988x and kernel 4.13 svp
@ 2017-10-01 14:06 ` Sebastian Gottschall
  2017-10-02 17:24   ` Ben Greear
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Gottschall @ 2017-10-01 14:06 UTC (permalink / raw)
  To: svp, ath10k

you have to update to the latest mac80211 code. there is a well known 
bug in mac80211 which causes a deadlock with ath10k

Am 30.09.2017 um 10:39 schrieb svp:
> Hi!
>
> After upgrade to 4.13 have errors in log
>
> kernel: INFO: task kworker/u8:5:113 blocked for more than 120 seconds.
> kernel:       Tainted: G           O    4.13.3-1-ARCH #1
> kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
> this essage.
> kernel: kworker/u8:5    D    0   113      2 0x00000000
> kernel: Workqueue: phy0 ieee80211_ba_session_work [mac80211]
> kernel: Call Trace:
> kernel:  __schedule+0x239/0x890
> kernel:  schedule+0x3d/0x90
> kernel:  schedule_preempt_disabled+0x15/0x20
> kernel:  __mutex_lock.isra.2+0x295/0x520
> kernel:  ? ttwu_do_wakeup+0x1e/0x160
> kernel:  __mutex_lock_slowpath+0x13/0x20
> kernel:  ? update_load_avg+0x426/0x5a0
> kernel:  ? __mutex_lock_slowpath+0x13/0x20
> kernel:  mutex_lock+0x25/0x30
> kernel:  __ieee80211_start_rx_ba_session+0x153/0x520 [mac80211]
> kernel:  ieee80211_ba_session_work+0x164/0x250 [mac80211]
> kernel:  process_one_work+0x1de/0x430
> kernel:  worker_thread+0x47/0x3f0
> kernel:  kthread+0x125/0x140
> kernel:  ? process_one_work+0x430/0x430
> kernel:  ? kthread_create_on_node+0x70/0x70
> kernel:  ret_from_fork+0x25/0x30
>
> Then this system became unstable.
>
> lspci
> 06:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac 
> Wireless Network Adapter
>
> uname -a
> Linux I5-4670 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 
> 2017 x86_64 GNU/Linux
>
> iwconfig
> wlp6s0    IEEE 802.11  Mode:Master  Tx-Power=30 dBm
>           Retry short limit:7   RTS thr:off   Fragment thr:off
>           Power Management:on
>
> firmware-5.bin_10.2.4.70.59-2 was used
>
> Thanks!
>
>
>
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
>

-- 
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottschall@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
  2017-10-01 14:06 ` Sebastian Gottschall
@ 2017-10-02 17:24   ` Ben Greear
  2017-10-04  8:50       ` Kalle Valo
  0 siblings, 1 reply; 11+ messages in thread
From: Ben Greear @ 2017-10-02 17:24 UTC (permalink / raw)
  To: Sebastian Gottschall, svp, ath10k

On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
> you have to update to the latest mac80211 code. there is a well known bug in mac80211 which causes a deadlock with ath10k

Do you have a pointer to the patch that fixes this?  I'd like to check if it has
made it into 4.13 stable yet...

Thanks,
Ben

>
> Am 30.09.2017 um 10:39 schrieb svp:
>> Hi!
>>
>> After upgrade to 4.13 have errors in log
>>
>> kernel: INFO: task kworker/u8:5:113 blocked for more than 120 seconds.
>> kernel:       Tainted: G           O    4.13.3-1-ARCH #1
>> kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this essage.
>> kernel: kworker/u8:5    D    0   113      2 0x00000000
>> kernel: Workqueue: phy0 ieee80211_ba_session_work [mac80211]
>> kernel: Call Trace:
>> kernel:  __schedule+0x239/0x890
>> kernel:  schedule+0x3d/0x90
>> kernel:  schedule_preempt_disabled+0x15/0x20
>> kernel:  __mutex_lock.isra.2+0x295/0x520
>> kernel:  ? ttwu_do_wakeup+0x1e/0x160
>> kernel:  __mutex_lock_slowpath+0x13/0x20
>> kernel:  ? update_load_avg+0x426/0x5a0
>> kernel:  ? __mutex_lock_slowpath+0x13/0x20
>> kernel:  mutex_lock+0x25/0x30
>> kernel:  __ieee80211_start_rx_ba_session+0x153/0x520 [mac80211]
>> kernel:  ieee80211_ba_session_work+0x164/0x250 [mac80211]
>> kernel:  process_one_work+0x1de/0x430
>> kernel:  worker_thread+0x47/0x3f0
>> kernel:  kthread+0x125/0x140
>> kernel:  ? process_one_work+0x430/0x430
>> kernel:  ? kthread_create_on_node+0x70/0x70
>> kernel:  ret_from_fork+0x25/0x30
>>
>> Then this system became unstable.
>>
>> lspci
>> 06:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
>>
>> uname -a
>> Linux I5-4670 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64 GNU/Linux
>>
>> iwconfig
>> wlp6s0    IEEE 802.11  Mode:Master  Tx-Power=30 dBm
>>           Retry short limit:7   RTS thr:off   Fragment thr:off
>>           Power Management:on
>>
>> firmware-5.bin_10.2.4.70.59-2 was used
>>
>> Thanks!
>>
>>
>>
>>
>> _______________________________________________
>> ath10k mailing list
>> ath10k@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k
>>
>


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


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
  2017-10-02 17:24   ` Ben Greear
@ 2017-10-04  8:50       ` Kalle Valo
  0 siblings, 0 replies; 11+ messages in thread
From: Kalle Valo @ 2017-10-04  8:50 UTC (permalink / raw)
  To: Ben Greear; +Cc: Sebastian Gottschall, svp, ath10k, linux-wireless

Ben Greear <greearb@candelatech.com> writes:

> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>> you have to update to the latest mac80211 code. there is a well
>> known bug in mac80211 which causes a deadlock with ath10k
>
> Do you have a pointer to the patch that fixes this?  I'd like to check if=
 it has
> made it into 4.13 stable yet...

I think it's this one:

mac80211: fix deadlock in driver-managed RX BA session start

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?=
id=3Dbde59c475e0883e4c4294bcd9b9c7e08ae18c828

Adding linux-wireless so that someone can correct me in case I'm wrong.

--=20
Kalle Valo=

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
@ 2017-10-04  8:50       ` Kalle Valo
  0 siblings, 0 replies; 11+ messages in thread
From: Kalle Valo @ 2017-10-04  8:50 UTC (permalink / raw)
  To: Ben Greear; +Cc: linux-wireless, ath10k, Sebastian Gottschall, svp

Ben Greear <greearb@candelatech.com> writes:

> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>> you have to update to the latest mac80211 code. there is a well
>> known bug in mac80211 which causes a deadlock with ath10k
>
> Do you have a pointer to the patch that fixes this?  I'd like to check if it has
> made it into 4.13 stable yet...

I think it's this one:

mac80211: fix deadlock in driver-managed RX BA session start

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bde59c475e0883e4c4294bcd9b9c7e08ae18c828

Adding linux-wireless so that someone can correct me in case I'm wrong.

-- 
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
  2017-10-04  8:50       ` Kalle Valo
@ 2017-10-04 11:33         ` Sebastian Gottschall
  -1 siblings, 0 replies; 11+ messages in thread
From: Sebastian Gottschall @ 2017-10-04 11:33 UTC (permalink / raw)
  To: Kalle Valo, Ben Greear; +Cc: svp, ath10k, linux-wireless

Am 04.10.2017 um 10:50 schrieb Kalle Valo:
> Ben Greear <greearb@candelatech.com> writes:
>
>> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>>> you have to update to the latest mac80211 code. there is a well
>>> known bug in mac80211 which causes a deadlock with ath10k
>> Do you have a pointer to the patch that fixes this?  I'd like to check if it has
>> made it into 4.13 stable yet...
> I think it's this one:
>
> mac80211: fix deadlock in driver-managed RX BA session start
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bde59c475e0883e4c4294bcd9b9c7e08ae18c828
>
> Adding linux-wireless so that someone can correct me in case I'm wrong.
i believe thats the correct one
>

-- 
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottschall@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
@ 2017-10-04 11:33         ` Sebastian Gottschall
  0 siblings, 0 replies; 11+ messages in thread
From: Sebastian Gottschall @ 2017-10-04 11:33 UTC (permalink / raw)
  To: Kalle Valo, Ben Greear; +Cc: linux-wireless, ath10k, svp

Am 04.10.2017 um 10:50 schrieb Kalle Valo:
> Ben Greear <greearb@candelatech.com> writes:
>
>> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>>> you have to update to the latest mac80211 code. there is a well
>>> known bug in mac80211 which causes a deadlock with ath10k
>> Do you have a pointer to the patch that fixes this?  I'd like to check if it has
>> made it into 4.13 stable yet...
> I think it's this one:
>
> mac80211: fix deadlock in driver-managed RX BA session start
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bde59c475e0883e4c4294bcd9b9c7e08ae18c828
>
> Adding linux-wireless so that someone can correct me in case I'm wrong.
i believe thats the correct one
>

-- 
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottschall@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
  2017-10-04  8:50       ` Kalle Valo
@ 2017-10-04 15:13         ` Ben Greear
  -1 siblings, 0 replies; 11+ messages in thread
From: Ben Greear @ 2017-10-04 15:13 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Sebastian Gottschall, svp, ath10k, linux-wireless



On 10/04/2017 01:50 AM, Kalle Valo wrote:
> Ben Greear <greearb@candelatech.com> writes:
>
>> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>>> you have to update to the latest mac80211 code. there is a well
>>> known bug in mac80211 which causes a deadlock with ath10k
>>
>> Do you have a pointer to the patch that fixes this?  I'd like to check if it has
>> made it into 4.13 stable yet...
>
> I think it's this one:
>
> mac80211: fix deadlock in driver-managed RX BA session start
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bde59c475e0883e4c4294bcd9b9c7e08ae18c828
>
> Adding linux-wireless so that someone can correct me in case I'm wrong.

That did seem to fix my problems...

Thanks,
ben

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
@ 2017-10-04 15:13         ` Ben Greear
  0 siblings, 0 replies; 11+ messages in thread
From: Ben Greear @ 2017-10-04 15:13 UTC (permalink / raw)
  To: Kalle Valo; +Cc: linux-wireless, ath10k, Sebastian Gottschall, svp



On 10/04/2017 01:50 AM, Kalle Valo wrote:
> Ben Greear <greearb@candelatech.com> writes:
>
>> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>>> you have to update to the latest mac80211 code. there is a well
>>> known bug in mac80211 which causes a deadlock with ath10k
>>
>> Do you have a pointer to the patch that fixes this?  I'd like to check if it has
>> made it into 4.13 stable yet...
>
> I think it's this one:
>
> mac80211: fix deadlock in driver-managed RX BA session start
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bde59c475e0883e4c4294bcd9b9c7e08ae18c828
>
> Adding linux-wireless so that someone can correct me in case I'm wrong.

That did seem to fix my problems...

Thanks,
ben

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

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
  2017-10-04 15:13         ` Ben Greear
@ 2017-10-04 16:35           ` Sebastian Gottschall
  -1 siblings, 0 replies; 11+ messages in thread
From: Sebastian Gottschall @ 2017-10-04 16:35 UTC (permalink / raw)
  To: Ben Greear, Kalle Valo; +Cc: svp, ath10k, linux-wireless

Am 04.10.2017 um 17:13 schrieb Ben Greear:
>
>
> On 10/04/2017 01:50 AM, Kalle Valo wrote:
>> Ben Greear <greearb@candelatech.com> writes:
>>
>>> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>>>> you have to update to the latest mac80211 code. there is a well
>>>> known bug in mac80211 which causes a deadlock with ath10k
>>>
>>> Do you have a pointer to the patch that fixes this?  I'd like to 
>>> check if it has
>>> made it into 4.13 stable yet...
>>
>> I think it's this one:
>>
>> mac80211: fix deadlock in driver-managed RX BA session start
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bde59c475e0883e4c4294bcd9b9c7e08ae18c828 
>>
>>
>> Adding linux-wireless so that someone can correct me in case I'm wrong.
>
> That did seem to fix my problems...
>
> Thanks,
> ben
>
consider that this bug does at least exist since may. so older kernels 
might be affected too


-- 
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottschall@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: QCA988x and kernel 4.13
@ 2017-10-04 16:35           ` Sebastian Gottschall
  0 siblings, 0 replies; 11+ messages in thread
From: Sebastian Gottschall @ 2017-10-04 16:35 UTC (permalink / raw)
  To: Ben Greear, Kalle Valo; +Cc: linux-wireless, ath10k, svp

Am 04.10.2017 um 17:13 schrieb Ben Greear:
>
>
> On 10/04/2017 01:50 AM, Kalle Valo wrote:
>> Ben Greear <greearb@candelatech.com> writes:
>>
>>> On 10/01/2017 07:06 AM, Sebastian Gottschall wrote:
>>>> you have to update to the latest mac80211 code. there is a well
>>>> known bug in mac80211 which causes a deadlock with ath10k
>>>
>>> Do you have a pointer to the patch that fixes this?  I'd like to 
>>> check if it has
>>> made it into 4.13 stable yet...
>>
>> I think it's this one:
>>
>> mac80211: fix deadlock in driver-managed RX BA session start
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bde59c475e0883e4c4294bcd9b9c7e08ae18c828 
>>
>>
>> Adding linux-wireless so that someone can correct me in case I'm wrong.
>
> That did seem to fix my problems...
>
> Thanks,
> ben
>
consider that this bug does at least exist since may. so older kernels 
might be affected too


-- 
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottschall@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-04 16:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-30  8:39 QCA988x and kernel 4.13 svp
2017-10-01 14:06 ` Sebastian Gottschall
2017-10-02 17:24   ` Ben Greear
2017-10-04  8:50     ` Kalle Valo
2017-10-04  8:50       ` Kalle Valo
2017-10-04 11:33       ` Sebastian Gottschall
2017-10-04 11:33         ` Sebastian Gottschall
2017-10-04 15:13       ` Ben Greear
2017-10-04 15:13         ` Ben Greear
2017-10-04 16:35         ` Sebastian Gottschall
2017-10-04 16:35           ` Sebastian Gottschall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.