Announcement

Collapse
No announcement yet.

2nd update failure in the last month

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    2nd update failure in the last month

    I checked the repository for updates and was informed that 15 were waiting. I did the usual BTRFS snapshots before an update, and then proceeded. The update failed on a critical part, my rtl8821ce DKMS code:
    Code:
    DKMS make.log for rtl8821ce-v5.5.2_34066.20200325 for kernel 5.14.0-1029-oem (x86_64)
    Tue Mar 22 20:21:39 CDT 2022
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.14.0-1029-oem/build M=/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build modules
    make[1]: Entering directory '/usr/src/linux-headers-5.14.0-1029-oem'
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_cmd.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_security.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_debug.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_io.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_ioctl_query.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_ioctl_set.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_ieee80211.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_mlme.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_mlme_ext.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_mi.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_wlan_util.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_vht.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_pwrctrl.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_rf.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_chplan.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_recv.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_sta_mgt.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_ap.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/mesh/rtw_mesh.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/mesh/rtw_mesh_pathtbl.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/mesh/rtw_mesh_hwmp.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_xmit.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_p2p.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_rson.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_tdls.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_br_ext.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_iol.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_sreset.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_btcoex_wifionly.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_btcoex.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_beamforming.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_odm.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_rm.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_rm_fsm.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/efuse/rtw_efuse.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/osdep_service.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/os_intfs.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/pci_intf.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/pci_ops_linux.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_linux.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/xmit_linux.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/mlme_linux.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/recv_linux.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/rtw_cfgvendor.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/wifi_regd.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/rtw_android.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/rtw_proc.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/rtw_rhashtable.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_mp.o
    CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/hal/hal_intf.o
    
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c:7310:97: error: missing binary operator before token "("
    7310 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)) || RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0)
    | ^
    
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_mgmt_frame_register’:
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c:7322:97: error: missing binary operator before token "("
    7322 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)) || RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0)
    | ^
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c:7344:97: error: missing binary operator before token "("
    7344 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)) || RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0)
    | ^
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c: At top level:
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c:9650:98: error: missing binary operator before token "("
    9650 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)) || RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,0)
    | ^
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c:9653:3: error: ‘struct cfg80211_ops’ has no member named ‘mgmt_frame_register’
    9653 | .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
    | ^~~~~~~~~~~~~~~~~~~
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c:9653:25: error: initialization of ‘int (*)(struct wiphy *, struct wireless_dev *, u64)’ {aka ‘int (*)(struct wiphy *, struct wireless_dev *, long long unsigned int)’} from incompatible pointer type ‘void (*)(struct wiphy *, struct wireless_dev *, u16, bool)’ {aka ‘void (*)(struct wiphy *, struct wireless_dev *, short unsigned int, _Bool)’} [-Werror=incompatible-pointer-types]
    9653 | .mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.c:9653:25: note: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx_cancel_wait’)
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/os_dep/linux/ioctl_cfg80211.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [Makefile:1870: /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-5.14.0-1029-oem'
    make: *** [Makefile:2244: modules] Error 2
    This kind of error appears to be generic for many problems. The most repeated "fix" was to update to a more recent gcc compiler. I upgraded to gcc+10. Will see how that goes.

    EDIT: I rebooted to see if the 5.14.0-1029-oem kernel would boot and it did. My rtl8821ce wifi came up with its usual 443Mbps speed, and libVertManager displayed the distro running in it.
    My EGK software ran fine. So far, everything seems to work, even though dkms did not appear to load.
    One of life's baffling mysteries.
    Last edited by GreyGeek; Mar 22, 2022, 08:08 PM.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    #2
    That dkms driver may be getting crusty, or more likely isn't built for that not-quite-standard 5.14 kernel , I saw this on occasion using hwe-edge kernels before i hurled by rtl8821 card in the bin.

    I was using this more current and maintained codebase, which seemed to not have this issue, but was still flaky, mostly, just the bluetooth though.
    https://github.com/tomaspinho/rtl8821ce

    Or just boot back to a stock kernel.

    Comment


      #3
      Originally posted by claydoh View Post
      That dkms driver may be getting crusty, or more likely isn't built for that not-quite-standard 5.14 kernel , I saw this on occasion using hwe-edge kernels before i hurled by rtl8821 card in the bin.

      I was using this more current and maintained codebase, which seemed to not have this issue, but was still flaky, mostly, just the bluetooth though.
      https://github.com/tomaspinho/rtl8821ce

      Or just boot back to a stock kernel.
      The stock kernel doesn't work on my rtl8821ce chip, which is why I used the tomaspinho method. It installed dkms to "wrap" the kernel, and that worked. The dkms recompile for the 1029-oem kernel failed at the cfg80211 and my system does not have dkms running, but the rtl8821ce chip is being driven anyway by
      lsmod | grep rtw
      Code:
      rtw88_8821ce 16384 0
      rtw88_8821c 94208 1 rtw88_8821ce
      rtw88_pci 24576 1 rtw88_8821ce
      rtw88_core 200704 2 rtw88_pci,rtw88_8821c
      mac80211 1028096 2 rtw88_pci,rtw88_core
      cfg80211 892928 2 rtw88_core,mac80211
      As long as the 8821ce chip is working I'm not worrying about it.
      However, sometime in the future I will probably follow your lead and toss this chip into the bin and replace it with one that will allow me to work my Hurricane IPv6 tunnel, if the BIOS will allow it. TIme and research will tell.
      Last edited by GreyGeek; Mar 23, 2022, 12:11 AM.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment

      Working...
      X