AGX Xavier capture video steam error

Hi,

I’m trying to use AGX Xavier (JetPack4.6.1 & devkit) to capture mipi csi video steam, it’s a 4lane 1080p yuv422 signal connected to AGX CSI0_D0 CSI0_D1 CSI1_D0 CSI1_D1 CSI0_CLK.

I got error trace log as follows:

     kworker/0:4-2280  [000] ....   639.660230: rtcpu_string: tstamp:20506088078 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/0:4-2280  [000] ....   639.660291: rtcpu_string: tstamp:20506088517 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/0:4-2280  [000] ....   639.660305: rtcpu_string: tstamp:20506088939 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/0:4-2280  [000] ....   639.660317: rtcpu_string: tstamp:20506089352 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/0:4-2280  [000] ....   639.660328: rtcpu_string: tstamp:20506089756 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/0:4-2280  [000] ....   639.660338: rtcpu_string: tstamp:20506090215 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/0:4-2280  [000] ....   639.660349: rtcpu_string: tstamp:20506090620 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/0:4-2280  [000] ....   639.660360: rtcpu_string: tstamp:20506101913 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol vers"
     kworker/0:4-2280  [000] ....   639.660362: rtcpu_string: tstamp:20506102181 id:0x04010000 str:"on 2.2
"
     kworker/0:4-2280  [000] ....   639.660373: rtos_queue_send_from_isr_failed: tstamp:20506143339 queue:0x0bcb2e38
     kworker/0:4-2280  [000] ....   639.660375: rtos_queue_send_from_isr_failed: tstamp:20506143694 queue:0x0bcb76a0
     kworker/0:4-2280  [000] ....   639.660376: rtos_queue_send_from_isr_failed: tstamp:20506144001 queue:0x0bcb9220
     kworker/0:4-2280  [000] ....   639.660377: rtos_queue_send_from_isr_failed: tstamp:20506144297 queue:0x0bcb9fe0
     kworker/0:4-2280  [000] ....   639.660378: rtos_queue_send_from_isr_failed: tstamp:20506144593 queue:0x0bcbada0
     kworker/0:4-2280  [000] ....   639.660379: rtcpu_string: tstamp:20506146249 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
"
     kworker/0:4-2280  [000] ....   639.716135: rtos_queue_send_from_isr_failed: tstamp:20506452492 queue:0x0bcb2e38
     kworker/0:4-2280  [000] ....   639.716140: rtos_queue_send_from_isr_failed: tstamp:20506452631 queue:0x0bcb76a0
     kworker/0:4-2280  [000] ....   639.716141: rtos_queue_send_from_isr_failed: tstamp:20506452771 queue:0x0bcb9220
     kworker/0:4-2280  [000] ....   639.716142: rtos_queue_send_from_isr_failed: tstamp:20506452905 queue:0x0bcb9fe0
     kworker/0:4-2280  [000] ....   639.716144: rtos_queue_send_from_isr_failed: tstamp:20506453039 queue:0x0bcbada0
     kworker/0:4-2280  [000] ....   639.716146: rtcpu_nvcsi_intr: tstamp:20506455735 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000081
     kworker/0:4-2280  [000] ....   639.716148: rtcpu_nvcsi_intr: tstamp:20506455735 class:GLOBAL type:PHY_INTR0 phy:0 cil:1 st:0 vc:0 status:0x00000088
     kworker/0:4-2280  [000] ....   639.716181: rtcpu_nvcsi_intr: tstamp:20506455735 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000400
     kworker/0:4-2280  [000] ....   639.716182: rtcpu_nvcsi_intr: tstamp:20506460102 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716183: rtcpu_nvcsi_intr: tstamp:20506460102 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716184: rtcpu_nvcsi_intr: tstamp:20506461031 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716186: rtcpu_nvcsi_intr: tstamp:20506461031 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000004
     kworker/0:4-2280  [000] ....   639.716187: rtcpu_nvcsi_intr: tstamp:20506461031 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716188: rtcpu_nvcsi_intr: tstamp:20506461752 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716189: rtcpu_nvcsi_intr: tstamp:20506461752 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x0000000c
     kworker/0:4-2280  [000] ....   639.716190: rtcpu_nvcsi_intr: tstamp:20506461752 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716191: rtcpu_nvcsi_intr: tstamp:20506462460 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716193: rtcpu_nvcsi_intr: tstamp:20506462460 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716194: rtcpu_nvcsi_intr: tstamp:20506463006 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716218: rtcpu_nvcsi_intr: tstamp:20506463006 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716219: rtcpu_nvcsi_intr: tstamp:20506463807 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716220: rtcpu_nvcsi_intr: tstamp:20506463807 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716222: rtcpu_nvcsi_intr: tstamp:20506464354 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716223: rtcpu_nvcsi_intr: tstamp:20506465604 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716224: rtcpu_nvcsi_intr: tstamp:20506465604 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716225: rtcpu_nvcsi_intr: tstamp:20506466644 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000008
     kworker/0:4-2280  [000] ....   639.716226: rtcpu_nvcsi_intr: tstamp:20506466644 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716227: rtcpu_nvcsi_intr: tstamp:20506467191 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716228: rtcpu_nvcsi_intr: tstamp:20506467567 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716230: rtcpu_nvcsi_intr: tstamp:20506467567 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716231: rtcpu_nvcsi_intr: tstamp:20506468112 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716232: rtcpu_nvcsi_intr: tstamp:20506468729 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716233: rtcpu_nvcsi_intr: tstamp:20506468729 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716234: rtcpu_nvcsi_intr: tstamp:20506469656 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716235: rtcpu_nvcsi_intr: tstamp:20506469656 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716237: rtcpu_nvcsi_intr: tstamp:20506470377 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716238: rtcpu_nvcsi_intr: tstamp:20506470377 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716239: rtcpu_nvcsi_intr: tstamp:20506470927 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716240: rtcpu_nvcsi_intr: tstamp:20506471495 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716241: rtcpu_nvcsi_intr: tstamp:20506471495 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716242: rtcpu_nvcsi_intr: tstamp:20506472060 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716243: rtcpu_nvcsi_intr: tstamp:20506472060 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716245: rtcpu_nvcsi_intr: tstamp:20506473017 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716246: rtcpu_nvcsi_intr: tstamp:20506473017 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716247: rtcpu_nvcsi_intr: tstamp:20506474651 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716248: rtcpu_nvcsi_intr: tstamp:20506474651 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716249: rtcpu_nvcsi_intr: tstamp:20506475196 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716250: rtcpu_nvcsi_intr: tstamp:20506475196 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716252: rtcpu_nvcsi_intr: tstamp:20506475914 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716253: rtcpu_nvcsi_intr: tstamp:20506475914 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716254: rtcpu_nvcsi_intr: tstamp:20506476468 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716256: rtcpu_nvcsi_intr: tstamp:20506476468 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000008
     kworker/0:4-2280  [000] ....   639.716257: rtcpu_nvcsi_intr: tstamp:20506476468 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716259: rtcpu_nvcsi_intr: tstamp:20506477189 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716260: rtcpu_nvcsi_intr: tstamp:20506477189 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716261: rtcpu_nvcsi_intr: tstamp:20506477820 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716262: rtcpu_nvcsi_intr: tstamp:20506477820 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716263: rtcpu_nvcsi_intr: tstamp:20506478362 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000001
     kworker/0:4-2280  [000] ....   639.716264: rtcpu_nvcsi_intr: tstamp:20506478362 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000001
     kworker/0:4-2280  [000] ....   639.716266: rtcpu_nvcsi_intr: tstamp:20506478952 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716288: rtcpu_nvcsi_intr: tstamp:20506478952 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716289: rtcpu_nvcsi_intr: tstamp:20506479498 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716290: rtcpu_nvcsi_intr: tstamp:20506479498 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716291: rtcpu_nvcsi_intr: tstamp:20506480040 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716292: rtcpu_nvcsi_intr: tstamp:20506480040 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000008
     kworker/0:4-2280  [000] ....   639.716293: rtcpu_nvcsi_intr: tstamp:20506480040 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716294: rtcpu_nvcsi_intr: tstamp:20506480748 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716296: rtcpu_nvcsi_intr: tstamp:20506480748 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716297: rtcpu_nvcsi_intr: tstamp:20506482512 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716298: rtcpu_nvcsi_intr: tstamp:20506482512 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716299: rtcpu_nvcsi_intr: tstamp:20506483440 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716300: rtcpu_nvcsi_intr: tstamp:20506483440 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716301: rtcpu_nvcsi_intr: tstamp:20506484306 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716303: rtcpu_nvcsi_intr: tstamp:20506484306 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716304: rtcpu_nvcsi_intr: tstamp:20506485289 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716305: rtcpu_nvcsi_intr: tstamp:20506485289 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716306: rtcpu_nvcsi_intr: tstamp:20506486216 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716307: rtcpu_nvcsi_intr: tstamp:20506486216 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716308: rtcpu_nvcsi_intr: tstamp:20506487850 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x0000000c
     kworker/0:4-2280  [000] ....   639.716309: rtcpu_nvcsi_intr: tstamp:20506487850 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716311: rtcpu_nvcsi_intr: tstamp:20506488397 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716312: rtcpu_nvcsi_intr: tstamp:20506489000 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716313: rtcpu_nvcsi_intr: tstamp:20506489000 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716314: rtcpu_nvcsi_intr: tstamp:20506489695 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716315: rtcpu_nvcsi_intr: tstamp:20506489695 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716316: rtcpu_nvcsi_intr: tstamp:20506490240 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716318: rtcpu_nvcsi_intr: tstamp:20506490611 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716319: rtcpu_nvcsi_intr: tstamp:20506490611 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716320: rtcpu_nvcsi_intr: tstamp:20506491159 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716321: rtcpu_nvcsi_intr: tstamp:20506491539 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716322: rtcpu_nvcsi_intr: tstamp:20506491539 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716323: rtcpu_nvcsi_intr: tstamp:20506492084 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716324: rtcpu_nvcsi_intr: tstamp:20506492619 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716326: rtcpu_nvcsi_intr: tstamp:20506492619 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716327: rtcpu_nvcsi_intr: tstamp:20506493165 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000008
     kworker/0:4-2280  [000] ....   639.716328: rtcpu_nvcsi_intr: tstamp:20506493537 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716329: rtcpu_nvcsi_intr: tstamp:20506493537 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716330: rtcpu_nvcsi_intr: tstamp:20506494083 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000008
     kworker/0:4-2280  [000] ....   639.716331: rtcpu_nvcsi_intr: tstamp:20506494573 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716332: rtcpu_nvcsi_intr: tstamp:20506494573 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716334: rtcpu_nvcsi_intr: tstamp:20506496478 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x0000000c
     kworker/0:4-2280  [000] ....   639.716335: rtcpu_nvcsi_intr: tstamp:20506496850 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000008
     kworker/0:4-2280  [000] ....   639.716354: rtcpu_nvcsi_intr: tstamp:20506497225 class:GLOBAL type:PHY_INTR1 phy:0 cil:0 st:0 vc:0 status:0x00000008
     kworker/0:4-2280  [000] ....   639.716355: rtcpu_nvcsi_intr: tstamp:20506499217 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716356: rtcpu_nvcsi_intr: tstamp:20506499217 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716357: rtcpu_nvcsi_intr: tstamp:20506500956 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00100000
     kworker/0:4-2280  [000] ....   639.716358: rtcpu_nvcsi_intr: tstamp:20506500956 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00004000
     kworker/0:4-2280  [000] ....   639.716359: rtcpu_nvcsi_intr: tstamp:20506501870 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716361: rtcpu_nvcsi_intr: tstamp:20506501870 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716362: rtcpu_nvcsi_intr: tstamp:20506502671 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716363: rtcpu_nvcsi_intr: tstamp:20506502671 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716364: rtcpu_nvcsi_intr: tstamp:20506503216 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716365: rtcpu_nvcsi_intr: tstamp:20506503588 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716366: rtcpu_nvcsi_intr: tstamp:20506503588 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716368: rtcpu_nvcsi_intr: tstamp:20506504671 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716369: rtcpu_nvcsi_intr: tstamp:20506504671 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716370: rtcpu_nvcsi_intr: tstamp:20506505595 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716371: rtcpu_nvcsi_intr: tstamp:20506505595 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716372: rtcpu_nvcsi_intr: tstamp:20506507453 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716373: rtcpu_nvcsi_intr: tstamp:20506507453 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716374: rtcpu_nvcsi_intr: tstamp:20506509306 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716376: rtcpu_nvcsi_intr: tstamp:20506509306 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716377: rtcpu_nvcsi_intr: tstamp:20506510971 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716378: rtcpu_nvcsi_intr: tstamp:20506510971 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716379: rtcpu_nvcsi_intr: tstamp:20506511521 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716380: rtcpu_nvcsi_intr: tstamp:20506511963 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716381: rtcpu_nvcsi_intr: tstamp:20506511963 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716382: rtcpu_nvcsi_intr: tstamp:20506512509 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716384: rtcpu_nvcsi_intr: tstamp:20506513017 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716385: rtcpu_nvcsi_intr: tstamp:20506513017 class:CORRECTABLE_ERR type:PHY_INTR phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [000] ....   639.716386: rtcpu_nvcsi_intr: tstamp:20506513762 class:GLOBAL type:PHY_INTR0 phy:0 cil:0 st:0 vc:0 status:0x00000080
     kworker/0:4-2280  [0

hello suchb,

please refer to Xavier TRM, and you should check NVCSI PHY registers in page-1195 for details.
for example,
NVCSI_PHY_0_CILA_INTR_0_STATUS_CILA_0= 0x80
it represent an error in bit-7, which is, intr_cil_data_lane_ctrl_err1_a.

you may review the board design and check the signaling to resolve this.
thanks

Hi @JerryChang

v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=1 --stream-mmap --stream-count=1 --stream-to=test.raw --set-fmt-video=width=1920,height=1080,pixelformat=UYVY

“bypass_mode=1” will cause kernel crash and if “bypass_mode=0” no kernel crash.

[ 4683.871004] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 4683.871167] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 4683.871316] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 4683.893171] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel
[ 4683.924512] [RCE] ERROR: capture-scheduler.c:965 [capture_scheduler_process_channel_reset_req] "RESET timeout on ch : 0"
[ 4683.924974] [RCE] Configuring VI GoS.
[ 4683.925003] [RCE] VM GOS[#0] addr=0xc2100000
[ 4683.925028] [RCE] VM GOS[#1] addr=0xc2101000
[ 4683.925051] [RCE] VM GOS[#2] addr=0xc2102000
[ 4683.925073] [RCE] VM GOS[#3] addr=0xc2103000
[ 4683.925095] [RCE] VM GOS[#4] addr=0xc2104000
[ 4683.925188] [RCE] VM GOS[#5] addr=0xc2105000
[17962.409483] ------------[ cut here ]------------
[17962.409724] WARNING: CPU: 0 PID: 10728 at drivers/media/v4l2-core/videobuf2-core.c:1664 __vb2_queue_cancel+0x11c/0x188
[17962.409925] Modules linked in: bnep fuse xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack br_netfilter zram overlay bluedroid_pm userspace_alert nvgpu ip_tables x_tables

[17962.410069] CPU: 0 PID: 10728 Comm: v4l2-ctl Tainted: G        W       4.9.253-tegra #5
[17962.410073] Hardware name: Jetson-AGX (DT)
[17962.410094] task: ffffffc7654c7000 task.stack: ffffffc765410000
[17962.410102] PC is at __vb2_queue_cancel+0x11c/0x188
[17962.410109] LR is at __vb2_queue_cancel+0x34/0x188
[17962.410121] pc : [<ffffff8008b2c7e4>] lr : [<ffffff8008b2c6fc>] pstate: 20400045
[17962.410126] sp : ffffffc765413ae0
[17962.410133] x29: ffffffc765413ae0 x28: ffffffc7654c7000 
[17962.410146] x27: ffffff8008f82000 x26: ffffffc79ac8eb40 
[17962.410161] x25: ffffffc79adb6268 x24: ffffffc7c5ce1048 
[17962.410173] x23: 0000000000000001 x22: ffffffc7da76a018 
[17962.410185] x21: ffffffc7c5c44800 x20: ffffffc7da76a5d0 
[17962.410196] x19: ffffffc7da76a5d0 x18: 00000000000034e3 
[17962.410207] x17: 0000007fad55a1a8 x16: 0000000000003213 
[17962.410219] x15: 0000000000000000 x14: 00000000000362ae 
[17962.410230] x13: 000000000000049c x12: 071c71c71c71c71c 
[17962.410241] x11: 000000000000000b x10: 0000000000000a10 
[17962.410255] x9 : ffffffc7654131d0 x8 : ffffffc7654c7a70 
[17962.410267] x7 : fefefeff646c606d x6 : 00000082d0565a3f 
[17962.410278] x5 : 0000000000000000 x4 : 0000000000000000 
[17962.410289] x3 : ffffff80094fb898 x2 : ffffffc7654c7000 
[17962.410300] x1 : ffffffc7d7d04090 x0 : 0000000000000004 

[17962.410316] ---[ end trace 39298aba7f16ef5a ]---
[17962.410412] Call trace:
[17962.410435] [<ffffff8008b2c7e4>] __vb2_queue_cancel+0x11c/0x188
[17962.410456] [<ffffff8008b2dc24>] vb2_core_queue_release+0x2c/0x58
[17962.410474] [<ffffff8008b302a4>] _vb2_fop_release+0x84/0xa0
[17962.410494] [<ffffff8008b35d7c>] tegra_channel_close+0x64/0x140
[17962.410518] [<ffffff8008b09670>] v4l2_release+0x48/0xa0
[17962.410545] [<ffffff800825dcb8>] __fput+0x90/0x1d0
[17962.410649] [<ffffff800825de70>] ____fput+0x20/0x30
[17962.410673] [<ffffff80080d8dac>] task_work_run+0xbc/0xd8
[17962.410688] [<ffffff80080b8408>] do_exit+0x2e0/0xa88
[17962.410703] [<ffffff80080b8c40>] do_group_exit+0x40/0xa8
[17962.410715] [<ffffff80080c64ec>] get_signal+0xbc/0x750
[17962.410728] [<ffffff800808add8>] do_signal+0x130/0x500
[17962.410736] [<ffffff800808b320>] do_notify_resume+0x90/0xb0
[17962.410748] [<ffffff800808379c>] work_pending+0x8/0x10

I also got the same problem V4L2 timeout leads to NULL pointer dereference in kernel in jetpack 4.6 - Jetson & Embedded Systems / Jetson Xavier NX - NVIDIA Developer Forums

nvidia@agx-dev-1:~$ cat /etc/nv_tegra_release 
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021

Is JetPack4.6.1 is a stable release for jetson agx xavier?

thanks.

hello suchb,

please configure --set-ctrl bypass_mode=0 for your use-case,
JetPack-4.6.1 is a stable release, there’s external wiki page to list some r32.6.1 bug fixes, Jetson/L4T/r32.6.x patches - eLinux.org
in addition, there’s kernel patch to address the NULL pointer issue, Topic 187824, comment #12.

had this 4-lane 1080p yuv422 MIPI stream verify on previous release?
could you please also have a try to boost the clocks for testing,
for example,

sudo su
echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/isp/mrq_rate_locked
echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked
cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate
cat /sys/kernel/debug/bpmp/debug/clk/isp/max_rate | tee  /sys/kernel/debug/bpmp/debug/clk/isp/rate
cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate