An answer was found in this forum’s solution: V4L2 timeout leads to NULL pointer dereference in kernel in jetpack 4.6 - #12 by JerryChang
There was a fix for the NULL pointer dereference (the fix is on Jetpack 4.6.1 but not on Jetpack 4.6 which is the version installed in the Xavier AGX). I have applied the changes and recompiled the rt kernels and now attempting to reset the capture channel
does not cause tegra194-vi5 to hang:
However, now I am experiencing lots of attempts to reset the capture channel and getting a green image out of the CSI camera.
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: no reply from camera processor
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: no reply from camera processor
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[Do Jul 14 22:00:59 2022] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[Do Jul 14 22:01:02 2022] tegra194-vi5 15c10000.vi: no reply from camera processor
[Do Jul 14 22:01:02 2022] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[Do Jul 14 22:01:02 2022] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[Do Jul 14 22:01:02 2022] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[Do Jul 14 22:01:02 2022] tegra194-vi5 15c10000.vi: no reply from camera processor
[Do Jul 14 22:01:02 2022] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[Do Jul 14 22:01:02 2022] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
Are there any other patches done to the Jetpack 4.6 kernels regarding tegra194-vi5?
Thanks in advance!