Closed mrfluffy-dev closed 3 years ago
Blacklist rtw88
, then make sure this module is actually installed and running.
The rtw88_8821ce module was the only one that resembles this name there was the 8821ce as well tried blacklisting them one for one and when i blacklist the rtw88_8821ce I had no wifi ran a mkinitcpio can't see the rtl8821ce model and modprobe can't find it even went as far to look in the /lib/modules/linux*/modules.alias file and the module is not there
You need to blacklist rtw88_8821ce
, but keep 8821ce
(which is the module in this repository).
Native rtw88 definitely has a lower signal strength, 23% vs. 70% 8821ce. On Debian sid, (5.9.0) I followed the instructions and blacklisted rtw88_8821ce. works like a charm.
Thanks @tomaspinho and everyone else.
@mrfluffy69 did the module build without any errors under dkms?
Funny enough using 8821ce just doesn't work for me im using the native rtw now because blacklisting it just gives me no WIFI sadly and yes I installed the package from the AUR with no problem even tried using the git clone method with no luck sadly but I appreciate the help a lot I'll give it another shot
@mrfluffy69 that reads like a borked installation. Please follow the removal instructions in the README and attempt a clean reinstall.
Thanks for all the help sadly removing all traces of it and reinstalling it with the rtw88 module blacklisted didn't do the trick the 8821cl module just doesn't want to do anything with my card it seems but Thanks for the help I do appreciate it
Make sure to blacklist first and reboot before running the dkms-install script, I'd suggest not using aur. Run dkms-remove and start from scratch with using dkms-install after.
Tried blacklisting the rtw88 module but no dice even after rebooting and then installing through dkms
Tried blacklisting the rtw88 module but no dice even after rebooting and then installing through dkms
Had my laptop in suspend and re-opened it later, for some reason it now works (using rtl8821ce not rtw88).
Only difference from before is I am now using an old commit (18c1f607c10307a249be82cb398fb08eb7857a9f) so it may be some change after this commit that causes the wifi scanning to not work.
Interesting sadly my WIFI card just doesn't work cant find it as an available card if I use this driver quite sad coz I have been using this driver since I got the laptop now it just doesn't want to work and its quite sad forced me to go get another driver it works but I have to compile manually everytime i get a new kernel and being on Arch that is going to get annoying fast so I hope I can switch back to this package fast
but my wifi still not working, why?
~ > cat /etc/modprobe.d/nortw88.conf
blacklist rtw88_8821ce
install rtw88_8821ce /bin/false
uname -a
Linux hst 5.9.1-arch1-1 #1 SMP PREEMPT Sat, 17 Oct 2020 13:30:37 +0000 x86_64 GNU/Linux
cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux
@energygreek please post the outputs of
lsmod
lspci -k
@energygreek please post the outputs of
lsmod
lspci -k
Module Size Used by
ccm 20480 0
algif_aead 16384 0
cbc 16384 0
des_generic 16384 0
libdes 24576 1 des_generic
ecb 16384 0
algif_skcipher 16384 0
cmac 16384 0
md4 16384 0
algif_hash 16384 0
af_alg 32768 3 algif_hash,algif_skcipher,algif_aead
xt_CHECKSUM 16384 1
xt_MASQUERADE 20480 3
xt_conntrack 16384 1
ip6t_REJECT 16384 2
ipt_REJECT 16384 2
xt_tcpudp 20480 15
nf_nat_tftp 16384 0
nft_objref 16384 1
nf_conntrack_tftp 20480 3 nf_nat_tftp
nft_fib_inet 16384 1
nft_fib_ipv4 16384 1 nft_fib_inet
nft_fib_ipv6 16384 1 nft_fib_inet
nft_fib 16384 3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet 16384 5
nf_reject_ipv4 16384 2 nft_reject_inet,ipt_REJECT
nf_reject_ipv6 20480 2 nft_reject_inet,ip6t_REJECT
nft_reject 16384 1 nft_reject_inet
nft_ct 20480 17
nft_chain_nat 16384 4
joydev 28672 0
nf_tables 241664 332 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_objref,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
ebtable_nat 16384 0
ebtable_broute 16384 0
ip6table_nat 16384 1
ip6table_mangle 16384 1
ip6table_raw 16384 0
ip6table_security 16384 0
tun 57344 2
iptable_nat 16384 1
nf_nat 53248 5 ip6table_nat,nf_nat_tftp,nft_chain_nat,iptable_nat,xt_MASQUERADE
bridge 249856 0
nf_conntrack 172032 6 xt_conntrack,nf_nat,nf_conntrack_tftp,nft_ct,nf_nat_tftp,xt_MASQUERADE
rmi_smbus 16384 0
rmi_core 86016 1 rmi_smbus
stp 16384 1 bridge
llc 16384 2 bridge,stp
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
libcrc32c 16384 2 nf_conntrack,nf_nat
iptable_mangle 16384 1
iptable_raw 16384 0
iptable_security 16384 0
ip_set 57344 0
nfnetlink 16384 3 nf_tables,ip_set
ebtable_filter 16384 0
ebtables 40960 3 ebtable_nat,ebtable_filter,ebtable_broute
ip6table_filter 16384 1
ip6_tables 32768 5 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle,ip6table_security
iptable_filter 16384 1
btusb 69632 0
uvcvideo 114688 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 32768 1 btusb
videobuf2_vmalloc 20480 1 uvcvideo
mousedev 24576 0
videobuf2_memops 20480 1 videobuf2_vmalloc
bluetooth 741376 5 btrtl,btintel,btbcm,btusb
videobuf2_v4l2 32768 1 uvcvideo
videobuf2_common 61440 2 videobuf2_v4l2,uvcvideo
videodev 274432 3 videobuf2_v4l2,uvcvideo,videobuf2_common
intel_rapl_msr 20480 0
intel_rapl_common 32768 1 intel_rapl_msr
ecdh_generic 16384 1 bluetooth
mc 61440 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ecc 36864 1 ecdh_generic
hid_generic 16384 0
snd_soc_skl 180224 0
snd_hda_codec_hdmi 73728 1
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
coretemp 20480 0
snd_hda_codec_conexant 24576 1
snd_soc_sst_ipc 20480 1 snd_soc_skl
kvm_intel 323584 0
snd_hda_codec_generic 98304 1 snd_hda_codec_conexant
snd_soc_sst_dsp 40960 1 snd_soc_skl
snd_hda_ext_core 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 45056 1 snd_soc_skl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
snd_soc_core 327680 1 snd_soc_skl
kvm 851968 1 kvm_intel
snd_compress 32768 1 snd_soc_core
nls_iso8859_1 16384 1
iTCO_wdt 16384 0
intel_pmc_bxt 16384 1 iTCO_wdt
ee1004 20480 0
iTCO_vendor_support 16384 1 iTCO_wdt
mei_hdcp 24576 0
nls_cp437 20480 1
irqbypass 16384 1 kvm
ac97_bus 16384 1 snd_soc_core
wmi_bmof 16384 0
snd_pcm_dmaengine 16384 1 snd_soc_core
crct10dif_pclmul 16384 1
vfat 24576 1
fat 86016 1 vfat
fuse 139264 5
crc32_pclmul 16384 0
intel_wmi_thunderbolt 20480 0
i915 2662400 5
snd_hda_intel 57344 0
ghash_clmulni_intel 16384 0
snd_intel_dspcfg 24576 2 snd_hda_intel,snd_soc_skl
snd_hda_codec 167936 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
aesni_intel 372736 0
crypto_simd 16384 1 aesni_intel
snd_hda_core 106496 7 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_skl
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
snd_hwdep 16384 1 snd_hda_codec
rapl 16384 0
intel_cstate 20480 0
intel_uncore 167936 0
8821ce 1974272 0
i2c_algo_bit 16384 1 i915
psmouse 184320 0
input_leds 16384 0
r8169 98304 0
snd_pcm 147456 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
i2c_i801 36864 0
drm_kms_helper 266240 1 i915
realtek 24576 1
i2c_smbus 20480 1 i2c_i801
mdio_devres 16384 1 r8169
of_mdio 24576 1 mdio_devres
snd_timer 45056 1 snd_pcm
fixed_phy 16384 1 of_mdio
tpm_crb 20480 0
cfg80211 913408 1 8821ce
cec 73728 2 drm_kms_helper,i915
libphy 151552 5 r8169,mdio_devres,of_mdio,realtek,fixed_phy
rc_core 61440 1 cec
thinkpad_acpi 118784 0
intel_gtt 24576 1 i915
syscopyarea 16384 1 drm_kms_helper
ucsi_acpi 16384 0
tpm_tis 16384 0
mei_me 49152 1
tpm_tis_core 32768 1 tpm_tis
sysfillrect 16384 1 drm_kms_helper
nvram 16384 1 thinkpad_acpi
typec_ucsi 36864 1 ucsi_acpi
intel_xhci_usb_role_switch 16384 0
ledtrig_audio 16384 2 snd_hda_codec_generic,thinkpad_acpi
tpm 77824 3 tpm_tis,tpm_crb,tpm_tis_core
sysimgblt 16384 1 drm_kms_helper
mei 126976 3 mei_hdcp,mei_me
rfkill 28672 4 bluetooth,thinkpad_acpi,cfg80211
intel_pch_thermal 16384 0
fb_sys_fops 16384 1 drm_kms_helper
roles 16384 1 intel_xhci_usb_role_switch
typec 53248 1 typec_ucsi
rng_core 16384 1 tpm
snd 114688 11 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
wmi 36864 2 intel_wmi_thunderbolt,wmi_bmof
soundcore 16384 1 snd
battery 20480 1 thinkpad_acpi
ac 16384 0
evdev 28672 16
mac_hid 16384 0
drm 585728 5 drm_kms_helper,i915
pkcs8_key_parser 16384 0
agpgart 53248 2 intel_gtt,drm
ip_tables 32768 5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle
x_tables 53248 17 ebtables,ip6table_filter,xt_conntrack,ip6table_raw,iptable_filter,iptable_security,xt_tcpudp,xt_CHECKSUM,ip6_tables,ipt_REJECT,iptable_raw,ip_tables,ip6table_mangle,ip6table_security,xt_MASQUERADE,ip6t_REJECT,iptable_mangle
usbhid 65536 0
hid 147456 2 usbhid,hid_generic
ext4 815104 2
crc32c_generic 16384 0
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 139264 1 ext4
serio_raw 20480 0
atkbd 36864 0
libps2 20480 2 atkbd,psmouse
sdhci_pci 61440 0
cqhci 32768 1 sdhci_pci
sdhci 77824 1 sdhci_pci
xhci_pci 20480 0
xhci_pci_renesas 20480 1 xhci_pci
crc32c_intel 24576 5
mmc_core 188416 3 sdhci,cqhci,sdhci_pci
xhci_hcd 286720 1 xhci_pci
i8042 32768 0
serio 28672 8 rmi_core,serio_raw,atkbd,psmouse,i8042
lspci -k ?130 20:24:22
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
Subsystem: Lenovo Device 5068
Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
Subsystem: Lenovo Device 5068
Kernel driver in use: i915
Kernel modules: i915
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
Subsystem: Lenovo Device 5068
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
Subsystem: Lenovo Device 5068
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
Subsystem: Lenovo Device 5068
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
Subsystem: Lenovo Device 5068
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
Subsystem: Lenovo Device 5068
Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
Kernel driver in use: pcieport
00:1d.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #11 (rev f1)
Kernel driver in use: pcieport
00:1d.3 PCI bridge: Intel Corporation Device 9d1b (rev f1)
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
Subsystem: Lenovo Device 5068
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
Subsystem: Lenovo Device 5068
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Lenovo Device 5068
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
Subsystem: Lenovo Device 5068
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
Subsystem: Lenovo Device 5068
Kernel driver in use: r8169
Kernel modules: r8169
04:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (rev 03)
Subsystem: Silicon Motion, Inc. Device 2263
Kernel driver in use: nvme
05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Lenovo Device c024
Kernel driver in use: rtl8821ce
Kernel modules: rtw88_8821ce, 8821ce
06:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
Subsystem: Lenovo Device 5068
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
thank you!
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter Subsystem: Lenovo Device c024 Kernel modules: rtw88_8821ce, 8821ce
I see I am not loading the kernel driver and cant find a way to manually do it. So I think I found the problem but I don't have the solution (ps this is a clean install of arch only modding I did was blacklist the trw88_8821ce module)
lsmod
Module Size Used by amdgpu 6434816 3 snd_hda_codec_realtek 139264 1 snd_hda_codec_generic 98304 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic snd_hda_codec_hdmi 73728 1 snd_hda_intel 57344 0 joydev 28672 0 gpu_sched 40960 1 amdgpu snd_intel_dspcfg 24576 1 snd_hda_intel i2c_algo_bit 16384 1 amdgpu btusb 69632 0 snd_hda_codec 167936 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek ttm 122880 1 amdgpu 8021q 40960 0 garp 16384 1 8021q mousedev 24576 0 snd_hda_core 106496 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek btrtl 24576 1 btusb mrp 20480 1 8021q drm_kms_helper 266240 1 amdgpu snd_hwdep 16384 1 snd_hda_codec stp 16384 1 garp btbcm 20480 1 btusb llc 16384 2 stp,garp snd_pcm 147456 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core edac_mce_amd 32768 0 cec 73728 1 drm_kms_helper btintel 32768 1 btusb snd_timer 45056 1 snd_pcm kvm_amd 114688 0 rc_core 61440 1 cec bluetooth 741376 5 btrtl,btintel,btbcm,btusb syscopyarea 16384 1 drm_kms_helper uas 32768 0 snd 114688 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm sysfillrect 16384 1 drm_kms_helper snd_rn_pci_acp3x 20480 0 ecdh_generic 16384 1 bluetooth usb_storage 81920 1 uas sysimgblt 16384 1 drm_kms_helper ccp 118784 1 kvm_amd ecc 36864 1 ecdh_generic fb_sys_fops 16384 1 drm_kms_helper soundcore 16384 1 snd snd_pci_acp3x 20480 0 nls_iso8859_1 16384 1 kvm 851968 1 kvm_amd nls_cp437 20480 1 irqbypass 16384 1 kvm vfat 24576 1 crct10dif_pclmul 16384 1 crc32_pclmul 16384 0 ghash_clmulni_intel 16384 0 8821ce 1974272 0 fat 86016 1 vfat r8169 98304 0 uvcvideo 114688 0 hid_rmi 24576 0 rmi_core 86016 1 hid_rmi aesni_intel 372736 0 realtek 24576 1 hid_generic 16384 0 wmi_bmof 16384 0 videobuf2_vmalloc 20480 1 uvcvideo mdio_devres 16384 1 r8169 crypto_simd 16384 1 aesni_intel videobuf2_memops 20480 1 videobuf2_vmalloc cfg80211 913408 1 8821ce sp5100_tco 20480 0 videobuf2_v4l2 32768 1 uvcvideo of_mdio 24576 1 mdio_devres ideapad_laptop 24576 0 cryptd 24576 2 crypto_simd,ghash_clmulni_intel glue_helper 16384 1 aesni_intel videobuf2_common 61440 2 videobuf2_v4l2,uvcvideo fixed_phy 16384 1 of_mdio sparse_keymap 16384 1 ideapad_laptop rapl 16384 0 libphy 151552 5 r8169,mdio_devres,of_mdio,realtek,fixed_phy rfkill 28672 4 bluetooth,ideapad_laptop,cfg80211 i2c_piix4 28672 0 tpm_crb 20480 0 k10temp 16384 0 wmi 36864 2 wmi_bmof,ideapad_laptop videodev 274432 3 videobuf2_v4l2,uvcvideo,videobuf2_common i2c_hid 32768 0 pcspkr 16384 0 input_leds 16384 0 tpm_tis 16384 0 battery 20480 0 hid 147456 3 i2c_hid,hid_generic,hid_rmi tpm_tis_core 32768 1 tpm_tis evdev 28672 11 tpm 77824 3 tpm_tis,tpm_crb,tpm_tis_core pinctrl_amd 32768 1 rng_core 16384 2 ccp,tpm mac_hid 16384 0 ac 16384 0 mc 61440 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common acpi_cpufreq 28672 0 drm 585728 7 gpu_sched,drm_kms_helper,amdgpu,ttm agpgart 53248 2 ttm,drm ip_tables 32768 0 x_tables 53248 1 ip_tables ext4 815104 1 crc32c_generic 16384 0 crc16 16384 2 bluetooth,ext4 mbcache 16384 1 ext4 jbd2 139264 1 ext4 serio_raw 20480 0 atkbd 36864 0 libps2 20480 1 atkbd xhci_pci 20480 0 crc32c_intel 24576 2 xhci_pci_renesas 20480 1 xhci_pci xhci_hcd 286720 1 xhci_pci i8042 32768 1 ideapad_laptop serio 28672 5 rmi_core,serio_raw,atkbd,i8042
Both of you seem to be experiencing the same issue: having both modules available but none getting loaded.
Can you post the output of dmesg | grep rtl
and dmesg | grep rtw
?
don't have the slightest idea of what changed but the driver is now running the rtl8821ce one and the wifi works again all I did was reboot (and I did that a lot over the past few hours trying to fix it)
but here is my output
[mrfluffy@mrfluffypc ~]$ dmesg | grep rtl [ 2.636081] rtl8821ce 0000:01:00.0: enabling device (0000 -> 0003) [ 2.690398] rtl8821ce 0000:01:00.0 wlp1s0: renamed from wlan0 [mrfluffy@mrfluffypc ~]$ dmesg | grep rtw [mrfluffy@mrfluffypc ~]$
@mrfluffy69 good to know! :smile:
@energygreek what's your status?
@tomaspinho thank you! it still doesn't work, what i have done is uninstall rtl8821ce-dkms
aur package, blacklist rtw88_8821ce
, after a reboot, i got no output from lsmod | grep 8821
. finally i install rtw88_8821ce-dkms package. after reboot, the wifi still does not work.
here is dmesg output now:
~ > dmesg| grep 8821
[ 0.138821] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 3.279242] 8821ce: loading out-of-tree module taints kernel.
[ 3.303910] 8821ce: module verification failed: signature and/or required key missing - tainting kernel
[ 3.417062] rtl8821ce 0000:05:00.0: enabling device (0000 -> 0003)
[ 4.105489] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[ 4.106482] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
[ 4.107673] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin
@energygreek this line
8821ce: module verification failed: signature and/or required key missing - tainting kernel
looks like a secure boot issue I think. Do you have it enabled, try to disable secure boot
I have also been having the same issue on a Lenovo IdeaPad. Reverted back to 5.8.8-arch1-1 #1 SMP PREEMPT Wed, 09 Sep 2020 18:59:45 +0000 x86_64 GNU/Linux
and still having issues with scanning networks.
lspci -k
returns:
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Lenovo Device c024
Kernel driver in use: rtl8821ce
Kernel modules: 8821ce`
dmesg | grep 8821
returns:
[ 2.989093] 8821ce: loading out-of-tree module taints kernel.
[ 3.019822] 8821ce: module verification failed: signature and/or required key missing - tainting kernel
[ 3.379685] rtl8821ce 0000:07:00.0 wlp7s0: renamed from wlan0
Secure Boot is disabled @9Lukas5.
I have installed the driver via the git repo, even tried commit 18c1f60
like @slapelachie but no luck.
Both of those outputs of dmesg look good to me, what issues are you experiencing? Does the card come up on ip link
, for example? Can you scan networks at all?
Both of those outputs of dmesg look good to me, what issues are you experiencing? Does the card come up on
ip link
, for example? Can you scan networks at all?
ip link
returns:
3: wlp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DORMANT group default qlen 1000
link/ether 28:39:26:9a:4c:73 brd ff:ff:ff:ff:ff:ff
Scanning via sudo wifi-menu
returns:
Scanning for networks... failed
No networks found
don't have the slightest idea of what changed but the driver is now running the rtl8821ce one and the wifi works again all I did was a reboot (and I did that a lot over the past few hours trying to fix it)
@tomaspinho This also happened to me and one of the Reddit user who posted on r/archlinux. It is quite weird that it starts working automatically.
Just to be clear both me and the Reddit user had the same issue our card was being detected properly. But was not able to scan the network. it just keeps showing no network found as @karl-tye is mentioning. I even downgraded my kernel to arch-lts
but it did not even work there. which was quite weird too... I even tried blacklisting ideapad_laptop
module as suggested in README and rebooted 2 times, but was still not working.
I then thought to re-install as even changing the kernel was not doing anything. So I dual booted into my windows system to do some other stuff and after some time I booted into linux again and guess what is started working!
don't have the slightest idea of what changed but the driver is now running the rtl8821ce one and the wifi works again all I did was a reboot (and I did that a lot over the past few hours trying to fix it)
@tomaspinho This also happened to me and one of the Reddit user who posted on r/archlinux. It is quite weird that it starts working automatically.
Just to be clear both me and the Reddit user had the same issue our card was being detected properly. But was not able to scan the network. it just keeps showing no network found as @karl-tye is mentioning. I even downgraded my kernel to
arch-lts
but it did not even work there. which was quite weird too... I even tried blacklistingideapad_laptop
module as suggested in README and rebooted 2 times, but was still not working.I then thought to re-install as even changing the kernel was not doing anything. So I dual booted into my windows system to do some other stuff and after some time I booted into linux again and guess what is started working!
Glad to hear that it's working for others, however it is still not working for me after a few reboots. I think it may be linked to this post from the arch linux forums
Upon further inspection and research, I have discovered it is because my RTL8821CE chip is RFE2, which is not supported by the kernel driver yet.
The rtl8821ce driver works with it the rtw88 does not work with RFE2 so run lspci -k to see what kernal driver the device is trying to use at this moment
The rtl8821ce driver works with it the rtw88 does not work with RFE2 so run lspci -k to see what kernal driver the device is trying to use at this moment
Thanks for the quick reply. This is what lspci -k
returns
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Lenovo Device c024
Kernel driver in use: rtl8821ce
Kernel modules: rtw88_8821ce, 8821ce
Looks like my output of dmesg | grep rtl
is different to @mrfluffy69's though:
[ 3.591821] rtl8821ce 0000:07:00.0 wlp7s0: renamed from wlan0
It's really though helping you guys without the hardware myself. Blacklisting rtw88 correctly and rebooting once should've fixed the problem for you all, given a correct installation of rtl8821ce.
Well my /etc/modprobe.d/blacklist.conf did the trick not right away even after blacklisting it didn't tun the modules but kept using the wrong kernel driver then it just suddenly changed oo and the contents of my /etc/modprobe.d/blacklist.conf is
blacklist rtw_8821ce blacklist rtw88_8821ce
The rtw_8821ce shouldn't be on your system i installed it in an attempte to get wifi but didn't work well so after this only the 8821ce will run
Hopefully we can get to the bottom of this soon. @tomaspinho if there is any other information you think I can provide then please let me know. I'm not fond of having to carry a 10 meter Ethernet cable with me when I need to access the internet :stuck_out_tongue_closed_eyes:
Hello,
First of all, I would like to thank @tomaspinho for your work on this driver, I appreciate it immensely.
I hope you don't mind if I add myself to the list of users whose card stopped working after the Linux 5.9.1 update, even after blacklisting the new modules. I am running Arch Linux, without secure boot.
Here is the content of my /etc/modprobe.d/rtw88_blacklist.conf
:
blacklist rtw88
blacklist rtw88_8821ce
blacklist rtw88_pci
blacklist rtw88_core
blacklist rtw88_8821c
Here is what I believe is the relevant part of lspci -k
:
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
Subsystem: Lenovo Device c024
Kernel driver in use: rtl8821ce
Kernel modules: rtw88_8821ce, 8821ce
lsmod | grep -e rtw -e rtl -e 8821
(I tried to grep what was useful for the sake of shortness):
btrtl 24576 1 btusb
bluetooth 741376 33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
8821ce 1974272 0
cfg80211 913408 1 8821ce
dmesg | grep rtl
:
[ 3.224448] rtl8821ce 0000:07:00.0 wlp7s0: renamed from wlan0
dmesg | grep rtw
doesn't return anything.
And here is the output of sudo ./dkms-install.sh
after my manual installation:
About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/source ->
/usr/src/rtl8821ce-v5.5.2_34066.20200325
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j8 KVER=5.9.1-arch1-1.................
cleaning build area...
Kernel cleanup unnecessary for this kernel. Skipping...
DKMS: build completed.
8821ce.ko.xz:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/5.9.1-arch1-1/updates/dkms/
depmod.....
DKMS: install completed.
Finished running dkms install steps.
I should add that I use this card as a Wifi Access Point and as a way to connect to my bluetooth headphones.
In this first case, I can run the usual nmcli
command without any error but I am unable to find the network with my phone.
In the second, I can run power on
in bluetoothcl but when trying to connect <my_device>
I get an Failed to connect: org.bluez.Error.Failed
.
My card also does appear when running ip link
.
All of this makes the bug quite strange.
I am of course available for more information if someone has any idea about what the problem could be.
I upgraded my kernel to 5.9.1 yesterday and the driver seemed not working. Then I degraded my kernel to 5.8.9 and reboot(like I always did in the past), the driver still did not work. I tried to compile the newest version driver from this repo and it still did not work. I gave up and used my wired card. But today I found my driver works again. It's really weird. Is there any difference between reboot and poweroff-and-on? Or I missed some thing important?
I have joined the group of 'restarted and it worked'ers! I have outlined the steps I took below. Hopefully this can help anyone who is still having this issue (@HugoForrat).
cd .git/rtl8821ce
sudo ./dkms-remove.sh
cd /var/cache/pacman/pkg
sudo pacman -U linux-5.8.13.arch1-1-x86_64.pkg.tar.zst linux-headers-5.8.13.arch1-1-x86_64.pkg.tar.zst nvidia-440.100-1-x86_64.pkg.tar.zst nvidia-settings-440.100-1-x86_64.pkg.tar.zst nvidia-utils-440.100-1-x86_64.pkg.tar.zst
reboot
cd .git/rtl8821ce
sudo make clean
sudo ./dkms-install.sh
mkinitcpio -P
reboot
Is dkms on Arch no longer doing mkinitcpio automatically on dkms install? That would explain the multiple reboot issue - the module would not be included properly in the subsequent upgraded kernel.
If someone can reproduce @karl-tye's solution, maybe we can add it to the README afterwards?
It didn't work for me. But in my case the same problem occurs if i boot in Windows. But only since I've updated the kernel for arch.
I did the steps but no networks were avaiable - so in windows too.
So i disassembled my notebook but the antenna cables were ok. I started windows again and it works. So i tried Arch with lts kernel and it works too. Booted again but with 5.9.1 and the problems occurs again. Now back to windows => again problems no networks available. I left the pc off for a while. And now it works again with lts 5.4.
So it seems that booting up linux 5.9.1 with the current version of this driver causes a problem which survives a restart.
Makes this any sense to you?
Lenovo L340 Arch Linux - 5.9.1-arch1-1 / linux-lts 5.4.72-1 | Windows 10
Hello all. I am joining the party with a Lenovo Ideapad L340 with an RTL8821CE Wi-Fi chipset that I have been happily using for months on MANJARO with the AUR driver rtl8821ce-dkms-git
. But when I rebooted after trying the linux-5.9 kernel, no more Wi-Fi connection was available in KDE Plasma's Network Manager.
I tried removing and reinstalling the driver, I tried rtl8821ce-dkms
instead, I tried using the 5.4 and the 5.8 kernel with the same result. I have unfortunately not reached the "rebooted and it worked again" stage and I am happy to contribute to the investigation.
Here are more details:
inxi -SNxxx
System: Host: lenovo Kernel: 5.4.72-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.19.5
tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux
Network: Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo driver: rtl8821ce v: N/A
port: 4000 bus ID: 07:00.0 chip ID: 10ec:c821
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000
bus ID: 08:00.0 chip ID: 10ec:8168
sudo dmesg | grep rtl8821
[ 3.532697] rtl8821ce 0000:07:00.0 wlp7s0: renamed from wlan0
lspci | grep 8821
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
lsmod | grep 8821
8821ce 1978368 0
cfg80211 851968 1 8821ce
nmcli
wlp7s0: disconnected
"Realtek RTL8821CE"
wifi (rtl8821ce), MAC_REDACTED, hw, mtu 1500
p2p-dev-wlp7s0: disconnected
"p2p-dev-wlp7s0"
wifi-p2p, hw
enp8s0: unavailable
"Realtek RTL8111/8168/8411"
ethernet (r8169), MAC_REDACTED, hw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
nmcli device show (MAC addresses removed)
GENERAL.DEVICE: wlp7s0
GENERAL.TYPE: wifi
GENERAL.HWADDR: <MAC-ADDRESS_3>
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
GENERAL.DEVICE: p2p-dev-wlp7s0
GENERAL.TYPE: wifi-p2p
GENERAL.HWADDR: (unknown)
GENERAL.MTU: 0
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
GENERAL.DEVICE: enp8s0
GENERAL.TYPE: ethernet
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: off
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
sudo systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
└─NetworkManager-ovs.conf
Active: active (running) since Sat 2020-10-24 22:49:52 CEST; 14min ago
Docs: man:NetworkManager(8)
Main PID: 718 (NetworkManager)
Tasks: 3 (limit: 9386)
Memory: 14.2M
CGroup: /system.slice/NetworkManager.service
└─718 /usr/bin/NetworkManager --no-daemon
Oct 24 22:50:06 lenovo NetworkManager[718]: <info> [1603572606.3361] manager: startup complete
Oct 24 22:50:09 lenovo NetworkManager[718]: <info> [1603572609.8091] agent-manager: agent[7cb72a6d6296a79a,:1.44/org.kde.plasma.networkmanagement/1000]: agent registered
Oct 24 22:54:58 lenovo NetworkManager[718]: <info> [1603572898.1270] device (wlp7s0): set-hw-addr: set MAC address to <MAC_ADDRESS_1> (scanning)
Oct 24 22:54:58 lenovo NetworkManager[718]: <info> [1603572898.6531] device (wlp7s0): supplicant interface state: disconnected -> inactive
Oct 24 22:54:58 lenovo NetworkManager[718]: <info> [1603572898.6532] device (p2p-dev-wlp7s0): supplicant management interface state: disconnected -> inactive
Oct 24 23:01:19 lenovo NetworkManager[718]: <info> [1603573279.7729] device (wlp7s0): set-hw-addr: set MAC address to <MAC_ADDRESS_2> (scanning)
Oct 24 23:01:19 lenovo NetworkManager[718]: <info> [1603573279.8097] device (wlp7s0): supplicant interface state: inactive -> disconnected
Oct 24 23:01:19 lenovo NetworkManager[718]: <info> [1603573279.8098] device (p2p-dev-wlp7s0): supplicant management interface state: inactive -> disconnected
Oct 24 23:01:20 lenovo NetworkManager[718]: <info> [1603573280.2928] device (wlp7s0): supplicant interface state: disconnected -> inactive
Oct 24 23:01:20 lenovo NetworkManager[718]: <info> [1603573280.2929] device (p2p-dev-wlp7s0): supplicant management interface state: disconnected -> inactive
Sorry for the late reply: unfortunately, @karl-tye's solution didn't work for me at least not as is. Doing
sudo pacman -U linux-5.8.13.arch1-1-x86_64.pkg.tar.zst linux-headers-5.8.13.arch1-1-x86_64.pkg.tar.zst
and then reboot
immediately broke my booting process and I had to find a live USB to put back the updated kernel. I think I will try the solution @darkretailer which is to use linux-lts
.
Also, I should add that, like @darkretailer and @jeancf, who still have the issue, my computer is a Lenovo L340.
@HugoForrat my Wifi works now on 5.9.1 and I also have a L340 so I don't think It has to do with the device itself I cant give you a reason it is happening just that I spent hours trying to fix it and just a random reboot I did fixed it
@HugoForrat my Wifi works now on 5.9.1 and I also have a L340 so I don't think It has to do with the device itself I cant give you a reason it is happening just that I spent hours trying to fix it and just a random reboot I did fixed it
I'm glad to know that there is still hope, but it's been about about a week, I've made dozens of reboots and it still doesn't work... I've just tried booting with the linux-lts
kernel and unfortunately, it didn't change anything (I redid the whole manual installation after booting in linux-lts
), so I'm really at loss for idea now... Only thing left is perhaps wiping my whole system clean and installing a fresh Arch with linux-lts
, and hoping to avoid the problem that survives a restart that @darkretailer was talking about.
Sorry for the late reply: unfortunately, @karl-tye's solution didn't work for me at least not as is. Doing
sudo pacman -U linux-5.8.13.arch1-1-x86_64.pkg.tar.zst linux-headers-5.8.13.arch1-1-x86_64.pkg.tar.zst
and then
reboot
immediately broke my booting process and I had to find a live USB to put back the updated kernel. I think I will try the solution @darkretailer which is to uselinux-lts
.Also, I should add that, like @darkretailer and @jeancf, who still have the issue, my computer is a Lenovo L340.
Hi @HugoForrat, when you say that it broke your booting process it could have been your video drivers not working with your new (old) kernel version. I had the same problem and had to uninstall my nvidia
packages and instead use nvidia-dkms
.
Hi @HugoForrat, when you say that it broke your booting process it could have been your video drivers not working with your new (old) kernel version. I had the same problem and had to uninstall my
nvidia
packages and instead usenvidia-dkms
.
Sorry, I worded this poorly, you weren't responsible in any way, but no actually, I meant that GRUB was looking for the kernel 5.9.1 to boot but couldn't find it; I think it was because I didn't run mkinitcpio
nor grub-mkconfig
after downgrading. But do not worry, I've fixed this issue, and I am back in step 1.
I found a log trace that may be interesting. Look at the last 3 lines.
The scan is not taking place because some timer related to a previous scan has not expired yet. It seems to need 4921 (what? ms? s? m? h?) before re-running. This would explain why people are suddenly seeing the functionality coming back to life. It is not after a reboot but after the expiration of some time.
What is this timer though and how to override it or set it to 0?
journalctl -b | grep wlp7s0
Oct 26 18:40:55 lenovo kernel: rtl8821ce 0000:07:00.0 wlp7s0: renamed from wlan0
Oct 26 18:40:56 lenovo NetworkManager[723]: <info> [1603734056.8239] device (wlp7s0): driver supports Access Point (AP) mode
Oct 26 18:40:56 lenovo NetworkManager[723]: <info> [1603734056.8250] manager: (wlp7s0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
Oct 26 18:40:56 lenovo NetworkManager[723]: <info> [1603734056.8269] device (wlp7s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 26 18:40:57 lenovo NetworkManager[723]: <info> [1603734057.3945] device (wlp7s0): supplicant interface state: internal-starting -> disconnected
Oct 26 18:40:57 lenovo NetworkManager[723]: <info> [1603734057.3946] device (wlp7s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Oct 26 18:41:31 lenovo plasmashell[1240]: plasma-nm: Last scan finished 5079 ms ago and last request scan was sent 0 ms ago, Skipping scanning interface: "wlp7s0"
Oct 26 18:41:31 lenovo plasmashell[1240]: plasma-nm: Rescheduling a request scan for "wlp7s0" in 4921
Oct 26 18:41:37 lenovo wpa_supplicant[812]: wlp7s0: Reject scan trigger since one is already pending
OK. So the issue discussed here was resolved for me by the latest Manjaro stable update… albeit for only a few minutes.
I performed today’s stable update on my system then rebooted with kernel 5.4 and Wi-Fi woked again with the rtl8821ce driver. Great!
Then I rebooted with kernel 5.9 which is also installed on the system. There Wi-Fi did not work. I tried blacklisting rtw88_8821ce and rebooted but it did not work either.
BUT when I finally booted again with kernel 5.4… No Wi-Fi. I tried the usual since: remove blacklisting, de-install rtl8821ce, de-install 5.9, re-install rtl8821ce, reinstall kernel 5.4, nothing works. I also tried kernel 5.8 with no better result.
It looks like it is booting with 5.9 (and its rtw88_8821ce driver) that screws everything up but I don’t understand why.
Very strange. I can't reproduce.. Are you sure you're blacklisting properly?
P.S after you make changes to /etc/modprobe.d
or /etc/default/grub
be sure to run mkinitcpio -P
and grub-mkconfig -o /boot/grub/grub.cfg
respectively
To make sure I removed the 5.9 kernel and removed any blacklisting from /etc/modprobe.d
. I removed and reinstalled the driver. I manually ran mkinitcpio -P
and grub-mkconfig -o /boot/grub/grub.cfg
and rebooted. But still no Wi-Fi.
The situation is the same as described above: rtl8821ce driver is loaded but no wireless scan seems to take place.
@jeancf After a reboot it seems to have mysteriously stopped working again and I got the same no wireless scan issue. It seems like the driver occasionally stops working. It sometimes works and sometimes doesn't. I wonder what may be causing that.
I was impatient so I just swapped the card with an atheros chip but I wonder if trying to unload and load the module fixes it.
@rany2 Thanks for the suggestion. Removing and re-adding the module does not change anything.
lsmod | grep 8821
returns the same before and after re-adding:
8821ce 1978368 0
cfg80211 897024 1 8821ce
This might be a stretch, is there a wifi switch/key? Try switching it off and on.
On Sun, Nov 8, 2020 at 10:35 AM JC Francois notifications@github.com wrote:
@rany2 https://github.com/rany2 Thanks for the suggestion. Removing and re-adding the module does not change anything.
lsmod | grep 8821 returns the same before and after re-adding:
8821ce 1978368 0 cfg80211 897024 1 8821ce
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tomaspinho/rtl8821ce/issues/176#issuecomment-723558478, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ2ZEA2S4JNEF4UP4YHENTSOZYAXANCNFSM4SVEXNWA .
Seems like the driver has an incompatibility with linux 5.9.1 Can't tell what is causing the problem but I have seen comments saying something about RFE all I can tell you is that the wifi keeps connecting and disconnecting non stop.
Thanks for the help.