Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,757 Members 48,374 Now Online
XDA Developers Android and Mobile Development Forum

wifi problem on NIGHTLY CyanogenMod 11 INTERNATIONAL

Tip us?
 
white-
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Nov 2012
Default wifi problem on NIGHTLY CyanogenMod 11 INTERNATIONAL

from time to time my wifi stops working. i try to enable and disable it, but it does not work. i must reboot the phone to get wifi working again.

just now it happened again. so i open an adb shell, switch to root and kill the wpa_supplicant. and now wifi is working again without reboot.

@Lloir & @Thömy attached is a logcat. at 10:30:41.072 i killed the wpa_supplicant
 
Thömy
Old
#2  
Senior Member
Thanks Meter 1435
Posts: 537
Join Date: Aug 2010
Location: Stuttgart

 
DONATE TO ME
Quote:
Originally Posted by white- View Post
from time to time my wifi stops working. i try to enable and disable it, but it does not work. i must reboot the phone to get wifi working again.

just now it happened again. so i open an adb shell, switch to root and kill the wpa_supplicant. and now wifi is working again without reboot.

@Lloir & @Thömy attached is a logcat. at 10:30:41.072 i killed the wpa_supplicant
Not sure what the problem is. Can't find anything obvious.

Is that timeline correct?

Code:
09:38:36: disconnection from WiFi
10:18:38 - 10:29:04: you try to enable/disable WiFi a couple of times
10:39:18: connected to WiFi
10:30:41: you kill the wpa_supplicant
10:36:12: wpa_supplicant complains about being forcefully killed
wpa_supplicant restarts 5 times
10:39:17: you're connected to WiFi again
The next time that happens try to get the output of "dumpsys wifi" and "dumpsys connectivity" before you kill something.
 
Lloir
Old
#3  
Recognized Contributor / Recognized Developer
Thanks Meter 6527
Posts: 5,067
Join Date: Mar 2009

 
DONATE TO ME
Probably needs either a clean install or a fresh kernel flash

Sent from my Nexus 5 using Tapatalk
 
white-
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Nov 2012
Quote:
Originally Posted by Thömy View Post
Not sure what the problem is. Can't find anything obvious.

Is that timeline correct?

Code:
09:38:36: disconnection from WiFi
10:18:38 - 10:29:04: you try to enable/disable WiFi a couple of times
10:39:18: connected to WiFi
10:30:41: you kill the wpa_supplicant
10:36:12: wpa_supplicant complains about being forcefully killed
wpa_supplicant restarts 5 times
10:39:17: you're connected to WiFi again
The next time that happens try to get the output of "dumpsys wifi" and "dumpsys connectivity" before you kill something.
the "10:39:18: connected to WiFi" is imo wrong. because i killed wpa_supplicant because i was not connected to wifi.

i will do the dumpsys thing next time and post the result

Quote:
Probably needs either a clean install or a fresh kernel flash
why? this ist a dirty flash of cm-11-20140304 with its kernel. what is wrong with it?
 
white-
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Nov 2012
the problem has occurred again, but a little bit different.

1) connected to b.nuhq.nunet (at work)
2) 12:32:18.973 make a smoking break -> wifi got disconnected because of poor signal
3) back at work place: can not switch on the phone. only the hardware buttons begin to light up, but the displays stays off.
4) attached the phone to usb and adb
5) 12:43:44.938 get a logcat (logcat.txt) and dmesg (dmesg.txt)

try to get the dumpsys wifi on a adb shell as ROOT. this command hangs forever without any output. but after 30 seconds the phone vibrates and the adb logcat on the other terminal spits out many log lines (logcat-crazy.txt). after that, i can switch the display on again. but the phone was not rebooted!

after that i try to get the dumpsys as user. and this works fine (dumpsys-wifi.txt, dumpsys-connectivity.txt)

wifi is still at VERIFYING_POOR_LINK but this is wrong. the access point is 3 meter away from me

dmesg2.txt is after the screen works again. but after 10 minutes the screen is off again and i can not switch the phone on. im still connected via adb

logcat-time.txt is a is a complete log with timestamps.
traces.txt is from /data/anr/traces.txt

13:42 killed wpa_supplicant with "kill 939"
13:44 manually connect b.nuhq.nunet (failed)
13:45 switch wifi off
13:45 switch wifi on (works fine)

after that i can use the screen again.

the problem that the screen can not switched on exists for since the begin. but in the most cases it happens in connection with a poor wifi signal.
Attached Files
File Type: gz logcat-20140311.tar.gz - [Click for QR Code] (205.3 KB, 4 views)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes