FS#59052 - [linux] Marvell Wlan not working with kernel 4.17

Attached to Project: Arch Linux
Opened by Stefan (dust123) - Monday, 18 June 2018, 14:19 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 19 June 2022, 09:37 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After update to linux-4.17 the builtin wifi (marvell) on Surface Pro 3 (and SP2017) stopped working.

Additional info:
* package version(s)
* config and/or log files etc.

dmesg | grep wifi output on linux-4.17

[ 10.099547] mwifiex_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 10.099735] mwifiex_pcie: try set_consistent_dma_mask(32)
[ 10.099762] mwifiex_pcie: PCI memory map Virt0: 00000000b6672718 PCI memory map Virt2: 0000000027725500
[ 11.337621] mwifiex_pcie 0000:01:00.0: info: FW download over, size 843828 bytes
[ 12.296710] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 22.453427] mwifiex_pcie 0000:01:00.0: mwifiex_cmd_timeout_func: Timeout cmd id = 0xa9, act = 0x0
[ 22.453461] mwifiex_pcie 0000:01:00.0: num_data_h2c_failure = 0
[ 22.453470] mwifiex_pcie 0000:01:00.0: num_cmd_h2c_failure = 0
[ 22.453478] mwifiex_pcie 0000:01:00.0: is_cmd_timedout = 1
[ 22.453488] mwifiex_pcie 0000:01:00.0: num_tx_timeout = 0
[ 22.453496] mwifiex_pcie 0000:01:00.0: last_cmd_index = 2
[ 22.453505] mwifiex_pcie 0000:01:00.0: last_cmd_id: 00 00 fa 00 a9 00 00 00 00 00
[ 22.453512] mwifiex_pcie 0000:01:00.0: last_cmd_act: 00 00 00 f0 00 00 00 00 00 00
[ 22.453519] mwifiex_pcie 0000:01:00.0: last_cmd_resp_index = 1
[ 22.453526] mwifiex_pcie 0000:01:00.0: last_cmd_resp_id: 00 00 fa 80 00 00 00 00 00 00
[ 22.453532] mwifiex_pcie 0000:01:00.0: last_event_index = 0
[ 22.453538] mwifiex_pcie 0000:01:00.0: last_event: 00 00 00 00 00 00 00 00 00 00
[ 22.453545] mwifiex_pcie 0000:01:00.0: data_sent=0 cmd_sent=1
[ 22.453552] mwifiex_pcie 0000:01:00.0: ps_mode=0 ps_state=0
[ 22.453601] mwifiex_pcie 0000:01:00.0: info: _mwifiex_fw_dpc: unregister device




The same output with linux-4.16 (working):

[ 10.188015] mwifiex_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[ 10.189687] mwifiex_pcie: try set_consistent_dma_mask(32)
[ 10.189722] mwifiex_pcie: PCI memory map Virt0: 00000000551ae6de PCI memory map Virt2: 00000000f4c89415
[ 11.439183] mwifiex_pcie 0000:01:00.0: info: FW download over, size 843828 bytes
[ 12.396725] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 12.522144] mwifiex_pcie 0000:01:00.0: Unknown api_id: 4
[ 12.543118] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p154)
[ 12.543122] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (15.68.7.p154)
[ 12.545561] mwifiex_pcie 0000:01:00.0 wlp1s0: renamed from mlan0
[ 16.815115] mwifiex_pcie 0000:01:00.0: info: trying to associate to 'MyWifi' bssid 1a:2a:ef:e3:20:c4
[ 17.017049] mwifiex_pcie 0000:01:00.0: info: associated to bssid 1a:2a:ef:e3:20:c4 successfully


Steps to reproduce:
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 19 June 2022, 09:37 GMT
Reason for closing:  Fixed
Comment by Ryan (N_mag) - Tuesday, 26 June 2018, 02:46 GMT
Confirmed on kernel 4.17.2-1

4.14.51-1-lts works fine but standby and hibernation doesn't work.
Comment by loqs (loqs) - Tuesday, 26 June 2018, 14:32 GMT
Have you tried 4.18-rc2 or bisecting between 4.16 and 4.17 or contacting upstream? Please do not expect any action to result from this bug report.
Comment by mattia (nTia89) - Monday, 28 February 2022, 16:38 GMT
I cannot reproduce the issue. Is it still valid for you?
Comment by Ryan (N_mag) - Tuesday, 10 May 2022, 12:51 GMT
I do not see this on new installs of Arch on my SP3 with the latest updates and the proper linux-firmware-marvell package installed

Loading...