tbsdtv / linux_media

TBS linux open source drivers
https://github.com/tbsdtv/linux_media/wiki
Other
169 stars 79 forks source link

modprobe problem ubuntu 20.04/22.04, and menuconfig error #328

Closed zsirmo closed 7 months ago

zsirmo commented 8 months ago

Hello,

I found two problems:

  1. ubuntu 20.04 and 22.04 "make menuconfig" not working:, error messge: /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

  1. 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

p.s.: ubuntu 18.04 working perfectly

crazycat69 commented 8 months ago

https://github.com/tbsdtv/media_build/commit/5287ad1b58b858c5d8f55e8839f937a68661ccbd

zsirmo commented 8 months ago

okay, i try , thank you

build problem , i try unsigned kernel and WORKING, but install modules-extra package, i2c-mux depending!