I checked Kconfig.kern, and found orphaned line:
# Needed by MEDIA_ATTACH, alwaysconfig MODULEStristatedefault yoption modules
build&install is done, but modprobe failed:
modprobe dvb-usb-tbs5580 modprobe: ERROR: could not insert 'dvb_usb_tbs5580': Exec format error
dmesg output:
[ 2764.761706] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000054650132, val ffffffffc0887960
Hello,
I found two problems:
/usr/src/20231022/media_build# make menuconfig
make -C /usr/src/20231022/media_build/v4l menuconfig
make[1]: Entering directory '/usr/src/20231022/media_build/v4l'
/lib/modules/6.2.0-1015-lowlatency/build/scripts/kconfig/mconf ./Kconfig
Kconfig.kern:102: syntax error
Kconfig.kern:101: unknown statement "option"
make[1]: *** [Makefile:371: menuconfig] Error 1
make[1]: Leaving directory '/usr/src/20231022/media_build/v4l'
make: *** [Makefile:26: menuconfig] Error 2
I checked Kconfig.kern, and found orphaned line:
# Needed by MEDIA_ATTACH, always
config MODULES
tristate
default y
option modules
modprobe dvb-usb-tbs5580 modprobe: ERROR: could not insert 'dvb_usb_tbs5580': Exec format error
dmesg output:
[ 2764.761706] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000054650132, val ffffffffc0887960
p.s.: ubuntu 18.04 working perfectly