System crash

Platform : Jetson Orin NX
JetPack: 6.0
Linux Version: R36.3

My program runs well on Jetpack5.1.2, but meets some troble on Jetpack6.0.
It gets stuck sometimes when exit, like the picture below.


And then the system crash and reboot.
I caught some serial log:

ubuntu login: pcai
Password:
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.136-tegra aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.

Expanded Security Maintenance for Applications is not enabled.

180 updates can be applied immediately.
163 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

20 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm

Last login: Thu Jul 25 14:50:57 CST 2024 from 192.168.1.88 on pts/0
pcai@ubuntu:~$ [  907.849307] ------------[ cut here ]------------
[  907.849332] WARNING: CPU: 0 PID: 3941 at lib/refcount.c:25 refcount_warn_saturate+0xa0/0x150
[  907.849949] ---[ end trace 47f84a2456500fdd ]---
[  908.857251] WARNING: CPU: 0 PID: 3941 at kernel/kthread.c:73 kthread_stop+0x140/0x250
[  908.857585] ---[ end trace 47f84a2456500fde ]---
[  909.863968] Unable to handle kernel paging request at virtual address 0000ffffab4160f0
[  909.863974] Mem abort info:
[  909.863975]   ESR = 0x0000000096000006
[  909.863977]   EC = 0x25: DABT (current EL), IL = 32 bits
[  909.863979]   SET = 0, FnV = 0
[  909.863980]   EA = 0, S1PTW = 0
[  909.863981]   FSC = 0x06: level 2 translation fault
[  909.863982] Data abort info:
[  909.863983]   ISV = 0, ISS = 0x00000006
[  909.863984]   CM = 0, WnR = 0
[  909.863985] user pgtable: 4k pages, 48-bit VAs, pgdp=000000016c78d000
[  909.863987] [0000ffffab4160f0] pgd=080000016c788003, p4d=080000016c788003, pud=080000016c937003, pmd=0000000000000000
[  909.863994] Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
[  909.863997] Modules linked in: nv_gmsl_imx556(OE) max9295(OE) max9296(OE) nvidia_modeset(OE) lzo_rle(E) lzo_compress(E) zram(E) zsmalloc(E) ramoops(E) reed_solomon(E) algif_hash(E) algif_skcipher(E) af_alg(E) snd_soc_tegra186_asrc(OE) snd_soc_tegra210_afc(OE) snd_soc_tegra186_arad(OE) snd_soc_tegra210_admaif(OE) snd_soc_tegra_pcm(E) snd_soc_tegra210_mixer(OE) snd_soc_tegra210_mvc(OE) snd_soc_tegra210_ope(OE) snd_soc_tegra210_dmic(OE) snd_soc_tegra186_dspk(OE) snd_soc_tegra210_adx(OE) snd_soc_tegra210_amx(OE) snd_soc_tegra210_sfc(OE) snd_soc_tegra210_i2s(OE) snd_soc_tegra210_ahub(OE) r8168(OE) tegra210_adma(E) spidev(E) nvvrs_pseq_rtc(OE) crct10dif_ce(E) rtk_btusb(OE) tegra234_oc_event(OE) btusb(E) btrtl(E) snd_soc_tegra_machine_driver(OE) snd_soc_tegra_utils(OE) snd_soc_simple_card_utils(E) btintel(E) btbcm(E) bluetooth(E) fusb301(OE) ecdh_generic(E) mttcan(OE) ecc(E) nvpps(OE) can_dev(E) nvpmodel_clk_cap(OE) thermal_trip_event(OE) tegra_cactmon_mc_all(OE) tegra_aconnect(E)
[  909.864039]  snd_hda_codec_hdmi(E) rtl8822ce(OE) pwm_tegra_tachometer(OE) snd_hda_tegra(E) cfg80211(E) snd_hda_codec(E) at24(E) spi_tegra114(E) snd_hda_core(E) rfkill(E) tegra_pcie_dma_test(OE) mc_hwpm(OE) nvidia_vrs_pseq(OE) tegra_pcie_edma(OE) bridge(E) stp(E) nvidia(OE) llc(E) host1x_fence(OE) usb_f_ncm(E) tegra_dce(OE) tsecriscv(OE) usb_f_mass_storage(E) usb_f_acm(E) u_serial(E) usb_f_rndis(E) u_ether(E) libcomposite(E) nvhost_vi5(OE) nvhost_isp5(OE) nvhost_nvcsi_t194(OE) tegra_camera(OE) v4l2_dv_timings(E) nvhost_nvcsi(OE) tegra_camera_platform(OE) capture_ivc(OE) governor_userspace(E) tegra_camera_rtcpu(OE) ivc_bus(OE) nvhost_pva(OE) hsp_mailbox_client(OE) ivc_ext(OE) v4l2_fwnode(E) v4l2_async(E) videobuf2_dma_contig(E) videobuf2_memops(E) videobuf2_v4l2(E) videobuf2_common(E) tegra_drm(OE) nvhost_capture(OE) tegra_wmark(OE) nvhost_nvdla(OE) nvhwpm(OE) videodev(E) host1x_nvhost(OE) cec(E) mc(E) drm_kms_helper(E) nvidia_p2p(OE) ina3221(E) nvgpu(OE) governor_pod_scaling(OE)
[  909.864085]  host1x(OE) mc_utils(OE) nvmap(OE) nvsciipc(OE) fuse(E) drm(E) ip_tables(E) x_tables(E) ipv6(E) pwm_fan(E) pwm_tegra(E) tegra_bpmp_thermal(E) tegra_xudc(E) ucsi_ccg(E) typec_ucsi(E) typec(E) nvme(E) nvme_core(E) phy_tegra194_p2u(E) pcie_tegra194(E)
[  909.864102] CPU: 0 PID: 3941 Comm: mipiDual Tainted: G        W  OE     5.15.136-tegra #1
[  909.864105] Hardware name: NVIDIA NVIDIA Jetson Orin NX Engineering Reference Developer Kit/Jetson, BIOS 36.3.0-gcid-36191598 05/06/2024
[  909.864107] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  909.864110] pc : kthread_stop+0x64/0x250
[  909.864117] lr : kthread_stop+0x138/0x250
[  909.864119] sp : ffff8000135fb9f0
[  909.864120] x29: ffff8000135fb9f0 x28: ffff0000d9719f00 x27: 0000000000000009
[  909.864123] x26: fffffffffffffdfc x25: ffffcb0c3624b000 x24: ffff0000d971a500
[  909.864126] x23: ffff00008fc451f8 x22: ffff00008fc45080 x21: ffff0000d967aeb0
[  909.864128] x20: 0000ffffab4160f0 x19: ffff0000d967ae80 x18: 0000000000000000
[  909.864131] x17: ffff34f5bafc3000 x16: ffffcb0c34546790 x15: 0000000000000000
[  909.864134] x14: 0000000000000068 x13: 0a2e656572662d72 x12: 657466612d657375
[  909.864137] x11: 203b30206e6f206e x10: 6f69746964646120 x9 : 612d657375203b30
[  909.864139] x8 : 206e6f206e6f6974 x7 : 69646461203a745f x6 : 746e756f63666572
[  909.864142] x5 : ffff0001f12109f0 x4 : 00000001000006ce x3 : ffffcb0c368de148
[  909.864145] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000002
[  909.864148] Call trace:
[  909.864150]  kthread_stop+0x64/0x250
[  909.864152]  vi5_channel_stop_streaming+0x148/0x170 [tegra_camera]
[  909.864173]  tegra_channel_stop_streaming+0x40/0x70 [tegra_camera]
[  909.864188]  vb2_buffer_done+0x2e4/0x4e0 [videobuf2_common]
[  909.864195]  vb2_core_queue_release+0x34/0x1f0 [videobuf2_common]
[  909.864200]  _vb2_fop_release+0x98/0xc0 [videobuf2_v4l2]
[  909.864205]  tegra_channel_close+0x6c/0x170 [tegra_camera]
[  909.864220]  v4l2_release+0xc8/0x100 [videodev]
[  909.864237]  __fput+0x7c/0x270
[  909.864242]  ____fput+0x28/0x40
[  909.864245]  task_work_run+0x90/0xf0
[  909.864250]  do_exit+0x344/0xa50
[  909.864253]  do_group_exit+0x44/0xb0
[  909.864256]  get_signal+0x180/0x950
[  909.864260]  do_notify_resume+0x178/0x9a0
[  909.864265]  el0_svc+0x6c/0x80
[  909.864267]  el0t_64_sync_handler+0xa4/0x130
[  909.864269]  el0t_64_sync+0x1a4/0x1a8
[  909.864273] Code: f9435a74 d503201f d503201f d2800040 (f820329f)
[  909.864277] ---[ end trace 47f84a2456500fdf ]---
[  910.105518] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  910.105518] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  910.105534] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  910.105534] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[  910.105561] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[  910.105566] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel

I want to know waht happend to kernel.

I’m not a “camera guy”, but it’s pretty obvious there is an error related to a camera (seems to be V4L). Someone else would have to answer what could go wrong with that camera.

hello Mr.Elephant,

there’s failure reported.
Unable to handle kernel paging request at virtual address 0000ffffab4160f0

please refer to developer guide, Debugging Tips, and Applications Using V4L2 IOCTL Directly to examine your camera basic functionality.

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