Sometimes network will fail and no network found

(base) [firestar@FIRESTAR ~]$ inxi -i
Network:   Device-1: Marvell 88W8897 [AVASTAR] 802.11ac Wireless driver: mwifiex_pcie 
           IF: wlp1s0 state: up mac: *
           IP v4: * type: dynamic noprefixroute scope: global 
           IP v6: * type: dynamic noprefixroute scope: global 
           IP v6: * type: noprefixroute scope: link 
           Device-2: Marvell Bluetooth and Wireless LAN Composite type: USB driver: btusb 
           WAN IP: *
(base) [firestar@FIRESTAR ~]$ inxi -N
Network:   Device-1: Marvell 88W8897 [AVASTAR] 802.11ac Wireless driver: mwifiex_pcie 
           Device-2: Marvell Bluetooth and Wireless LAN Composite type: USB driver: btusb

Sometimes the network gets this. This happens after Stable Update 08-09 and Testing Update 08-13. I don’t know if it’s the kernel’s fault or some applications.

Host: FIRESTAR 
Kernel: 5.13.10-1-MANJARO x86_64 
bits: 64 
Desktop: KDE Plasma 5.22.4 
Distro: Manjaro 21.1.0 Pahvo 
Branch: Testing

When using Manjaro’s rolling release model, Kernel management becomes a thing, so please install both 5.4 and 5.10 LTS (Long Time Support) and see which one of the two troubles you least.

:crossed_fingers:

Today this issue comes again: (only reboot solves this)

(base) [firestar@FIRESTAR ~]$ nmcli
wlp1s0: disconnected
        "Marvell 88W8897"
        2 connections available
        wifi (mwifiex_pcie), 8E:CB:71:F6:C8:F6, hw, mtu 1500

p2p-dev-wlp1s0: disconnected
        "p2p-dev-wlp1s0"
        wifi-p2p, hw

lo: unmanaged
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.


(base) [firestar@FIRESTAR ~]$ nmcli device show
GENERAL.DEVICE:                         wlp1s0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         8E:CB:71:F6:C8:F6
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (disconnected)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

GENERAL.DEVICE:                         p2p-dev-wlp1s0
GENERAL.TYPE:                           wifi-p2p
GENERAL.HWADDR:                         (unknown)
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnected)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

GENERAL.DEVICE:                         lo
GENERAL.TYPE:                           loopback
GENERAL.HWADDR:                         00:00:00:00:00:00
GENERAL.MTU:                            65536
GENERAL.STATE:                          10 (unmanaged)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
IP4.ADDRESS[1]:                         127.0.0.1/8
IP4.GATEWAY:                            --
IP6.ADDRESS[1]:                         ::1/128
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = ::1/128, nh = ::, mt = 256


(base) [firestar@FIRESTAR ~]$ lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
        Subsystem: Intel Corporation Device 2015
        Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
        Subsystem: Microsoft Corporation Device 0026
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
        Subsystem: Intel Corporation Device 2015
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:05.0 Multimedia controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit (rev 01)
        Subsystem: Intel Corporation Device 2015
        Kernel driver in use: ipu3-imgu
        Kernel modules: ipu3_imgu
00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel_ish_ipc
        Kernel modules: intel_ish_ipc
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:14.3 Multimedia controller: Intel Corporation CSI-2 Host Controller (rev 01)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: ipu3-cio2
        Kernel modules: ipu3_cio2
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #3 (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:16.4 Communication controller: Intel Corporation Device 9d3e (rev 21)
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #4 (rev f1)
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
        Kernel driver in use: pcieport
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
        Subsystem: Intel Corporation Device 7270
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
        Subsystem: Intel Corporation Device 7270
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless
        Subsystem: Device 0008:045e
        Kernel driver in use: mwifiex_pcie
        Kernel modules: mwifiex_pcie
02:00.0 Non-Volatile memory controller: Toshiba Corporation BG3 NVMe SSD Controller (rev 01)
        Subsystem: Toshiba Corporation Toshiba KBG30ZMS128G 128GB NVMe SSD
        Kernel driver in use: nvme


(base) [firestar@FIRESTAR ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: wlp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether 8e:cb:71:f6:c8:f6 brd ff:ff:ff:ff:ff:ff


(base) [firestar@FIRESTAR ~]$ ip link set wlp1s0 up
RTNETLINK answers: Operation not permitted

On both 5.4 LTS and 5.10 LTS?

:thinking:

No. I only use 5.13 because 5.4 and 5.10 cannot recognize my surface pro’s battery. See:

I understand, but have you tried???

If the network doesn’t fail on 5.10 or 5.4, it’s a regression and the solution is known, otherwise you need to try 5.14 and if it fails there too, raise a bug.

:thinking:

SP6 uses Marvell (mwifiex).

Also the mwifiex driver is known to have some… issues. So please do try the Surface kernel, we have a bunch of patches addressing various stability issues for that driver, which unfortunately haven’t made it upstream yet. The iwlwifi driver should be maintained fairly well as far as I can tell, so if you think this is a kernel bug you might have better luck checking in upstream.

Which means you’ll have to get your support from the Surface team as the Manjaro team doesn’t support custom kernels.

:sob: