2012-09-05 16:55:35

by Anisse Astier

[permalink] [raw]
Subject: rtl8192ce: activation problem with rtl8188ce pci card

Hi,

On a toshiba laptop (see dmesg attached), with a wireless-next kernel,
this card doesn't seem to turn on:
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)

# modprobe rtl8192ce debug=4
[ 6184.995319] cfg80211: Calling CRDA to update world regulatory domain
[ 6185.103824] rtl8192ce: rtl8192ce: FW Power Save off (module option)
[ 6185.103881] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[ 6185.150488] rtlwifi:rtl_fw_cb():<0-0> Firmware callback routine entered!
[ 6185.216834] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 6185.224729] rtlwifi: wireless switch is on
[ 6185.289544] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.289649] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.289797] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.289944] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.290092] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.290250] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.290398] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.290545] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 6185.290693] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:98053f15:10
[ 6185.291829] rtl8192c_common:rtl92c_download_fw():<0-0> Firmware Version(49), Signature(0x88c1),Size(32)
[ 6185.513223] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> PairwiseEncAlgorithm = 0 GroupEncAlgorithm = 0
[ 6185.513237] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> The SECR-value cc
[ 6185.622274] rtl8192c_common:rtl92c_dm_initialize_txpower_tracking_thermalmeter():<0-0> pMgntInfo->txpower_tracking = 1
[ 6185.623129] rtlwifi:rtl_pci_start():<0-0> enable_interrupt OK
[ 6185.623140] rtlwifi:rtl_pci_start():<0-0> OK
[ 6185.624061] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> Not connected to any
[ 6185.624073] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> AP Ext Port PWDB = 0x0
[ 6185.624123] rtl8192c_common:rtl92c_dm_check_txpower_tracking_thermal_meter():<0-0> Trigger 92S Thermal Meter!!
[ 6185.632970] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 6185.632987] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 6185.633028] rtlwifi:rtl_op_bss_info_changed():<0-0> BSS_CHANGED_ERP_PREAMBLE use short preamble:0
[ 6185.633040] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
[ 6185.633989] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_LISTEN_INTERVAL
[ 6185.634281] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_RETRY_LIMITS 4
[ 6185.644434] rtl8192c_common:rtl92c_phy_sw_chnl():<0-0> sw_chnl_inprogress false schdule workitem
[ 6185.644445] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
[ 6185.655245] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6185.734598] rtl8192ce:_rtl92ce_phy_set_rf_power_state():<0-0> IPS Set eRf nic disable
[ 6185.735117] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 6185.735129] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 6185.852489] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 6185.852504] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[ 6185.853211] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 6185.853221] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[ 6185.853823] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 6185.853833] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[...] this is repeated

After a modprobe -r:
[ 6187.127706] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 6187.127724] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 6187.130614] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 6187.130626] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 6187.130638] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
[ 6187.130646] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
[ 6187.139353] rtl8192c_common:rtl92c_firmware_selfreset(): 8051 reset fail
[ 6187.139373] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
[ 6187.139382] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1


After inserting the module, the PCI information is scrambled:
06:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8176 (rev ff) (prog-if ff)
!!! Unknown header type 7f

After a few seconds, the computer will freeze if the module isn't removed.
The card works on Windows.

This looks like a hidden rfkill, or maybe it is a different revision of
the card. What do you think ?

Regards,

Anisse


Attachments:
(No filename) (4.53 kB)
dmesg-rtl8192ce-no-up.txt (51.60 kB)
Download all attachments

2012-09-05 20:24:49

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192ce: activation problem with rtl8188ce pci card

On 09/05/2012 01:14 PM, Anisse Astier wrote:
> On Wed, 05 Sep 2012 12:38:24 -0500, Larry Finger <[email protected]> wrote :
>
>> I have two different revisions of the RTL8188CE card. The newer one, marked
>> RTL8188CE-VL, gives the following lspci output:
>>
>> 06: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. RTL8188CE 802.11b/g/n WiFi
>> Adapter [10ec:8176]
>> Flags: bus master, fast devsel, latency 0, IRQ 20
>> I/O ports at 4000 [size=256]
>> Memory at f8000000 (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
>>
>> It certainly does not yield the rx descriptor problem. Please send the lspci
>> output when the driver has not been loaded.
>
> The subsystem ID is different on my wireless card (8212):
>
> 06: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:8212]
> Flags: bus master, fast devsel, latency 0, IRQ 3
> I/O ports at 3000 [size=256]
> Memory at f0200000 (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
>
> This id is nowhere to be found in the rtlwifi driver. The only matches in
> Google are my previous problem report (FWLPS freeze) and windows driver
> listings.

The ID that counts is the first one. I think the second is some kind of vendor code.

My other RTL8188CE gives the following output:

0e: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. RTL8188CE 802.11b/g/n WiFi
Adapter [10ec:8176]
Flags: bus master, fast devsel, latency 0, IRQ 20
I/O ports at 4000 [size=256]
Memory at f8000000 (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

Other than the MAC address, and the bus number, they have the same output.

Note, the RTL8188CE-VL does not work with wireless-next, but does with
wireless-testing with some patches applied. I will contact the Realtek software
team to ask questions about your card. I added my contact as a Cc here. In the
meantime, could you try the wireless-testing tree? If your card still does not
work, I will send you some patches to see what it takes.

Larry



2012-09-05 17:38:28

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192ce: activation problem with rtl8188ce pci card

On 09/05/2012 11:55 AM, Anisse Astier wrote:
> Hi,
>
> On a toshiba laptop (see dmesg attached), with a wireless-next kernel,
> this card doesn't seem to turn on:
> 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
>

Unfortunately, the above is not a wireless device. It is your wired device.

> # modprobe rtl8192ce debug=4
> [ 6184.995319] cfg80211: Calling CRDA to update world regulatory domain
> [ 6185.103824] rtl8192ce: rtl8192ce: FW Power Save off (module option)

The above line is unexpected. Do you have a module option set in /etc/module.d/?

> [ 6185.103881] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
> [ 6185.150488] rtlwifi:rtl_fw_cb():<0-0> Firmware callback routine entered!
> [ 6185.216834] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
> [ 6185.224729] rtlwifi: wireless switch is on
> [ 6185.289544] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.289649] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.289797] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.289944] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290092] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290250] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290398] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290545] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
> [ 6185.290693] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:98053f15:10
> [ 6185.291829] rtl8192c_common:rtl92c_download_fw():<0-0> Firmware Version(49), Signature(0x88c1),Size(32)

That is the firmware that I use.

> [ 6185.513223] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> PairwiseEncAlgorithm = 0 GroupEncAlgorithm = 0
> [ 6185.513237] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> The SECR-value cc
> [ 6185.622274] rtl8192c_common:rtl92c_dm_initialize_txpower_tracking_thermalmeter():<0-0> pMgntInfo->txpower_tracking = 1
> [ 6185.623129] rtlwifi:rtl_pci_start():<0-0> enable_interrupt OK
> [ 6185.623140] rtlwifi:rtl_pci_start():<0-0> OK
> [ 6185.624061] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> Not connected to any
> [ 6185.624073] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> AP Ext Port PWDB = 0x0
> [ 6185.624123] rtl8192c_common:rtl92c_dm_check_txpower_tracking_thermal_meter():<0-0> Trigger 92S Thermal Meter!!
> [ 6185.632970] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6185.632987] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6185.633028] rtlwifi:rtl_op_bss_info_changed():<0-0> BSS_CHANGED_ERP_PREAMBLE use short preamble:0
> [ 6185.633040] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
> [ 6185.633989] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_LISTEN_INTERVAL
> [ 6185.634281] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_RETRY_LIMITS 4
> [ 6185.644434] rtl8192c_common:rtl92c_phy_sw_chnl():<0-0> sw_chnl_inprogress false schdule workitem
> [ 6185.644445] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
> [ 6185.655245] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [ 6185.734598] rtl8192ce:_rtl92ce_phy_set_rf_power_state():<0-0> IPS Set eRf nic disable
> [ 6185.735117] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6185.735129] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6185.852489] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
> [ 6185.852504] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
> [ 6185.853211] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
> [ 6185.853221] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
> [ 6185.853823] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
> [ 6185.853833] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
> [...] this is repeated
>
> After a modprobe -r:
> [ 6187.127706] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6187.127724] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6187.130614] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
> [ 6187.130626] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
> [ 6187.130638] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
> [ 6187.130646] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
> [ 6187.139353] rtl8192c_common:rtl92c_firmware_selfreset(): 8051 reset fail
> [ 6187.139373] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
> [ 6187.139382] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
>
>
> After inserting the module, the PCI information is scrambled:
> 06:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8176 (rev ff) (prog-if ff)
> !!! Unknown header type 7f

This listing is likely for your wireless card.

> After a few seconds, the computer will freeze if the module isn't removed.
> The card works on Windows.
>
> This looks like a hidden rfkill, or maybe it is a different revision of
> the card. What do you think ?

Without a full 'sudo lspci -nnv' listing for the wireless, it is hard to tell if
it is a different revision. The rx descriptor unavailable message is a new one
for me.

I have two different revisions of the RTL8188CE card. The newer one, marked
RTL8188CE-VL, gives the following lspci output:

06: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. RTL8188CE 802.11b/g/n WiFi
Adapter [10ec:8176]
Flags: bus master, fast devsel, latency 0, IRQ 20
I/O ports at 4000 [size=256]
Memory at f8000000 (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

It certainly does not yield the rx descriptor problem. Please send the lspci
output when the driver has not been loaded.

Larry




2012-09-06 14:15:40

by Anisse Astier

[permalink] [raw]
Subject: Re: rtl8192ce: activation problem with rtl8188ce pci card

On Wed, 05 Sep 2012 15:24:40 -0500, Larry Finger <[email protected]> wrote :

> Note, the RTL8188CE-VL does not work with wireless-next, but does with
> wireless-testing with some patches applied. I will contact the Realtek software
> team to ask questions about your card. I added my contact as a Cc here. In the
> meantime, could you try the wireless-testing tree? If your card still does not
> work, I will send you some patches to see what it takes.

What patch does wireless-testing have that aren't in wireless-next ? I
failed to find them.

Anisse

2012-09-05 18:14:48

by Anisse Astier

[permalink] [raw]
Subject: Re: rtl8192ce: activation problem with rtl8188ce pci card

On Wed, 05 Sep 2012 12:38:24 -0500, Larry Finger <[email protected]> wrote :

> I have two different revisions of the RTL8188CE card. The newer one, marked
> RTL8188CE-VL, gives the following lspci output:
>
> 06: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. RTL8188CE 802.11b/g/n WiFi
> Adapter [10ec:8176]
> Flags: bus master, fast devsel, latency 0, IRQ 20
> I/O ports at 4000 [size=256]
> Memory at f8000000 (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
>
> It certainly does not yield the rx descriptor problem. Please send the lspci
> output when the driver has not been loaded.

The subsystem ID is different on my wireless card (8212):

06: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:8212]
Flags: bus master, fast devsel, latency 0, IRQ 3
I/O ports at 3000 [size=256]
Memory at f0200000 (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

This id is nowhere to be found in the rtlwifi driver. The only matches in
Google are my previous problem report (FWLPS freeze) and windows driver
listings.

Anisse

2012-09-05 18:01:45

by Anisse Astier

[permalink] [raw]
Subject: Re: rtl8192ce: activation problem with rtl8188ce pci card

On Wed, 05 Sep 2012 12:38:24 -0500, Larry Finger <[email protected]> wrote :

> On 09/05/2012 11:55 AM, Anisse Astier wrote:
> > Hi,
> >
> > On a toshiba laptop (see dmesg attached), with a wireless-next kernel,
> > this card doesn't seem to turn on:
> > 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
> >
>
> Unfortunately, the above is not a wireless device. It is your wired device.
Indeed. This is embarassing. The mail had a full lspci attachement
planned which was forgotten. See attached file.


>
> > # modprobe rtl8192ce debug=4
> > [ 6184.995319] cfg80211: Calling CRDA to update world regulatory domain
> > [ 6185.103824] rtl8192ce: rtl8192ce: FW Power Save off (module option)
>
> The above line is unexpected. Do you have a module option set in /etc/module.d/?
Yes. This is related to another problem, see:
http://thread.gmane.org/gmane.linux.kernel.wireless.general/90954


New log with fwlps=1:

[ 84.532629] cfg80211: Calling CRDA to update world regulatory domain
[ 84.794759] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[ 85.038881] rtlwifi:rtl_fw_cb():<0-0> Firmware callback routine entered!
[ 85.188013] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 85.195046] rtlwifi: wireless switch is on
[ 85.346058] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 85.346677] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 85.346799] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 85.348064] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 85.348885] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 85.360848] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 85.738594] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:1
[ 85.738699] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:1
[ 85.738847] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:1
[ 85.739089] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:1
[ 85.739238] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:1
[ 85.739385] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:1
[ 85.739533] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:1
[ 85.739680] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051e1b:1
[ 85.739827] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:98053f15:0
[ 85.740967] rtl8192c_common:rtl92c_download_fw():<0-0> Firmware Version(49), Signature(0x88c1),Size(32)
[ 85.962468] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> PairwiseEncAlgorithm = 0 GroupEncAlgorithm = 0
[ 85.962483] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> The SECR-value cc
[ 86.071504] rtl8192c_common:rtl92c_dm_initialize_txpower_tracking_thermalmeter():<0-0> pMgntInfo->txpower_tracking = 1
[ 86.071520] rtlwifi:rtl_pci_start():<0-0> enable_interrupt OK
[ 86.071528] rtlwifi:rtl_pci_start():<0-0> OK
[ 86.072201] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> Not connected to any
[ 86.072212] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> AP Ext Port PWDB = 0x0
[ 86.072257] rtl8192c_common:rtl92c_dm_check_txpower_tracking_thermal_meter():<0-0> Trigger 92S Thermal Meter!!
[ 86.091672] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 86.091689] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 86.091730] rtlwifi:rtl_op_bss_info_changed():<0-0> BSS_CHANGED_ERP_PREAMBLE use short preamble:0
[ 86.091742] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
[ 86.092343] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_LISTEN_INTERVAL
[ 86.092674] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_RETRY_LIMITS 4
[ 86.102832] rtl8192c_common:rtl92c_phy_sw_chnl():<0-0> sw_chnl_inprogress false schdule workitem
[ 86.102842] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
[ 86.114505] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.136118] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 86.170054] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.171709] rtl8192ce:rtl92ce_led_control():<10100-1> ledaction 5
[ 86.451724] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.452711] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.540275] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.541418] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.594256] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.642615] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5

After modprobe -r:
[ 86.913272] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.967129] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 86.968381] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 87.025606] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 87.025624] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 87.044826] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 87.044844] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 87.044858] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
[ 87.044868] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
[ 87.045020] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
[ 87.045029] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
[ 88.970535] rtlwifi:rtl_ips_nic_off_wq_callback():<0-0> not station return



This one was harder to get because of the freeze when fwlps=1.


Anisse


Attachments:
(No filename) (5.44 kB)
lspci-rtl8192ce-no-up.txt (3.66 kB)
Download all attachments

2012-09-06 08:01:44

by Anisse Astier

[permalink] [raw]
Subject: Re: rtl8192ce: activation problem with rtl8188ce pci card

Hi,

On Wed, 05 Sep 2012 15:24:40 -0500, Larry Finger <[email protected]> wrote :

> On 09/05/2012 01:14 PM, Anisse Astier wrote:
>
> The ID that counts is the first one. I think the second is some kind of vendor code.

Yes, it should be the id of the card instead of the chip. But it shows
that this module hasn't been lspci'd much in the wild.


>
> Note, the RTL8188CE-VL does not work with wireless-next, but does with
> wireless-testing with some patches applied. I will contact the Realtek software
> team to ask questions about your card. I added my contact as a Cc here. In the
> meantime, could you try the wireless-testing tree? If your card still does not
> work, I will send you some patches to see what it takes.


I have the same issue with wireless-testing. dmesg in attachment.

Logs:
[ 521.487043] cfg80211: Calling CRDA to update world regulatory domain
[ 521.590821] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[ 521.632956] rtlwifi:rtl_fw_cb():<0-0> Firmware callback routine entered!
[ 521.697121] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 521.703862] rtlwifi: wireless switch is on
[ 521.761161] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.761267] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.761415] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.761564] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.761712] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.761860] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.762008] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.762157] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:18051d59:11
[ 521.762305] rtl8192ce:_rtl92ce_init_mac():<0-0> reg0xec:98053f15:10
[ 521.763460] rtl8192c_common:rtl92c_download_fw():<0-0> Firmware Version(49), Signature(0x88c1),Size(32)
[ 521.984907] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> PairwiseEncAlgorithm = 0 GroupEncAlgorithm = 0
[ 521.984924] rtl8192ce:rtl92ce_enable_hw_security_config():<0-0> The SECR-value cc
[ 522.093885] rtl8192c_common:rtl92c_dm_initialize_txpower_tracking_thermalmeter():<0-0> pMgntInfo->txpower_tracking = 1
[ 522.093901] rtlwifi:rtl_pci_start():<0-0> enable_interrupt OK
[ 522.093909] rtlwifi:rtl_pci_start():<0-0> OK
[ 522.097066] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> Not connected to any
[ 522.097080] rtl8192c_common:rtl92c_dm_dynamic_bb_powersaving():<0-0> AP Ext Port PWDB = 0x0
[ 522.097140] rtl8192c_common:rtl92c_dm_check_txpower_tracking_thermal_meter():<0-0> Trigger 92S Thermal Meter!!
[ 522.106799] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 522.106806] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 522.106843] rtlwifi:rtl_op_bss_info_changed():<0-0> BSS_CHANGED_ERP_PREAMBLE use short preamble:0
[ 522.106852] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
[ 522.107898] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_LISTEN_INTERVAL
[ 522.108197] rtlwifi:rtl_op_config():<0-0> IEEE80211_CONF_CHANGE_RETRY_LIMITS 4
[ 522.119643] rtl8192c_common:rtl92c_phy_sw_chnl():<0-0> sw_chnl_inprogress false schdule workitem
[ 522.119650] rtl8192ce:rtl92ce_set_hw_reg():<0-0> HW_VAR_SLOT_TIME 14
[ 522.135385] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 522.185258] rtl8192ce:rtl92ce_led_control():<10000-1> ledaction 5
[ 522.208511] rtl8192ce:_rtl92ce_phy_set_rf_power_state():<0-0> IPS Set eRf nic disable
[ 522.209007] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 522.209018] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 523.421145] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 523.421161] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[ 523.421891] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 523.421903] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[ 523.425246] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 523.425261] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[ 523.426638] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 523.426649] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[ 523.426991] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 523.426995] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !
[ 523.435796] rtlwifi:_rtl_pci_interrupt():<10000-1> rx descriptor unavailable!
[ 523.435811] rtlwifi:_rtl_pci_interrupt():<10000-1> rx overflow !




After removal:
[ 523.616579] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 523.616596] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 523.619524] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 2
[ 523.619538] rtl8192ce:rtl92ce_sw_led_on():<0-0> LedAddr:4E ledpin=1
[ 523.619549] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
[ 523.619559] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1
[ 523.628275] rtl8192c_common:rtl92c_firmware_selfreset(): 8051 reset fail
[ 523.628296] rtl8192ce:rtl92ce_led_control():<0-0> ledaction 7
[ 523.628305] rtl8192ce:rtl92ce_sw_led_off():<0-0> LedAddr:4E ledpin=1


Also I noticed that during the initialization phase (rtlwifi/pci.c)
RT_TRACE doesn't print anything.

Anisse


Attachments:
(No filename) (5.16 kB)
dmesg-rtl8192ce-no-up-wireless-testing.txt.gz (13.69 kB)
Download all attachments