I’m on manjaro unstable branch and want to report problems in the latest 5.15.6-2-MANJARO
kernel.
What happened is that i updated my system using sudo pacman -Syu
and it updated everything including my kernel. In the latest kernel, one of my usb ports was not detecting and also there was an errror while building the dkms modules for the kernel. For the time being, i downgraded my kernel to 5.15.2-2-MANJARO
and it’s respective headers and everything works flawlessly. Here is the log from /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/make.log
:
DKMS make.log for rtl8821ce-1.0.5.r128.gf93db73 for kernel 5.15.6-2-MANJARO (x86_64)
Sunday 05 December 2021 08:46:28 AM IST
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.6-2-MANJARO/build M=/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build modules
make[1]: Entering directory '/usr/lib/modules/5.15.6-2-MANJARO/build'
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_mi.o
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_mlme.c: In function ‘rtw_drv_scan_by_self’:
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_mlme.c:3161:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
3161 | else
| ^~~~
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_mlme.c:3164:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
3164 | goto exit;
| ^~~~
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_sta_mgt.o
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_rf.c: In function ‘dump_txpwr_lmt’:
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_rf.c:765:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
765 | if (IS_HARDWARE_TYPE_JAGUAR_AND_JAGUAR2(adapter))
| ^~
In file included from /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/include/drv_types.h:60,
from /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_rf.c:17:
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/include/rtw_debug.h:220:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
220 | do {\
| ^~
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_rf.c:767:17: note: in expansion of macro ‘RTW_PRINT_SEL’
767 | RTW_PRINT_SEL(sel, "txpwr_lmt_5g_20_40_ref:0x%02x\n", rfctl->txpwr_lmt_5g_20_40_ref);
| ^~~~~~~~~~~~~
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_sreset.o
/var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: No such file or directory
20 | #include <net/ipx.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build/core/rtw_br_ext.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1868: /var/lib/dkms/rtl8821ce/1.0.5.r128.gf93db73/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.15.6-2-MANJARO/build'
make: *** [Makefile:2244: modules] Error 2```