Ardentwheel Posted October 22, 2023 Share #1 Posted October 22, 2023 Dmesg Show Unknown symbol error, ask for help tcp_bbr: Unknown symbol __ubsan_handle_divrem_overflow (err -2) tcp_bbr: Unknown symbol __ubsan_handle_shift_out_of_bounds (err -2) tcp_bbr: Unknown symbol __ubsan_handle_type_mismatch_v1 (err -2) tcp_bbr: Unknown symbol __ubsan_handle_load_invalid_value (err -2) This is the operation process: Download ToolChain wget https://cndl.synology.cn/download/ToolChain/toolchain/7.2-63134/AMD%20x86%20Linux%20Linux%205.10.55%20%28epyc7002%29/epyc7002-gcc1220_glibc236_x86_64-GPL.txz tar -Jxf epyc7002-gcc1220_glibc236_x86_64-GPL.txz Download Linux-5.10.55 src wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.10.55.tar.gz tar -xzvf linux-5.10.55.tar.gz Prepare for cross compilation export ARCH=amd64 export CROSS_COMPILE=/home/parallels/synology/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- make menuconfig make prepare make scripts make Compile a single module make M=net/ipv4/ CONFIG_TCP_CONG_BBR=m clean make M=net/ipv4/ CONFIG_TCP_CONG_BBR=m modules Install module sudo cp /volume1/Exchange/tcp_bbr.ko /lib/modules/ sudo chmod 644 /lib/modules/tcp_bbr.ko sudo insmod /lib/modules/tcp_bbr.ko Encounter Error Version Magic Error Quote tcp_bbr: version magic '5.10.55 SMP mod_unload modversions ' should be '5.10.55+ SMP mod_unload ' Edit File /linux-5.10.55/include/generated/utsrelease.h #define UTS_RELEASE "5.10.55+" -fstack-protector-strong Error Quote tcp_bbr: Unknown symbol __stack_chk_fail (err -2) Edit File /linux-5.10.55/Makefile stackp-flags-$(CONFIG_STACKPROTECTOR_STRONG) := Quote Link to comment Share on other sites More sharing options...
Ardentwheel Posted October 22, 2023 Author Share #2 Posted October 22, 2023 (edited) Resolved: Use Synology NAS GPL Source as kernel source For 7.2-64570 tcp_bbr.ko sch_cake.kosch_fq.ko sch_fq_codel.kosch_fq_pie.ko Edited October 22, 2023 by Ardentwheel 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.