LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-31-2021, 12:12 PM   #1
WanderingUnix
LQ Newbie
 
Registered: Mar 2021
Location: United Kingdom
Distribution: Slackware-current
Posts: 6

Rep: Reputation: Disabled
Question Internet disconnects randomly on TL-WN422G using ath9k_htc on a T430


Hello. I have been having this ploblem with the ath9k_htc driver and have no idea what is causing it. I am using kernel 5.11.10 (self compiled). I had these issues with the standard generic kernel so I moved to a self compiled kernel but it did not seem to fix the issue.

I do not remember which kernel but possibly 5.10.23 was when it started. It would just disconnect completely and without warning. Network manager would display the connection speed as 1mbps but the light would still be flashing as if there was internet.

I have tried:

- disabling hw crypto via a modeprobe option (only a slight boost in bandwith)
- disabling the light on the usb module (makes no difference)
- Switching the port that it used (usb 3 seem to make it worse)
- Disabling intel_iommu (which helped some of the errors but did not solve the issue)
- compiling a newer kernel to see if it fixes it (nope)
- Turn off ipv6 (Nope)

The error would first be a dns related error.
To fix that I simply used unbound with dns over tls which made that issue go away but now the real issue revealed itself which was that the internet just died for no tangible reason

Here is the dmesg. Yes there is alot about my wifi and MAC ADDRESS is just a replacement for my actual mac address.
https://bin.idrix.fr/?2240bc97c2a0d1...85ZPwagsEzwxoG

Here is the result of lsusb
Code:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 04f2:b2da Chicony Electronics Co., Ltd thinkpad t430s camera
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
Bus 001 Device 004: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode)
Bus 001 Device 017: ID 0cf3:1006 Qualcomm Atheros Communications TP-Link TL-WN322G v3 / TL-WN422G v2 802.11g [Atheros AR9271]
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
My kernel .config:
https://bin.idrix.fr/?ab6fa3bf0b7410...x7voaNFMqiy6Yw

Please note I am using linux libre with the latest linux libre scripts.

I am honestly lost at what to do. It could be the usb adapter itself but I just want to check. It could even be my kernel config. I just want someone to help solve this. Thank you!
 
Old 04-01-2021, 07:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,669

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
I have the Qualcomm Atheros 9485 and find it good and hugely reliable. It's not a new device but a stable one.

For a start, I would disable all the encryption, obfuscation and whatever else is going on, and get back to a plain simple wifi connection, so we can make sense of that. If you're posting on public forum, I presume you're not spying for aliens or doing anything criminal.

Run this command
Code:
[sudo] iwlist wlan0 scan |grep -A2 Quality
replacing 'wlan0' with the relevant wifi interface name if needed. Post the results. I'm getting results as low as 16/70 or -94dBm. What the lowest you are getting?
 
Old 04-06-2021, 03:30 AM   #3
WanderingUnix
LQ Newbie
 
Registered: Mar 2021
Location: United Kingdom
Distribution: Slackware-current
Posts: 6

Original Poster
Rep: Reputation: Disabled
I decided to use a spare intel wifi stick for a few days.

I see the same disconnection issues. Another thing I forgot to mention is that after an hour or two, the wifi module that is loaded completely fails to load and I get a stack trace in dmesg.

I'll make a new thread for the intel stick as this is very strange. The connection quality according to networkmanager is 51%

Sorry I could not reply sooner. I was busy with stuff.
 
Old 04-06-2021, 04:29 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,669

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
Quote:
Originally Posted by business_kid
For a start, I would disable all the encryption, obfuscation and whatever else is going on, and get back to a plain simple wifi connection, so we can make sense of that.
Have you done that yet? There's no point in me answering in this thread if you haven't. If you have not, do it now.

Quote:
Originally Posted by WanderingUnix
I see the same disconnection issues. Another thing I forgot to mention is that after an hour or two, the wifi module that is loaded completely fails to load and I get a stack trace in dmesg.

I'll make a new thread for the intel stick as this is very strange. The connection quality according to networkmanager is 51%
51% = -50-60 dBm. Presuming you're not tripping over you own encryption (which I don't yet know) you can eliminate hardware as a source of your problems. A quality of 51% will not give you full speed but fairly ok speeds. You've tried two wifi units.

What else could be causing the problems? Is there a timeout on idle set?

Last edited by business_kid; 04-06-2021 at 04:33 AM.
 
Old 04-06-2021, 07:12 AM   #5
WanderingUnix
LQ Newbie
 
Registered: Mar 2021
Location: United Kingdom
Distribution: Slackware-current
Posts: 6

Original Poster
Rep: Reputation: Disabled
Yes I have disabled everything like encryption and obfuscation.

No there is no timeout on idle but I did find this in dmesg.
Code:
[ 1474.219277] wlan1: waiting for beacon from 74:da:da:fa:db:f4
[ 1479.065209] iwlwifi 0000:02:00.0: Error sending REPLY_SCAN_ABORT_CMD: time out after 2000ms.
[ 1479.065222] iwlwifi 0000:02:00.0: Current CMD queue read_ptr 0 write_ptr 1
[ 1479.316239] iwlwifi 0000:02:00.0: Loaded firmware version: 18.168.6.1 6000g2b-6.ucode
[ 1479.316419] iwlwifi 0000:02:00.0: 0x00000000 | OK                          
[ 1479.316424] iwlwifi 0000:02:00.0: 0x00000000 | uPc
[ 1479.316426] iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
[ 1479.316429] iwlwifi 0000:02:00.0: 0x00000000 | branchlink2
[ 1479.316432] iwlwifi 0000:02:00.0: 0x00000000 | interruptlink1
[ 1479.316434] iwlwifi 0000:02:00.0: 0x00000000 | interruptlink2
[ 1479.316437] iwlwifi 0000:02:00.0: 0x00000000 | data1
[ 1479.316439] iwlwifi 0000:02:00.0: 0x00000000 | data2
[ 1479.316442] iwlwifi 0000:02:00.0: 0x00000000 | line
[ 1479.316445] iwlwifi 0000:02:00.0: 0x00000000 | beacon time
[ 1479.316447] iwlwifi 0000:02:00.0: 0x00000000 | tsf low
[ 1479.316450] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
[ 1479.316452] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[ 1479.316455] iwlwifi 0000:02:00.0: 0x00000000 | time gp2
[ 1479.316468] iwlwifi 0000:02:00.0: 0x00000000 | time gp3
[ 1479.316471] iwlwifi 0000:02:00.0: 0x00000000 | uCode version
[ 1479.316474] iwlwifi 0000:02:00.0: 0x00000000 | hw version
[ 1479.316476] iwlwifi 0000:02:00.0: 0x00000000 | board version
[ 1479.316479] iwlwifi 0000:02:00.0: 0x00000000 | hcmd
[ 1479.316487] iwlwifi 0000:02:00.0: 0x00000000 | isr0
[ 1479.316489] iwlwifi 0000:02:00.0: 0x00000000 | isr1
[ 1479.316491] iwlwifi 0000:02:00.0: 0x00000000 | isr2
[ 1479.316494] iwlwifi 0000:02:00.0: 0x00000000 | isr3
[ 1479.316496] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[ 1479.316498] iwlwifi 0000:02:00.0: 0x00000000 | isr_pref
[ 1479.316500] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[ 1479.316503] iwlwifi 0000:02:00.0: 0x00000000 | l2p_control
[ 1479.316505] iwlwifi 0000:02:00.0: 0x00000000 | l2p_duration
[ 1479.316507] iwlwifi 0000:02:00.0: 0x00000000 | l2p_mhvalid
[ 1479.316510] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match
[ 1479.316512] iwlwifi 0000:02:00.0: 0x00000000 | lmpm_pmg_sel
[ 1479.316514] iwlwifi 0000:02:00.0: 0x00000000 | timestamp
[ 1479.316517] iwlwifi 0000:02:00.0: 0x00000000 | flow_handler
[ 1479.316584] iwlwifi 0000:02:00.0: Start IWL Event Log Dump: nothing in log
[ 1479.316597] iwlwifi 0000:02:00.0: Command REPLY_RXON failed: FW Error
[ 1479.316600] iwlwifi 0000:02:00.0: Error clearing ASSOC_MSK on BSS (-5)
[ 1479.328542] ieee80211 phy0: Hardware restart was requested
[ 1479.341668] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[ 1479.636586] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[ 1479.726311] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[ 1485.148196] iwlwifi 0000:02:00.0: Failed to load firmware chunk!
[ 1485.148213] iwlwifi 0000:02:00.0: iwlwifi transaction failed, dumping registers
[ 1485.148217] iwlwifi 0000:02:00.0: iwlwifi device config registers:
[ 1485.148578] iwlwifi 0000:02:00.0: 00000000: 088e8086 00100006 02800024 00000010 8eb00004 00000000 00000000 00000000
[ 1485.148584] iwlwifi 0000:02:00.0: 00000020: 00000000 00000000 00000000 40608086 00000000 000000c8 00000000 0000010b
[ 1485.148588] iwlwifi 0000:02:00.0: 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148592] iwlwifi 0000:02:00.0: 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148596] iwlwifi 0000:02:00.0: 00000080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148599] iwlwifi 0000:02:00.0: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148603] iwlwifi 0000:02:00.0: 000000c0: 00000000 00000000 c823d001 0d000000 0080e005 00000000 00000000 00000000
[ 1485.148607] iwlwifi 0000:02:00.0: 000000e0: 00010010 10008ec0 00100810 0006ec11 10110040 00000000 00000000 00000000
[ 1485.148611] iwlwifi 0000:02:00.0: 00000100: 14010001 00000000 00000000 00062011 00000000 00002000 00000000 00000000
[ 1485.148615] iwlwifi 0000:02:00.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148619] iwlwifi 0000:02:00.0: 00000140: 00010003 ffb6d654 b4b676ff 00000000 00000000 00000000 00000000 00000000
[ 1485.148622] iwlwifi 0000:02:00.0: iwlwifi device memory mapped registers:
[ 1485.148678] iwlwifi 0000:02:00.0: 00000000: 00484b00 00000040 08000000 00000000 00000001 00000000 00000030 00000000
[ 1485.148682] iwlwifi 0000:02:00.0: 00000020: 00000001 080403c5 000000b0 00000000 90000801 00030001 80008040 00080046
[ 1485.148689] iwlwifi 0000:02:00.0: iwlwifi device AER capability structure:
[ 1485.148749] iwlwifi 0000:02:00.0: 00000000: 14010001 00000000 00000000 00062011 00000000 00002000 00000000 00000000
[ 1485.148752] iwlwifi 0000:02:00.0: 00000020: 00000000 00000000 00000000
[ 1485.148755] iwlwifi 0000:02:00.0: iwlwifi parent port (0000:00:1c.1) config registers:
[ 1485.148954] iwlwifi 0000:00:1c.1: 00000000: 1e128086 00100106 060400c4 00810010 00000000 00000000 00020200 000000f0
[ 1485.148958] iwlwifi 0000:00:1c.1: 00000020: 8eb08eb0 0001fff1 00000000 00000000 00000000 00000040 00000000 0012020b
[ 1485.148962] iwlwifi 0000:00:1c.1: 00000040: 00428010 00008000 00100000 02113c12 70110040 00040560 01400000 00000000
[ 1485.148965] iwlwifi 0000:00:1c.1: 00000060: 00000000 00000016 00000000 00000000 00010002 00000000 00000000 00000000
[ 1485.148969] iwlwifi 0000:00:1c.1: 00000080: 00009005 00000000 00000000 00000000 0000a00d 21f317aa 00000000 00000000
[ 1485.148973] iwlwifi 0000:00:1c.1: 000000a0: c8020001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148977] iwlwifi 0000:00:1c.1: 000000c0: 00000000 00000000 00000000 00000000 01000000 00000b02 01118000 00000000
[ 1485.148980] iwlwifi 0000:00:1c.1: 000000e0: 00000300 00000000 00000001 00000000 00000000 00000000 08050f87 00000000
[ 1485.148984] iwlwifi 0000:00:1c.1: 00000100: 00000000 00000000 00000000 00060011 00000000 00002000 00000000 00000000
[ 1485.148988] iwlwifi 0000:00:1c.1: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148991] iwlwifi 0000:00:1c.1: 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148995] iwlwifi 0000:00:1c.1: 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.148999] iwlwifi 0000:00:1c.1: 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.149002] iwlwifi 0000:00:1c.1: 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.149006] iwlwifi 0000:00:1c.1: 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.149010] iwlwifi 0000:00:1c.1: 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1485.149023] iwlwifi 0000:00:1c.1: 00000200: 00000000 00000000 00000000
[ 1485.149031] iwlwifi 0000:02:00.0: Could not load the [0] uCode section
[ 1485.161384] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -110
[ 1485.161404] iwlwifi 0000:02:00.0: Unable to initialize device.
[ 1485.161406] ------------[ cut here ]------------
[ 1485.161407] Hardware became unavailable during restart.
[ 1485.161423] WARNING: CPU: 2 PID: 3476 at net/mac80211/util.c:2345 ieee80211_reconfig+0xd1/0x12c0
[ 1485.161431] Modules linked in: iwldvm iwlwifi
[ 1485.161437] CPU: 2 PID: 3476 Comm: kworker/2:3 Tainted: G                T 5.11.11 #1
[ 1485.161440] Hardware name: LENOVO 2349JG1/2349JG1, BIOS CBET4000 4.13-1524-g6271dd8459-dirty 01/29/2021
[ 1485.161442] Workqueue: events_freezable ieee80211_restart_work
[ 1485.161448] RIP: 0010:ieee80211_reconfig+0xd1/0x12c0
[ 1485.161452] Code: 16 00 0f 85 3e 03 00 00 c6 85 64 05 00 00 00 48 89 ef e8 b2 a1 fc ff 85 c0 41 89 c4 74 14 48 c7 c7 38 9e af 97 e8 61 2d 05 00 <0f> 0b eb c2 88 5c 24 16 48 8b 45 40 44 8b a0 98 00 00 00 e8 d7 d7
[ 1485.161455] RSP: 0018:ffffb62b006f7df8 EFLAGS: 00010282
[ 1485.161457] RAX: 0000000000000000 RBX: ffffa393f98398e0 RCX: ffffa394e15178d8
[ 1485.161459] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffffa394e15178d0
[ 1485.161461] RBP: ffffa393f98387c0 R08: 0000000000000000 R09: ffffb62b006f7c30
[ 1485.161462] R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffff92
[ 1485.161463] R13: ffffa393f98387c0 R14: 0000000000000000 R15: 0000000000000000
[ 1485.161465] FS:  0000000000000000(0000) GS:ffffa394e1500000(0000) knlGS:0000000000000000
[ 1485.161467] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1485.161468] CR2: 00007f795801d348 CR3: 000000041a010004 CR4: 00000000001706e0
[ 1485.161471] Call Trace:
[ 1485.161475]  ieee80211_restart_work+0xb2/0xe0
[ 1485.161479]  process_one_work+0x1dc/0x370
[ 1485.161485]  worker_thread+0x4e/0x3a0
[ 1485.161488]  ? rescuer_thread+0x380/0x380
[ 1485.161492]  kthread+0x116/0x130
[ 1485.161496]  ? __kthread_bind_mask+0x60/0x60
[ 1485.161499]  ret_from_fork+0x22/0x30
[ 1485.161503] ---[ end trace adcbca16df58359a ]---
[ 1485.161542] ------------[ cut here ]------------
[ 1485.161543] wlan1: Failed check-sdata-in-driver check, flags: 0x4
[ 1485.161557] WARNING: CPU: 2 PID: 3476 at net/mac80211/driver-ops.c:97 drv_remove_interface+0xdc/0xf0
[ 1485.161564] Modules linked in: iwldvm iwlwifi
[ 1485.161568] CPU: 2 PID: 3476 Comm: kworker/2:3 Tainted: G        W       T 5.11.11 #1
[ 1485.161570] Hardware name: LENOVO 2349JG1/2349JG1, BIOS CBET4000 4.13-1524-g6271dd8459-dirty 01/29/2021
[ 1485.161572] Workqueue: events_freezable ieee80211_restart_work
[ 1485.161575] RIP: 0010:drv_remove_interface+0xdc/0xf0
[ 1485.161579] Code: 75 96 48 8b 83 28 02 00 00 48 8d b3 48 02 00 00 48 c7 c7 c0 8e af 97 c6 05 2e b2 cf 00 01 48 85 c0 48 0f 45 f0 e8 36 87 08 00 <0f> 0b e9 67 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57
[ 1485.161581] RSP: 0018:ffffb62b006f7c88 EFLAGS: 00010282
[ 1485.161583] RAX: 0000000000000000 RBX: ffffa3924f13a880 RCX: ffffa394e15178d8
[ 1485.161584] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffffa394e15178d0
[ 1485.161586] RBP: ffffa393f98387c0 R08: 0000000000000000 R09: ffffb62b006f7ac0
[ 1485.161587] R10: 0000000000000001 R11: 0000000000000001 R12: ffffa393f9839010
[ 1485.161588] R13: ffffa3924f13b208 R14: ffffa393f9838cb0 R15: ffffa393f98387c0
[ 1485.161590] FS:  0000000000000000(0000) GS:ffffa394e1500000(0000) knlGS:0000000000000000
[ 1485.161592] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1485.161593] CR2: 00007f795801d348 CR3: 000000041a010004 CR4: 00000000001706e0
[ 1485.161595] Call Trace:
[ 1485.161596]  ieee80211_do_stop+0x53c/0x890
[ 1485.161602]  ieee80211_stop+0x11/0x20
[ 1485.161605]  __dev_close_many+0xad/0x120
[ 1485.161610]  dev_close_many+0x9d/0x150
[ 1485.161614]  dev_close+0x8a/0xb0
[ 1485.161617]  cfg80211_shutdown_all_interfaces+0x6c/0xc0
[ 1485.161624]  ieee80211_reconfig+0x9f/0x12c0
[ 1485.161628]  ieee80211_restart_work+0xb2/0xe0
[ 1485.161631]  process_one_work+0x1dc/0x370
[ 1485.161635]  worker_thread+0x4e/0x3a0
[ 1485.161639]  ? rescuer_thread+0x380/0x380
[ 1485.161643]  kthread+0x116/0x130
[ 1485.161646]  ? __kthread_bind_mask+0x60/0x60
[ 1485.161649]  ret_from_fork+0x22/0x30
[ 1485.161652] ---[ end trace adcbca16df58359b ]---
[ 1485.161670] ------------[ cut here ]------------
[ 1485.161671] WARNING: CPU: 2 PID: 3476 at net/mac80211/driver-ops.c:36 drv_stop+0xc6/0xd0
[ 1485.161676] Modules linked in: iwldvm iwlwifi
[ 1485.161679] CPU: 2 PID: 3476 Comm: kworker/2:3 Tainted: G        W       T 5.11.11 #1
[ 1485.161681] Hardware name: LENOVO 2349JG1/2349JG1, BIOS CBET4000 4.13-1524-g6271dd8459-dirty 01/29/2021
[ 1485.161683] Workqueue: events_freezable ieee80211_restart_work
[ 1485.161686] RIP: 0010:drv_stop+0xc6/0xd0
[ 1485.161689] Code: 68 89 c0 48 0f a3 05 59 db d1 00 73 8d 48 8b 05 00 a6 d1 00 48 85 c0 74 0c 48 8b 78 08 48 89 de e8 3f d1 03 00 e9 70 ff ff ff <0f> 0b 5b c3 66 0f 1f 44 00 00 41 54 55 48 89 fd 53 48 89 f3 e8 a1
[ 1485.161690] RSP: 0018:ffffb62b006f7c90 EFLAGS: 00010246
[ 1485.161692] RAX: 0000000000000000 RBX: ffffa393f98387c0 RCX: 0000000000000000
[ 1485.161693] RDX: ffffa392ac9d6940 RSI: 0000000000000296 RDI: ffffa393f98387c0
[ 1485.161695] RBP: ffffa393f9839940 R08: ffffa39180072800 R09: ffffffff97c44db8
[ 1485.161696] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa393f9839010
[ 1485.161697] R13: ffffa3924f13b208 R14: ffffa393f9838cb0 R15: ffffa393f98387c0
[ 1485.161699] FS:  0000000000000000(0000) GS:ffffa394e1500000(0000) knlGS:0000000000000000
[ 1485.161701] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1485.161702] CR2: 00007f795801d348 CR3: 000000041a010004 CR4: 00000000001706e0
[ 1485.161703] Call Trace:
[ 1485.161705]  ieee80211_do_stop+0x56e/0x890
[ 1485.161726]  ieee80211_stop+0x11/0x20
[ 1485.161731]  __dev_close_many+0xad/0x120
[ 1485.161735]  dev_close_many+0x9d/0x150
[ 1485.161738]  dev_close+0x8a/0xb0
[ 1485.161744]  cfg80211_shutdown_all_interfaces+0x6c/0xc0
[ 1485.161749]  ieee80211_reconfig+0x9f/0x12c0
[ 1485.161755]  ieee80211_restart_work+0xb2/0xe0
[ 1485.161759]  process_one_work+0x1dc/0x370
[ 1485.161765]  worker_thread+0x4e/0x3a0
[ 1485.161769]  ? rescuer_thread+0x380/0x380
[ 1485.161774]  kthread+0x116/0x130
[ 1485.161782]  ? __kthread_bind_mask+0x60/0x60
[ 1485.161784]  ret_from_fork+0x22/0x30
[ 1485.161788] ---[ end trace adcbca16df58359c ]---
Seems to be a ploblem with the firmware maybe? This happens to the wifi when the computer is completely idle and at random. I saw other people who had this problem but no solutions. Only an old kernel issue that was fixed in a old kernel. Ill see if putting a new router fixes the ploblem but I think it could be a kernel issue. I have not tampered much with wifi related options. Ill try 5.4 and 4.19 to see if they cause any issues.
 
Old 04-06-2021, 08:23 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,669

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
From the look of that, you are using the (Realtek) iwlwifi module to drive the Qualcomm Atheros wifi card, or possibly the intel usb thingy you've got. No wonder it's making strange!

Device numbers are or should be issued in the order they are discovered.I presume your Qualcomm Atheros wifi is internal, and your intel usb device external. So
  • wlan0 should be Qualcomm
  • wlan1 should be intel, and no others should exist.

Is there a problem with that reasoning. Go after why a Qualcomm card is loading a Realtek module. What module is the Intel one loading?

The way that seems to be set up, the strange thing isn't that it goes on the blink; the strange thing is that it ever worked. We may get out of this with some artful editing of /etc/modprobe.conf (if such still exists).
 
Old 04-06-2021, 08:52 AM   #7
WanderingUnix
LQ Newbie
 
Registered: Mar 2021
Location: United Kingdom
Distribution: Slackware-current
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok I have finally fixed it!
I used 4.19 and that seem to clear the disconnections. Must be a problem with newer kernel.
I tested by downloading multiple bits of data (games, videos) and watching youtube) and it never disconnected!
I will mark it as solved.
JUst to note: My TL-WN422G is disconnected an I am using the intel wifi. I tested that and it also works. Thank you!
 
Old 04-06-2021, 01:02 PM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,669

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
Good to hear That's weird behaviour, like something is showing in modules blacklist, or not showing in the initrd.
 
  


Reply

Tags
ath9k, disconnection, kernel compile, network confguration


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet randomly disconnects unless a restart is ensued newstar23 Linux - Newbie 4 08-31-2013 02:48 AM
ath9k_htc astutus Linux - Networking 1 01-21-2013 08:19 AM
REALLY strange problem with TL-WN422G (atheros) anon55672 Linux - Wireless Networking 2 11-07-2010 10:53 AM
[SOLVED] Usb wifi TL-WN422G saturates my dmesg! Mikro Linux - Hardware 3 07-08-2010 09:40 AM
[SOLVED] USB stick TP-Link TL-WN422g V.2 ar9271 ukiuki Linux - Wireless Networking 0 05-29-2010 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration