Hi Julien,

> From: [email protected] [mailto:linux-wireless-
> [email protected]] On Behalf Of Julien Cubizolles
> Sent: Thursday, July 23, 2015 7:18 PM
> To: [email protected]
> Subject: wifi freezing (module mwifiex)
> 
> I'm running vanilla kernel 4.2.0-rc3 on a Microsoft Surface Pro. The
> wifi (module mwifiex) freezes the whole system after a few seconds of
> use. The problem appeared around kernel 3.19.
> 
> I've tried to get some debug info with the dynamic debugging method,
> using the following:
> 
> --8<---------------cut here---------------start------------->8---
> echo "module mwifiex +p" > /sys/kernel/debug/dynamic_debug/control
> echo "module mwifiex_sdio +p" > /sys/kernel/debug/dynamic_debug/control
> echo "module mwifiex_pcie +p" > /sys/kernel/debug/dynamic_debug/control
> echo "module mwifiex_usb +p" > /sys/kernel/debug/dynamic_debug/control
> --8<---------------cut here---------------end--------------->8---
> 
> and getting the messages with
> 
> --8<---------------cut here---------------start------------->8---
> while true; do dmesg -c >> mwifiex_logs.txt; sleep 1; done &
> --8<---------------cut here---------------end--------------->8---
> 
> until the system freezes.
> 
> Surprisingly, there are very few messages related to mwifiex (see the
> following logs). Is there something wrong with the dynamic debuggingĀ ?
> What other information could I provideĀ ?
> 

Thanks for reporting the problem. We now have a separate mechanism for debug 
logs and don't support dynamic debugging anymore.
Issue below command to enable logs and share them.

"echo 0xffffffff > /sys/kernel/debug/mwifiex/mlan0/debug_mask"

Do you have following USB chipset specific fixes included?
http://www.spinics.net/lists/linux-wireless/msg129129.html
http://www.spinics.net/lists/netdev/msg334367.html

Regards,
Amitkumar

Reply via email to