Re: [BUG] recursive lock in mwifiex_uninit_sw

From: Maximilian Luz
Date: Fri May 14 2021 - 09:57:45 EST


On 5/14/21 14:45 AM, dave@xxxxxxxxx wrote:
A firmware crash of the Marvell 88W8897, which are spurious on Microsoft
Surface devices, will unload/reset the device. However this can also fail
in more recent kernels, which can cause more problems since the driver
does not unload. This causes programs trying to reach the network or
networking devices to hang which in turn causes a reboot/poweroff to hang.

This can happen on the following fedora rawhide kernels:
- 5.12.0-0.rc8.20210423git7af08140979a.193.fc35.x86_64 [1]
- 5.13.0-0.rc1.20210512git88b06399c9c7.15.fc35.x86_64 [2]

The latter seems to be more consistent in triggering this behaviour
(and crashing the firmware). If someone can give me some pointers
I would gladly help and debug this.

I believe the same issue (with slightly different symptoms) is also
reported in

https://lore.kernel.org/linux-wireless/98392296-40ee-6300-369c-32e16cff3725@xxxxxxxxx/

See also

https://lore.kernel.org/linux-wireless/522833b9-08c1-f470-a328-0e7419e86617@xxxxxxxxx/

for more details.

Regards,
Max