On Thu, 22 Sep 2016 10:09:58 -0500, Larry Finger wrote:
> On 09/22/2016 04:51 AM, Jean Delvare wrote:
> > Hello,
> > 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 : 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?
> the latter, I will need to think how we might debug the issue. If the former,
> please add the attached patch.
I'm a kernel dev :-) I'll test your patch and report, thanks.
That being said, I agree it's better if drivers have useful debug
messages... Makes things faster. So something like your patch should go
upstream anyway. And the same improvement could be applied to various
other messages of the rtlwifi driver family.
SUSE L3 Support