Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_kms_helper_hotplug_event (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_helper_probe_single_connector_modes
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_helper_probe_single_connector_modes (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_plane_create_rotation_property
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_plane_create_rotation_property (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_get_plane_state
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_get_plane_state (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_swap_state
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_helper_swap_state (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_page_flip
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_helper_page_flip (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_connector_reset
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_helper_connector_reset (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_plane_create_blend_mode_property
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_plane_create_blend_mode_property (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_update_plane
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_helper_update_plane (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_framebuffer_cleanup
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_framebuffer_cleanup (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_kms_helper_poll_fini
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_kms_helper_poll_fini (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_mode_object_find
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_mode_object_find (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_kms_helper_poll_disable
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_kms_helper_poll_disable (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_connector_register
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_connector_register (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_kms_helper_poll_init
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_kms_helper_poll_init (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_framebuffer_init
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_framebuffer_init (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_add_affected_planes
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_add_affected_planes (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_modeset_unlock_all
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_modeset_unlock_all (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_mode_probed_add
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_mode_probed_add (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_add_affected_connectors
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_add_affected_connectors (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_disable_plane
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_helper_disable_plane (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_modeset_lock_all
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_modeset_lock_all (err -22)
Nov 21 20:59:18 tegra kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_shutdown
Nov 21 20:59:18 tegra kernel: nvidia_drm: Unknown symbol drm_atomic_helper_shutdown (err -
Some random kernel build information which might or might not apply to your case:
Every compiled feature is is either integrated into the original Image (configured as “=y”), or as a module (configured as “=m”). Most features can be either, but not always.
If you change any feature which is integrated (“=y”), then you are better off with a new CONFIG_LOCALVERSION feature. The default is “-tegra”. If all integrated features have stayed the same, then you are better off with the sameCONFIG_LOCALVERSION="-tegra".
The base kernel version has the CONFIG_LOCALVERSION appended to it in order to create the output of the command “uname -r”. For example, if your base kernel version is 5.15.0, and if you have the default CONFIG_LOCALVERSION setting of “-tegra”, then “uname -r” will output “5.15.0-tegra”.
Modules are searched for at: /lib/modules/$(uname -r)/kernel/
Modules elsewhere are ignored.
Changing “uname -r” implies you must install all modules again.
Making changes to the integrated features, or changing CONFIG_LOCALVERSION, implies you most likely need 100% of all modules recompiled against the new configuration to avoid a symbol mismatch.
Modules from a different “uname -r” will normally fail to load on other kernel Image files.
To reuse any module one normally starts with a matching configuration to the currently running kernel, and then edits only module features while keeping CONFIG_LOCALVERSION to the original (which is likely “-tegra”).
The default configuration for Jetsons prior to L4T R36.x (meaning 35.x or earlier L4T) is the build target tegra_defconfig; the default configuration Jetsons ship with if L4T R36.x (and presumably newer, but we don’t have newer yet) is “defconfig”. Neither defconfig nor tegra_defconfig will set CONFIG_LOCALVERSION, and so setting that is up to you.
A running kernel will also publish its current config as the file “/proc/config.gz”. This is not a real file, but is instead a part of the kernel pretending to be a file. The only thing not a match on this file is that CONFIG_LOCALVERSION is not shown. You would still need to set CONFIG_LOCALVERSION if using that.
Changing the actual source code version will cause a symbol mismatch issue. One always needs a complete set of new modules when changing source code release.
Some systems use an initrd (initial ramdisk) during boot. Some small subset of kernel modules, when required for boot (e.g., if a custom filesystem type is supported in the form of a module), may have to be added to the initrd for boot to succeed. Remember that old modules won’t load if a new kernel is used and the configuration of integrated features does not match, or if the modules are searched for in the wrong location.
Yes, I recompiled the kernel.
I think there is no problem with the compilation process. Could you please help me find out why the problem occurs?
The script for compiling the kernel is as follows:
w@w:~/master/L4T-public-source/bsp/jp6.1/kernel_src (jp6.1)$ ls -l
total 221760
-rwxrwxr-x 1 w w 9350 1月 12 17:47 argus_cam_libavencoder_src.tbz2
-rwxrwxr-x 1 w w 118 1月 12 17:47 argus_cam_libavencoder_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 6581818 1月 12 17:47 atf_src.tbz2
-rwxrwxr-x 1 w w 99 1月 12 17:47 atf_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 137992 1月 12 17:47 dtc-1.4.5.tbz2
-rwxrwxr-x 1 w w 101 1月 12 17:47 dtc-1.4.5.tbz2.sha1sum
-rwxrwxr-x 1 w w 6652 1月 12 17:47 generic_rt_build.sh
-rwxrwxr-x 1 w w 49435 1月 12 17:47 gstegl_src.tbz2
-rwxrwxr-x 1 w w 102 1月 12 17:47 gstegl_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 1406178 1月 12 17:47 gstjpeg_src.tbz2
-rwxrwxr-x 1 w w 103 1月 12 17:47 gstjpeg_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 642074 1月 12 17:47 gst-nvarguscamera_src.tbz2
-rwxrwxr-x 1 w w 113 1月 12 17:47 gst-nvarguscamera_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 624592 1月 12 17:47 gst-nvcompositor_src.tbz2
-rwxrwxr-x 1 w w 112 1月 12 17:47 gst-nvcompositor_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 49540 1月 12 17:47 gst-nvipcpipeline_src.tbz2
-rwxrwxr-x 1 w w 113 1月 12 17:47 gst-nvipcpipeline_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 614984 1月 12 17:47 gst-nvtee_src.tbz2
-rwxrwxr-x 1 w w 105 1月 12 17:47 gst-nvtee_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 36844 1月 12 17:47 gst-nvunixfd_src.tbz2
-rwxrwxr-x 1 w w 108 1月 12 17:47 gst-nvunixfd_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 621510 1月 12 17:47 gst-nvv4l2camera_src.tbz2
-rwxrwxr-x 1 w w 112 1月 12 17:47 gst-nvv4l2camera_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 643294 1月 12 17:47 gst-nvvidconv_src.tbz2
-rwxrwxr-x 1 w w 109 1月 12 17:47 gst-nvvidconv_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 181297 1月 12 17:47 gst-nvvideo4linux2_src.tbz2
-rwxrwxr-x 1 w w 114 1月 12 17:47 gst-nvvideo4linux2_src.tbz2.sha1sum
drwxrwxr-x 3 w w 4096 1月 12 17:47 hardware ----------------------------------->这个有
drwxrwxr-x 4 w w 4096 1月 12 17:47 hwpm ----------------------------------->这个有
drwxrwxr-x 3 w w 4096 1月 12 17:47 kernel ----------------------------------->这个有
drwxrwxr-x 5 w w 4096 1月 12 17:47 kernel-devicetree ----------------------------------->这个有
-rwxrwxr-x 1 w w 8453494 1月 12 17:47 kernel_oot_modules_src.tbz2
-rwxrwxr-x 1 w w 114 1月 12 17:47 kernel_oot_modules_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 1916 1月 12 17:47 kernel_src_build_env.sh
-rwxrwxr-x 1 w w 156782066 1月 12 17:47 kernel_src.tbz2
-rwxrwxr-x 1 w w 102 1月 12 17:47 kernel_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 4313 1月 12 17:47 libgstnvcustomhelper_src.tbz2
-rwxrwxr-x 1 w w 116 1月 12 17:47 libgstnvcustomhelper_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 15393 1月 12 17:47 libgstnvdrmvideosink_src.tbz2
-rwxrwxr-x 1 w w 116 1月 12 17:47 libgstnvdrmvideosink_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 26732 1月 12 17:47 libgstnvvideosinks_src.tbz2
-rwxrwxr-x 1 w w 114 1月 12 17:47 libgstnvvideosinks_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 24461 1月 12 17:47 libv4l2_nvargus_src.tbz2
-rwxrwxr-x 1 w w 111 1月 12 17:47 libv4l2_nvargus_src.tbz2.sha1sum
-rw-rw-r-- 1 w w 7842 1月 12 17:47 Makefile
-rwxrwxr-x 1 w w 7836 1月 12 17:47 nvbuild.sh
-rwxrwxr-x 1 w w 1788 1月 12 17:47 nvcommon_build.sh
drwxrwxr-x 5 w w 4096 1月 12 17:47 nvdisplay ----------------------------------->这个有
drwxrwxr-x 6 w w 4096 1月 12 17:47 nvethernetrm
drwxrwxr-x 5 w w 4096 1月 12 17:47 nvgpu
-rwxrwxr-x 1 w w 59448 1月 12 17:47 nvgstapps_src.tbz2
-rwxrwxr-x 1 w w 105 1月 12 17:47 nvgstapps_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 8018138 1月 12 17:47 nvidia-jetson-optee-source.tbz2
-rwxrwxr-x 1 w w 118 1月 12 17:47 nvidia-jetson-optee-source.tbz2.sha1sum
-rwxrwxr-x 1 w w 2679762 1月 12 17:47 nvidia_kernel_display_driver_source.tbz2
-rwxrwxr-x 1 w w 127 1月 12 17:47 nvidia_kernel_display_driver_source.tbz2.sha1sum
-rwxrwxr-x 1 w w 2679182 1月 12 17:47 nvidia_kernel_display_driver_source_without_root_dir.tbz2
-rwxrwxr-x 1 w w 144 1月 12 17:47 nvidia_kernel_display_driver_source_without_root_dir.tbz2.sha1sum
drwxrwxr-x 9 w w 4096 1月 13 14:01 nvidia-oot ----------------------------------->这个有
-rwxrwxr-x 1 w w 110607 1月 12 17:47 nvidia-xconfig_src.tbz2
-rwxrwxr-x 1 w w 110 1月 12 17:47 nvidia-xconfig_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 2951 1月 12 17:47 nv_public_src_build.sh
-rwxrwxr-x 1 w w 4704 1月 12 17:47 nv_public_src_build_tos.sh
-rwxrwxr-x 1 w w 7205 1月 12 17:47 nvsample_cudaprocess_src.tbz2
-rwxrwxr-x 1 w w 116 1月 12 17:47 nvsample_cudaprocess_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 70200 1月 12 17:47 nvsci_headers.tbz2
-rwxrwxr-x 1 w w 105 1月 12 17:47 nvsci_headers.tbz2.sha1sum
-rwxrwxr-x 1 w w 35263 1月 12 17:47 nvsci_samples_src.tbz2
-rwxrwxr-x 1 w w 109 1月 12 17:47 nvsci_samples_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 6499 1月 12 17:47 opencv_gst_samples_src.tbz2
-rwxrwxr-x 1 w w 114 1月 12 17:47 opencv_gst_samples_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 6656 1月 12 17:47 openwfd_headers.tbz2
-rwxrwxr-x 1 w w 107 1月 12 17:47 openwfd_headers.tbz2.sha1sum
drwxrwxr-x 4 w w 4096 1月 13 14:03 out
-rwxrwxr-x 1 w w 4777 1月 12 17:47 public_sources_sha.txt
-rwxrwxr-x 1 w w 2741274 1月 12 17:47 spe-freertos-bsp.tbz2
-rwxrwxr-x 1 w w 108 1月 12 17:47 spe-freertos-bsp.tbz2.sha1sum
-rwxrwxr-x 1 w w 162494 1月 12 17:47 v4l2_libs_src.tbz2
-rwxrwxr-x 1 w w 105 1月 12 17:47 v4l2_libs_src.tbz2.sha1sum
-rwxrwxr-x 1 w w 33304485 1月 12 17:47 webrtc_argus_camera_app_src.tbz2
-rwxrwxr-x 1 w w 119 1月 12 17:47 webrtc_argus_camera_app_src.tbz2.sha1sum
w@w:~/master/L4T-public-source/bsp/jp6.1/kernel_src (jp6.1)$