Skip to content

Camera Probe crash with multi-camera (over 3 device) #12

@NomoHsu-Advantech

Description

@NomoHsu-Advantech

Description

Briefly describe the issue or question you are facing.
Hi Orbbec
currently we find in our Thor (Jetpack7.0) platform we hit a crash issue if we connect over 3 x gemini 335Lg to our platform, the crash log as below, it we only insert 1 or 2 camera in our platform, the issue is gone, if we insert 3 or more, the scenario is easy to reproduce.

[ 29.235061] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 29.235089] Mem abort info:
[ 29.235097] ESR = 0x0000000096000004
[ 29.236268] G300 ir_l 12-0074: error creating controls (-34)
[ 29.236492] EC = 0x25: DABT (current EL), IL = 32 bits
[ 29.247308] SET = 0, FnV = 0 'g300_g' with parent '/' already present!
[ 29.247310] EA = 0, S1PTW = 0
[ 29.257086] FSC = 0x04: level 0 translation fault
[ 29.257089] Data abort info:
[ 29.257090] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
[ 29.260788] tegra-nvcsi 8181200000.host1x:nvcsi@8188000000: Failed to create device link (0x180) with 12-0074
[ 29.265120] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 29.265126] [0000000000000000] pgd=0000000000000000p=000000010dea3000
[ 29.268031] g300 12-0075: Probing new driver for orbbec camera
[ 29.273501] , p4d=0000000000000000
[ 29.273505] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
[ 29.273509] Modules linked in: g300(O+) nvidia_drm(O) nvidia_modeset(O) nvidia_uvm(O) rfkill qrtr bridge stp llc usb_f_ncm usb_f_mass_storage nvidia(O) usb_f_acm u_serial usb_f_rndis governor_pod_scaling(O) u_ether libcomposite snd_soc_tegra186_arad(O) snd_soc_tegra210_mixer snd_soc_tegra186_asrc snd_soc_tegra210_mvc snd_soc_tegra210_ope snd_soc_tegra210_sfc snd_soc_tegra210_admaif snd_soc_tegra_pcm snd_soc_tegra210_adx snd_soc_tegra210_amx snd_soc_tegra210_i2s snd_soc_tegra210_ahub tegra210_adma nvadsp(O) spidev nvvrs_pseq_rtc(O) tegra23x_psc(O) bmi088(O) ina238 ina3221 kfifo_buf tegra_cactmon_mc_all(O) tegra_aconnect tegra_aocluster(O) snd_hda_codec_hdmi snd_hda_tegra snd_hda_codec snd_hda_core host1x_fence(O) tegra_capture_coe(O) snd_soc_rt5640 snd_soc_rl6231 obc_max9296(O) at24 obc_max96712(O) pwm_tegra_tachometer(O) mttcan(O) can_dev mc_t26x(O) spi_tegra114 tegra264_mc_hwpm(O) nvidia_vrs_pseq(O) nvmap(O) lm90 coresight_trbe crct10dif_ce sm3_ce sm3 sha3_ce nvsciipc(O) snd_soc_tegra_audio_graph_card coresight
[ 29.273581] ivc_cdev(O) sha512_ce sha512_arm64 snd_soc_audio_graph_card nvethernet(O) nvidia_cspmu arm_spe_pmu snd_soc_simple_card_utils tegra234_oc_event(O) nvpps(O) ramoops reed_solomon tegra_dce(O) nvpmodel_clk_cap(O) thermal_trip_event(O) arm_cspmu_module tegra_se(O) nvhost_pva(O) nvhost_vi5(O) nvhost_nvcsi(O) nvhost_capture(O) tegra_se_kds(O) crypto_engine tpm_ftpm_tee camera_diagnostics(O) nvhost_isp5(O) tegra_capture_isp(O) tegra_camera(O) v4l2_dv_timings host1x_nvhost(O) tegra_drm(O) tegra_wmark(O) nvhwpm(O) drm_display_helper drm_dp_aux_bus cec drm_kms_helper host1x(O) tegra_camera_platform(O) mc_utils(O) capture_ivc(O) v4l2_fwnode v4l2_async videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev videobuf2_common mc camchar(O) rtcpu_debug(O) tegra_camera_rtcpu(O) ivc_bus(O) hsp_mailbox_client(O) cdc_mbim cdc_ncm cdc_wdm cdc_ether usbnet nvme_fabrics fuse drm nfnetlink ip_tables x_tables ipv6 pwm_fan pwm_tegra tegra_bpmp_thermal tegra_xudc uas ucsi_ccg typec_ucsi typec nvme nvme_core phy_tegra194_p2u
[ 29.273652] pcie_tegra194 ufs_tegra(O) pcie_tegra264(O)
[ 29.273657] CPU: 2 PID: 1725 Comm: pipewire Tainted: G W O 6.8.12-tegra #1
[ 29.273661] Hardware name: NVIDIA NVIDIA Jetson AGX Thor Developer Kit/Jetson, BIOS r38.2-899cdbc9-dirty 10/14/2025
[ 29.273663] pstate: 83400009 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
[ 29.273667] pc : ptr_to_user+0x12c/0x1cc [videodev]
[ 29.273695] lr : get_ctrl.constprop.0+0xd8/0x108 [videodev]
[ 29.273715] sp : ffff80008ad63ad0
[ 29.273716] x29: ffff80008ad63ad0 x28: ffff0000a5989a80 x27: 0000000000000000
[ 29.273720] x26: ffff00008891d108 x25: ffff0000e5b20d00 x24: 0000000000000000
[ 29.273724] x23: ffffd4685a9c02c8 x22: ffff80008ad63b34 x21: 0000000000000000
[ 29.273728] x20: ffff80008ad63b34 x19: ffff0000e5c60800 x18: 0000000000000000
[ 29.273731] x17: 0000000000000000 x16: ffffd468649337ac x15: 0000ffffd309c7f0
[ 29.273735] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[ 29.273738] x11: 0000000000000000 x10: 0001000000000000 x9 : 0000000000000000
[ 29.273742] x8 : 0000000000010000 x7 : 0000000000000000 x6 : 0001000000000301
[ 29.273746] x5 : ffff000089cfa580 x4 : ffff001f57cf0e30 x3 : 00000000006f3402
[ 29.273749] x2 : 0000000000000000 x1 : 0000008000000000 x0 : 0000000000000003
[ 29.273753] Call trace:
[ 29.273754] ptr_to_user+0x12c/0x1cc [videodev]
[ 29.273773] get_ctrl.constprop.0+0xd8/0x108 [videodev]
[ 29.273792] v4l2_g_ctrl+0x50/0x98 [videodev]
[ 29.273810] v4l_g_ctrl+0x134/0x14c [videodev]
[ 29.273829] __video_do_ioctl+0x330/0x3fc [videodev]
[ 29.273847] video_usercopy+0x2d0/0x7fc [videodev]
[ 29.273865] video_ioctl2+0x18/0x44 [videodev]
[ 29.273883] v4l2_ioctl+0x40/0x60 [videodev]
[ 29.273901] __arm64_sys_ioctl+0xac/0xf0
[ 29.273913] invoke_syscall+0x48/0x114
[ 29.273928] do_el0_svc+0x1c/0x28prop.0+0xc0/0xe0
[ 29.273941] el0t_64_sync_handler+0x120/0x12c
[ 29.273946] el0t_64_sync+0x194/0x198
[ 29.273951] Code: f94013f5 a8c37bfd d50323bf d65f03c0 (b9400040)
[ 29.273954] ---[ end trace 0000000000000000 ]---
[ 29.288521] Kernel Offset: 0x5467e35f0000 from 0xffff800080000000
[ 29.288523] PHYS_OFFSET: 0x80000000
[ 29.288524] CPU features: 0x0,00000000,d003cd4b,27fffe67
[ 29.288526] Memory Limit: none
[ 29.721928] ---[ end Kernel panic - not syncing: Oops: Fatal exception ]---


Required Information

To help us better understand and resolve the issue, please provide the following details:

  • Driver Version: g300_driver_v1.2.00
  • Hardware Platform: Jetson Thor
  • GMSL Camera Model: Gemini-335Lg

Boot fail with GMSL_1107 image_Lite Driver_3CAM.txt


Expected Behavior

Describe what you expect to happen.


Actual Behavior

Describe what actually happened.


Steps to Reproduce

Provide a clear list of steps to reproduce the issue.


Additional Information

Any additional context or information that may be helpful in diagnosing the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions