Hi everyone,
I get this following error when i update my kernel.
I’m thinking this is somewhat related to my brostrend adapter I no longer use.
Anyone have any info?
Thanks.
Hi everyone,
I get this following error when i update my kernel.
I’m thinking this is somewhat related to my brostrend adapter I no longer use.
Anyone have any info?
Thanks.
This is coming from something you are doing with dkms.
If, as you hint, it is left over from your “brostrend adapter” that you no long use, then you can remove dkms.
You might need to clean up some files if there are still errors.
I suppose I should include a copy of the make.log, Something i omitted.
Blockquote
DKMS (dkms-3.1.5) make.log for rtl88x2bu/5.13.1 for kernel 6.13.6-200.fc41.x86_64 (x86_64)
Thu Mar 13 05:17:00 AM EDT 2025
Cleaning build area
#make -C /lib/modules/6.13.6-200.fc41.x86_64/build M=/var/lib/dkms/rtl88x2bu/5.13.1/build clean
cd hal ; rm -fr ///.mod.c ///.mod ///.o ///..cmd ///.ko
cd hal ; rm -fr //.mod.c //.mod //.o //..cmd //*.ko
cd hal ; rm -fr /.mod.c /.mod /.o /..cmd /.ko
cd hal ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd core ; rm -fr /.mod.c /.mod /.o /..cmd /.ko
cd core ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod .o ..cmd *.ko
cd platform ; rm -fr *.mod.c *.mod .o ..cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod .o ..cmd *.ko *~
rm -fr .tmp_versions
rm -fr MOK.der MOK.priv
Building module(s)
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.13.6-200.fc41.x86_64/build M=/var/lib/dkms/rtl88x2bu/5.13.1/build modules
make[1]: Entering directory ‘/usr/src/kernels/6.13.6-200.fc41.x86_64’
make[2]: Entering directory ‘/var/lib/dkms/rtl88x2bu/5.13.1/build’
CC [M] core/rtw_cmd.o
CC [M] core/rtw_security.o
CC [M] core/rtw_debug.o
CC [M] core/rtw_io.o
CC [M] core/rtw_ioctl_query.o
CC [M] core/rtw_ioctl_set.o
CC [M] core/rtw_ieee80211.o
CC [M] core/rtw_mlme.o
CC [M] core/rtw_mlme_ext.o
CC [M] core/rtw_mi.o
CC [M] core/rtw_wlan_util.o
CC [M] core/rtw_vht.o
CC [M] core/rtw_pwrctrl.o
CC [M] core/rtw_rf.o
CC [M] core/rtw_chplan.o
CC [M] core/monitor/rtw_radiotap.o
CC [M] core/rtw_recv.o
CC [M] core/rtw_sta_mgt.o
CC [M] core/rtw_ap.o
CC [M] core/wds/rtw_wds.o
CC [M] core/mesh/rtw_mesh.o
CC [M] core/mesh/rtw_mesh_pathtbl.o
CC [M] core/mesh/rtw_mesh_hwmp.o
CC [M] core/rtw_xmit.o
CC [M] core/rtw_p2p.o
CC [M] core/rtw_rson.o
CC [M] core/rtw_tdls.o
CC [M] core/rtw_br_ext.o
CC [M] core/rtw_iol.o
CC [M] core/rtw_sreset.o
CC [M] core/rtw_btcoex_wifionly.o
CC [M] core/rtw_btcoex.o
CC [M] core/rtw_beamforming.o
CC [M] core/rtw_odm.o
CC [M] core/rtw_rm.o
CC [M] core/rtw_rm_fsm.o
CC [M] core/rtw_ft.o
CC [M] core/rtw_wnm.o
CC [M] core/rtw_mbo.o
CC [M] core/rtw_rm_util.o
CC [M] core/efuse/rtw_efuse.o
CC [M] core/rtw_roch.o
CC [M] core/crypto/aes-internal.o
CC [M] core/crypto/aes-internal-enc.o
CC [M] core/crypto/aes-gcm.o
CC [M] core/crypto/aes-ccm.o
CC [M] core/crypto/aes-omac1.o
CC [M] core/crypto/ccmp.o
CC [M] core/crypto/gcmp.o
CC [M] core/crypto/aes-siv.o
CC [M] core/crypto/aes-ctr.o
CC [M] core/crypto/sha256-internal.o
CC [M] core/crypto/sha256.o
CC [M] core/crypto/sha256-prf.o
CC [M] core/crypto/rtw_crypto_wrap.o
CC [M] core/rtw_swcrypto.o
CC [M] os_dep/osdep_service.o
CC [M] os_dep/linux/os_intfs.o
CC [M] os_dep/linux/usb_intf.o
CC [M] os_dep/linux/usb_ops_linux.o
CC [M] os_dep/linux/ioctl_linux.o
CC [M] os_dep/linux/xmit_linux.o
CC [M] os_dep/linux/mlme_linux.o
CC [M] os_dep/linux/recv_linux.o
CC [M] os_dep/linux/ioctl_cfg80211.o
CC [M] os_dep/linux/rtw_cfgvendor.o
CC [M] os_dep/linux/wifi_regd.o
CC [M] os_dep/linux/rtw_android.o
CC [M] os_dep/linux/rtw_proc.o
CC [M] os_dep/linux/nlrtw.o
In file included from /usr/src/kernels/6.13.6-200.fc41.x86_64/include/linux/module.h:22,
from ././include/basic_types.h:76,
from ././include/drv_types.h:26,
from os_dep/linux/os_intfs.c:17:
os_dep/linux/os_intfs.c:35:26: error: expected ‘,’ or ‘;’ before ‘VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver’
35 | MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.13.6-200.fc41.x86_64/include/linux/moduleparam.h:26:61: note: in definition of macro ‘__MODULE_INFO’
26 | = __MODULE_INFO_PREFIX __stringify(tag) “=” info
| ^~~~
/usr/src/kernels/6.13.6-200.fc41.x86_64/include/linux/module.h:299:33: note: in expansion of macro ‘MODULE_INFO’
299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns)
| ^~~~~~~~~~~
os_dep/linux/os_intfs.c:35:9: note: in expansion of macro ‘MODULE_IMPORT_NS’
35 | MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
| ^~~~~~~~~~~~~~~~
CC [M] os_dep/linux/rtw_rhashtable.o
make[4]: *** [/usr/src/kernels/6.13.6-200.fc41.x86_64/scripts/Makefile.build:196: os_dep/linux/os_intfs.o] Error 1
make[4]: *** Waiting for unfinished jobs…
os_dep/linux/ioctl_cfg80211.c:10524:32: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def )’ from incompatible pointer type ‘int ()(struct wiphy *, struct cfg80211_chan_def *)’ [-Wincompatible-pointer-types]
10524 | .set_monitor_channel = cfg80211_rtw_set_monitor_channel,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:10524:32: note: (near initialization for ‘rtw_cfg80211_ops.set_monitor_channel’)
make[4]: *** [/usr/src/kernels/6.13.6-200.fc41.x86_64/scripts/Makefile.build:196: os_dep/linux/ioctl_cfg80211.o] Error 1
make[3]: *** [/usr/src/kernels/6.13.6-200.fc41.x86_64/Makefile:2024: .] Error 2
make[2]: *** [/usr/src/kernels/6.13.6-200.fc41.x86_64/Makefile:263: __sub-make] Error 2
make[2]: Leaving directory ‘/var/lib/dkms/rtl88x2bu/5.13.1/build’
make[1]: *** [Makefile:263: __sub-make] Error 2
make[1]: Leaving directory ‘/usr/src/kernels/6.13.6-200.fc41.x86_64’
make: *** [Makefile:2530: modules] Error 2
Looks like the driver you are building has not been updated to support the current Fedora kernel.
You will need to report this to the maintainer of that driver.
Until they fix it you will need to keep using an older working kernel.
Is the kernel change for the new Realtek you have or the previous Brostrend?
I imagine so.
I just deleted the file in question from DKMS “rtl88x2bu” and nothing broke so far. (I kept a saved version just in case).
It’s probable that this will fix it. Will just have to wait and see for the next kernel update.
If nothing needs dkms then you can simplify your system by removing it.
Yeah as far as i’m aware nothing else uses it.
I think it was kept for that one driver that has been giving me an error for a bit now (about as long as my last post). I believe this started around the start of the 6.13 kernel.