You are not logged in.

#1 2017-05-14 16:48:02

greenality
Member
Registered: 2017-05-14
Posts: 5

[SOLVED] RTL8192CE: wirless network interface not existing

Hi,

I have bought a new pc, but currently I cannot get the wifi working. I have an PCIe wifi adapter that uses the realtek rtl8192ce driver, but the interface does not show up.
I am using an AMD Ryzen 5 1600X and ASUS PRIME B350M-A. I get one failure for the rtl8192ce driver:

rtl8192ce: probe of 0000:26:00.0 failed with error -12
lspci | grep 8192
26:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)

dmesg | grep 8192
[    0.000000] percpu: Embedded 35 pages/cpu @ffff88021ec00000 s103768 r8192 d31400 u262144
[    0.000000] pcpu-alloc: s103768 r8192 d31400 u262144 alloc=1*2097152
[    5.819229] asus_wmi: Number of fans: 1
[    6.022486] rtl8192ce 0000:26:00.0: enabling device (0000 -> 0003)
[    6.032509] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[    6.032862] rtl8192ce: probe of 0000:26:00.0 failed with error -12
[    6.614750] Modules linked in: edac_mce_amd edac_core kvm snd_hda_intel(+) irqbypass amdkfd crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel snd_hda_codec amd_iommu_v2 rtl8192ce rtl_pci rtl8192c_common rtlwifi amdgpu(+) ttm snd_usb_audio drm_kms_helper drm syscopyarea sysfillrect mac80211 r8169 pcbc snd_usbmidi_lib sysimgblt snd_hda_core eeepc_wmi aesni_intel snd_rawmidi snd_seq_device snd_hwdep cfg80211 snd_pcm asus_wmi snd_timer snd sparse_keymap video mousedev input_leds led_class fb_sys_fops aes_x86_64 i2c_algo_bit rfkill mii soundcore mac_hid evdev crypto_simd sp5100_tco 8250_dw i2c_designware_platform ccp rng_core fjes i2c_piix4 i2c_designware_core shpchp glue_helper acpi_cpufreq tpm_tis tpm_tis_core pcspkr tpm wmi cryptd button sch_fq_codel ip_tables x_tables ext4 crc16 jbd2

ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp37s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 60:45:cb:62:e6:54 brd ff:ff:ff:ff:ff:ff

uname -r
4.10.13-1-ARCH

When loading the module manually I get this:

modprobe -r rtl8192ce

modprobe rtl8192ce
[    418.142946] nommu_map_single: overflow 211b70040+9100 of device mask ffffffff

I also tried to install 8192cu-dkms and rtlwifi_new-dkmsbut it did not fix the issue. When I have rtlwifi_new-dkms installed I get the following:

dmesg | grep rtl
[    6.585467] rtlwifi: loading out-of-tree module taints kernel.
[    6.777234] rtl8192ce 0000:26:00.0: enabling device (0000 -> 0003)
[    6.777396] rtl8192ce: Chip Version ID: B_CHIP_92C
[    6.787320] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[    6.787593] rtl_pci: tx ring initialization failed
[    6.787595] rtl_pci: Failed to init PCI
[    6.787649] rtl8192ce: probe of 0000:26:00.0 failed with error -12

How can I solve this issue? Do you know any good working PCIe wifi adapters that work out of the box that I could use?

Last edited by greenality (2017-05-31 21:20:06)

Offline

#2 2017-05-15 19:27:14

theBigO
Member
Registered: 2017-05-15
Posts: 8

Re: [SOLVED] RTL8192CE: wirless network interface not existing

This isn't an answer, but in my experience it is best to buy a linux compatible card. They are pretty cheap. They can also be much better than the ones that come from the manufacturer in the computer. It also usually takes less time to come in the mail than it does for me to get the proprietary drivers working. I have spent days messing with one, only to find that it had intermittent connection issues because the driver malfunctioned.

Offline

#3 2017-05-15 19:59:16

greenality
Member
Registered: 2017-05-14
Posts: 5

Re: [SOLVED] RTL8192CE: wirless network interface not existing

The card was advertised as linux comptaible. But I guess I will buy a different one. Can you recommend any?

Last edited by greenality (2017-05-15 20:30:42)

Offline

#4 2017-05-15 20:07:39

IrvineHimself
Member
From: Scotland
Registered: 2016-08-21
Posts: 275

Re: [SOLVED] RTL8192CE: wirless network interface not existing

Out of curiosity, when you were making the original install, did the cli  "wifi-menu" work?


Et voilà, elle arrive. La pièce, le sous, peut-être qu'il arrive avec vous!

Offline

#5 2017-05-15 20:12:22

greenality
Member
Registered: 2017-05-14
Posts: 5

Re: [SOLVED] RTL8192CE: wirless network interface not existing

Out of curiosity, when you were making the original install, did the cli  "wifi-menu" work?

I am not sure if I understand the question correctly but wifi-menu did not work, there was no wifi interface. Only ethernet and loopback were available.

Offline

#6 2017-05-15 20:17:18

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: [SOLVED] RTL8192CE: wirless network interface not existing

greenality wrote:

Can you recommend any?

Code_of_conduct#Product_recommendation_requests

Offline

#7 2017-05-15 20:54:00

theBigO
Member
Registered: 2017-05-15
Posts: 8

Re: [SOLVED] RTL8192CE: wirless network interface not existing

loqs wrote:
greenality wrote:

Can you recommend any?

Code_of_conduct#Product_recommendation_requests

I can't. There are lists of compatible hardware. Make sure you get one that has a FULLY OPEN SOURCE driver. There are plenty, but advertizing alone usually won't cut it. Many technically "work on linux" but require proprietary drivers, have various issues, etc. Get a good one. Realtek and Broadcom drivers have both been bad in my experience, and I believe in other's aswell.

Last edited by theBigO (2017-05-16 01:47:40)

Offline

#8 2017-05-16 01:18:32

IrvineHimself
Member
From: Scotland
Registered: 2016-08-21
Posts: 275

Re: [SOLVED] RTL8192CE: wirless network interface not existing

greenality wrote:

.... I am not sure if I understand the question correctly but wifi-menu did not work, there was no wifi interface. Only ethernet and loopback were available.

Sorry, it was just a thought.

Too explain: From some hazy recollections, when I initially installed Arch, I connected to various wifi routers through 'wifi-menu'. I thought it was kind of neat, and very practical, so  I followed these instruction from the installation guide:

For Wireless configuration, install the iw and wpa_supplicant packages, as well as needed firmware packages. Optionally install 'dialog' for usage of wifi-menu.

While getting the basics up and running, it was an extremely practical alternative to more sophisticated, (GUI based,) network managers. Since then, it has also been a genuine life saver when an update breaks something important. (I am am not an expert, but it seems to be so simple, it will work when everything else fails, simply typing 'sudo wifi-menu' and et-voila I have internet.)

There is a downside however. Using it can leave a daemon running which you have to manually kill, or it will clash with more sophisticated network managers, Hence the question about 'wifi-menu.'

I hope this make my thinking clearer, even if it doesn't help with your own wifi problems.

Irvine

Edit:
I should add, (in case you decide to try wifi-menu,) you may get a succession of error messages about 'not finding p2p.....' Just ignore them and give it a minute or two.

Last edited by IrvineHimself (2017-05-16 01:52:51)


Et voilà, elle arrive. La pièce, le sous, peut-être qu'il arrive avec vous!

Offline

#9 2017-05-16 01:52:04

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [SOLVED] RTL8192CE: wirless network interface not existing

What is the output of lspci -nn
?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2017-05-18 20:04:44

greenality
Member
Registered: 2017-05-14
Posts: 5

Re: [SOLVED] RTL8192CE: wirless network interface not existing

lspci -nn | grep 8192
26:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)

Offline

#11 2017-05-18 21:47:13

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] RTL8192CE: wirless network interface not existing

[    418.142946] nommu_map_single: overflow 211b70040+9100 of device mask ffffffff

If this is specific, try any of these kernel parameters (they're effectively exclusive)

iommu=soft
iommu=off
amd_iommu=fullflush
amd_iommu=off
amd_iommu=force_isolation

Offline

#12 2017-05-31 20:16:28

greenality
Member
Registered: 2017-05-14
Posts: 5

Re: [SOLVED] RTL8192CE: wirless network interface not existing

seth wrote:

[    418.142946] nommu_map_single: overflow 211b70040+9100 of device mask ffffffff

If this is specific, try any of these kernel parameters (they're effectively exclusive)

iommu=soft
iommu=off
amd_iommu=fullflush
amd_iommu=off
amd_iommu=force_isolation

Using amd_iommu=off could fix the problem, all the other parameters did not fix it. My wireless card is up now. Thanks. :-)

Are there any drawbacks using this kernel flag? I do not really understand iommu. If I now use virtualbox is it less secure because the code running in this virtual machine is not limited to its virtual address space? 

Do you think new kernel updates may fix this problem? Works without adding a kernel flag with kernel 4.11.3-1.

Edit: Still not working without setting flag amd_immu=off, I forgot to unplug my USB wifi device.

Last edited by greenality (2017-06-01 04:31:34)

Offline

#13 2017-05-31 21:01:22

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] RTL8192CE: wirless network interface not existing

https://en.wikipedia.org/wiki/Input%E2% … ement_unit
You might be hit by missing DMA passthrough to a virtual machine.

Bugs don't fix magicall, you'd have to report them upstream (what implies the will and ability to compile and test kernel patches)
There're some google results for "ryzen" and "iommu", though, so this will likely mature over time.

Offline

Board footer

Powered by FluxBB