we used kernel R35.3.1 and 8 cameras with gst-launch-1.0,when we close the camera windows quirkly,it possibly occur kernel panic ,the log is below :
3175.171621] user pgtable: 4k pages, 48-bit VAs, pgdp=00000001cb1d2000
[ 3175.171809] [0000ffff81c56270] pgd=00000001cb1cc003, p4d=00000001cb1cc003, pud=00000001ca147003, pmd=00000001c3469003, pte=01600003da40cfc3
[ 3175.172194] Internal error: Oops: 9600000f [#1] PREEMPT SMP
[ 3175.172360] Modules linked in: nvidia_modeset(OE) fuse(E) spidev(E) lzo_rle(E) lzo_compress(E) zram(E) overlay(E) ramoops(E) reed_solomon(E) loop(E) option(E) cdc_mbim(E) usb_wwan(E) usbserial(E) cdc_wdm(E) snd_soc_tegra186_asrc(E) snd_soc_tegra210_iqc(E) snd_soc_tegra210_ope(E) snd_soc_tegra186_arad(E) snd_soc_tegra186_dspk(E) snd_soc_tegra210_mvc(E) snd_soc_tegra210_afc(E) snd_soc_tegra210_adx(E) snd_soc_tegra210_dmic(E) snd_soc_tegra210_amx(E) snd_soc_tegra210_admaif(E) snd_soc_tegra210_i2s(E) aes_ce_blk(E) snd_soc_tegra210_mixer(E) can_raw(E) snd_soc_tegra210_sfc(E) mcp25xxfd(E) snd_soc_tegra_pcm(E) crypto_simd(E) cryptd(E) can(E) 88x2cs(E) aes_ce_cipher(E) ghash_ce(E) nvgpu(E) input_leds(E) sha2_ce(E) snd_hda_codec_hdmi(E) sha256_arm64(E) snd_soc_tegra210_adsp(E) sha1_ce(E) ucsi_ccg(E) mttcan(E) snd_soc_tegra_machine_driver(E) cfg80211(E) snd_soc_tegra_utils(E) snd_hda_tegra(E) typec_ucsi(E) pps_gpio(E) nvadsp(E) snd_soc_simple_card_utils(E) pwm_fan(E) nv_ht_imx390(E) can_dev(E)
[ 3175.172484] snd_soc_spdif_tx(E) typec(E) snd_soc_tegra210_ahub(E) nv_ht_ar0231(E) snd_hda_codec(E) nv_ox3cc(E) nct1008(E) ina3221(E) tegra_bpmp_thermal(E) tegra210_adma(E) snd_soc_rt5640(E) snd_hda_core(E) userspace_alert(E) max96712(E) snd_soc_rl6231(E) spi_tegra114(E) nvidia(OE) binfmt_misc(E) nvmap(E) ip_tables(E) x_tables(E) [last unloaded: mtd]
[ 3175.271436] CPU: 5 PID: 7233 Comm: gst-launch-1.0 Tainted: G W OE 5.10.104-tegra #3
[ 3175.280360] Hardware name: Unknown Jetson AGX Orin/Jetson AGX Orin, BIOS 3.1-32827747 03/19/2023
[ 3175.289286] pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=–)
[ 3175.294723] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 3175.295326] pc : kthread_stop+0x8c/0x260
[ 3175.304256] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 3175.308009] lr : kthread_stop+0x1c/0x260
[ 3175.308011] sp : ffff8000285bba40
[ 3175.308013] x29: ffff8000285bba40 x28: ffff3fc87e471f00
[ 3175.318557] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 3175.321395]
[ 3175.321396] x27: 0000000040045613 x26: 0000000000000000
[ 3175.321398] x25: ffff8000285bbd08 x24: ffff3fd70169e1f8
[ 3175.321400] x23: ffff3fc81dbb3a00 x22: ffff8000285bbd08
[ 3175.321401] x21: ffff3fc878dc2bb0 x20: 0000ffff81c56270
[ 3175.321403] x19: ffff3fc878dc2b80 x18: 0000000000000000
[ 3175.321405] x17: 0000000000000000 x16: 0000000000000000
[ 3175.321407] x15: 0000aaaaf3894810 x14: 0000000000000000
[ 3175.321409] x13: 0000000000000000 x12: 0000000000000000
[ 3175.321411] x11: 0000000000000000 x10: 0000000000000a80
[ 3175.321413] x9 : ffff8000285bb870 x8 : ffff3fc81dbb44e0
[ 3175.321415] x7 : 0000000000000013 x6 : 0000000000000000
[ 3175.321417] x5 : 00000000410fd420 x4 : 0000000000f0000f
[ 3175.321418] x3 : 0000000000000000 x2 : ffffdfdf103f7460
[ 3175.321420] x1 : ffff3fc878dc0eb0 x0 : 0000000000000002
[ 3175.321423] Call trace:
[ 3175.321424] kthread_stop+0x8c/0x260
[ 3175.321427] vi5_channel_stop_kthreads+0x40/0x60
[ 3175.321428] vi5_channel_stop_streaming+0xbc/0xe0
[ 3175.321434] tegra_channel_stop_streaming+0x38/0x60
[ 3175.324924] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=4, csi_port=4
[ 3175.330321] __vb2_queue_cancel+0x3c/0x220
[ 3175.330323] vb2_core_streamoff+0x30/0xd0
[ 3175.330325] vb2_streamoff+0x30/0x80
[ 3175.330326] vb2_ioctl_streamoff+0x54/0x60
[ 3175.330330] v4l_streamoff+0x3c/0x50
[ 3175.330331] __video_do_ioctl+0x180/0x3f0
[ 3175.330332] video_usercopy+0x27c/0x790
[ 3175.330334] video_ioctl2+0x3c/0x180
[ 3175.330335] v4l2_ioctl+0x64/0x90
[ 3175.330338] __arm64_sys_ioctl+0xa8/0xf0
[ 3175.330340] el0_svc_common.constprop.0+0x7c/0x1c0
[ 3175.330343] do_el0_svc+0x34/0xa0
[ 3175.330346] el0_svc+0x1c/0x30
[ 3175.330347] el0_sync_handler+0xa8/0xb0
[ 3175.330349] el0_sync+0x16c/0x180
[ 3175.330353] Code: f9432274 d503201f d503201f d2800040 (f820329f)
[ 3175.330360] —[ end trace 146016961e84485d ]—
[ 3175.338047] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 3175.346134] Kernel panic - not syncing: Oops: Fatal exception
[ 3175.350444] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_open: VI channel not found for stream- 4 vc- 2
[ 3175.355786] SMP: stopping secondary CPUs
[ 3175.355801] Kernel Offset: 0x5fdf00240000 from 0xffff800010000000
[ 3175.355802] PHYS_OFFSET: 0xffffc03900000000
[ 3175.355803] CPU features: 0x0040006,4a80aa38
[ 3175.355804] Memory Limit: none
[ 3175.557908] —[ end Kernel panic - not syncing: Oops: Fatal exception ]—
What do you mean close the windows quickly?
I Means click the gst-launch windows
this error happen occasionally ,not everytime
What’s the whole command of gst-launch-1.0? Add -e at the end to try.
gst-launch-1.0 -v v4l2src device=“/dev/video1” ! video/x-raw,framerate=30/1,width=1920,height=1080,format=UYVY ! xvimagesink
Then try.
gst-launch-1.0 -v v4l2src device=“/dev/video1” ! video/x-raw,framerate=30/1,width=1920,height=1080,format=UYVY ! xvimagesink -e
I would try,but I means an application parameter should not lead to kernel panic
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.