Search Linux Wireless

Re: RTL8192CU continually reconnecting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/10/2013 12:58 AM, Mark Cave-Ayland wrote:

No worries - disk space is reasonably cheap these days ;)

dmesg output:
http://www.ilande.co.uk/tmp/rtl8192cu_patch-4-dmesg.txt

wpa_supplicant output:
http://www.ilande.co.uk/tmp/rtl8192cu_patch-4-wpa_supplicant.txt

I noticed that I got several re-authentication attempts in the dmesg output
without the corresponding rtl_watchdog_wq_callback() line being emitted - this
is again something I don't see with zd1211rw and iwlwifi. Once these drivers are
associated, they seem to stay in that state for hours.

Those disconnects do happen for reasons that I do not understand. They will be worse on your system without a network manager as it appears that you need to manually reconnect at that point, or at least it took a long time for the system to react. With NetworkManager, that reconnect is automatic, and relatively quick.

Whilst checking various parts of my kernel, I noticed for the first time during
testing that my current kernel configuration doesn't have SMP enabled. This got
me thinking that perhaps there are other build options which could have an
effect on the driver. Hence I also uploaded a copy of my .config file to
http://www.ilande.co.uk/tmp/rtl8192cu-config in the hope that maybe this can
help you recreate the issue locally?

As I have a dual-core CPU, thus I always have SMP set. That should not be a problem. In fact, the concurrent operation of 2 CPUs usually causes more problems. I will review that configuration.

You can now disable the logging. When the watchdog reports that contact with the AP has been lost, that is certainly true, and the watchdog is doing its job. In addition, nothing was received from any AP, which leads me to conclude that the receiver has locked up for some reason. I need to check to see what the code does to recover. Perhaps that will help me understand the problem. In my current run that has run for 20 hours, I have had two disconnects for Reason 3, but more importantly, I have had two watchdog restarts. It does happen on my system, just a lot less frequently. BTW, my ping loss rate is about 3%. That is too high, but not as bad as yours.

Larry


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux