Hello,
I am working on a Jetson Orin NX with the e-CAM80_CUONX camera. My ubuntu release is 22.04. My jetpack version is 6.0, my kernel version # R36 (release), REVISION: 3.0, GCID: 36923193, BOARD: generic, EABI: aarch64, DATE: Fri Jul 19 23:24:25 UTC 2024
KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia.
When I try to launch the eCAM_argus_camera it throws at segmentation fault error, and when i look at sudo dmesg it gives me this [ 833.417488] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 833.417505] video device name=vi-output, e-con_cam 9-0042
[ 833.417509] Uncorr_ERR_Occured 260 Times
[ 833.417521] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 833.418512] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 833.419068] ------------[ cut here ]------------
[ 833.419073] WARNING: CPU: 4 PID: 8431 at drivers/media/common/videobuf2/videobuf2-core.c:1607 vb2_core_queue_release+0x164/0x1f0 [videobuf2_common]
[ 833.419091] Modules linked in: v4l2loopback(OE) nvidia_modeset(O) lzo_rle lzo_compress zram zsmalloc ramoops reed_solomon algif_hash algif_skcipher af_alg snd_soc_tegra210_mixer(O) snd_soc_tegra186_asrc(O) snd_soc_tegra186_arad(O) snd_soc_tegra210_admaif(O) snd_soc_tegra210_ope(O) snd_soc_tegra_pcm snd_soc_tegra210_afc(O) snd_soc_tegra186_dspk(O) snd_soc_tegra210_mvc(O) snd_soc_tegra210_adx(O) snd_soc_tegra210_dmic(O) snd_soc_tegra210_sfc(O) snd_soc_tegra210_i2s(O) snd_soc_tegra210_amx(O) r8168(O) snd_soc_tegra210_ahub(O) tegra210_adma spidev nvvrs_pseq_rtc(O) joydev rtk_btusb(O) btusb btrtl btintel btbcm bluetooth snd_soc_tegra_machine_driver(O) crct10dif_ce ecdh_generic snd_soc_tegra_utils(O) ecc snd_soc_simple_card_utils tegra234_oc_event(O) fusb301(O) nvpmodel_clk_cap(O) thermal_trip_event(O) mttcan(O) nvpps(O) can_dev tegra_cactmon_mc_all(O) tegra_aconnect pwm_tegra_tachometer(O) rtl8822ce(O) snd_hda_codec_hdmi e_con_cam(OE) cfg80211 snd_hda_tegra rfkill at24 nv_imx219(O)
[ 833.419137] snd_hda_codec tegra_pcie_dma_test(O) tegra_pcie_edma(O) snd_hda_core mc_hwpm(O) spi_tegra114 nvidia_vrs_pseq(O) nvidia(O) host1x_fence(O) tegra_dce(O) bridge tsecriscv(O) stp llc usb_f_ncm usb_f_mass_storage usb_f_acm u_serial usb_f_rndis u_ether libcomposite nvhost_isp5(O) nvhost_nvcsi_t194(O) nvhost_vi5(O) tegra_camera(OE) v4l2_dv_timings nvhost_nvcsi(O) tegra_camera_platform(O) capture_ivc(O) tegra_camera_rtcpu(OE) ivc_bus(O) hsp_mailbox_client(O) ivc_ext(O) v4l2_fwnode v4l2_async governor_userspace videobuf2_dma_contig tegra_drm(O) videobuf2_memops nvhost_pva(O) nvhost_nvdla(O) tegra_wmark(O) videobuf2_v4l2 videobuf2_common nvhost_capture(O) videodev nvhwpm(O) cec mc host1x_nvhost(O) drm_kms_helper nvidia_p2p(O) ina3221 nvgpu(O) governor_pod_scaling(O) host1x(O) mc_utils(O) nvmap(O) nvsciipc(O) fuse drm ip_tables x_tables ipv6 pwm_fan pwm_tegra tegra_bpmp_thermal tegra_xudc ucsi_ccg typec_ucsi typec nvme nvme_core phy_tegra194_p2u pcie_tegra194
[ 833.419190] [last unloaded: v4l2loopback]
[ 833.419194] CPU: 4 PID: 8431 Comm: ffmpeg Tainted: G W OE 5.15.136-tegra #1
[ 833.419198] Hardware name: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 36.3.0-gcid-36191598 05/06/2024
[ 833.419200] pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=–)
[ 833.419203] pc : vb2_core_queue_release+0x164/0x1f0 [videobuf2_common]
[ 833.419207] lr : vb2_core_queue_release+0xe4/0x1f0 [videobuf2_common]
[ 833.419211] sp : ffff80001cab3b00
[ 833.419212] x29: ffff80001cab3b00 x28: ffff00010ad4b800 x27: 0000000040045612
[ 833.419215] x26: ffffabab7d3eebf0 x25: 0000000000000000 x24: ffff80001cab3cd8
[ 833.419218] x23: ffff000089e641f8 x22: ffff80001cab3cd8 x21: ffff000089e64858
[ 833.419220] x20: ffff000089e64870 x19: 00000000fffffff0 x18: 0000000000000000
[ 833.419223] x17: 000000040044ffff x16: ffffababd4237260 x15: 0000000000000000
[ 833.419225] x14: 0000000000000000 x13: 0000000000000010 x12: 0101010101010101
[ 833.419228] x11: 7f7f7f7f7f7f7f7f x10: 7fb8aa9014df7511 x9 : ac129b247923b05d
[ 833.419230] x8 : ffff000105e69ed8 x7 : 0000000000000004 x6 : 000000002701420b
[ 833.419233] x5 : ffff0003f0264fe0 x4 : 000000000000002e x3 : 0000000000000000
[ 833.419235] x2 : ffffababd2f334f8 x1 : ffff000105e68f80 x0 : ffff0000ac4e85f0
[ 833.419238] Call trace:
[ 833.419240] vb2_core_queue_release+0x164/0x1f0 [videobuf2_common]
[ 833.419243] vb2_core_streamon+0xac/0x470 [videobuf2_common]
[ 833.419247] vb2_ioctl_streamon+0x74/0xd0 [videobuf2_v4l2]
[ 833.419252] v4l2_video_std_frame_period+0x244/0x1170 [videodev]
[ 833.419262] v4l2_norm_to_name+0x530/0x15d0 [videodev]
[ 833.419270] video_usercopy+0x280/0x680 [videodev]
[ 833.419277] video_ioctl2+0x44/0x90 [videodev]
[ 833.419284] v4l2_prio_check+0x10c/0x160 [videodev]
[ 833.419292] __arm64_sys_ioctl+0xbc/0x100
[ 833.419299] invoke_syscall+0x5c/0x150
[ 833.419308] el0_svc_common.constprop.0+0x64/0x120
[ 833.419311] do_el0_svc+0x74/0xb0
[ 833.419313] el0_svc+0x28/0x90
[ 833.419317] el0t_64_sync_handler+0xac/0x130
[ 833.419319] el0t_64_sync+0x1a4/0x1a8
[ 833.419321] —[ end trace 009d741fbf84f415 ]—
[ 833.915982] e-con_cam 9-0042: ISP is Unintialized or Busy STATUS = 0x0000 Errcode = 0x02 !!
[ 834.022802] e-con_cam 9-0042: ISP is Unintialized or Busy STATUS = 0x0000 Errcode = 0x02 !!
[ 834.130353] e-con_cam 9-0042: ISP is Unintialized or Busy STATUS = 0x0000 Errcode = 0x02 !!
[ 834.238680] e-con_cam 9-0042: ISP is Unintialized or Busy STATUS = 0x0000 Errcode = 0x02 !!
[ 834.346008] e-con_cam 9-0042: ISP is Unintialized or Busy STATUS = 0x0000 Errcode = 0x02 !!
[ 834.453354] e-con_cam 9-0042: Error writing mode
Could someone please help me debug this? I followed the install instructions from the manual, but don’t know enough about embedded systems to fix this myself. Thank you