The camera driver failed on jetpack4.3

Hi,

system:Jetpack4.3
kernel:R32.3.1
AGX-xavier

I added the camera driver to Xavier platform. It seems that the driver is not all executed, and only a part of the driver is executed.
The following is the information output from the serial console. In the camera driver, only a part of debugging information is output, and a part of it is not printed.
[ 6.811379] systemd-journald[2390]: Received request to flush runtime journal from PID 1
[ 7.356136] tegra-asoc: sound: ASoC: CODEC DAI rt5659-aif1 not registered
[ 7.356359] tegra-asoc: sound: snd_soc_register_card failed (-517)
[ 7.357087] ===tegra_dc_probe===lionking==
[ 7.357602] ===tegra_dc_probe===lionking==
[ 7.502956] ===ar0143_probe==s=
[ 7.503068] ar0143 1-0030: probing v4l2 sensor.
[ 7.503076] ar0143 1-0030: =======tegracam_device_register=====Enter
[ 7.503113] ar0143 1-0030: ===ar0143_parse_dt====
[ 7.503814] pixel_format=1448695129
[ 7.503934] def_clk_freq=24000000
[ 7.504015] def_mode=0
[ 7.504075] def_width=1280
[ 7.504142] def_height=719
[ 7.504211] =======tegracam_device_register=====Exit
[ 7.504324] ar0143 1-0030: tegracam sensor driver:ar0143_v2.0.6
[ 7.504327] ===ar0143_board_setup==s=
[ 7.511435] ===ar0143_board_setup==e=
[ 7.511777] =======tegracam_v4l2subdev_register=====Enter
[ 7.511926] =======tegracam_ctrl_handler_init=====Enter
[ 7.512158] handler-numctrls=8
[ 7.512236] TEGRA_CAMERA_CID_GAIN
[ 7.512318] ctrl_id=10100745
[ 7.512403] min_gain_val=1
[ 7.512546] max_gain_val=16
[ 7.512618] step_gain_val=1
[ 7.512686] default_gain=10
[ 7.512769] TEGRA_CAMERA_CID_EXPOSURE
[ 7.512862] ctrl_id=10100746
[ 7.512933] min_exp_time=34
[ 7.513012] max_exp_time=550385
[ 7.513100] step_exp_time=1
[ 7.513174] default_exp_time=8334
[ 7.513269] TEGRA_CAMERA_CID_EXPOSURE_SHORT
[ 7.513386] ctrl_id=10100748
[ 7.513470] min_short_exp_time=34
[ 7.515196] max_short_exp_time=550385
[ 7.516595] step_exp_time=1
[ 7.518312] default_short_exp_time=8334
[ 7.520427] TEGRA_CAMERA_CID_FRAME_RATE
[ 7.522515] ctrl_id=10100747
[ 7.524444] min_framerate=1
[ 7.526590] max_framerate=30
[ 7.528634] step_framerate=1
[ 7.530880] default_framerate=30
[ 7.532752] =======tegracam_ctrl_handler_init=====Exit
[ 7.536395] =======tegracam_v4l2subdev_register=====Exit
[ 7.541908] ar0143 1-0030: ===ar0143-probe===detected AR0143 sensor
[ 7.541913] ===ar0143_probe==e=
[ 7.546894] tegra-asoc: sound: ASoC: CODEC DAI rt5659-aif1 not registered
[ 7.551501] tegra-asoc: sound: snd_soc_register_card failed (-517)

The following function is not executed.
static int ar0143_set_mode(struct tegracam_device *tc_dev)
printk(KERN_ERR "====ar0143_set_mode===s=\n");
static int ar0143_start_streaming(struct tegracam_device *tc_dev)
pr_info("[AR0143]-----%s: at%d in%s.s_data->mode:%d\n",__func__,__LINE__,__FILE__,s_data->mode);
static int ar0143_stop_streaming(struct tegracam_device *tc_dev)
pr_info("[AR0143]-----%s: at%d in%s.s_data->mode:%d\n",__func__,__LINE__,__FILE__,s_data->mode);
camera-debug.log (9.8 KB) tegra194-p2888-0001-p2822-0000.log (13.3 KB)

Thanks.

hello tianying414,

that’s camera sensor probing process during kernel initialization, it’s correct that there’s only parsing sensor capability and also register camera device to system nodes .
you may check if camera works normally after boot into ubuntu, please refer to Approaches for Validating and Testing the V4L2 Driver session. I would suggest that you should access camera with v4l2 standard controls for verification.
you may check Debugging Tips chapter for examine your sensor drivers.
thanks

Hello JerryChang, Thanks for you help.

I used the following command to output the image from the camera, but there is only one frame of the image, and then the screen stops.
gst-launch-1.0 v4l2src ! xvimagesink

There are also the following prompts in the log:
[ 6347.363597] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 512
[ 6347.395564] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 96, err_data 4194400
[ 6349.968099] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 6349.968260] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 6349.968424] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 6349.970938] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 6352.528133] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 6352.528287] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 6352.528458] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 6352.528595] tegra194-vi5 15c10000.vi: unexpected response from camera processor
[ 6352.528711] video4linux video0: vi capture release failed
[ 6352.528801] tegra194-vi5 15c10000.vi: fatal: error recovery failed
[ 6496.189203] usb 1-2.3: USB disconnect, device number 4
camera-trace-1.log (519.2 KB) camera-trace-2.log (284.6 KB) dmesg.log (76.7 KB) v4l2-ctl.log (3.7 KB)

Thanks.

hello tianying414,

you’ve got some failures in v4l2-compliance test. could you please refer to Debugging Tips session to examine your sensor driver.

please also check Camera Architecture Stack, you’ll need to go through camera core if your sensor need to perform debayer process.
or, you could enable v4l2 standard controls to dump raw files for verification; check Approaches for Validating and Testing the V4L2 Driver for reference.

BTW,
you’re enable incorrect files for debugging messages,

echo file csi2_fops.c +p > control

there’re several CSI drivers for different tegra versions,
for example, csi-2 for TX1, Nano; csi-4 for TX2, and Xavier working with csi-5.
you’ll also need to check TRM for more details.
thanks

Dear JerryChang.

I measured the CSI_D0 /CSI_D1 /CSI_CLK0 signals of the hardware circuit is OK, but the information prompted by the trace is that there is no data at the MIPI end.
And V4l2-ctl --stream-mmap --stream-count=3 cannot be used.
Are there any solutions and suggestions?
# tracer: nop

entries-in-buffer/entries-written: 260/260 #P:8

_-----=> irqs-off

/ _----=> need-resched

| / _—=> hardirq/softirq

|| / _–=> preempt-depth

||| / delay

TASK-PID CPU# |||| TIMESTAMP FUNCTION

| | | |||| | |

 kworker/1:3-1716  [001] ....   442.407301: rtos_queue_peek_from_isr_failed: tstamp:14314355815 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   442.575327: rtos_queue_peek_from_isr_failed: tstamp:14319355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   442.743329: rtos_queue_peek_from_isr_failed: tstamp:14324355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   442.911291: rtos_queue_peek_from_isr_failed: tstamp:14329355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   443.023287: rtos_queue_peek_from_isr_failed: tstamp:14334355812 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   443.191289: rtos_queue_peek_from_isr_failed: tstamp:14339355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   443.359314: rtos_queue_peek_from_isr_failed: tstamp:14344355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   443.527350: rtos_queue_peek_from_isr_failed: tstamp:14349355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   443.695361: rtos_queue_peek_from_isr_failed: tstamp:14354355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   443.863372: rtos_queue_peek_from_isr_failed: tstamp:14359355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   444.031306: rtos_queue_peek_from_isr_failed: tstamp:14364355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   444.143341: rtos_queue_peek_from_isr_failed: tstamp:14369355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   444.311318: rtos_queue_peek_from_isr_failed: tstamp:14374355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   444.479317: rtos_queue_peek_from_isr_failed: tstamp:14379355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   444.647306: rtos_queue_peek_from_isr_failed: tstamp:14384355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   444.815328: rtos_queue_peek_from_isr_failed: tstamp:14389355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   444.983335: rtos_queue_peek_from_isr_failed: tstamp:14394355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   445.151353: rtos_queue_peek_from_isr_failed: tstamp:14399355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   445.263329: rtos_queue_peek_from_isr_failed: tstamp:14404355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   445.431357: rtos_queue_peek_from_isr_failed: tstamp:14409355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   445.599325: rtos_queue_peek_from_isr_failed: tstamp:14414355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   445.767338: rtos_queue_peek_from_isr_failed: tstamp:14419355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   445.935341: rtos_queue_peek_from_isr_failed: tstamp:14424355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   446.103343: rtos_queue_peek_from_isr_failed: tstamp:14429355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   446.271330: rtos_queue_peek_from_isr_failed: tstamp:14434355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   446.383289: rtos_queue_peek_from_isr_failed: tstamp:14439355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   446.551346: rtos_queue_peek_from_isr_failed: tstamp:14444355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   446.719322: rtos_queue_peek_from_isr_failed: tstamp:14449355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   446.887339: rtos_queue_peek_from_isr_failed: tstamp:14454355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   447.055376: rtos_queue_peek_from_isr_failed: tstamp:14459355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   447.223321: rtos_queue_peek_from_isr_failed: tstamp:14464355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   447.391330: rtos_queue_peek_from_isr_failed: tstamp:14469355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   447.503342: rtos_queue_peek_from_isr_failed: tstamp:14474355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   447.671329: rtos_queue_peek_from_isr_failed: tstamp:14479355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   447.839322: rtos_queue_peek_from_isr_failed: tstamp:14484355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   448.007300: rtos_queue_peek_from_isr_failed: tstamp:14489355803 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   448.175333: rtos_queue_peek_from_isr_failed: tstamp:14494355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   448.343325: rtos_queue_peek_from_isr_failed: tstamp:14499355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   448.511332: rtos_queue_peek_from_isr_failed: tstamp:14504355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   448.623320: rtos_queue_peek_from_isr_failed: tstamp:14509355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   448.791320: rtos_queue_peek_from_isr_failed: tstamp:14514355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   448.959296: rtos_queue_peek_from_isr_failed: tstamp:14519355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   449.127299: rtos_queue_peek_from_isr_failed: tstamp:14524355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   449.295314: rtos_queue_peek_from_isr_failed: tstamp:14529355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   449.463329: rtos_queue_peek_from_isr_failed: tstamp:14534355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   449.631330: rtos_queue_peek_from_isr_failed: tstamp:14539355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   449.743327: rtos_queue_peek_from_isr_failed: tstamp:14544355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   449.911334: rtos_queue_peek_from_isr_failed: tstamp:14549355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   450.079330: rtos_queue_peek_from_isr_failed: tstamp:14554355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   450.247331: rtos_queue_peek_from_isr_failed: tstamp:14559355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   450.415370: rtos_queue_peek_from_isr_failed: tstamp:14564355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   450.583320: rtos_queue_peek_from_isr_failed: tstamp:14569355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   450.751297: rtos_queue_peek_from_isr_failed: tstamp:14574355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   450.863289: rtos_queue_peek_from_isr_failed: tstamp:14579355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   451.031290: rtos_queue_peek_from_isr_failed: tstamp:14584355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   451.203312: rtos_queue_peek_from_isr_failed: tstamp:14589355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   451.371289: rtos_queue_peek_from_isr_failed: tstamp:14594355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   451.539281: rtos_queue_peek_from_isr_failed: tstamp:14599355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   451.707292: rtos_queue_peek_from_isr_failed: tstamp:14604355814 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   451.819306: rtos_queue_peek_from_isr_failed: tstamp:14609355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   451.987293: rtos_queue_peek_from_isr_failed: tstamp:14614355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   452.155294: rtos_queue_peek_from_isr_failed: tstamp:14619355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   452.323293: rtos_queue_peek_from_isr_failed: tstamp:14624355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   452.491298: rtos_queue_peek_from_isr_failed: tstamp:14629355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   452.659294: rtos_queue_peek_from_isr_failed: tstamp:14634355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   452.827290: rtos_queue_peek_from_isr_failed: tstamp:14639355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   452.939315: rtos_queue_peek_from_isr_failed: tstamp:14644355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   453.107299: rtos_queue_peek_from_isr_failed: tstamp:14649355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   453.275293: rtos_queue_peek_from_isr_failed: tstamp:14654355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   453.443341: rtos_queue_peek_from_isr_failed: tstamp:14659355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   453.611293: rtos_queue_peek_from_isr_failed: tstamp:14664355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   453.779287: rtos_queue_peek_from_isr_failed: tstamp:14669355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   453.947326: rtos_queue_peek_from_isr_failed: tstamp:14674355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   454.059329: rtos_queue_peek_from_isr_failed: tstamp:14679355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   454.231342: rtos_queue_peek_from_isr_failed: tstamp:14684355805 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   454.399316: rtos_queue_peek_from_isr_failed: tstamp:14689355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   454.567329: rtos_queue_peek_from_isr_failed: tstamp:14694355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   454.735326: rtos_queue_peek_from_isr_failed: tstamp:14699355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   454.903335: rtos_queue_peek_from_isr_failed: tstamp:14704355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   455.071318: rtos_queue_peek_from_isr_failed: tstamp:14709355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   455.183325: rtos_queue_peek_from_isr_failed: tstamp:14714355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   455.351342: rtos_queue_peek_from_isr_failed: tstamp:14719355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   455.519345: rtos_queue_peek_from_isr_failed: tstamp:14724355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   455.687335: rtos_queue_peek_from_isr_failed: tstamp:14729355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   455.855356: rtos_queue_peek_from_isr_failed: tstamp:14734355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   456.023331: rtos_queue_peek_from_isr_failed: tstamp:14739355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   456.191328: rtos_queue_peek_from_isr_failed: tstamp:14744355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   456.303367: rtos_queue_peek_from_isr_failed: tstamp:14749355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   456.471306: rtos_queue_peek_from_isr_failed: tstamp:14754355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   456.639319: rtos_queue_peek_from_isr_failed: tstamp:14759355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   456.807319: rtos_queue_peek_from_isr_failed: tstamp:14764355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   456.975314: rtos_queue_peek_from_isr_failed: tstamp:14769355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   457.143323: rtos_queue_peek_from_isr_failed: tstamp:14774355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   457.311299: rtos_queue_peek_from_isr_failed: tstamp:14779355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   457.423290: rtos_queue_peek_from_isr_failed: tstamp:14784355812 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   457.591308: rtos_queue_peek_from_isr_failed: tstamp:14789355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   457.759316: rtos_queue_peek_from_isr_failed: tstamp:14794355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   457.927324: rtos_queue_peek_from_isr_failed: tstamp:14799355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   458.095317: rtos_queue_peek_from_isr_failed: tstamp:14804355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   458.263311: rtos_queue_peek_from_isr_failed: tstamp:14809355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   458.431296: rtos_queue_peek_from_isr_failed: tstamp:14814355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   458.543289: rtos_queue_peek_from_isr_failed: tstamp:14819355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   458.711293: rtos_queue_peek_from_isr_failed: tstamp:14824355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   458.879298: rtos_queue_peek_from_isr_failed: tstamp:14829355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   459.047299: rtos_queue_peek_from_isr_failed: tstamp:14834355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   459.215288: rtos_queue_peek_from_isr_failed: tstamp:14839355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   459.383289: rtos_queue_peek_from_isr_failed: tstamp:14844355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   459.551286: rtos_queue_peek_from_isr_failed: tstamp:14849355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   459.663308: rtos_queue_peek_from_isr_failed: tstamp:14854355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   459.831324: rtos_queue_peek_from_isr_failed: tstamp:14859355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   459.999289: rtos_queue_peek_from_isr_failed: tstamp:14864355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   460.167292: rtos_queue_peek_from_isr_failed: tstamp:14869355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   460.335299: rtos_queue_peek_from_isr_failed: tstamp:14874355805 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   460.503303: rtos_queue_peek_from_isr_failed: tstamp:14879355806 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   460.671349: rtos_queue_peek_from_isr_failed: tstamp:14884355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   460.783300: rtos_queue_peek_from_isr_failed: tstamp:14889355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   460.955308: rtos_queue_peek_from_isr_failed: tstamp:14894355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   461.123296: rtos_queue_peek_from_isr_failed: tstamp:14899355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   461.291294: rtos_queue_peek_from_isr_failed: tstamp:14904355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   461.459311: rtos_queue_peek_from_isr_failed: tstamp:14909355812 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   461.627308: rtos_queue_peek_from_isr_failed: tstamp:14914355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   461.739286: rtos_queue_peek_from_isr_failed: tstamp:14919355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   461.907318: rtos_queue_peek_from_isr_failed: tstamp:14924355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   462.075321: rtos_queue_peek_from_isr_failed: tstamp:14929355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   462.243337: rtos_queue_peek_from_isr_failed: tstamp:14934355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   462.411315: rtos_queue_peek_from_isr_failed: tstamp:14939355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   462.579296: rtos_queue_peek_from_isr_failed: tstamp:14944355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   462.747302: rtos_queue_peek_from_isr_failed: tstamp:14949355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   462.859291: rtos_queue_peek_from_isr_failed: tstamp:14954355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   463.027322: rtos_queue_peek_from_isr_failed: tstamp:14959355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   463.195303: rtos_queue_peek_from_isr_failed: tstamp:14964355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   463.363294: rtos_queue_peek_from_isr_failed: tstamp:14969355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   463.531283: rtos_queue_peek_from_isr_failed: tstamp:14974355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   463.699298: rtos_queue_peek_from_isr_failed: tstamp:14979355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   463.867327: rtos_queue_peek_from_isr_failed: tstamp:14984355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   463.979295: rtos_queue_peek_from_isr_failed: tstamp:14989355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   464.147331: rtos_queue_peek_from_isr_failed: tstamp:14994355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   464.315306: rtos_queue_peek_from_isr_failed: tstamp:14999355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   464.483306: rtos_queue_peek_from_isr_failed: tstamp:15004355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   464.651296: rtos_queue_peek_from_isr_failed: tstamp:15009355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   464.819286: rtos_queue_peek_from_isr_failed: tstamp:15014355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   464.987287: rtos_queue_peek_from_isr_failed: tstamp:15019355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   465.099291: rtos_queue_peek_from_isr_failed: tstamp:15024355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   465.267297: rtos_queue_peek_from_isr_failed: tstamp:15029355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   465.435293: rtos_queue_peek_from_isr_failed: tstamp:15034355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   465.603321: rtos_queue_peek_from_isr_failed: tstamp:15039355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   465.771292: rtos_queue_peek_from_isr_failed: tstamp:15044355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   465.939327: rtos_queue_peek_from_isr_failed: tstamp:15049355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   466.107292: rtos_queue_peek_from_isr_failed: tstamp:15054355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   466.219291: rtos_queue_peek_from_isr_failed: tstamp:15059355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   466.387290: rtos_queue_peek_from_isr_failed: tstamp:15064355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   466.555326: rtos_queue_peek_from_isr_failed: tstamp:15069355803 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   466.723308: rtos_queue_peek_from_isr_failed: tstamp:15074355805 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   466.891362: rtos_queue_peek_from_isr_failed: tstamp:15079355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   467.059442: rtos_queue_peek_from_isr_failed: tstamp:15084355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   467.227331: rtos_queue_peek_from_isr_failed: tstamp:15089355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   467.339341: rtos_queue_peek_from_isr_failed: tstamp:15094355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   467.507321: rtos_queue_peek_from_isr_failed: tstamp:15099355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   467.675286: rtos_queue_peek_from_isr_failed: tstamp:15104355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   467.843291: rtos_queue_peek_from_isr_failed: tstamp:15109355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   468.011295: rtos_queue_peek_from_isr_failed: tstamp:15114355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   468.179294: rtos_queue_peek_from_isr_failed: tstamp:15119355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   468.347330: rtos_queue_peek_from_isr_failed: tstamp:15124355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   468.459301: rtos_queue_peek_from_isr_failed: tstamp:15129355812 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   468.627302: rtos_queue_peek_from_isr_failed: tstamp:15134355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   468.795316: rtos_queue_peek_from_isr_failed: tstamp:15139355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   468.963297: rtos_queue_peek_from_isr_failed: tstamp:15144355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.131311: rtos_queue_peek_from_isr_failed: tstamp:15149355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.299355: rtos_queue_peek_from_isr_failed: tstamp:15154355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.467360: rtos_queue_peek_from_isr_failed: tstamp:15159355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.579331: rtos_queue_peek_from_isr_failed: tstamp:15164355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.747352: rtos_queue_peek_from_isr_failed: tstamp:15169355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.915344: rtos_queue_peek_from_isr_failed: tstamp:15174355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.083301: rtos_queue_peek_from_isr_failed: tstamp:15179355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.251329: rtos_queue_peek_from_isr_failed: tstamp:15184355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.419293: rtos_queue_peek_from_isr_failed: tstamp:15189355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.587365: rtos_queue_peek_from_isr_failed: tstamp:15194355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.699296: rtos_queue_peek_from_isr_failed: tstamp:15199355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.867308: rtos_queue_peek_from_isr_failed: tstamp:15204355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.035300: rtos_queue_peek_from_isr_failed: tstamp:15209355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.203301: rtos_queue_peek_from_isr_failed: tstamp:15214355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.371328: rtos_queue_peek_from_isr_failed: tstamp:15219355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.539296: rtos_queue_peek_from_isr_failed: tstamp:15224355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.707291: rtos_queue_peek_from_isr_failed: tstamp:15229355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.819290: rtos_queue_peek_from_isr_failed: tstamp:15234355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.987327: rtos_queue_peek_from_isr_failed: tstamp:15239355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.155295: rtos_queue_peek_from_isr_failed: tstamp:15244355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.323290: rtos_queue_peek_from_isr_failed: tstamp:15249355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.491304: rtos_queue_peek_from_isr_failed: tstamp:15254355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.659302: rtos_queue_peek_from_isr_failed: tstamp:15259355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.827296: rtos_queue_peek_from_isr_failed: tstamp:15264355805 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.939285: rtos_queue_peek_from_isr_failed: tstamp:15269355806 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.107304: rtos_queue_peek_from_isr_failed: tstamp:15274355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.275286: rtos_queue_peek_from_isr_failed: tstamp:15279355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.443283: rtos_queue_peek_from_isr_failed: tstamp:15284355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.611294: rtos_queue_peek_from_isr_failed: tstamp:15289355807 queue:0x0bcbcf78
    v4l2-ctl-8304  [000] ....   473.748034: tegra_channel_open: vi-output, ar0143 1-0030
 kworker/1:3-1716  [001] ....   473.779336: rtos_queue_peek_from_isr_failed: tstamp:15294355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.947294: rtos_queue_peek_from_isr_failed: tstamp:15299355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.059289: rtos_queue_peek_from_isr_failed: tstamp:15304355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.227294: rtos_queue_peek_from_isr_failed: tstamp:15309355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.395300: rtos_queue_peek_from_isr_failed: tstamp:15314355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.563293: rtos_queue_peek_from_isr_failed: tstamp:15319355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.731296: rtos_queue_peek_from_isr_failed: tstamp:15324355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.899290: rtos_queue_peek_from_isr_failed: tstamp:15329355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.067374: rtos_queue_peek_from_isr_failed: tstamp:15334355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.179336: rtos_queue_peek_from_isr_failed: tstamp:15339355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.347312: rtos_queue_peek_from_isr_failed: tstamp:15344355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.515313: rtos_queue_peek_from_isr_failed: tstamp:15349355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.683331: rtos_queue_peek_from_isr_failed: tstamp:15354355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.851317: rtos_queue_peek_from_isr_failed: tstamp:15359355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.019345: rtos_queue_peek_from_isr_failed: tstamp:15364355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.187336: rtos_queue_peek_from_isr_failed: tstamp:15369355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.299322: rtos_queue_peek_from_isr_failed: tstamp:15374355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.467332: rtos_queue_peek_from_isr_failed: tstamp:15379355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.635332: rtos_queue_peek_from_isr_failed: tstamp:15384355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.803325: rtos_queue_peek_from_isr_failed: tstamp:15389355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.971321: rtos_queue_peek_from_isr_failed: tstamp:15394355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.139319: rtos_queue_peek_from_isr_failed: tstamp:15399355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.307313: rtos_queue_peek_from_isr_failed: tstamp:15404355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.419334: rtos_queue_peek_from_isr_failed: tstamp:15409355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.587344: rtos_queue_peek_from_isr_failed: tstamp:15414355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.755304: rtos_queue_peek_from_isr_failed: tstamp:15419355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.923341: rtos_queue_peek_from_isr_failed: tstamp:15424355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.091296: rtos_queue_peek_from_isr_failed: tstamp:15429355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.259320: rtos_queue_peek_from_isr_failed: tstamp:15434355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.427351: rtos_queue_peek_from_isr_failed: tstamp:15439355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.539306: rtos_queue_peek_from_isr_failed: tstamp:15444355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.707331: rtos_queue_peek_from_isr_failed: tstamp:15449355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.875337: rtos_queue_peek_from_isr_failed: tstamp:15454355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.043309: rtos_queue_peek_from_isr_failed: tstamp:15459355803 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.211316: rtos_queue_peek_from_isr_failed: tstamp:15464355803 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.379335: rtos_queue_peek_from_isr_failed: tstamp:15469355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.547332: rtos_queue_peek_from_isr_failed: tstamp:15474355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.659347: rtos_queue_peek_from_isr_failed: tstamp:15479355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.827311: rtos_queue_peek_from_isr_failed: tstamp:15484355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.995320: rtos_queue_peek_from_isr_failed: tstamp:15489355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   480.163295: rtos_queue_peek_from_isr_failed: tstamp:15494355811 queue:0x0bcbcf78

[   45.805247] [AR0143]--AR0143_MODE_START_STREAM---ar0143_start_streaming: at785 in/home/lion/project/cpc1914/kernel-4.3/kernel/nvidia/drivers/media/i2c/ar0143.c.err:0
[   48.279324] tegra194-vi5 15c10000.vi: no reply from camera processor
[   48.279496] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[   48.279650] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[   48.281797] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[   51.095313] tegra194-vi5 15c10000.vi: no reply from camera processor
[   51.095476] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[   51.095655] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[   51.095804] tegra194-vi5 15c10000.vi: unexpected response from camera processor
[   51.095933] video4linux video0: vi capture release failed
[   51.096032] tegra194-vi5 15c10000.vi: fatal: error recovery failed
[  270.836493] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[  270.836643] Mem abort info:
[  270.836693]   ESR = 0x96000005
[  270.836749]   Exception class = DABT (current EL), IL = 32 bits
[  270.837356]   SET = 0, FnV = 0
[  270.837454]   EA = 0, S1PTW = 0
[  270.837517] Data abort info:
[  270.837573]   ISV = 0, ISS = 0x00000005
[  270.837649]   CM = 0, WnR = 0
[  270.837711] user pgtable: 4k pages, 39-bit VAs, pgd = ffffffc3c4bd3000
[  270.837836] [0000000000000000] *pgd=0000000000000000, *pud=0000000000000000
[  270.837986] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[  270.838091] Modules linked in: fuse bnep zram overlay spidev nvgpu bluedroid_pm ip_tables x_tables
[  270.838381] CPU: 5 PID: 7440 Comm: gst-launch-1.0 Not tainted 4.9.140-tegra #27
[  270.838532] Hardware name: Jetson-AGX (DT)
[  270.838613] task: ffffffc386203800 task.stack: ffffffc3ab05c000
[  270.838746] PC is at exit_creds+0x2c/0x78
[  270.839062] LR is at __put_task_struct+0x4c/0x140
[  270.839424] pc : [<ffffff80080def7c>] lr : [<ffffff80080b01ac>] pstate: 60400045
[  270.844351] sp : ffffffc3ab05fa50
[  270.847501] x29: ffffffc3ab05fa50 x28: 0000000000000000 
[  270.853275] x27: ffffffc3d7c02800 x26: 0000000000000001 
[  270.858828] x25: ffffff8009fcd680 x24: 0000000000000013 
[  270.864244] x23: 0000000000000000 x22: ffffffc3ab05fd10 
[  270.869990] x21: ffffffc3eb8e8e30 x20: 0000000000000000 
[  270.874739] x19: ffffffc3eb8e8e00 x18: 0000000000000245 
[  270.880414] x17: 0000007f82cc0910 x16: ffffff80082739b0 
[  270.886434] x15: 0000007f82c2b358 x14: 0000007f82c36440 
[  270.891873] x13: 0000000000000000 x12: 0000000000000000 
[  270.897635] x11: 0000000000000000 x10: 0101010101010101 
[  270.903160] x9 : 0000007f82f26140 x8 : 000000000000001d 
[  270.908937] x7 : 0000000380000000 x6 : ffffffc39ffca480 
[  270.914446] x5 : 0000000000000800 x4 : 0000000000000000 
[  270.920036] x3 : 00000000000000db x2 : 0000000000000000 
[  270.925371] x1 : 0000000000000000 x0 : 00000000ffffffff 

[  270.931857] Process gst-launch-1.0 (pid: 7440, stack limit = 0xffffffc3ab05c000)
[  270.939113] Call trace:
[  270.941657] [<ffffff80080def7c>] exit_creds+0x2c/0x78
[  270.946208] [<ffffff80080b01ac>] __put_task_struct+0x4c/0x140
[  270.951804] [<ffffff80080dca3c>] kthread_stop+0x1e4/0x1e8
[  270.956908] [<ffffff8008b40f60>] vi5_channel_stop_kthreads+0x40/0x58
[  270.956967] [<ffffff8008b41004>] vi5_channel_stop_streaming+0x8c/0xa8
[  270.956993] [<ffffff8008b33a34>] tegra_channel_stop_streaming+0x34/0x48
[  270.957001] [<ffffff8008b2bd44>] __vb2_queue_cancel+0x34/0x188
[  270.957006] [<ffffff8008b2c0f4>] vb2_core_streamoff+0x54/0xb8
[  270.957012] [<ffffff8008b304fc>] vb2_streamoff+0x54/0x88
[  270.957017] [<ffffff8008b30584>] vb2_ioctl_streamoff+0x54/0x60
[  270.957023] [<ffffff8008b0a79c>] v4l_streamoff+0x3c/0x50
[  270.957029] [<ffffff8008b0f7d4>] __video_do_ioctl+0x204/0x2c8
[  270.957035] [<ffffff8008b0f180>] video_usercopy+0x2a0/0x6a0
[  270.957040] [<ffffff8008b0f5bc>] video_ioctl2+0x3c/0x50
[  270.957045] [<ffffff8008b09098>] v4l2_ioctl+0x88/0x118
[  270.957051] [<ffffff8008273188>] do_vfs_ioctl+0xb0/0x8d8
[  270.957056] [<ffffff8008273a3c>] SyS_ioctl+0x8c/0xa8
[  270.957062] [<ffffff80080838c0>] el0_svc_naked+0x34/0x38
[  270.957070] ---[ end trace 3c343238cc2d23dd ]---
[ 1115.855297] usb 1-2.1: new high-speed USB device number 6 using tegra-xusb

The fpdlink driver is also used on our products based on the tx2 platform, and images can be collected normally. However, the fpdlink driver cannot normally acquire images on products based on the xavier platform.

How can I make the camera work normally on the jetpack 4.3 system of Xavier platform?

Thanks.

hello tianying414,

is there embedded metadata line in your sensor streaming?
you’ll need to specify embedded_metadata_height property in the device tree for the number of extra rows of each frame.

you should also configure SerDes Pixel Clock, since the frames received by the SoC were output from SerDes chip, not from the sensors.

BTW, are you able to enable test-pattern-generator for connection verification.
thanks

Hello JerryChang, Thanks for you help.

I have specified embedded_metadata_height in the device tree.
mode0 { // AR0143_MODE_1280X719
mclk_khz = “25000”;
num_lanes = “2”;
tegra_sinterface = “serial_a”;
phy_mode = “DPHY”;
discontinuous_clk = “no”;
dpcm_enable = “false”;
cil_settletime = “0”;
active_w = “1280”;
active_h = “719”;
mode_type = “yuv”;
pixel_phase = “yuyv”;
csi_pixel_bit_depth = “8”;
readout_orientation = “0”;
line_length = “2560”;
inherent_gain = “1”;
mclk_multiplier = “2.21”;
pix_clk_hz = “55219200”;
serdes_pix_clk_hz = “100000000”;
gain_factor = “10”;
min_gain_val = “1”;/* 1DB*/
max_gain_val = “16”;/* 16DB*/
step_gain_val = “1”;
default_gain = “10”;
min_hdr_ratio = “1”;
max_hdr_ratio = “64”;
framerate_factor = “1”;
min_framerate = “1000000”;
max_framerate = “30000000”;
step_framerate = “1000000”;
default_framerate = “30000000”;
exposure_factor = “1000000”;
min_exp_time = “34”;/* us /
max_exp_time = “550385”;/
us /
step_exp_time = “1”;
default_exp_time = “8334”;/
us */
embedded_metadata_height = “1”;
};

The CSI rate of ds90ub954 is set to 400Mbps and I used it to calculate the SerDes_Pixel_Clk.


num_lanes = “2”;
csi_pixel_bit_depth = “8”;
CSI_TX_SPEED = 400Mbps
active_w = “1280”;
active_h = “719”;
Framerate=30
pixel-clk

The following picture is the phenomenon of camera debugging. There is only one frame of the image, and then there is no data.

kworker/1:3-1716  [001] ....   469.467360: rtos_queue_peek_from_isr_failed: tstamp:15159355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.579331: rtos_queue_peek_from_isr_failed: tstamp:15164355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.747352: rtos_queue_peek_from_isr_failed: tstamp:15169355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   469.915344: rtos_queue_peek_from_isr_failed: tstamp:15174355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.083301: rtos_queue_peek_from_isr_failed: tstamp:15179355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.251329: rtos_queue_peek_from_isr_failed: tstamp:15184355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.419293: rtos_queue_peek_from_isr_failed: tstamp:15189355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.587365: rtos_queue_peek_from_isr_failed: tstamp:15194355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.699296: rtos_queue_peek_from_isr_failed: tstamp:15199355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   470.867308: rtos_queue_peek_from_isr_failed: tstamp:15204355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.035300: rtos_queue_peek_from_isr_failed: tstamp:15209355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.203301: rtos_queue_peek_from_isr_failed: tstamp:15214355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.371328: rtos_queue_peek_from_isr_failed: tstamp:15219355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.539296: rtos_queue_peek_from_isr_failed: tstamp:15224355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.707291: rtos_queue_peek_from_isr_failed: tstamp:15229355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.819290: rtos_queue_peek_from_isr_failed: tstamp:15234355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   471.987327: rtos_queue_peek_from_isr_failed: tstamp:15239355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.155295: rtos_queue_peek_from_isr_failed: tstamp:15244355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.323290: rtos_queue_peek_from_isr_failed: tstamp:15249355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.491304: rtos_queue_peek_from_isr_failed: tstamp:15254355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.659302: rtos_queue_peek_from_isr_failed: tstamp:15259355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.827296: rtos_queue_peek_from_isr_failed: tstamp:15264355805 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   472.939285: rtos_queue_peek_from_isr_failed: tstamp:15269355806 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.107304: rtos_queue_peek_from_isr_failed: tstamp:15274355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.275286: rtos_queue_peek_from_isr_failed: tstamp:15279355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.443283: rtos_queue_peek_from_isr_failed: tstamp:15284355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.611294: rtos_queue_peek_from_isr_failed: tstamp:15289355807 queue:0x0bcbcf78
    v4l2-ctl-8304  [000] ....   473.748034: tegra_channel_open: vi-output, ar0143 1-0030
 kworker/1:3-1716  [001] ....   473.779336: rtos_queue_peek_from_isr_failed: tstamp:15294355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   473.947294: rtos_queue_peek_from_isr_failed: tstamp:15299355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.059289: rtos_queue_peek_from_isr_failed: tstamp:15304355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.227294: rtos_queue_peek_from_isr_failed: tstamp:15309355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.395300: rtos_queue_peek_from_isr_failed: tstamp:15314355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.563293: rtos_queue_peek_from_isr_failed: tstamp:15319355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.731296: rtos_queue_peek_from_isr_failed: tstamp:15324355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   474.899290: rtos_queue_peek_from_isr_failed: tstamp:15329355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.067374: rtos_queue_peek_from_isr_failed: tstamp:15334355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.179336: rtos_queue_peek_from_isr_failed: tstamp:15339355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.347312: rtos_queue_peek_from_isr_failed: tstamp:15344355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.515313: rtos_queue_peek_from_isr_failed: tstamp:15349355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.683331: rtos_queue_peek_from_isr_failed: tstamp:15354355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   475.851317: rtos_queue_peek_from_isr_failed: tstamp:15359355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.019345: rtos_queue_peek_from_isr_failed: tstamp:15364355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.187336: rtos_queue_peek_from_isr_failed: tstamp:15369355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.299322: rtos_queue_peek_from_isr_failed: tstamp:15374355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.467332: rtos_queue_peek_from_isr_failed: tstamp:15379355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.635332: rtos_queue_peek_from_isr_failed: tstamp:15384355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.803325: rtos_queue_peek_from_isr_failed: tstamp:15389355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   476.971321: rtos_queue_peek_from_isr_failed: tstamp:15394355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.139319: rtos_queue_peek_from_isr_failed: tstamp:15399355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.307313: rtos_queue_peek_from_isr_failed: tstamp:15404355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.419334: rtos_queue_peek_from_isr_failed: tstamp:15409355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.587344: rtos_queue_peek_from_isr_failed: tstamp:15414355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.755304: rtos_queue_peek_from_isr_failed: tstamp:15419355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   477.923341: rtos_queue_peek_from_isr_failed: tstamp:15424355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.091296: rtos_queue_peek_from_isr_failed: tstamp:15429355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.259320: rtos_queue_peek_from_isr_failed: tstamp:15434355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.427351: rtos_queue_peek_from_isr_failed: tstamp:15439355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.539306: rtos_queue_peek_from_isr_failed: tstamp:15444355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.707331: rtos_queue_peek_from_isr_failed: tstamp:15449355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   478.875337: rtos_queue_peek_from_isr_failed: tstamp:15454355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.043309: rtos_queue_peek_from_isr_failed: tstamp:15459355803 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.211316: rtos_queue_peek_from_isr_failed: tstamp:15464355803 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.379335: rtos_queue_peek_from_isr_failed: tstamp:15469355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.547332: rtos_queue_peek_from_isr_failed: tstamp:15474355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.659347: rtos_queue_peek_from_isr_failed: tstamp:15479355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.827311: rtos_queue_peek_from_isr_failed: tstamp:15484355807 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   479.995320: rtos_queue_peek_from_isr_failed: tstamp:15489355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   480.163295: rtos_queue_peek_from_isr_failed: tstamp:15494355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   480.331345: rtos_queue_peek_from_isr_failed: tstamp:15499355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   480.499307: rtos_queue_peek_from_isr_failed: tstamp:15504355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   480.667289: rtos_queue_peek_from_isr_failed: tstamp:15509355810 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   480.779333: rtos_queue_peek_from_isr_failed: tstamp:15514355811 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   480.947304: rtos_queue_peek_from_isr_failed: tstamp:15519355812 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   481.115330: rtos_queue_peek_from_isr_failed: tstamp:15524355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   481.283302: rtos_queue_peek_from_isr_failed: tstamp:15529355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   481.451296: rtos_queue_peek_from_isr_failed: tstamp:15534355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   481.619328: rtos_queue_peek_from_isr_failed: tstamp:15539355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   481.787315: rtos_queue_peek_from_isr_failed: tstamp:15544355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   481.899323: rtos_queue_peek_from_isr_failed: tstamp:15549355809 queue:0x0bcbcf78
 kworker/1:3-1716  [001] ....   482.067325: rtos_queue_peek_from_isr_failed: tstamp:15554355809 queue:0x0bcbcf78

How to enable test-pattern-generator?

Thanks.

hello tianying414,

  1. VI engine did not support resolution in odd numbers, could you should adjust active_h as even numbers.
  2. you might contact with your fpdlink vendor, it’s driver side to enable test-pattern-generator for verification.