We use Orin 32G module ,the version is R35.1 ,when we stop 这v4l2 camera,sometimes would occur Kernel panic,the dmesg is below:
[2023-06-06 17:28:57] [ 289.397361] ------------[ cut here ]------------
[2023-06-06 17:28:57] [ 289.402146] WARNING: CPU: 7 PID: 4609 at lib/refcount.c:25 refcount_warn_saturate+0x98/0x140
[2023-06-06 17:28:57] [ 289.410984] —[ end trace 9b4f7dd43c49c28d ]—
[2023-06-06 17:28:57] [ 289.415758] WARNING: CPU: 7 PID: 4609 at kernel/kthread.c:83 kthread_stop+0x50/0x260
[2023-06-06 17:28:57] [ 289.423837] —[ end trace 9b4f7dd43c49c28e ]—
[2023-06-06 17:28:57] [ 289.428613] Unable to handle kernel paging request at virtual address 0000ffffb6bb30e0
[2023-06-06 17:28:57] [ 289.436783] Mem abort info:
[2023-06-06 17:28:57] [ 289.439681] ESR = 0x96000006
[2023-06-06 17:28:57] [ 289.442835] EC = 0x25: DABT (current EL), IL = 32 bits
[2023-06-06 17:28:57] [ 289.448319] SET = 0, FnV = 0
[2023-06-06 17:28:57] [ 289.451472] EA = 0, S1PTW = 0
[2023-06-06 17:28:57] [ 289.454714] Data abort info:
[2023-06-06 17:28:57] [ 289.457686] ISV = 0, ISS = 0x00000006
[2023-06-06 17:28:57] [ 289.461650] CM = 0, WnR = 0
[2023-06-06 17:28:57] [ 289.464720] user pgtable: 4k pages, 48-bit VAs, pgdp=000000016e5e7000
[2023-06-06 17:28:57] [ 289.471351] [0000ffffb6bb30e0] pgd=00000001ae22a003, p4d=00000001ae22a003, pud=0000000114f85003, pmd=0000000000000000
[2023-06-06 17:28:57] [ 289.482301] Internal error: Oops: 96000006 [#1] PREEMPT SMP
[2023-06-06 17:28:57] [ 289.488056] Modules linked in: nvidia_modeset(OE) option(E) usb_wwan(E) usbserial(E) fuse(E) spidev(E) lzo_rle(E) lzo_compress(E) zram(E) overlay(E) loop(E) snd_soc_tegra186_asrc(E) snd_soc_tegra186_dspk(E) snd_soc_tegra210_ope(E) snd_soc_tegra186_arad(E) snd_soc_tegra210_mvc(E) snd_soc_tegra210_iqc(E) snd_soc_tegra210_afc(E) snd_soc_tegra210_dmic(E) snd_soc_tegra210_adx(E) snd_soc_tegra210_amx(E) snd_soc_tegra210_admaif(E) aes_ce_blk(E) snd_soc_tegra210_mixer(E) snd_soc_tegra210_i2s(E) snd_soc_tegra210_sfc(E) snd_soc_tegra_pcm(E) mcp25xxfd(E) crypto_simd(E) cryptd(E) aes_ce_cipher(E) ghash_ce(E) sha2_ce(E) sha256_arm64(E) sha1_ce(E) pps_gpio(E) snd_soc_spdif_tx(E) snd_soc_tegra_machine_driver(E) snd_soc_tegra210_adsp(E) 88x2cs(E) snd_soc_tegra_utils(E) mttcan(E) nv_ht_imx390(E) input_leds(E) nv_ox3cc(E) ofpart(E) snd_soc_simple_card_utils(E) can_raw(E) snd_hda_codec_hdmi(E) nvadsp(E) can_dev(E) snd_soc_tegra210_ahub(E) cfg80211(E) cmdlinepart(E) snd_hda_tegra(E) userspace_alert(E)
[2023-06-06 17:28:57] [ 289.488091] nct1008(E) snd_hda_codec(E) can(E) qspi_mtd(E) tegra210_adma(E) tegra_bpmp_thermal(E) snd_hda_core(E) max96712(E) mtd(E) ina3221(E) spi_tegra114(E) nvidia(OE) pwm_fan(E) nvgpu(E) binfmt_misc(E) nvmap(E) ramoops(E) reed_solomon(E) ip_tables(E) x_tables(E)
[2023-06-06 17:28:57] [ 289.604142] CPU: 7 PID: 4609 Comm: camera_node Tainted: G W OE 5.10.104-tegra #89
[2023-06-06 17:28:57] [ 289.612925] Hardware name: /, BIOS 1.0-d7fb19b 08/10/2022
[2023-06-06 17:28:57] [ 289.618569] pstate: 40400009 (nZcv daif +PAN -UAO -TCO BTYPE=–)
[2023-06-06 17:28:57] [ 289.624742] pc : kthread_stop+0x8c/0x260
[2023-06-06 17:28:57] [ 289.628785] lr : kthread_stop+0x48/0x260
[2023-06-06 17:28:57] [ 289.632822] sp : ffff8000282a3bb0
[2023-06-06 17:28:57] [ 289.636238] x29: ffff8000282a3bb0 x28: ffff79028673c880
[2023-06-06 17:28:57] [ 289.641715] x27: 0000000000000000 x26: 0000000000000000
[2023-06-06 17:28:57] [ 289.647196] x25: 0000000000000000 x24: 0000000000000000
[2023-06-06 17:28:57] [ 289.652677] x23: ffff79097e5e61f8 x22: ffff7902837d40a0
[2023-06-06 17:28:57] [ 289.658156] x21: ffff790318f99d30 x20: 0000ffffb6bb30e0
[2023-06-06 17:28:57] [ 289.663633] x19: ffff790318f99d00 x18: 0000000000000010
[2023-06-06 17:28:57] [ 289.669111] x17: 0000000000000000 x16: ffffd253849d2d90
[2023-06-06 17:28:57] [ 289.674586] x15: ffff79028673cdf0 x14: ffffffffffffffff
[2023-06-06 17:28:57] [ 289.680062] x13: ffff8000a82a37d7 x12: ffff8000282a37df
[2023-06-06 17:28:57] [ 289.685540] x11: 0000000000000000 x10: 0000000000000000
[2023-06-06 17:28:57] [ 289.691017] x9 : ffff8000282a3ba0 x8 : 612d657375203b30
[2023-06-06 17:28:57] [ 289.696494] x7 : 206e6f206e6f6974 x6 : c0000000ffffefff
[2023-06-06 17:28:57] [ 289.701967] x5 : ffff7909ac5e1958 x4 : ffffd25386677968
[2023-06-06 17:28:57] [ 289.707445] x3 : 0000000000000001 x2 : ffff7909ac5e1960
[2023-06-06 17:28:57] [ 289.712922] x1 : 197deb014c472d00 x0 : 0000000000000002
[2023-06-06 17:28:57] [ 289.718402] Call trace:
[2023-06-06 17:28:57] [ 289.720921] kthread_stop+0x8c/0x260
[2023-06-06 17:28:57] [ 289.724602] vi5_channel_stop_kthreads+0x40/0x60
[2023-06-06 17:28:57] [ 289.729353] vi5_channel_stop_streaming+0xb4/0xd0
[2023-06-06 17:28:57] [ 289.734197] tegra_channel_stop_streaming+0x38/0x60
[2023-06-06 17:28:57] [ 289.739215] __vb2_queue_cancel+0x3c/0x220
[2023-06-06 17:28:57] [ 289.743433] vb2_core_queue_release+0x2c/0x60
[2023-06-06 17:28:57] [ 289.747920] _vb2_fop_release+0x84/0xa0
[2023-06-06 17:28:57] [ 289.751866] tegra_channel_close+0x64/0x180
[2023-06-06 17:28:57] [ 289.756176] v4l2_release+0xbc/0xf0
[2023-06-06 17:28:57] [ 289.759776] __fput+0x7c/0x230
[2023-06-06 17:28:57] [ 289.762906] ____fput+0x20/0x30
[2023-06-06 17:28:57] [ 289.766144] task_work_run+0x88/0x140
[2023-06-06 17:28:57] [ 289.769912] do_notify_resume+0x234/0x9f0
[2023-06-06 17:28:57] [ 289.774036] work_pending+0xc/0x384
[2023-06-06 17:28:57] [ 289.777636] Code: f9432274 d503201f d503201f d2800040 (f820329f)
[2023-06-06 17:28:57] [ 289.783914] —[ end trace 9b4f7dd43c49c28f ]—
[2023-06-06 17:28:57] [ 289.789887] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[2023-06-06 17:28:57] [ 289.793044] Kernel panic - not syncing: Oops: Fatal exception
[2023-06-06 17:28:57] [ 289.799048] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[2023-06-06 17:28:57] [ 289.804952] SMP: stopping secondary CPUs
[2023-06-06 17:28:57] [ 289.805091] Kernel Offset: 0x5253749b0000 from 0xffff800010000000
[2023-06-06 17:28:57] [ 289.805091] PHYS_OFFSET: 0xffff86fe80000000
[2023-06-06 17:28:58] [ 289.805093] CPU features: 0x0040006,4a80aa38
[2023-06-06 17:28:58] [ 289.805094] Memory Limit: none
[2023-06-06 17:28:58] [ 289.841085] —[ end Kernel panic - not syncing: Oops: Fatal exception ]—
hello lpz_thread,
R35.1 was not stable for running camera use-case, we’ve several bug fixes to address the issues.
could you please moving to the latest Jetpack release version, i.e. JP-5.1.1/l4t-r35.3.1 for verification.
okay
I would update
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.