JP 5.1.3: "vi_capture_control_message: NULL VI channel received" causes a kernel panic

Hi,
I’m debugging our custom carrier board’s FPD-Link and GMSL Ser/Des devices.
Regardless to our current problem (which I ask about in a separate post)
My question here is regarding the following error when activating gstreamer without valid input:

vi_capture_control_message: NULL VI channel received

This causes a kernel panic and SoM reset.
Is it possible to do something to prevent this situation? We don’t want to perform reset each time the video input is not valid. (close gstreamer with error indication should be enough)
Which function pointer is missing? Can I implement it?

full error log:
error.log (6.8 KB)

Thanks

hello bsp_dev,

please refer to Topic 305007 for two kernel patches to address kernel panic when VI trying to recover camera stream.

Thank you for your answer.
@JerryChang Can you please tell me briefly how ones apply a kernel patch? (first time for me)

Thanks

hello bsp_dev,

you’ve to download the kernel sources,
for instance,
(1) you may Obtaining the Kernel Sources with Git,
or,
(2) please visit L4T page, for example, here’s jetson-linux-r3550 public release as JetPack 5.1.3, and, it’s jetson-linux-r3560 for JetPack 5.1.4, by downloading [Driver Package (BSP) Sources] package.

please apply the patches to update the kernel sources, then following developer guide To Build the Kernel.
as you can see in UEFI section, it’s UEFI picks the kernel Image and dtb from the rootfs path mentioned in the /boot/extlinux/extlinux.conf file, please copy the new kernel image to the target, and update Linux entry with your new kernel image file path accordingly, reboot the system to have changes applied.

Thank you for you answer

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.