marvell-88w8897-wifi randomly disconnects and won't reconnect afterwards

Hi.

I am running Manjaro i3wm and the Wi-Fi randomly disconnects. I have high speed internet with great connection (takes 8 seconds to download a 3hr movie) but not only does it disconnect, it doesn't let me re-connect after. This is what I get when I try to re-connect:

The screencap reads:

(A) Disconnected
The network connection has been disconnected

I can't read a thing from a pic on my phone. Sceencaps are totally inappropriate on technical threads.

Please format any terminal output with three ``` backticks before and after, as shown in this picture:

Please read this thread on how to post required information properly:

Please use Android USB phone tethering to upload proper logs.

Please give a full history of your issues in far more detail. Is this a fresh install etc etc.

Does the same thing happen on a live boot disk?

1 Like

I'm not sure if it would happen running from a Live USB. It's my only OS. And I've installed it last week in Turkey. It was randomly disconnecting from my hotspot as well.

That would be important info to know as well as your system specs. You could also post your specs from a live system. I'll be back when there's some actual information of use on this thread. Without proper info this thread is going nowhere fast.

Yea but this happens randomly. Its not at a fixed pattern or intervals. See, I just rebooted so I'm typing this from my laptop but idk when its going to happen again. I can boot it from Live USB but at that point, I need to sit for endless hours and wait to see if it does happen. So unfortunately, none of that is feasible.

I'm obviously a Linux newbie. If there are some terminal outputs you'd like to see, I can gladly post them. But what you're suggesting is just not feasible.

Right. So are there any commands you'd like me to run? I'll post the system specs.

Read this: ^^^

Surface Pro 3
Manjaro Linux 18.0.4 Illyria
Kernel: 4.19.62-1-MANJARO

If you want, I can post the CPU & RAM info as well. I've omitted those for now because they were too large.

And once again. This does not happen at specific instances for me to be able to test with Live USB booting. It happens randomly. Some days it doesn't happen at all. So if I wanted to confirm whether it happens with Live USB Booting or not, I need to sit infront of this machine for god knows how many hours (or even days). And you don't need to repost the same paragraph. I've read it the first time.

Are you clicking the link and reading it? It specifically outlines the recommended information you should provide.

1 Like

Ah. You're right:

System:    Host: onur-sp3 Kernel: 4.19.62-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: i3 4.16.1 
           info: i3bar dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Microsoft product: Surface Pro 3 v: 1 serial: <filter> 
           Mobo: Microsoft model: Surface Pro 3 v: 1 serial: <filter> UEFI: American Megatrends v: 3.11.2550 
           date: 06/12/2018 
Battery:   ID-1: BAT0 charge: 36.4 Wh condition: 40.1/42.2 Wh (95%) volts: 8.6/7.6 model: SIMPLO X898289 
           type: Li-ion serial: <filter> status: Charging cycles: 690 
CPU:       Topology: Dual Core model: Intel Core i7-4650U bits: 64 type: MT MCP arch: Haswell rev: 1 
           L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 18366 
           Speed: 998 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 993 2: 958 3: 968 4: 969 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Microsoft driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:0a26 
           Display: x11 server: X.Org 1.20.5 driver: intel unloaded: modesetting alternate: fbdev,vesa 
           compositor: compton resolution: 2160x1440~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.1.3 compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel v: kernel bus ID: 00:03.0 
           chip ID: 8086:0a0c 
           Device-2: Intel 8 Series HD Audio vendor: Microsoft driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:9c20 
           Sound Server: ALSA v: k4.19.62-1-MANJARO 
Network:   Device-1: Marvell 88W8897 [AVASTAR] 802.11ac Wireless vendor: SafeNet driver: mwifiex_pcie v: 1.0 
           port: 3040 bus ID: 01:00.0 chip ID: 11ab:2b38 
           IF: wlp1s0 state: up mac: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 59.07 GiB (24.8%) 
           ID-1: /dev/sda vendor: Samsung model: MZMTE256HMHP-000MV size: 238.47 GiB speed: 6.0 Gb/s 
           serial: <filter> rev: 2M0Q scheme: GPT 
Partition: ID-1: / size: 233.43 GiB used: 59.07 GiB (25.3%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 61.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 175 Uptime: 2m Memory: 7.70 GiB used: 578.0 MiB (7.3%) Init: systemd v: 242 Compilers: 
           gcc: 9.1.0 Shell: bash v: 5.0.7 running in: urxvtd inxi: 3.0.35

Use the </> not the block quote. It's just a wall of text now.
Highlight all the pasted text, then hit the </> button.

The first thing I would do Is install and test at least three alternate kernels such as 5.2, 4.14, & 4.9. Install kernels through Manjaro Settings Manager, and always have at least two kernels installed at all times for safety.

Run this command if your connection drops:

sudo systemctl stop NetworkManager; sudo ip link set wlp1s0 down; sudo modprobe -r mwifiex_pcie; sleep 3; sudo modprobe mwifiex_pcie; sudo ip link set wlp1s0 up; sudo systemctl start NetworkManager
2 Likes

Okay so I tried all 3 kernels and the problem persisted with all of them. When I was in 5.2, I ran this command in the terminal after the wifi dropped:

sudo systemctl stop NetworkManager; sudo ip link set wlp1s0 down; sudo modprobe -r mwifiex_pcie; sleep 3; sudo modprobe mwifiex_pcie; sudo ip link set wlp1s0 up; sudo systemctl start NetworkManager

This was the output:

modprobe: FATAL: Module mwifiex_pcie not found in directory /lib/modules/5.2.4-1-MANJARO

Prior to this, the above command wouldn't really work. Each time I ran it, it would ask me for a password for the Wifi but would never actually log in.

That result makes very little sense (as it does not jive with your inxi output).

Please post the entire output of this command:

lsmod | sort
ac                     16384  0
aesni_intel           188416  0
aes_x86_64             20480  1 aesni_intel
agpgart                49152  2 intel_gtt,drm
ahci                   40960  2
battery                20480  0
bluetooth             630784  26 btrtl,btintel,btbcm,bnep,btusb
bnep                   24576  2
btbcm                  16384  1 btusb
btintel                20480  1 btusb
btrfs                1347584  0
btrtl                  16384  1 btusb
btusb                  53248  0
button                 16384  0
cdrom                  65536  1 sr_mod
cfg80211              733184  1 mwifiex
coretemp               16384  0
crc16                  16384  2 bluetooth,ext4
crc32c_generic         16384  0
crc32c_intel           24576  4
crc32_pclmul           16384  0
crct10dif_pclmul       16384  0
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd            16384  1 aesni_intel
crypto_user            16384  0
dm_mod                147456  0
drm                   434176  6 drm_kms_helper,i915
drm_kms_helper        192512  1 i915
ecdh_generic           24576  1 bluetooth
evdev                  24576  14
ext4                  724992  1
fat                    81920  2 msdos,vfat
fb_sys_fops            16384  1 drm_kms_helper
fscrypto               32768  1 ext4
fuse                  118784  3
ghash_clmulni_intel    16384  0
glue_helper            16384  1 aesni_intel
hfs                    69632  0
hfsplus               118784  0
hid                   122880  4 i2c_hid,usbhid,hid_multitouch,hid_sensor_hub
hid_multitouch         24576  0
hid_sensor_accel_3d    16384  0
hid_sensor_als         16384  0
hid_sensor_gyro_3d     16384  0
hid_sensor_hub         20480  8 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
hid_sensor_iio_common    16384  7 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
hid_sensor_incl_3d     16384  0
hid_sensor_magn_3d     16384  0
hid_sensor_rotation    16384  0
hid_sensor_trigger     16384  12 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
i2c_algo_bit           16384  1 i915
i2c_hid                24576  0
i2c_i801               28672  0
i915                 1941504  8
industrialio           81920  9 industrialio_triggered_buffer,hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_incl_3d,kfifo_buf,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
industrialio_triggered_buffer    16384  6 hid_sensor_gyro_3d,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation
input_leds             16384  0
intel_cstate           16384  0
intel_gtt              24576  1 i915
intel_powerclamp       16384  0
intel_rapl             24576  0
intel_rapl_perf        16384  0
ip_tables              28672  0
irqbypass              16384  1 kvm
iTCO_vendor_support    16384  1 iTCO_wdt
iTCO_wdt               16384  0
jbd2                  122880  1 ext4
jfs                   212992  0
joydev                 24576  0
kfifo_buf              16384  1 industrialio_triggered_buffer
kvm                   704512  1 kvm_intel
kvm_intel             233472  0
led_class              16384  1 input_leds
libahci                40960  1 ahci
libata                270336  2 libahci,ahci
libcrc32c              16384  1 xfs
lpc_ich                28672  0
mac_hid                16384  0
mbcache                16384  1 ext4
media                  45056  2 videodev,uvcvideo
mei                   114688  1 mei_me
mei_me                 45056  0
minix                  40960  0
Module                  Size  Used by
mousedev               24576  0
msdos                  20480  0
mwifiex               315392  1 mwifiex_pcie
mwifiex_pcie           40960  0
nls_cp437              20480  1
nls_iso8859_1          16384  1
ntfs                  225280  0
pcbc                   16384  0
pcc_cpufreq            16384  0
pcspkr                 16384  0
raid6_pq              122880  1 btrfs
rfkill                 28672  5 bluetooth,cfg80211
sch_fq_codel           20480  5
scsi_mod              208896  5 st,sd_mod,libata,sg,sr_mod
sd_mod                 61440  3
sg                     40960  0
shpchp                 40960  0
snd                    94208  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     57344  1
snd_hda_codec_realtek   110592  1
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel          45056  4
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               118784  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
soc_button_array       16384  0
soundcore              16384  1 snd
sr_mod                 28672  0
st                     65536  0
surface3_button        16384  0
surfacepro3_button     16384  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
thermal                20480  0
tpm                    65536  3 tpm_tis,tpm_crb,tpm_tis_core
tpm_crb                16384  0
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
ufs                    86016  0
usb_common             16384  1 usbcore
usbcore               286720  5 xhci_hcd,usbhid,uvcvideo,btusb,xhci_pci
usbhid                 57344  0
uvcvideo              102400  0
vfat                   20480  1
video                  45056  1 i915
videobuf2_core         45056  2 videobuf2_v4l2,uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_vmalloc      16384  1 uvcvideo
videodev              208896  3 videobuf2_core,videobuf2_v4l2,uvcvideo
x86_pkg_temp_thermal    16384  0
xfs                  1449984  0
xhci_hcd              245760  1 xhci_pci
xhci_pci               16384  0
xor                    24576  1 btrfs
x_tables               45056  1 ip_tables
xxhash                 16384  2 zstd_compress,zstd_decompress
zstd_compress         188416  1 btrfs
zstd_decompress        86016  1 btrfs

According to lsmod the "mwifiex_pcie" module is loaded, so there should not be any error if the command was entered correctly. Not sure what the issue is.

It shouldn't be necessary, but maybe run the command again in a root terminal as "su".

I am currently on 4.14 but it dropped with this kernel today as well. That error was from 5.12. One more important detail. When "mwifiex_pcie" is loaded, the wifi still does drop. When I run your above code (I copy/paste so avoid typos), it asks me to reinter the wifi password but never reconnects.

Then try changing your wifi connection settings in network manager to connect automatically, allow all users to connect, and save wifi password unencrypted.

That may help.

Yea I've been trying to start the nm-applet for about 10 minutes now. I googled around and did various things, like run sudo systemctl start NetworkManager.service but it doesn't start

Forum kindly sponsored by