After rebuilding the kernel, the logon screen does not appear. (The version of the kernel module does not match.)

I rebuilt the kernel to use MIDI with Jetson Orin and now the logon screen does not appear. The serial log shows the following error

[ 12.448722] nvidia: loading out-of-tree module taints kernel.
[ 12.456438] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 12.467001] nvidia: disagrees about version of symbol filp_open
[ 12.473856] nvidia: Unknown symbol filp_open (err -22)
[ 12.479809] nvidia: disagrees about version of symbol __put_page
[ 12.487055] nvidia: Unknown symbol __put_page (err -22)

The following repository at JetsonHacks is used as a reference.

What, is there an error?

seems like this repo does not support Orin series and L4T releases newer than r32.7.2.
Are you sure it works? It also does not seem to be something we should support, as it’s a third-party work.
disagrees about version of symbol XXX usually means the kernel module is not built for the specific version of kernel images running on the system.

I meet the same problem,Do you solve the problem?

Hi koudaj,

Have you managed to get issue resolved or still need the support? Thanks

Connecting from outside via SSH, the logon screen was displayed by following the steps below.

sudo systemctl set-default

sudo reboot


tar xvf public_sources.tbz2

cd Linux_for_Tegra/source/public/

tar xvf kernel_src.tbz2

tar xvf nvidia_kernel_display_driver_source.tbz2

cd kernel/kernel-5.10

sudo apt install -y libncurses5-dev libssh-dev

zcat /proc/config.gz > .config

make menuconfig

make prepare

make modules_prepare

make -j8 Image && make -j8 modules

sudo make modules_install

sudo cp arch/arm64/boot/Image /boot/Image

cd …/…/NVIDIA-kernel-module-source-TempVersion/

make -C $PWD modules -j8 SYSSRC=$PWD/…/kernel/kernel-5.10/

sudo make modules_install -j8

sudo systemctl set-default

sudo reboot