X3派开发板长时间运行3个多小时后出现MIPI摄像头错误

我在X3派开发板上运行测试功能,即连接MIPI接口的200万像素的摄像头,还连接了一个免驱的USB-200万像素的摄像头,两个摄像头同时采集图像,然后进行图像处理。在X3派开发板静止放置在桌子上长时间运行后,中途没有任何人碰触,完全无人干涉,在运行3个多小时后,出现如下问题,并导致开发板重启:-
[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [700.304139]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [700.304229]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [700.304243]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [700.396497]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [700.396549]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [700.396570]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [700.461552]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [700.461610]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed-
[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [702.127270]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [702.192240]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [702.192286]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [702.192306]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“venc”][video/src/hb_venc.c:982] [702.226227]HB_VENC_GetStream[982]: [HB_VENC] HB_VENC_GetStream:982 Failed VeChn = 12 s32Ret = -268958732

[x3_venc_get_frame]:[668]:HB_VENC_GetStream error!!!-
[ERROR][“vps”][vps/hb_vps_api.c:2438] [702.226498]HB_VPS_GetChnFrame[2438]: G1 VPS error get chn3 frame timeout

[ERROR][“vio_bufmgr”][utils/hb_vio_buffer_mgr.c:2011] [702.226607]buf_mgr_print_qcount[2011]: Mgr(3)state:Total(4)Avail(3)Process(1)Done(0)Repro(0)User(0).

HB_VPS_GetChnFrame Failed. ret = -268696588-
[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [702.284535]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [702.284582]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [702.284604]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“venc”][video/src/hb_venc.c:982] [702.305808]HB_VENC_GetStream[982]: [HB_VENC] HB_VENC_GetStream:982 Failed VeChn = 13 s32Ret = -268958732

[x3_venc_get_frame]:[668]:HB_VENC_GetStream error!!!

[ERROR][“isp”][isp/isp.c:509] [105.153903]isp_entity_init[509]: isp_v4l2_open failed.

[ERROR][“vin”][vin/hb_vin_api.c:845] [105.153940]HB_VIN_SetPipeAttr[845]: isp_entity_init fail

[ERROR][“LOG”][/mnt/data/users/luojiale/xvison/hbre/hb_ubuntu/hb_vio_python/x3_sdk/x3_sdk_swap/src/x3_vio_vin.c:295] HB_VIN_SetPipeAttr error!-
[ERROR][“LOG”][/mnt/data/users/luojiale/xvison/hbre/hb_ubuntu/hb_vio_python/x3_sdk/x3_sdk_swap/src/x3_vio_vin.c:336] iot_vin_init failed-
2023/06/18 21:02:10.277 ERROR [x3_cam_init][0211]x3_vin_init failed, -268565511-
[Error] sp_open_camera failed!-
[ERROR][“mipi”][mipi/hb_mipi_api.c:353] need sensor start before cam stop-
HB_MIPI_UnresetSensor error!-
[ERROR][“LOG”][src/hb_vin.c:183] need vin 0 start before stop-
[ERROR][“mipi”][mipi/hb_mipi_api.c:424] hb_vin_start fail-
HB_MIPI_UnresetMipi error!-
[ERROR][“vin”][vin/hb_vin_api.c:751] [105.165609]HB_VIN_DisableDev[751]: dev have been stopped===

[ERROR][“vin”][vin/hb_vin_api.c:1085] [105.165635]HB_VIN_StopPipe[1085]: pipe have been stopped==

[ERROR][“vin”][vin/hb_vin_api.c:1659] [105.165659]HB_VIN_DisableChn[1659]: chn have been stopped==

[ERROR][“vps”][vps/hb_vps_api.c:191] [105.165678]HB_VPS_StopGrp[191]: VPS StopGrp err: bad group num 0!

[ERROR][“sys”][sys/hb_sys.c:425] [105.165704]HB_SYS_UnBind[425]: dst vps grp 0 chn 0 do not create.

HB_SYS_UnBind failed-
2023/06/18 21:02:10.277 ERROR [x3_cam_deinit][0259]x3_vin_unbind_vps failed, -1-
[ERROR][“vps”][vps/hb_vps_api.c:87] [105.165801]HB_VPS_DestroyGrp[87]: VPS destroy grp error: unexist group

[ERROR][“vin”][vin/hb_vin_api.c:793] [105.166423]HB_VIN_DestroyDev[793]: dev has already deinit

[ERROR][“isp”][isp/isp.c:821] [105.166525]isp_entity_deinit[821]: pipe0 isp fd_capture null

hobot_usb_cam ReleaseFrame failed! Camera state is not kSTATE_RUNING, current state:0-
root@ubuntu:/home/sunrise/dnn_body_detect/build# ^C-
root@ubuntu:/home/sunrise/dnn_body_detect/build#

再次长时间运行测试,还是出现同样的问题,如下:-
[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [12831.721878]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_core”][commom_grp/binding_main.c:1541] [12831.778525]comm_channel_bump_thread[1541]: G1 IPU_MODULE select too much timeout, retry

[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [12831.786820]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [12831.786878]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [12831.786899]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_core”][commom_grp/binding_main.c:1541] [12831.847687]comm_channel_bump_thread[1541]: G0 IPU_MODULE select too much timeout, retry

[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [12831.879099]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [12831.879159]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [12831.879175]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_devop”][utils/dev_ioctl.c:280] [12831.917578]dev_get_buf_timeout[280]: pipe(0)TIME OUT ,sec(1687110791)usec(401592)!

[ERROR][“vio_devop”][utils/dev_ioctl.c:283] [12831.917631]dev_get_buf_timeout[283]: pipe(0)Get buf sem_timedwait failed Connection timed out!

[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [12831.944135]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [12831.944184]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [12831.944206]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_core”][commom_grp/binding_main.c:1541] [12831.958442]comm_channel_bump_thread[1541]: G3 IPU_MODULE select too much timeout, retry

[ERROR][“vps”][vps/hb_vps_api.c:549] [12832.005950]HB_VPS_SendFrame[549]: VPS SendFrame failed, timeout

HB_VPS_SendFrame Failed. vpsGrpId=1 ret=-268696586-
[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [12832.036430]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [12832.036505]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

[ERROR][“vio_core”][commom_grp/binding_main.c:1032] [12832.036523]comm_dq_no_data[1032]: G0 MIPI_SIF_MODULE module chn0 dq failed! maybe framedrop error_detail -14

[ERROR][“vio_devop”][utils/dev_ioctl.c:121] [12832.101440]dev_node_dqbuf_ispoll[121]: failed to ioctl: dq (14 - Bad address)-
[ERROR][“vio_devop”][utils/dev_ioctl.c:189] [12832.101495]entity_node_dqbuf_ispoll[189]: dev type(9) dq failed

Setting VPS channel-2: src_w:1920, src_h:1080; dst_w:1920, dst_h:1080;-
Setting VPS channel-1: src_w:1920, src_h:1080; dst_w:960, dst_h:544;-
Setting VPS channel-3: src_w:1920, src_h:1080; dst_w:1920, dst_h:1080;-
[ERROR][“isp”][isp/isp_v4l2.c:792] [350.809259]isp_v4l2_open[792]: ISPIOC_INPUT_PORT_CTRL failed, err=25(Inappropriate ioctl for device)

[ERROR][“isp”][isp/isp_v4l2.c:93] [350.809481]isp_v4l2_s_fmt[93]: failed to ioctl: VIDIOC_S_FMT (22 - Invalid argument)-
[ERROR][“isp”][isp/isp_v4l2.c:809] [350.809683]isp_v4l2_open[809]: fail to set output format (resolution: 1920x1080)

[ERROR][“isp”][isp/isp_v4l2.c:66] [350.809818]isp_v4l2_s_ctrl[66]: failed to ioctl: VIDIOC_S_CTRL (22)-
[ERROR][“isp”][isp/isp_v4l2.c:236] [350.809856]isp_disable_dma_out[236]: isp_disable_dma_out failed

[ERROR][“isp”][isp/isp.c:509] [350.810195]isp_entity_init[509]: isp_v4l2_open failed.

[ERROR][“vin”][vin/hb_vin_api.c:845] [350.810278]HB_VIN_SetPipeAttr[845]: isp_entity_init fail

[ERROR][“LOG”][/mnt/data/users/luojiale/xvison/hbre/hb_ubuntu/hb_vio_python/x3_sdk/x3_sdk_swap/src/x3_vio_vin.c:295] HB_VIN_SetPipeAttr error!-
[ERROR][“LOG”][/mnt/data/users/luojiale/xvison/hbre/hb_ubuntu/hb_vio_python/x3_sdk/x3_sdk_swap/src/x3_vio_vin.c:336] iot_vin_init failed-
2023/06/18 22:25:09.701 ERROR [x3_cam_init][0211]x3_vin_init failed, -268565511-
[Error] sp_open_camera failed!-
[ERROR][“mipi”][mipi/hb_mipi_api.c:353] need sensor start before cam stop-
HB_MIPI_UnresetSensor error!-
[ERROR][“LOG”][src/hb_vin.c:183] need vin 0 start before stop-
[ERROR][“mipi”][mipi/hb_mipi_api.c:424] hb_vin_start fail-
HB_MIPI_UnresetMipi error!-
[ERROR][“vin”][vin/hb_vin_api.c:751] [350.822562]HB_VIN_DisableDev[751]: dev have been stopped===

[ERROR][“vin”][vin/hb_vin_api.c:1085] [350.822594]HB_VIN_StopPipe[1085]: pipe have been stopped==

[ERROR][“vin”][vin/hb_vin_api.c:1659] [350.822624]HB_VIN_DisableChn[1659]: chn have been stopped==

[ERROR][“vps”][vps/hb_vps_api.c:191] [350.822653]HB_VPS_StopGrp[191]: VPS StopGrp err: bad group num 0!

[ERROR][“sys”][sys/hb_sys.c:425] [350.822758]HB_SYS_UnBind[425]: dst vps grp 0 chn 0 do not create.

HB_SYS_UnBind failed-
2023/06/18 22:25:09.701 ERROR [x3_cam_deinit][0259]x3_vin_unbind_vps failed, -1-
[ERROR][“vps”][vps/hb_vps_api.c:87] [350.822924]HB_VPS_DestroyGrp[87]: VPS destroy grp error: unexist group

[ERROR][“vin”][vin/hb_vin_api.c:793] [350.823626]HB_VIN_DestroyDev[793]: dev has already deinit

[ERROR][“isp”][isp/isp.c:821] [350.823762]isp_entity_deinit[821]: pipe0 isp fd_capture null

hobot_usb_cam ReleaseFrame failed! Camera state is not kSTATE_RUNING, current state:0-
root@ubuntu:/home/sunrise/dnn_body_detect/build# ^C-
root@ubuntu:/home/sunrise/dnn_body_detect/build#

重复发贴了,把这个就结贴,多谢了!

我想上传完整的错误日志,不知道如何才能上传文件,现在这个页面的上传文件功能不可用。