2013-08-12 22:54:34

by Colleen Josephson

[permalink] [raw]
Subject: issues with RTL8188CE device and rtl8192ce driver

I have been having consistent issues with certain networks with my
RTL8188CE device and the rtl8192ce driver (using kernel 3.8.13). I am
running Gentoo linux and use NetworkManager to manage connections. I
can utilize many networks fine, but some networks enter a
connect/reconnect cycle where the device connects (and gets an IP/DNS
info), but as soon as I try to actually transmit anything it
immediately disconnects.

When I look at /var/log/messages, I see this pattern happening a lot
around the time the connection fails:
wlan0: disassociated from 00:18:0a:36:83:36 (Reason: 2)
cfg80211: Calling CRDA to update world regulatory domain
wlan0: deauthenticating from 00:18:0a:36:83:36 by local choice (reason=3)

(sometimes it says "Calling CRDA for country: US" instead)

lspci -v:
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE
802.11b/g/n WiFi Adapter (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device 8195
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at 5000 [size=256]
Memory at f3800000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-91-81-fe-ff-4c-e0-00
Kernel driver in use: rtl8192ce
Kernel modules: rtl8192ce

some relevant logging:
http://pastebin.com/4jSQAhuM

Any help with resolving this issue is greatly appreciated!


2013-08-27 23:09:55

by Colleen Josephson

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

Any updates? Or addition information that would be useful? I will be
relocating to the other side of the US next week, so I will be unable
to collect more information or traces on this specific network after
then.

2013-08-14 21:39:08

by Colleen Josephson

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

> First, what chip is in your computer. Please send me the output of the
> command '/sbin/lspci -nnv'. Only the stanza for the RTL8188CE will be
> needed. There are at least 4 different chips that work with driver
> rtl8192ce.

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:8195]
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at 5000 [size=256]
Memory at f3800000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-91-81-fe-ff-4c-e0-00
Kernel driver in use: rtl8192ce
Kernel modules: rtl8192ce


> Second, what is the make/model of the access point that you are using? Is
> the firmware up to date?

There are two Meraki M16 access points (with up to date firmware).

> Third, what is the encryption method you are using, and what is the maximum
> rate for the connection? That will tell me if you are using 802.11g or
> 802.11n.

802.11g. The encryption is WPA & WPA2 Personal, and the maximum rate
is 54 Mbps.

2013-08-12 23:55:07

by Larry Finger

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

On 08/12/2013 06:44 PM, Colleen Josephson wrote:
>> If you install the baclports drivers, they will replace the standard ones.
>
> Even for drivers built into my kernel (not as modules?). Just making
> sure, as I seem to have encountered a problem:
>
> After installing the backports version of rtl8192ce and rebooting,
> wlan0 is not longer showing up when I run "ifconfig".
>
> lsmod shows compat and rtl8192c_common, but not rtl8192ce. If I try
> 'modprobe rtl8192ce' I get this error: "Unknown symbol in module, or
> unknown parameter (see dmesg)"
>
> dmesg shows "rtlwifi: Unknown symbol mac80211_ieee80211_rx (err 0)"

I'm not sure, but I would expect you need the standard ones to be modules. I
always build all wireless devices as modules. That way when one goes bad, you
have a chance to recover with an unload/load sequence with modprobe. If it
works, you save a reboot.

I am assuming that you built mac80211 from the backported source. That is required.

Larry





2013-08-12 23:37:32

by Larry Finger

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

On 08/12/2013 06:27 PM, Colleen Josephson wrote:
>> Have you tried the backports driver? There are a number of changes since
>> 3.8, which you will access that way.
>
> I had not tried the backports driver. Do I need remove support things
> in my kernel that I am now compiling with backports?

If you install the baclports drivers, they will replace the standard ones.

Larry



2013-08-14 03:04:36

by Larry Finger

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

On 08/12/2013 07:08 PM, Colleen Josephson wrote:
> After making the bultins into modules, the compat drivers are loaded and used.
>
> Unfortunately, the same symptoms as my original e-mail persist, with
> repeated deauthentication (reason=3).
>
> I am using backports-3.11-rc3-1

That should be the same driver as the one I am using.

First, what chip is in your computer. Please send me the output of the command
'/sbin/lspci -nnv'. Only the stanza for the RTL8188CE will be needed. There are
at least 4 different chips that work with driver rtl8192ce.

Second, what is the make/model of the access point that you are using? Is the
firmware up to date?

Third, what is the encryption method you are using, and what is the maximum rate
for the connection? That will tell me if you are using 802.11g or 802.11n.

Larry



2013-08-12 23:44:45

by Colleen Josephson

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

> If you install the baclports drivers, they will replace the standard ones.

Even for drivers built into my kernel (not as modules?). Just making
sure, as I seem to have encountered a problem:

After installing the backports version of rtl8192ce and rebooting,
wlan0 is not longer showing up when I run "ifconfig".

lsmod shows compat and rtl8192c_common, but not rtl8192ce. If I try
'modprobe rtl8192ce' I get this error: "Unknown symbol in module, or
unknown parameter (see dmesg)"

dmesg shows "rtlwifi: Unknown symbol mac80211_ieee80211_rx (err 0)"

2013-08-12 23:27:18

by Colleen Josephson

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

> Have you tried the backports driver? There are a number of changes since
> 3.8, which you will access that way.

I had not tried the backports driver. Do I need remove support things
in my kernel that I am now compiling with backports?

2013-08-12 22:58:58

by Larry Finger

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

On 08/12/2013 05:54 PM, Colleen Josephson wrote:
> I have been having consistent issues with certain networks with my
> RTL8188CE device and the rtl8192ce driver (using kernel 3.8.13). I am
> running Gentoo linux and use NetworkManager to manage connections. I
> can utilize many networks fine, but some networks enter a
> connect/reconnect cycle where the device connects (and gets an IP/DNS
> info), but as soon as I try to actually transmit anything it
> immediately disconnects.
>
> When I look at /var/log/messages, I see this pattern happening a lot
> around the time the connection fails:
> wlan0: disassociated from 00:18:0a:36:83:36 (Reason: 2)
> cfg80211: Calling CRDA to update world regulatory domain
> wlan0: deauthenticating from 00:18:0a:36:83:36 by local choice (reason=3)
>
> (sometimes it says "Calling CRDA for country: US" instead)
>
> lspci -v:
> 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE
> 802.11b/g/n WiFi Adapter (rev 01)
> Subsystem: Realtek Semiconductor Co., Ltd. Device 8195
> Flags: bus master, fast devsel, latency 0, IRQ 17
> I/O ports at 5000 [size=256]
> Memory at f3800000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [70] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [140] Virtual Channel
> Capabilities: [160] Device Serial Number 01-91-81-fe-ff-4c-e0-00
> Kernel driver in use: rtl8192ce
> Kernel modules: rtl8192ce
>
> some relevant logging:
> http://pastebin.com/4jSQAhuM
>
> Any help with resolving this issue is greatly appreciated!

Have you tried the backports driver? There are a number of changes since 3.8,
which you will access that way.

Larry



2013-08-27 23:17:45

by Larry Finger

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

On 08/27/2013 06:09 PM, Colleen Josephson wrote:
> Any updates? Or addition information that would be useful? I will be
> relocating to the other side of the US next week, so I will be unable
> to collect more information or traces on this specific network after
> then.

I have been busy getting a new driver into the kernel before 3.12 comes out. I
am now looking into both rtl8192ce and rtl8192cu. I think I have what I need
from you.

Larry



2013-08-13 00:08:03

by Colleen Josephson

[permalink] [raw]
Subject: Re: issues with RTL8188CE device and rtl8192ce driver

After making the bultins into modules, the compat drivers are loaded and used.

Unfortunately, the same symptoms as my original e-mail persist, with
repeated deauthentication (reason=3).

I am using backports-3.11-rc3-1

On Mon, Aug 12, 2013 at 4:55 PM, Larry Finger <[email protected]> wrote:
> On 08/12/2013 06:44 PM, Colleen Josephson wrote:
>>>
>>> If you install the baclports drivers, they will replace the standard
>>> ones.
>>
>>
>> Even for drivers built into my kernel (not as modules?). Just making
>> sure, as I seem to have encountered a problem:
>>
>> After installing the backports version of rtl8192ce and rebooting,
>> wlan0 is not longer showing up when I run "ifconfig".
>>
>> lsmod shows compat and rtl8192c_common, but not rtl8192ce. If I try
>> 'modprobe rtl8192ce' I get this error: "Unknown symbol in module, or
>> unknown parameter (see dmesg)"
>>
>> dmesg shows "rtlwifi: Unknown symbol mac80211_ieee80211_rx (err 0)"
>
>
> I'm not sure, but I would expect you need the standard ones to be modules. I
> always build all wireless devices as modules. That way when one goes bad,
> you have a chance to recover with an unload/load sequence with modprobe. If
> it works, you save a reboot.
>
> I am assuming that you built mac80211 from the backported source. That is
> required.
>
> Larry
>
>
>
>



--
Colleen Josephson
http://www.cjosephson.net
Dept. of Electrical Engineering and Computer Science
Massachusetts Institute of Technology