You are not logged in.

#1 2023-03-06 21:06:18

m8
Member
Registered: 2023-03-06
Posts: 22

[SOLVED] ath9k module bug with btcoex_enable on

Hi arch linux fans.

I've had issues with using bluetooth headphones, where connecting them would slow down my wifi connection significantly for a long time. The only solution I had found was to enable bluetooth coexistence on ath9k (btcoex_enable=1) as in this suggestion here: https://askubuntu.com/questions/1411268 … connection

However, after a system update 2 days ago, ath9k crashes on boot unless I remove that setting. The problem is I need that setting to use my headphones without having a super slow connection. Can you help me out?

Kernel logs screenshot

I apologize for the low quality screenshot of a video but after these log messages, I can't even run dmesg without the system freezing and these messages very quickly flood the entire screen

uname -a

Linux archlinux-box 6.2.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Mar 2023 15:58:31 +0000 x86_64 GNU/Linux

lspci -tv

-[0000:00]-+-00.0  Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
           +-02.0  Intel Corporation HD Graphics 620
           +-04.0  Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
           +-14.0  Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller
           +-14.2  Intel Corporation Sunrise Point-LP Thermal subsystem
           +-15.0  Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0
           +-15.1  Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1
           +-16.0  Intel Corporation Sunrise Point-LP CSME HECI #1
           +-17.0  Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode]
           +-1c.0-[01]----00.0  NVIDIA Corporation GM108M [GeForce 940MX]
           +-1c.4-[02]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           +-1c.5-[03]----00.0  Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
           +-1f.0  Intel Corporation Sunrise Point-LP LPC Controller
           +-1f.2  Intel Corporation Sunrise Point-LP PMC
           +-1f.3  Intel Corporation Sunrise Point-LP HD Audio
           \-1f.4  Intel Corporation Sunrise Point-LP SMBus

Last edited by m8 (2023-04-29 22:33:25)

Offline

#2 2023-03-07 09:35:11

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,489

Re: [SOLVED] ath9k module bug with btcoex_enable on

Hi, welcome to the forum.
The crash sounds like a kernel bug, having a quick search did not show recent bug reports for 6.x kernels though. You should search again and report it, if it persists.
To work-around it in the meantime, two suggestions:
1. Try the linux-lts kernel, it probably is not affected if this only occurred with 6.2.x
2. There is another ath9k module option called "bt_ant_diversity". You can toggle it (only) when booted _without_ "btcoex_enable=1". Instructions: https://wireless.wiki.kernel.org/en/use … lan_and_bt
I'm not sure if that helps the issue, but it's worth a try.

Offline

#3 2023-03-07 19:08:15

m8
Member
Registered: 2023-03-06
Posts: 22

Re: [SOLVED] ath9k module bug with btcoex_enable on

Strike0 wrote:

Hi, welcome to the forum.
The crash sounds like a kernel bug, having a quick search did not show recent bug reports for 6.x kernels though. You should search again and report it, if it persists.
To work-around it in the meantime, two suggestions:
1. Try the linux-lts kernel, it probably is not affected if this only occurred with 6.2.x
2. There is another ath9k module option called "bt_ant_diversity". You can toggle it (only) when booted _without_ "btcoex_enable=1". Instructions: https://wireless.wiki.kernel.org/en/use … lan_and_bt
I'm not sure if that helps the issue, but it's worth a try.

Thank you for the response! I will check other kernels and the reporting procedure and update if I have anything new

Offline

#4 2023-03-09 13:18:13

insidelinux
Member
Registered: 2023-03-09
Posts: 1

Re: [SOLVED] ath9k module bug with btcoex_enable on

I have got the same problem. linux-lts kernel works, it must be a new kernel bug. Module option bt_ant_diversity is only for WLAN, not for bluetooth.

Offline

#5 2023-04-26 23:16:06

MrGOCE
Member
Registered: 2023-04-26
Posts: 2

Re: [SOLVED] ath9k module bug with btcoex_enable on

m8 wrote:
Strike0 wrote:

Hi, welcome to the forum.
The crash sounds like a kernel bug, having a quick search did not show recent bug reports for 6.x kernels though. You should search again and report it, if it persists.
To work-around it in the meantime, two suggestions:
1. Try the linux-lts kernel, it probably is not affected if this only occurred with 6.2.x
2. There is another ath9k module option called "bt_ant_diversity". You can toggle it (only) when booted _without_ "btcoex_enable=1". Instructions: https://wireless.wiki.kernel.org/en/use … lan_and_bt
I'm not sure if that helps the issue, but it's worth a try.

Thank you for the response! I will check other kernels and the reporting procedure and update if I have anything new

same problem here, did u report it? any news?

Offline

#6 2023-04-27 11:24:31

m8
Member
Registered: 2023-03-06
Posts: 22

Re: [SOLVED] ath9k module bug with btcoex_enable on

MrGOCE wrote:
m8 wrote:
Strike0 wrote:

Hi, welcome to the forum.
The crash sounds like a kernel bug, having a quick search did not show recent bug reports for 6.x kernels though. You should search again and report it, if it persists.
To work-around it in the meantime, two suggestions:
1. Try the linux-lts kernel, it probably is not affected if this only occurred with 6.2.x
2. There is another ath9k module option called "bt_ant_diversity". You can toggle it (only) when booted _without_ "btcoex_enable=1". Instructions: https://wireless.wiki.kernel.org/en/use … lan_and_bt
I'm not sure if that helps the issue, but it's worth a try.

Thank you for the response! I will check other kernels and the reporting procedure and update if I have anything new

same problem here, did u report it? any news?

I wanted to first reproduce it in the latest kernel source but had issues compiling and setting up  a working kernel. If you want you can try to compile the newest kernel and reproduce it yourself, otherwise let me know and I might report it anyways. For now, I am still using linux-lts but I guess that can't go on forever.

Offline

#7 2023-04-27 17:33:21

MrGOCE
Member
Registered: 2023-04-26
Posts: 2

Re: [SOLVED] ath9k module bug with btcoex_enable on

m8 wrote:
MrGOCE wrote:
m8 wrote:

Thank you for the response! I will check other kernels and the reporting procedure and update if I have anything new

same problem here, did u report it? any news?

I wanted to first reproduce it in the latest kernel source but had issues compiling and setting up  a working kernel. If you want you can try to compile the newest kernel and reproduce it yourself, otherwise let me know and I might report it anyways. For now, I am still using linux-lts but I guess that can't go on forever.

exactly, someday the kernel-lts will turn into 6.2 and we are screwed, but sorry i've never compiled a kernel and i don't know what to say or present as a kernel bug or where should i do it... can u please help us reporting it? if u need some support like a "like" or something, somewhere, i'm glad to help.

Offline

#8 2023-04-28 14:42:51

loqs
Member
Registered: 2014-03-06
Posts: 18,884

Re: [SOLVED] ath9k module bug with btcoex_enable on

m8 wrote:

I wanted to first reproduce it in the latest kernel source but had issues compiling and setting up  a working kernel.

What kernel were you trying to build?  If it is 6.3 you can find that pre built as linux-mainline in miffe's repository.  If you want help diagnosing the issue with your build of the kernel please post the commands you used and the outputs produced.  As the outputs involved can be very lengthy you might have to use a pastebin.

Offline

#9 2023-04-28 16:26:02

m8
Member
Registered: 2023-03-06
Posts: 22

Re: [SOLVED] ath9k module bug with btcoex_enable on

loqs wrote:
m8 wrote:

I wanted to first reproduce it in the latest kernel source but had issues compiling and setting up  a working kernel.

What kernel were you trying to build?  If it is 6.3 you can find that pre built as linux-mainline in miffe's repository.  If you want help diagnosing the issue with your build of the kernel please post the commands you used and the outputs produced.  As the outputs involved can be very lengthy you might have to use a pastebin.

Ah, that kernel seems helpful, I'll give it a try.

The thing with my compilation of the kernel was that I couldn't event really get any logs about what was wrong. Even when I upped the verbosity and removed quiet in the grub kernel params, I was just stuck at "Loading initial ramdisk". Thanks for the help offer though, I might make a separate post about that once I try all the things in this other thread https://bbs.archlinux.org/viewtopic.php?id=269477.

Offline

#10 2023-04-29 19:43:38

m8
Member
Registered: 2023-03-06
Posts: 22

Re: [SOLVED] ath9k module bug with btcoex_enable on

MrGOCE wrote:
m8 wrote:
MrGOCE wrote:

same problem here, did u report it? any news?

I wanted to first reproduce it in the latest kernel source but had issues compiling and setting up  a working kernel. If you want you can try to compile the newest kernel and reproduce it yourself, otherwise let me know and I might report it anyways. For now, I am still using linux-lts but I guess that can't go on forever.

exactly, someday the kernel-lts will turn into 6.2 and we are screwed, but sorry i've never compiled a kernel and i don't know what to say or present as a kernel bug or where should i do it... can u please help us reporting it? if u need some support like a "like" or something, somewhere, i'm glad to help.

I just tried linux-mainline and it just kinda... worked. A bit worrying that we can't find out what is wrong in 6.2 but hopefully we can forget about it.

Offline

#11 2023-04-29 19:50:09

m8
Member
Registered: 2023-03-06
Posts: 22

Re: [SOLVED] ath9k module bug with btcoex_enable on

Just tested on the newest "linux" package after a system update and it works too! Seems that whatever caused the problem was fixed and backported

Offline

#12 2023-04-29 20:07:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,664

Re: [SOLVED] ath9k module bug with btcoex_enable on

\o/

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB