kernel - Why isn't this module loading? - Ask Ubuntu


i've installed third party package librealsense. part of download sets uvcvideo compiled kernel module. once done reboot modified kernel. can see uvcvideo.ko file reason it's not loading. what's going on here?

$ sudo modprobe uvcvideo modprobe: error: not insert 'uvcvideo': unknown symbol in module, or unknown parameter (see dmesg)  $ uname -r 4.4.0-47-generic $ ls /lib/modules/4.4.0-47-generic/updates/dkms/ uvcvideo.ko  vboxguest.ko  vboxsf.ko  vboxvideo.ko  $ dmesg | grep uvcvideo [   44.581338] uvcvideo: unknown symbol vb2_queue_init (err 0) [   44.581344] uvcvideo: unknown symbol v4l2_fh_exit (err 0) [   44.581354] uvcvideo: unknown symbol video_ioctl2 (err 0) [   44.581357] uvcvideo: unknown symbol media_device_unregister (err 0) [   44.581361] uvcvideo: unknown symbol vb2_streamoff (err 0) [   44.581363] uvcvideo: unknown symbol media_entity_create_link (err 0) [   44.581368] uvcvideo: unknown symbol vb2_queue_release (err 0) [   44.581373] uvcvideo: unknown symbol vb2_poll (err 0) [   44.581377] uvcvideo: unknown symbol v4l2_fh_del (err 0) [   44.581379] uvcvideo: unknown symbol v4l2_fh_add (err 0) [   44.581381] uvcvideo: unknown symbol vb2_ops_wait_finish (err 0) [   44.581391] uvcvideo: unknown symbol vb2_dqbuf (err 0) [   44.581395] uvcvideo: unknown symbol __media_device_register (err 0) [   44.581397] uvcvideo: unknown symbol v4l2_subdev_init (err 0) [   44.581403] uvcvideo: unknown symbol vb2_reqbufs (err 0) [   44.581405] uvcvideo: unknown symbol v4l2_device_register_subdev (err 0) [   44.581411] uvcvideo: unknown symbol vb2_expbuf (err 0) [   44.581415] uvcvideo: unknown symbol video_devdata (err 0) [   44.581417] uvcvideo: unknown symbol vb2_streamon (err 0) [   44.581419] uvcvideo: unknown symbol v4l2_ctrl_replace (err 0) [   44.581424] uvcvideo: unknown symbol media_entity_init (err 0) [   44.581426] uvcvideo: unknown symbol vb2_querybuf (err 0) [   44.581428] uvcvideo: unknown symbol vb2_qbuf (err 0) [   44.581434] uvcvideo: unknown symbol vb2_buffer_done (err 0) [   44.581437] uvcvideo: unknown symbol vb2_plane_vaddr (err 0) [   44.581439] uvcvideo: unknown symbol v4l2_fh_init (err 0) [   44.581442] uvcvideo: unknown symbol video_unregister_device (err 0) [   44.581444] uvcvideo: unknown symbol v4l2_prio_init (err 0) [   44.581448] uvcvideo: unknown symbol v4l2_event_subscribe (err 0) [   44.581452] uvcvideo: unknown symbol vb2_vmalloc_memops (err 0) [   44.581457] uvcvideo: unknown symbol v4l2_device_register (err 0) [   44.581459] uvcvideo: unknown symbol media_entity_cleanup (err 0) [   44.581464] uvcvideo: unknown symbol v4l2_ctrl_merge (err 0) [   44.581469] uvcvideo: unknown symbol __video_register_device (err 0) [   44.581472] uvcvideo: unknown symbol vb2_ops_wait_prepare (err 0) [   44.581475] uvcvideo: unknown symbol vb2_create_bufs (err 0) [   44.581478] uvcvideo: unknown symbol v4l2_device_unregister (err 0) [   44.581480] uvcvideo: unknown symbol vb2_mmap (err 0) [   44.581482] uvcvideo: unknown symbol v4l2_event_queue_fh (err 0) [   44.581487] uvcvideo: unknown symbol v4l2_event_unsubscribe (err 0) 

i have modified script support new kernel(4.8.0-xx).

link: https://github.com/jjhu1993/librealsense-patch.git

``` patched kernel module created successfully

unloading module uvcvideo applying patched module uvcvideo inserting uvcvideo succeeded

script has completed successfully. please consult installation guide further instruction.

jjhu@jjhu-computer:~/projects/librealsense$ uname -r 4.8.0-52-generic

```


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User