On 09/22/2016 04:51 AM, Jean Delvare wrote:

I bought an Asus PCE-N10 PCIe Wi-Fi N card to install in my wife's
computer. This morning it stopped working suddenly. Investigating the
kernel logs, the following error message caught my eye:

rtl8192ce:rtl92ce_get_hw_reg():<0-0> switch case not processed

It was printed twice, 3.5 hours apart, the second time at the moment
the network stopped working. I guess this is not supposed to happen.
What additional information can I provide to help you debug the issue?
That's the device:

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 
802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
        Subsystem: ASUSTeK Computer Inc. Device [1043:84b5]
        Flags: bus master, fast devsel, latency 0, IRQ 17
        I/O ports at e800 [size=256]
        Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: rtl8192ce
        Kernel modules: rtl8192ce

Kernel version is 4.5.4-1-default x86_64 (openSUSE Tumbleweed.)

Reloading the rtl8192ce module and restarting the network service got
everything back up.

Unfortunately, that message is not as helpful as it might be.

Do you build your own kernel, or are you using openSUSE's supplied version? If the latter, I will need to think how we might debug the issue. If the former, please add the attached patch.


diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c
index 04eb5c3..e0c7d36 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c
@@ -143,7 +143,7 @@ void rtl92ce_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val)
-			 "switch case not processed\n");
+			 "switch case %d not processed\n", variable);

Reply via email to