Why are there a bunch of such alerts when I haven't made any changes to these codes?

Hi, all:

soft version:
JP6.1

device:
Orin NX

Compile log:
1.txt (11.3 MB)

device log:
journalctl.txt (489.8 KB)

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 -

Did you rebuild the kernel image? If so, then it is expected, common Linux kernel update mistake if you only upgrade image but not every module.

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 same CONFIG_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:

$ ./build-all.sh

kernel-build-6.x.sh.txt (3.1 KB)
setup-out.sh.txt (2.7 KB)
build-all.sh.txt (2.9 KB)

前面已經寫了. 如果看不懂我這裡用中文解釋一下…

你只換了kernel image跟kernel dtb. 但你其他kernel modules都沒有換. 這三個東西本來就是一套的. 但你只換了其中兩個. 或是部份的driver而已.

比方說nvidia oot display driver似乎在你的build script中沒出現?

你好:

export INSTALL_MOD_PATH=${PROJECT_TOP}/${OUT_PUT}/Linux_for_Tegra/rootfs
sudo -E make modules_install

上述命令我已经执行了,环境变量INSTALL_MOD_PATH也设置了,是我理解错误了吗?还需要额外的执行拷贝命令,将其他模块的ko,拷贝到rootfs下面?还是执行命令的顺序有问题?

請問你build出來的這整包裡面有以上這個driver嗎 ? nvidia_drm

output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko

上面的ko没有更新,这是为什么呢?

w@w:~/master/L4T-public-source (jp6.1)$ sudo find -name nvidia-drm.ko | xargs ls -l
-rw-rw-r-- 1 w    w    1010704 1月  13 14:04 ./bsp/jp6.1/kernel_src/nvdisplay/kernel-open/nvidia-drm.ko
-rw-r--r-- 1 root root 1010704 1月  13 14:08 ./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/nvidia-drm.ko
-rw-r--r-- 1 root root  155713 9月  13 12:28 ./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko
w@w:~/master/L4T-public-source (jp6.1)$ sudo find -name nvidia-drm.ko | xargs md5sum
146982c152ced374fb8476492c9d0cb3  ./bsp/jp6.1/kernel_src/nvdisplay/kernel-open/nvidia-drm.ko
146982c152ced374fb8476492c9d0cb3  ./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/nvidia-drm.ko
88aa88b1bdfdfcb02cd5d017f49ac11e  ./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko

你的source code沒build到它吧. nvdisplay source code是另外一包

nvidia-drm.ko 不是在 nvdisplay里面吗?还是有其他的包,我这边没解压?

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)$

這個才對. nvdispaly已經沒在使用了

nvidia_kernel_display_driver_source.tbz2解压以后,就是nvdisplay目录。您这边指的是哪个废弃了?

w@w:~/master/L4T-public-source/bsp/jp6.1/kernel_src (jp6.1)$ tar vxf nvidia_kernel_display_driver_source.tbz2
./nvdisplay/
./nvdisplay/nv-compiler.sh
./nvdisplay/src/
./nvdisplay/src/nvidia/
./nvdisplay/src/nvidia/inc/
./nvdisplay/src/nvidia/inc/libraries/
./nvdisplay/src/nvidia/inc/libraries/nvoc/
./nvdisplay/src/nvidia/inc/libraries/nvoc/utility.h
./nvdisplay/src/nvidia/inc/libraries/nvoc/runtime.h
./nvdisplay/src/nvidia/inc/libraries/nvoc/rtti.h
./nvdisplay/src/nvidia/inc/libraries/nvoc/object.h
./nvdisplay/src/nvidia/inc/libraries/nvoc/prelude.h
./nvdisplay/src/nvidia/inc/libraries/tls/
./nvdisplay/src/nvidia/inc/libraries/tls/tls.h
./nvdisplay/src/nvidia/inc/libraries/utils/
./nvdisplay/src/nvidia/inc/libraries/utils/nvassert.h
./nvdisplay/src/nvidia/inc/libraries/utils/nvrange.h
./nvdisplay/src/nvidia/inc/libraries/utils/nvbitvector.h
./nvdisplay/src/nvidia/inc/libraries/utils/nvmacro.h
......

OK. 沒事 請不要理我前面說的. 有些naming只是我們內部在用的.

麻煩你就確認一下你這幾包有沒有build出 nvidia.ko/nvidia-drm.ko//nvidia-modeset.ko

如果有build出來. 代表就只是沒有被裝去你的rootfs而已.

我感觉是没有执行build命令,也没有安装。

因为我把root里面的这几个包删除了(如下),当我再次执行的时候,root依然没有opensrc-disp/nvidia-drm.ko这个包。
rm -rf ./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko

我有什么办法能解决这个问题吗?或者说确认是哪里出了问题吗?

這一包解完之後應該有個README.md. 裡面有build display ko的步驟

w@w:~/master/L4T-public-source (jp6.1)$ sudo find -name nvidia-drm.ko
这个是编译生成的:
./bsp/jp6.1/kernel_src/nvdisplay/kernel-open/nvidia-drm.ko
./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/nvidia-drm.ko
下面的这个是解压包里面的:
./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko

查看md5:
w@w:~/master/L4T-public-source (jp6.1)$ sudo find -name nvidia-drm.ko | xargs md5sum
146982c152ced374fb8476492c9d0cb3 ./bsp/jp6.1/kernel_src/nvdisplay/kernel-open/nvidia-drm.ko
146982c152ced374fb8476492c9d0cb3 ./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/nvidia-drm.ko
88aa88b1bdfdfcb02cd5d017f49ac11e ./output/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko

查看原始解包(没经过内核编译):
w@w:~/tool/Linux_for_Tegra$ sudo find -name nvidia-drm.ko
./rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko
w@w:~/tool/Linux_for_Tegra$ sudo find -name nvidia-drm.ko | xargs md5sum
88aa88b1bdfdfcb02cd5d017f49ac11e ./rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko

应该是这样的:编译应该替换下面的ko
rootfs/usr/lib/modules/5.15.148-tegra/updates/opensrc-disp/nvidia-drm.ko
但是install 的时候,放错位置了,放在了:
rootfs/usr/lib/modules/5.15.148-tegra/updates/nvidia-drm.ko

能跟您確認一下你install的步驟嗎?

这是install 步骤:
kernel-build-6.x.sh.txt (4.5 KB)
这是编译日志:
1.txt (11.3 MB)

	行 200550:   LD [M]  /home/w/master/L4T-public-source/bsp/jp6.1/kernel_src/nvdisplay/kernel-open/nvidia-drm.ko
	行 200946:   INSTALL /home/w/master/L4T-public-source/output/Linux_for_Tegra/rootfs/lib/modules/5.15.148-tegra/updates/nvidia-drm.ko
	行 200947:   SIGN    /home/w/master/L4T-public-source/output/Linux_for_Tegra/rootfs/lib/modules/5.15.148-tegra/updates/nvidia-drm.ko

Hi,

能請你先手動複製那三個ko檔然後看一下原本的問題是不是能先解決?

順便請問一下這個kernel-build-6.x.sh.txt 是你自己寫的嗎?

是的,我自己写的,参照如下:
https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/IN/QuickStart.html
https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/SD/Kernel/KernelCustomization.html