You are not logged in.

#1 2018-02-14 19:57:03

danielausparis
Member
Registered: 2010-06-22
Posts: 34

wifi off/on depending on kernel version ?

Hello Archers,

I have had recurring wifi problems lately. It did work since years.

- linux-4.15.1-2: no more wifi
- linux-4.15.2-2: wifi came back
- linux-4.15.3-1: no more wifi (today)

My box is a MSI-1758 laptop with a Realtek chip. Never had the slightest issue whatsoever. Below some data, more available on request.

Thank you in advance for any clue

Regards,
Daniel

lspci -v :

05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter
        Subsystem: AzureWave RTL8723AE PCIe Wireless Network Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 17
        I/O ports at c000 [size=256]
        Memory at f7800000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-23-87-fe-ff-4c-e0-00
        Kernel driver in use: rtl8723ae
        Kernel modules: rtl8723ae

lsmod :

Module                  Size  Used by
8021q                  32768  0
mrp                    20480  1 8021q
fuse                  118784  3
iptable_nat            16384  0
nf_conntrack_ipv4      16384  1
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 36864  1 nf_nat_ipv4
nf_conntrack          155648  3 nf_conntrack_ipv4,nf_nat_ipv4,nf_nat
libcrc32c              16384  2 nf_conntrack,nf_nat
crc32c_generic         16384  0
bbswitch               16384  0
iptable_mangle         16384  0
iptable_filter         16384  0
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             634880  5 btrtl,btintel,btbcm,btusb
ecdh_generic           24576  1 bluetooth
intel_rapl             24576  0
joydev                 24576  0
x86_pkg_temp_thermal    16384  0
mousedev               24576  0
arc4                   16384  2
intel_powerclamp       16384  0
rtl8723ae             131072  0
coretemp               16384  0
kvm_intel             229376  0
btcoexist             221184  1 rtl8723ae
snd_hda_codec_hdmi     57344  1
rtl8723_common         28672  1 rtl8723ae
kvm                   704512  1 kvm_intel
mxm_wmi                16384  0
rtl_pci                36864  1 rtl8723ae
msi_wmi                16384  0
rtlwifi               106496  4 rtl_pci,btcoexist,rtl8723_common,rtl8723ae
sparse_keymap          16384  1 msi_wmi
irqbypass              16384  1 kvm
mac80211              909312  2 rtl_pci,rtlwifi
crct10dif_pclmul       16384  0
ofpart                 16384  0
crc32_pclmul           16384  0
i915                 1921024  5
cmdlinepart            16384  0
intel_spi_platform     16384  0
intel_spi              20480  1 intel_spi_platform
spi_nor                36864  1 intel_spi
mtd                    69632  6 spi_nor,ofpart,intel_spi,cmdlinepart
ghash_clmulni_intel    16384  0
cfg80211              741376  2 mac80211,rtlwifi
pcbc                   16384  0
snd_hda_codec_realtek   106496  1
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
alx                    49152  0
mdio                   16384  1 alx
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
input_leds             16384  0
aesni_intel           188416  0
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
rfkill                 28672  5 bluetooth,cfg80211
snd_hda_intel          45056  0
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate           16384  0
snd_soc_rt5640        118784  0
drm_kms_helper        200704  1 i915
snd_soc_rl6231         16384  1 snd_soc_rt5640
intel_uncore          131072  0
drm                   466944  6 i915,drm_kms_helper
led_class              16384  1 input_leds
intel_rapl_perf        16384  0
snd_hda_core           94208  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_soc_core          286720  1 snd_soc_rt5640
intel_gtt              24576  1 i915
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
agpgart                49152  2 intel_gtt,drm
pcspkr                 16384  0
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               135168  7 snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_core,snd_soc_rt5640,snd_hda_codec_hdmi,snd_soc_core
psmouse               167936  0
i2c_i801               32768  0syscopyarea            16384  1 drm_kms_helper
battery                20480  0
snd_timer              36864  1 snd_pcm
snd                    98304  10 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_soc_core,snd_pcm
shpchp                 40960  0
sysfillrect            16384  1 drm_kms_helper
soundcore              16384  1 snd
mei_me                 45056  0
ac                     16384  0
ie31200_edac           16384  0
mei                   106496  1 mei_me
evdev                  20480  17
mac_hid                16384  0
wmi                    28672  2 msi_wmi,mxm_wmi
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
i2c_algo_bit           16384  1 i915
rtc_cmos               24576  1
lpc_ich                28672  0
sch_fq_codel           20480  9
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxpci                28672  0
vboxdrv               483328  3 vboxnet
ip_tables              28672  3 iptable_mangle,iptable_filter,iptable_nat
x_tables               45056  3 iptable_mangle,ip_tables,iptable_filter
ext4                  712704  1
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
hid_generic            16384  0
usbhid                 57344  0
hid                   131072  2 hid_generic,usbhid
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  2
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
ahci                   40960  1
libahci                40960  1 ahci
xhci_pci               16384  0
ehci_pci               16384  0
xhci_hcd              258048  1 xhci_pci
ehci_hcd               94208  1 ehci_pci
libata                278528  2 ahci,libahci
crc32c_intel           24576  1
scsi_mod              258048  3 sd_mod,libata,sr_mod
usbcore               286720  6 usbhid,ehci_hcd,xhci_pci,btusb,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  32768  0
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

dmesg | grep rtl :

[    9.879544] rtl8723ae: Using firmware rtlwifi/rtl8723fw_B.bin
[    9.979840] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    9.980299] rtlwifi: rtlwifi: wireless switch is on
[   10.163251] rtl8723ae 0000:05:00.0 wlp5s0: renamed from wlan0
[   11.415198] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=1200
[   11.415200] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723a_fw.bin

ip link show wlp5s0:

3: wlp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether 54:27:1e:ee:68:1e brd ff:ff:ff:ff:ff:ff

Last edited by danielausparis (2018-02-18 05:59:08)

Offline

#2 2018-02-14 20:38:31

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: wifi off/on depending on kernel version ?

Offline

#3 2018-02-14 21:14:35

loqs
Member
Registered: 2014-03-06
Posts: 17,368

Re: wifi off/on depending on kernel version ?

From https://cdn.kernel.org/pub/linux/kernel … Log-4.15.3 / https://git.kernel.org/pub/scm/linux/ke … ?h=v4.15.3
try reverting https://git.kernel.org/pub/scm/linux/ke … da702c6ce3
@danielausparis that issue was b43 specific and fixed in 4.15.2-2 https://git.archlinux.org/svntogit/pack … 4f0d6cd4e5
Edit:
spelling specific not speciffic

Last edited by loqs (2018-02-14 21:15:16)

Offline

#4 2018-02-15 06:06:37

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: wifi off/on depending on kernel version ?

The case becomes more mysterious: my wifi came alive after about 10 minutes. This is repeatable, after boot no wifi and after a long delay it works. Very strange.

Offline

#5 2018-02-15 09:46:48

seth
Member
Registered: 2012-09-03
Posts: 51,162

Re: wifi off/on depending on kernel version ?

Look into your journal and dmesg?
How do you expect wifi to "come alive"? Automagically (some network manager) or does manual connection fail?

Offline

#6 2018-02-16 08:27:00

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: wifi off/on depending on kernel version ?

I use connman.
Apparently the latest connman this morning takes care of the issue, however i'm still doubting about the root cause. Let's make is [solved] for now. Many thanks to all.
Daniel

Offline

#7 2018-02-16 15:36:33

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: wifi off/on depending on kernel version ?

You have to mark it as solved yourself. Edit the first post and prepend [SOLVED] to the title.


Matt

"It is very difficult to educate the educated."

Offline

#8 2018-02-18 05:55:39

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: wifi off/on depending on kernel version ?

With latest kernel 4.15.3-2 (this morning) the wifi never, never comes up. I thought it was maybe connman related but the hypothesis of relation to kernel versions seems increasingly solid.
All data stays as in the first post, in particular dmesg.
Edit : changed thread title

Last edited by danielausparis (2018-02-18 05:59:35)

Offline

#9 2018-02-18 18:07:05

loqs
Member
Registered: 2014-03-06
Posts: 17,368

Re: wifi off/on depending on kernel version ?

Would suggest you bisect between 4.15.1 and 4.15.2 or my suggestion from post #3.  Arch does not fix upstream issues and this issue does not appear to be experienced by anyone else.
So it seems likely you are going to have to determine the cause yourself and take it upstream.

Offline

#10 2018-02-18 20:06:52

seth
Member
Registered: 2012-09-03
Posts: 51,162

Re: wifi off/on depending on kernel version ?

Also disable/stop connman and try a manual connection: https://wiki.archlinux.org/index.php/Wi … nual_setup
Your dmesg/journal might still hold further information on why/where it fails.

Offline

Board footer

Powered by FluxBB