开启摄像头命令:gst-launch-1.0 -v v4l2src device=“/dev/video0” ! video/x-raw,framerate=20/1,width=1920,height=1080,format=UYVY ! xvimagesink &
串口内核崩溃打印如下:
nvidia@tegra-ubuntu:~$ [ 59.385107] bwmgr API not supported
[ 62.099031] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 62.108186] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 62.117795] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 62.125536] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 62.136206] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 62.144391] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
[ 64.659290] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms
[ 64.668447] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel
[ 64.678049] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 64.685788] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: csi5_stream_close: Error in closing stream_id=2, csi_port=2
[ 64.696455] (NULL device *): vi_capture_control_message: NULL VI channel received
[ 65.719016] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 65.728073] Mem abort info:
[ 65.730941] ESR = 0x96000004
[ 65.734101] EC = 0x25: DABT (current EL), IL = 32 bits
[ 65.739579] SET = 0, FnV = 0
[ 65.742722] EA = 0, S1PTW = 0
[ 65.745967] Data abort info:
[ 65.748943] ISV = 0, ISS = 0x00000004
[ 65.752899] CM = 0, WnR = 0
[ 65.755969] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000136918000
[ 65.762606] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000
[ 65.769603] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 65.775329] Modules linked in: nvidia_modeset(OE) fuse lzo_rle lzo_compress zram ramoops reed_solomon loop nvgpu snd_hda_codec_hdmi aes_ce_blk crypto_simd cryptd aes_ce_cipher snd_hda_tegra ghash_ce sha2_ce cam_cdi_tsc snd_hda_codec sha256_arm64 input_leds sha1_ce nv_hawk_owl nvidia(OE) nvadsp snd_hda_core pwm_fan max96712 tegra_bpmp_thermal i2c_nvvrs11 nct1008 userspace_alert snd_soc_rl6231 tegra210_adma ina3221 spi_tegra114 binfmt_misc nvmap ip_tables x_tables [last unloaded: mtd]
[ 65.819359] CPU: 1 PID: 2542 Comm: vi-output, ar02 Tainted: G OE 5.10.192-tegra #17
[ 65.828474] Hardware name: Jetson AGX Orin Industrial (DT)
[ 65.834114] pstate: 20c00009 (nzCv daif +PAN +UAO -TCO BTYPE=–)
[ 65.840304] pc : strscpy+0x50/0x120
[ 65.843897] lr : dev_vprintk_emit+0x84/0x184
[ 65.848288] sp : ffff800025f2b7d0
[ 65.851698] x29: ffff800025f2b7d0 x28: 0000000000000000
[ 65.857158] x27: ffff800013823998 x26: ffff001d56efb880
[ 65.862623] x25: ffff0010572f4530 x24: ffffdf60932befc0
[ 65.868089] x23: 0000000000000003 x22: ffff00104a5a6740
[ 65.873548] x21: ffff800025f2b8c0 x20: 0000000000000000
[ 65.879005] x19: ffff001045d10880 x18: 0000000000000000
[ 65.884464] x17: 0000000000000000 x16: 0000000000000000
[ 65.889923] x15: 0000000000000000 x14: 0000000000000000
[ 65.895388] x13: 0000000000000000 x12: 0000000000000000
[ 65.900853] x11: 0000000000000000 x10: 0000000000000ab0
[ 65.906314] x9 : ffff800025f2b850 x8 : fefefefefefefeff
[ 65.911776] x7 : 0000000000000010 x6 : ffff800025f2b848
[ 65.917245] x5 : 00000000ffffffd8 x4 : ffff800025f2b910
[ 65.922711] x3 : 0000000000000000 x2 : 0000000000000010
[ 65.928176] x1 : 0000000000000000 x0 : 000000007fffffff
[ 65.933638] Call trace:
[ 65.936153] strscpy+0x50/0x120
[ 65.939370] dev_printk_emit+0x80/0xa8
[ 65.943223] __dev_printk+0x7c/0xa4
[ 65.946818] _dev_err+0x74/0x9c
[ 65.950039] vi_capture_ivc_send_control.isra.0+0x10c/0x130
[ 65.955774] vi_capture_control_send_message+0x7c/0x230
[ 65.961149] vi_capture_control_message+0xa0/0x140
[ 65.966077] csi5_send_control_message+0x54/0xb0
[ 65.970821] csi5_stream_open+0x98/0x110
[ 65.974848] csi5_start_streaming+0xac/0xe0
[ 65.979146] csi5_error_recover+0x44/0x90
[ 65.983275] tegra_csi_error_recovery+0x58/0xc0
[ 65.987937] tegra_csi_sync_event+0x44/0x50
[ 65.992238] vi5_channel_error_recover+0x1ac/0x200
[ 65.997165] tegra_channel_error_recover+0x78/0xa0
[ 66.002092] tegra_channel_kthread_capture_dequeue+0x130/0x1f0
[ 66.008081] kthread+0x148/0x170
[ 66.011407] ret_from_fork+0x10/0x18
[ 66.015086] Code: cb0300e0 cb030044 f1001c1f 540003e9 (f8636825)
[ 66.021367] —[ end trace 55d66d958e178f79 ]—
[ 66.031881] Kernel panic - not syncing: Oops: Fatal exception
[ 66.037792] SMP: stopping secondary CPUs
[ 66.041832] Kernel Offset: 0x5f6081af0000 from 0xffff800010000000
[ 66.048091] PHYS_OFFSET: 0xfffffff0c0000000
[ 66.052384] CPU features: 0x08040006,4a80aa38
[ 66.056868] Memory Limit: none
[ 66.065759] —[ end Kernel panic - not syncing: Oops: Fatal exception ]—