Closed cmirceac closed 5 months ago
Can confirm, same thing happens to me on the new 1.0.9 release, no matter if downloaded from the official releases or compiled myself.
the question is: is there any image that actually works ?
On 05.03.24 11:01, piotr-defendeye wrote:
Can confirm, same thing happens to me on the new 1.0.9 release, no matter if downloaded from the official releases or compiled myself.
Message ID: @.***>
the question is: is there any image that actually works ? … On 05.03.24 11:01, piotr-defendeye wrote: Can confirm, same thing happens to me on the new 1.0.9 release, no matter if downloaded from the official releases or compiled myself. Message ID: @.***>
Haven't found a working one myself. So still an issue. @carbonfix are there any quick-fixes available to make this work?
We are working on fixing this issue and will reply here if there is an update
@carbonfix Any updates?
bump
Please use the latest tdl-sdk to compile sample_vi_fd
, replace /mnt/system/usr/bin/sample_vi_fd
in Duo256M, and then run camera-test.sh
to try.
Please use the latest tdl-sdk to compile
sample_vi_fd
, replace/mnt/system/usr/bin/sample_vi_fd
in Duo256M, and then runcamera-test.sh
to try.
Hello, just try to compile new sample_vi_fd and nothing change, cameta-test.sh start and few second after kernel panic
new sample_vi_fd :
[24-04-18 17:07:31] % file cvi_tdl/sample_vi_fd
cvi_tdl/sample_vi_fd: ELF 64-bit LSB executable, UCB RISC-V, RVC, double-float ABI, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-riscv64v0p7_xthead.so.1, stripped
The kernel panic :
Starting app...
[root@milkv-duo]~# [ 39.790633] Unable to handle kernel paging request at virtual address ffffffdfffe425b0
[ 39.798818] Oops [#1]
[ 39.801165] Modules linked in: cv181x_pwm(FO) cv181x_ive(FO) cvi_vc_driver(FO) cv181x_jpeg(FO) cv181x_vcodec(FO) cv181)
[ 39.827344] CPU: 0 PID: 0 Comm: swapper Tainted: GF O 5.10.4-tag- #1
[ 39.835161] epc: ffffffdfffe425b0 ra : ffffffe000626b98 sp : ffffffe0007fbf10
[ 39.842529] gp : ffffffe00086f920 tp : ffffffe000800440 t0 : 0000000000000000
[ 39.849986] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe0007fbf70
[ 39.857444] s1 : ffffffe000800440 a0 : ffffffe002200000 a1 : ffffffe000800440
[ 39.864901] a2 : 00000000000007f0 a3 : 0000000000000000 a4 : 0000000000000000
[ 39.872359] a5 : 000000008b0c90b2 a6 : 0000000000000002 a7 : ffffffe000807e88
[ 39.879817] s2 : ffffffe002200000 s3 : ffffffe002228000 s4 : ffffffe0008710a8
[ 39.887274] s5 : 0000000000004000 s6 : ffffffe000800838 s7 : ffffffe0007a0420
[ 39.894731] s8 : ffffffe000807e00 s9 : 0000000081ae5a1c s10: 0000000000000000
[ 39.902189] s11: 0000000000000003 t3 : 0000000000000000 t4 : 7fffffffffffffff
[ 39.909645] t5 : 0000000000000009 t6 : 0000000000040000
[ 39.915131] status: 0000000200000100 badaddr: ffffffdfffe425b0 cause: 000000000000000c
[ 39.923303] Call Trace:
[ 39.925850] [<ffffffe000626eb2>] schedule_idle+0xe/0x22
[ 39.931254] [<ffffffe0002448ac>] cpu_startup_entry+0x8/0xe
[ 39.936926] [<ffffffe000202938>] start_kernel+0x3f2/0x41c
[ 39.942529] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=270
[ 39.949241] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=271
[ 39.955931] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 39.963017] ---[ end trace a4f34d4289e2d4c7 ]---
[ 39.967826] Kernel panic - not syncing: Attempted to kill the idle task!
[ 39.974754] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
For information I use v1.1.0 : https://github.com/milkv-duo/duo-buildroot-sdk/releases/download/Duo-V1.1.0/milkv-duo256m-v1.1.0-2024-0410.img.zip
And I use IO board and just set fixed mac address nothing more.
[root@milkv-duo]~# uname -a
Linux milkv-duo 5.10.4-tag- #1 PREEMPT Wed Apr 10 21:37:02 CST 2024 riscv64 GNU/Linux
[root@milkv-duo]~# file sample_vi_fd
sample_vi_fd: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-riscv64v0p7_xthead.so.1, stripped
[root@milkv-duo]~# ls -halFG /lib/ld-musl-riscv64v0p7_xthead.so.1
lrwxrwxrwx 1 root 37 Feb 26 11:07 /lib/ld-musl-riscv64v0p7_xthead.so.1 -> ../usr/lib64v0p7_xthead/lp64d/libc.so*
[root@milkv-duo]~# file /usr/lib64v0p7_xthead/lp64d/libc.so
/usr/lib64v0p7_xthead/lp64d/libc.so: ELF 64-bit LSB shared object, UCB RISC-V, version 1 (SYSV), statically linked, stripped
sample_vi_fd was copied at the right place :
[root@milkv-duo]~# file /mnt/system/usr/bin/sample_vi_fd
/mnt/system/usr/bin/sample_vi_fd: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-riscv64v0p7_xthead.so.1, stripped
[root@milkv-duo]~# ls -halFG /mnt/system/usr/bin/sample_vi_fd
-rwxr-xr-x 1 root 35K Apr 18 15:10 /mnt/system/usr/bin/sample_vi_fd*
Please use the latest tdl-sdk to compile
sample_vi_fd
, replace/mnt/system/usr/bin/sample_vi_fd
in Duo256M, and then runcamera-test.sh
to try.
tried it....doesn't work
Please use the latest tdl-sdk to compile
sample_vi_fd
, replace/mnt/system/usr/bin/sample_vi_fd
in Duo256M, and then runcamera-test.sh
to try.tried it....doesn't work
[SAMPLE_COMM_SNS_ParseIni]-1950: Parse /mnt/data/sensor_cfg.ini [parse_source_devnum]-1605: devNum = 1 [parse_sensor_name]-1686: sensor = GCORE_GC2083_MIPI_2M_30FPS_10BIT [parse_sensor_busid]-1714: bus_id = 2 [parse_sensor_i2caddr]-1725: sns_i2c_addr = 37 [parse_sensor_mipidev]-1736: mipi_dev = 0 [parse_sensor_laneid]-1747: Lane_id = 1, 0, 2, -1, -1 [parse_sensor_pnswap]-1758: pn_swap = 0, 0, 0, 0, 0 MMF Version:7e0cc6a08-musl_riscv64 Create VBPool[0], size: (3110400 5) = 15552000 bytes Create VBPool[1], size: (1382400 5) = 6912000 bytes Create VBPool[2], size: (2764800 * 3) = 8294400 bytes Total memory of VB pool: 30758400 bytes Initialize SYS and VB Initialize VI ISP Vipipe(0) Allocate pa(0x8d056000) va(0x0x3fe664f000) size(291120) stSnsrMode.u16Width 1920 stSnsrMode.u16Height 1080 25.000000 wdrMode 0 pstSnsObj 0x3fe74a1878 [SAMPLE_COMM_VI_StartMIPI]-483: sensor 0 stDevAttr.devno 0 awbInit ver 6.8@2021500 0 R:1400 B:3100 CT:2850 1 R:1500 B:2500 CT:3900 2 R:2300 B:1600 CT:6500 Golden 1024 1024 1024 WB Quadratic:0 isWdr:0 ViPipe:0,===GC2083 1080P 30fps 10bit LINE Init OK!===
cvi_bin_isp message gerritId: 36403 commitId: c69c5863e md5: cab880835a2ad5184de5ed7762404b84 sensorNum 1 sensorName0 2083
PQBIN message gerritId: 80171 commitId: 5c9d8fc5d md5: ba5a510e093ad42db6788e6c2d13169e sensorNum 3 sensorName0 2053
author: wanqiang.he desc: 思博慧CV1812H_GC2083_RGB_mode_V1.0.0 createTime: 2023-08-04 16:48:08version: V1.1 tool Version: v3.0.5.24 mode:
--------CHN[1]-------
Output size: (1280x720)
Depth: 1
Do normalization: 0
Src Frame Rate: -1
Dst Frame Rate: -1
----------------------
Bind VI with VPSS Grp(0), Chn(0) Attach VBPool(0) to VPSS Grp(0) Chn(0) Attach VBPool(1) to VPSS Grp(0) Chn(1) Initialize VENC venc codec: h264 venc frame size: 1280x720 Initialize RTSP rtsp://169.254.94.255/h264 prio:0 version: 1.4.0 scrfd768432 Build at 2023-12-25 01:21:44 For platform cv181x Max SharedMem size:1658880 anchor:-8,-8,8,8 anchor:-16,-16,16,16 bbox:bbox_8_Conv_dequant landmark:kps_8_Conv_dequant score:score_8_Sigmoid_dequant anchor:-32,-32,32,32 anchor:-64,-64,64,64 bbox:bbox_16_Conv_dequant landmark:kps_16_Conv_dequant score:score_16_Sigmoid_dequant anchor:-128,-128,128,128 anchor:-256,-256,256,256 bbox:bbox_32_Conv_dequant landmark:kps_32_Conv_dequant score:score_32_Sigmoid_dequant Enter TDL thread Enter encoder thread 0 R:1165 B:3087 CT:2688 1 R:1464 B:2327 CT:3937 2 R:1974 B:1613 CT:7225 Golden 1464 1024 2327 wdrLEOnly:1 client_loop: send disconnect: Connection reset
@carbonfix looks like this is still an issue on 1.1.0 and the Duo 256M. I used camera-test.sh and the latest tdl sdk.
[root@milkv-duo]~/cvi_tdl# ./sample_vi_fd /mnt/cvimodel/scrfd_768_432_int8_1x.cv
imodel
[SAMPLE_COMM_SNS_ParseIni]-1950: Parse /mnt/data/sensor_cfg.ini
[parse_source_devnum]-1605: devNum = 1
[parse_sensor_name]-1686: sensor = GCORE_GC2083_MIPI_2M_30FPS_10BIT
[parse_sensor_busid]-1714: bus_id = 2
[parse_sensor_i2caddr]-1725: sns_i2c_addr = 37
[parse_sensor_mipidev]-1736: mipi_dev = 0
[parse_sensor_laneid]-1747: Lane_id = 1, 0, 2, -1, -1
[parse_sensor_pnswap]-1758: pn_swap = 0, 0, 0, 0, 0
MMF Version:7e0cc6a08-musl_riscv64
Create VBPool[0], size: (3110400 * 5) = 15552000 bytes
Create VBPool[1], size: (1382400 * 5) = 6912000 bytes
Create VBPool[2], size: (2764800 * 3) = 8294400 bytes
Total memory of VB pool: 30758400 bytes
Initialize SYS and VB
Initialize VI
ISP Vipipe(0) Allocate pa(0x8d056000) va(0x0x3fc51d9000) size(291120)
stSnsrMode.u16Width 1920 stSnsrMode.u16Height 1080 25.000000 wdrMode 0 pstSnsObj 0x3fc602b878
[SAMPLE_COMM_VI_StartMIPI]-483: sensor 0 stDevAttr.devno 0
awbInit ver 6.8@2021500
0 R:1400 B:3100 CT:2850
1 R:1500 B:2500 CT:3900
2 R:2300 B:1600 CT:6500
Golden 1024 1024 1024
WB Quadratic:0
isWdr:0
ViPipe:0,===GC2083 1080P 30fps 10bit LINE Init OK!===
********************************************************************************
cvi_bin_isp message
gerritId: 36403 commitId: c69c5863e
md5: cab880835a2ad5184de5ed7762404b84
sensorNum 1
sensorName0 2083
PQBIN message
gerritId: 80171 commitId: 5c9d8fc5d
md5: ba5a510e093ad42db6788e6c2d13169e
sensorNum 3
sensorName0 2053
author: wanqiang.he desc: 思博慧CV1812H_GC2083_RGB_mode_V1.0.0
createTime: 2023-08-04 16:48:08version: V1.1
tool Version: v3.0.5.24 mode:
********************************************************************************
sensorName(0) mismatch, mwSns:2083 != pqBinSns:2053
[SAMPLE_COMM_ISP_Thread]-95: ISP Dev 0 running!
Initialize VPSS
---------VPSS[0]---------
Input size: (1920x1080)
Input format: (19)
VPSS physical device number: 1
Src Frame Rate: -1
Dst Frame Rate: -1
--------CHN[0]-------
Output size: (1280x720)
Depth: 1
Do normalization: 0
Src Frame Rate: -1
Dst Frame Rate: -1
----------------------
--------CHN[1]-------
Output size: (1280x720)
Depth: 1
Do normalization: 0
Src Frame Rate: -1
Dst Frame Rate: -1
----------------------
------------------------
Bind VI with VPSS Grp(0), Chn(0)
Attach VBPool(0) to VPSS Grp(0) Chn(0)
Attach VBPool(1) to VPSS Grp(0) Chn(1)
Initialize VENC
venc codec: h264
venc frame size: 1280x720
Initialize RTSP
rtsp://10.0.0.203/h264
prio:0
version: 1.4.0
scrfd768432 Build at 2023-12-25 01:21:44 For platform cv181x
Max SharedMem size:1658880
anchor:-8,-8,8,8
anchor:-16,-16,16,16
bbox:bbox_8_Conv_dequant
landmark:kps_8_Conv_dequant
score:score_8_Sigmoid_dequant
anchor:-32,-32,32,32
anchor:-64,-64,64,64
bbox:bbox_16_Conv_dequant
landmark:kps_16_Conv_dequant
score:score_16_Sigmoid_dequant
anchor:-128,-128,128,128
anchor:-256,-256,256,256
bbox:bbox_32_Conv_dequant
landmark:kps_32_Conv_dequant
score:score_32_Sigmoid_dequant
Enter TDL thread
Enter encoder thread
0 R:1165 B:3087 CT:2688
1 R:1464 B:2327 CT:3937
2 R:1974 B:1613 CT:7225
Golden 1464 1024 2327
wdrLEOnly:1
[ 110.609714] Unable to handle kernel paging request at virtual address fffffffffffffff6
[ 110.618557] Oops [#1]
[ 110.620914] Modules linked in: cv181x_pwm(FO) cv181x_ive(FO) cvi_vc_driver(FO) cv181x_jpeg(FO) cv181x_vcodec(FO) cv181x_tpu(FO) cv181x_clock_cooling(FO) cv181x_rgn(FO) cv181x_vo(FO) cv181x_dwa(FO) cv181x_vpss(FO) cv181x_vi(FO) snsr_i2c(FO) cvi_mipi_rx(FO) cv181x_base(FO) cv181x_sys(FO)
[ 110.647095] CPU: 0 PID: 471 Comm: dmesg Tainted: GF O 5.10.4-tag- #1
[ 110.654912] epc: fffffffffffffff6 ra : fffffffffffffff7 sp : ffffffe001efbe80
[ 110.662279] gp : ffffffe00086f920 tp : ffffffe001ef3340 t0 : 00000000000001f8
[ 110.669737] t1 : 0000002ab0dbc69c t2 : 0000000000000001 s0 : ffffffe0002a5bbe
[ 110.677194] s1 : 8000000201804020 a0 : ffffffe001912e00 a1 : ffffffff00000000
[ 110.684651] a2 : 0000000000000001 a3 : ffffffe0018ba500 a4 : 0000000000008000
[ 110.692108] a5 : 0000000000000000 a6 : 0000003fbf40d994 a7 : 000000000000003f
[ 110.699565] s2 : 0000003fbf3ceb6a s3 : 0000002ab0dc8090 s4 : ffffffe0008710a8
[ 110.707022] s5 : 0000003fbf40da38 s6 : 0000003fbf40b638 s7 : 0000003fff888a18
[ 110.714479] s8 : 0000003fff888a10 s9 : 0000003fff888a28 s10: 0000003fbf40d994
[ 110.721935] s11: 000000000000003b t3 : 0000003fbf3d205c t4 : 0000000000000002
[ 110.729391] t5 : 0000000000000001 t6 : 0000000000000066
[ 110.734877] status: 0000000200000120 badaddr: fffffffffffffff6 cause: 000000000000000c
[ 110.743050] Call Trace:
[ 110.745595] [<ffffffe0002a5bba>] ksys_read+0x8c/0x90
[ 110.750733] [<ffffffe00022805e>] check_syscall_nr+0x1e/0x22
[ 110.756518] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=54
[ 110.763134] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=55
[ 110.769733] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 110.776879] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 110.783411] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 110.790943] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=56
[ 110.797584] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 110.804073] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 110.810403] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 110.820666] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 110.827026] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=57
[ 110.833605] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 110.840194] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 110.846658] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 110.856994] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 110.863399] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=58
[ 110.863453] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 110.876566] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 110.882898] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 110.889186] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 110.895681] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=59
[ 110.895696] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 110.909479] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 110.920839] ---[ end trace 45c05710e09c7589 ]---
[ 110.925655] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=60
[ 110.925729] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 110.939379] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 110.945901] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 110.957559] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=61
[ 110.964221] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 110.970718] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 110.977050] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 110.984508] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 110.990843] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 110.997250] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=62
[ 111.003829] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.010469] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 111.023602] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.030007] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=63
[ 111.030062] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.043173] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.049503] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.055792] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.062286] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=64
[ 111.062300] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.076098] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.090325] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.096754] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=65
[ 111.096808] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.109929] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.116265] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.122551] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.129046] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=66
[ 111.129063] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.142887] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.154724] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 111.161081] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=67
[ 111.167708] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 111.174109] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.181127] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 111.187051] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.193545] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=68
[ 111.193608] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.193691] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.193704] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.219268] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.225759] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=69
[ 111.232396] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.249142] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000e1
[ 111.258266] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=70
[ 111.258340] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.271994] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.278518] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.289961] Oops [#2]
[ 111.292319] Modules linked in: cv181x_pwm(FO) cv181x_ive(FO) cvi_vc_driver(FO) cv181x_jpeg(FO) cv181x_vcodec(FO) cv181x_tpu(FO) cv181x_clock_cooling(FO) cv181x_rgn(FO) cv181x_vo(FO) cv181x_dwa(FO) cv181x_vpss(FO) cv181x_vi(FO) snsr_i2c(FO) cvi_mipi_rx(FO) cv181x_base(FO) cv181x_sys(FO)
[ 111.318503] CPU: 0 PID: 544 Comm: sleep Tainted: GF D O 5.10.4-tag- #1
[ 111.326320] epc: ffffffe0002963ac ra : ffffffe000295de0 sp : ffffffe00136fc00
[ 111.333687] gp : ffffffe00086f920 tp : ffffffe001f347c0 t0 : ffffffe00136fe28
[ 111.341144] t1 : ffffffe000247ebe t2 : ffffffe000637c08 s0 : 0000000000000000
[ 111.348601] s1 : 0000000000000001 a0 : ffffffe00ae5c2b0 a1 : 0000000000000000
[ 111.356058] a2 : 0000000000100cca a3 : c6c8ce6a4541ee00 a4 : c6c8ce6a4541ee00
[ 111.363515] a5 : 0000000000000000 a6 : 0000000000000004 a7 : 00000000001ed000
[ 111.370972] s2 : 0000000000000881 s3 : ffffffe00ada3c10 s4 : 0000000000000881
[ 111.378430] s5 : ffffffe00ada3c00 s6 : ffffffe000f707f0 s7 : ffffffe00ae5c2b0
[ 111.385887] s8 : 000000000000000f s9 : ffffffe000856ef8 s10: 0000003fbc056b30
[ 111.393343] s11: 0000003fbc056d28 t3 : 0000000000000003 t4 : 0000000000000000
[ 111.400800] t5 : 0000003fbbf9c000 t6 : 0000000000000001
[ 111.406285] status: 0000000200000120 badaddr: 00000000000000e1 cause: 000000000000000d
[ 111.414457] Call Trace:
[ 111.417004] [<ffffffe0002963ac>] get_page_from_freelist+0x83a/0x85a
[ 111.423490] [<ffffffe000271c20>] pagecache_get_page+0x24/0x10a
[ 111.429520] [<ffffffe000296cde>] __alloc_pages_nodemask+0xd8/0x108
[ 111.435912] [<ffffffe00028a70e>] handle_mm_fault+0x3d8/0x532
[ 111.441767] [<ffffffe00022acc8>] do_page_fault+0x220/0x2ca
[ 111.447443] [<ffffffe00022806c>] ret_from_syscall_rejected+0x8/0xc
[ 111.453873] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=71
[ 111.460461] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=72
[ 111.467117] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.473611] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.479945] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.488820] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 111.495151] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=73
[ 111.501731] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.508325] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 111.514788] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 111.523464] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.529872] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=74
[ 111.529926] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.543035] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.549367] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.555656] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.562151] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=75
[ 111.562165] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.575956] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.590143] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.596563] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=76
[ 111.596616] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.609725] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.616057] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.622341] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.628836] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=77
[ 111.628853] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.642643] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.654420] ---[ end trace 45c05710e09c758a ]---
[ 111.659241] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=78
[ 111.659311] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.672961] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.679482] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
Segmentation fault[ 111.690665] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=79
[ 111.698291] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.704893] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.711225] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.723972] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=80
[ 111.730573] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.738041] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 111.744378] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 111.750851] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 111.756785] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.756804] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.763207] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=81
[ 111.763221] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.763270] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.763941] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.796028] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=82
[ 111.796086] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 111.810043] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.816573] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.823147] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 111.829641] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=83
[ 111.829702] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 111.829784] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 111.829796] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 111.855324] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 111.861814] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=84
[ 111.861829] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 111.888309] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000d7e
[ 111.897406] Oops [#3]
[ 111.899754] Modules linked in: cv181x_pwm(FO) cv181x_ive(FO) cvi_vc_driver(FO) cv181x_jpeg(FO) cv181x_vcodec(FO) cv181x_tpu(FO) cv181x_clock_cooling(FO) cv181x_rgn(FO) cv181x_vo(FO) cv181x_dwa(FO) cv181x_vpss(FO) cv181x_vi(FO) snsr_i2c(FO) cvi_mipi_rx(FO) cv181x_base(FO) cv181x_sys(FO)
[ 111.925933] CPU: 0 PID: 111 Comm: klogd Tainted: GF D O 5.10.4-tag- #1
[ 111.933749] epc: ffffffe000241fec ra : ffffffe0002427ee sp : ffffffe001383b80
[ 111.941116] gp : ffffffe00086f920 tp : ffffffe000b847c0 t0 : 0000003fffd5d740
[ 111.948574] t1 : ffffffe0002474f4 t2 : 0a2a2a2a2a747261 s0 : ffffffe001383bd0
[ 111.956031] s1 : ffffffe000b83d80 a0 : 000000000000061e a1 : 0000000000000001
[ 111.963487] a2 : 0000000000000001 a3 : 00000000000000c3 a4 : 0000000000000002
[ 111.970944] a5 : ffffffe001383b84 a6 : ffffffe00135de00 a7 : 0000000000000000
[ 111.978401] s2 : 0000000000000000 s3 : ffffffe0008710a8 s4 : 0000000000000001
[ 111.985858] s5 : 0000000200000020 s6 : 0000000000000001 s7 : 0000000000000001
[ 111.993314] s8 : 00000000000000c3 s9 : 0000000000000040 s10: 0000000000000002
[ 112.000771] s11: ffffffffffffffff t3 : 0000003fffd5d79c t4 : 000000002a000000
[ 112.008227] t5 : 0000000074000000 t6 : 0000000000040000
[ 112.013712] status: 0000000200000100 badaddr: 0000000000000d7e cause: 000000000000000d
[ 112.021885] Call Trace:
[ 112.024429] [<ffffffe000241fec>] update_rq_clock+0x0/0x40
[ 112.030017] [<ffffffe000246dd4>] autoremove_wake_function+0x8/0x26
[ 112.036403] [<ffffffe000246ff8>] __wake_up_common+0x6a/0xdc
[ 112.042162] [<ffffffe0002470b4>] __wake_up_common_lock+0x4a/0xa4
[ 112.048377] [<ffffffe0005601d8>] sock_def_readable+0x28/0x46
[ 112.054230] [<ffffffe0005dfa02>] unix_dgram_sendmsg+0x3a4/0x40e
[ 112.060348] [<ffffffe00055d9b6>] sock_sendmsg_nosec+0x8/0x1c
[ 112.066194] [<ffffffe00055ed10>] __sys_sendto+0x80/0xb0
[ 112.071607] [<ffffffe00025cd3a>] ktime_get_real_ts64+0x32/0x7a
[ 112.077634] [<ffffffe00055ed3c>] __sys_sendto+0xac/0xb0
[ 112.083033] [<ffffffe00055ed4a>] sys_sendto+0xa/0x14
[ 112.088167] [<ffffffe0002619d8>] sys_clock_settime+0x5e/0x62
[ 112.094021] [<ffffffe00022805e>] check_syscall_nr+0x1e/0x22
[ 112.099824] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=85
[ 112.106456] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.113463] ---[ end trace 45c05710e09c758b ]---
[ 112.118272] note: klogd[111] exited with preempt_count 4
[ 112.123828] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=86
[ 112.130449] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.136938] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.143271] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.149538] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.156055] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.162545] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=87
[ 112.162562] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.184721] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 112.191054] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=88
[ 112.197683] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 112.204083] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.211115] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 112.217035] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.223571] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.230063] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=89
[ 112.230120] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.230205] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.230218] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.257134] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=90
[ 112.263728] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.287382] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 112.293717] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=91
[ 112.300346] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 112.306746] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.313777] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 112.319708] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.326203] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=92
[ 112.326266] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.326351] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.326364] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.351889] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.358379] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=93
[ 112.364998] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.389189] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 112.395524] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=94
[ 112.402155] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 112.408556] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.415579] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 112.421506] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.428000] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=95
[ 112.428062] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.428147] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.428161] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.453687] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.460176] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=96
[ 112.460192] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.489774] cvi_img_device_run:437(): ****img(0) grp(0) start****
[ 112.496108] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=97
[ 112.502739] cvi_vip_job_finish:844(): ****img(0) grp(0) finish****
[ 112.509139] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.516152] vpss_handle_frame_done:2740(): grp(1) chn(0) end
[ 112.522080] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.528573] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=98
[ 112.528636] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.528722] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.528736] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.554262] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.560752] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=99
[ 112.560769] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.589768] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.596174] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=100
[ 112.596227] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.609425] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.615758] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.622045] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.628540] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=101
[ 112.628556] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.642448] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.653401] Unable to handle kernel paging request at virtual address 0000003fc4ad67f8
[ 112.661626] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=102
[ 112.661699] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.675445] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.681965] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.690329] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=103
[ 112.697061] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.703552] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.709883] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.717896] Oops [#4]
[ 112.720253] Modules linked in: cv181x_pwm(FO) cv181x_ive(FO) cvi_vc_driver(FO) cv181x_jpeg(FO) cv181x_vcodec(FO) cv181x_tpu(FO) cv181x_clock_cooling(FO) cv181x_rgn(FO) cv181x_vo(FO) cv181x_dwa(FO) cv181x_vpss(FO) cv181x_vi(FO) snsr_i2c(FO) cvi_mipi_rx(FO) cv181x_base(FO) cv181x_sys(FO)
[ 112.746435] CPU: 0 PID: 539 Comm: sample_vi_fd Tainted: GF D O 5.10.4-tag- #1
[ 112.754880] epc: 0000003fc4ad67f8 ra : 0000003fc4ad67f8 sp : ffffffe002017d30
[ 112.762247] gp : ffffffe00086f920 tp : ffffffe001f33d80 t0 : 0000003fc4ad61d8
[ 112.769705] t1 : 0000003fc4ad6220 t2 : 000000000000000a s0 : 0000003fc53098e0
[ 112.777163] s1 : 0000003fc55da100 a0 : 0000000000000000 a1 : 0000003fc4ad6222
[ 112.784620] a2 : 000000000000004a a3 : 0000003fc4ad6222 a4 : c6c8ce6a4541ee00
[ 112.792078] a5 : c6c8ce6a4541ee00 a6 : ffffffe00135dc00 a7 : 0000000000000000
[ 112.799536] s2 : ffffffe002017d40 s3 : c6c8ce6a4541ee00 s4 : 00000000ffffffff
[ 112.806993] s5 : ffffffff00000000 s6 : 0000000000000000 s7 : 0000000000000000
[ 112.814451] s8 : 0000000000000000 s9 : 0000003fc4ad67f8 s10: ffffffe002017da8
[ 112.821908] s11: 000000000000004a t3 : 6c657869702c3032 t4 : 0000000037000000
[ 112.829365] t5 : 000000006d000000 t6 : 0000000000040000
[ 112.834851] status: 0000000200000120 badaddr: 0000003fc4ad67f8 cause: 000000000000000c
[ 112.843023] Call Trace:
[ 112.845560] [<ffffffe00055d9b6>] sock_sendmsg_nosec+0x8/0x1c
[ 112.851409] [<ffffffe00055ed10>] __sys_sendto+0x80/0xb0
[ 112.856822] [<ffffffe000263d44>] clockevents_program_event+0x8a/0x96
[ 112.863390] [<ffffffe000244cb6>] put_prev_task_fair+0x16/0x38
[ 112.869329] [<ffffffe0002452d8>] pick_next_task_fair+0x78/0xb6
[ 112.875366] [<ffffffe00025cd3a>] ktime_get_real_ts64+0x32/0x7a
[ 112.881395] [<ffffffe00055ed3c>] __sys_sendto+0xac/0xb0
[ 112.886794] [<ffffffe00055ed4a>] sys_sendto+0xa/0x14
[ 112.891926] [<ffffffe0002619d8>] sys_clock_settime+0x5e/0x62
[ 112.897780] [<ffffffe00022805e>] check_syscall_nr+0x1e/0x22
[ 112.903583] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=104
[ 112.910265] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.916877] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 112.923567] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=105
[ 112.930970] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 112.937498] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 112.937585] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 112.937599] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 112.956589] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 112.963081] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=106
[ 112.963098] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 112.988023] ---[ end trace 45c05710e09c758c ]---
[ 112.992827] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=107
[ 112.992904] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.006641] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.013164] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.023548] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=108
[ 113.030279] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.036776] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.043110] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.056866] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=109
[ 113.063555] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.089598] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.096002] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=110
[ 113.096055] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.109189] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.115530] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.121808] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.128303] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=111
[ 113.128318] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.142196] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.156272] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.162688] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=112
[ 113.162740] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.175877] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.182198] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.188473] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.194969] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=113
[ 113.194986] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.208866] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.222908] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.229325] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=114
[ 113.229378] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.242541] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.248845] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.255700] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.262195] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=115
[ 113.262213] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.275523] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.289565] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.295980] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=116
[ 113.296032] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.309169] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.315473] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.321751] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.328248] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=117
[ 113.328265] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.342135] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.356209] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.362626] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=118
[ 113.362678] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.375850] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.382154] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.388427] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.394923] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=119
[ 113.394939] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.408877] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.422842] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.429259] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=120
[ 113.429312] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.442449] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.448754] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.455030] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.461527] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=121
[ 113.461543] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.475412] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.489495] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.495915] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=122
[ 113.495967] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.509167] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.515500] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.521786] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.528280] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=123
[ 113.528297] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.542180] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.556136] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.562555] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=124
[ 113.562609] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.575810] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.582142] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.588430] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.594926] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=125
[ 113.594943] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.608860] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.622780] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.629200] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=126
[ 113.629252] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.642446] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.648776] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.655060] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.661555] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=127
[ 113.661571] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.675463] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.689416] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.695834] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=128
[ 113.695886] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.709021] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.715326] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.721604] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.728100] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=129
[ 113.728117] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.741986] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.756078] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.762495] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=130
[ 113.762547] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.775681] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.781986] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.788264] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.794760] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=131
[ 113.794776] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.808655] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.822709] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.829126] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=132
[ 113.829180] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.842317] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.848622] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.854900] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.861395] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=133
[ 113.861413] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.875286] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.889345] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.895762] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=134
[ 113.895814] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.908952] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.915257] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.921537] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.928033] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=135
[ 113.928050] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 113.941917] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 113.955995] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 113.962413] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=136
[ 113.962464] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 113.975600] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 113.981905] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 113.988183] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 113.994681] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=137
[ 113.994698] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 114.008579] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 114.022653] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 114.029070] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=138
[ 114.029122] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 114.042255] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 114.048558] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 114.054836] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 114.061332] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=139
[ 114.061349] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 114.075220] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 114.089301] cvi_sc_cfg_cb:875(): online trig for snr-0. img(1:0:3)
[ 114.095717] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=140
[ 114.095770] cvi_vip_job_finish:844(): ****img(1) grp(0) finish****
[ 114.108929] cvi_img_device_run:437(): ****img(1) grp(0) start****
[ 114.115250] isp_pre_trig:451(): trigger fe_0 chn_num_0 frame_vld
[ 114.121521] vpss_handle_online_frame_done:2439(): grp(0) chn(0) end
[ 114.128016] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=141
[ 114.128033] _isp_postraw_shaw_done_handler:7126(): postraw shaw done
[ 114.141917] vpss_handle_online_frame_done:2439(): grp(0) chn(1) end
[ 114.154823] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: unmap_page_range+0x1bc/0x30c
[ 114.165616] ---[ end Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: unmap_page_range+0x1bc/0x30c ]---
We have reproduced this problem and have not yet found the root cause. We have asked the CPU manufacturer to assist in analysis.
Please try using firmware V1.1.1 or later. https://github.com/milkv-duo/duo-buildroot-sdk/releases
@carbonfix Seems to be working for me now. What did disabling "TPU_PERF_MODE" do? Does the NPU still run faster than the one in the regular Duo (the 64M one) and the Duo S?
Carbonfix answered the question on the forums - there is a hardware bug with the current revision of the Duo 256M, this halves the performance of the NPU but makes it stable.
As I have originally opened this issue I can now confirm that the script doesn't crash the kernel anymore and it even recognize my face in text mode, the messages that a face has been recognized appear in the scrolling log, but the RTSP "server" doesn't seem to work at all, either with VLC or Celluloid player on the latest Linux Mint, I will close this issue and open another one related to the video streaming.
Hello, both on individual board and using the carrier board the camera_test.sh starts and then crashes immediately with similar messages, both using the compiled image and the binary release milkv-duo256m-v1.0.8-2024-0130.img, please help:
[root@milkv-duo]~# camera-test.sh [SAMPLE_COMM_SNS_ParseIni]-1950: Parse /mnt/data/sensor_cfg.ini [parse_source_devnum]-1605: devNum = 1 [parse_sensor_name]-1686: sensor = GCORE_GC2083_MIPI_2M_30FPS_10BIT [parse_sensor_busid]-1714: bus_id = 2 [parse_sensor_i2caddr]-1725: sns_i2c_addr = 37 [parse_sensor_mipidev]-1736: mipi_dev = 0 [parse_sensor_laneid]-1747: Lane_id = 1, 0, 2, -1, -1 [parse_sensor_pnswap]-1758: pn_swap = 0, 0, 0, 0, 0 MMF Version:7e0cc6a08-musl_riscv64 Create VBPool[0], size: (3110400 3) = 9331200 bytes Create VBPool[1], size: (3110400 3) = 9331200 bytes Create VBPool[2], size: (2764800 * 1) = 2764800 bytes Total memory of VB pool: 21427200 bytes Initialize SYS and VB Initialize VI ISP Vipipe(0) Allocate pa(0x8c771000) va(0x0x3fe736d000) size(291120) stSnsrMode.u16Width 1920 stSnsrMode.u16Height 1080 25.000000 wdrMode 0 pstSnsObj 0x3fe7ea2400 [SAMPLE_COMM_VI_StartMIPI]-483: sensor 0 stDevAttr.devno 0 awbInit ver 6.8@2021500 0 R:1400 B:3100 CT:2850 1 R:1500 B:2500 CT:3900 2 R:2300 B:1600 CT:6500 Golden 1024 1024 1024 WB Quadratic:0 isWdr:0 ViPipe:0,===GC2083 1080P 30fps 10bit LINE Init OK!===
cvi_bin_isp message gerritId: 36403 commitId: c69c5863e
md5: cab880835a2ad5184de5ed7762404b84 sensorNum 1
sensorName0 2083
PQBIN message gerritId: 80171 commitId: 5c9d8fc5d
md5: ba5a510e093ad42db6788e6c2d13169e sensorNum 3
sensorName0 2053
author: wanqiang.he desc: 思博慧CV1812H_GC2083_RGB_mode_V1.0.0 createTime: 2023-08-04 16:48:08version: V1.1
tool Version: v3.0.5.24 mode:
sensorName(0) mismatch, mwSns:2083 != pqBinSns:2053 [SAMPLE_COMM_ISP_Thread]-95: ISP Dev 0 running! Initialize VPSS ---------VPSS[0]--------- Input size: (1920x1080) Input format: (19) VPSS physical device number: 1 Src Frame Rate: -1 Dst Frame Rate: -1 --------CHN[0]------- Output size: (1920x1080) Depth: 1 Do normalization: 0 Src Frame Rate: -1 Dst Frame Rate: -1
Bind VI with VPSS Grp(0), Chn(0) Attach VBPool(0) to VPSS Grp(0) Chn(0) Attach VBPool(1) to VPSS Grp(0) Chn(1) Initialize VENC venc codec: h264 venc frame size: 1920x1080 Initialize RTSP rtsp://10.42.0.216/h264 prio:0 version: 1.4.0 scrfd768432 Build at 2023-12-25 01:21:44 For platform cv181x Max SharedMem size:1658880 anchor:-8,-8,8,8 anchor:-16,-16,16,16 bbox:bbox_8_Conv_dequant landmark:kps_8_Conv_dequant score:score_8_Sigmoid_dequant anchor:-32,-32,32,32 anchor:-64,-64,64,64 bbox:bbox_16_Conv_dequant landmark:kps_16_Conv_dequant score:score_16_Sigmoid_dequant anchor:-128,-128,128,128 anchor:-256,-256,256,256 bbox:bbox_32_Conv_dequant landmark:kps_32_Conv_dequant score:score_32_Sigmoid_dequant Enter TDL thread Enter encoder thread 0 R:1165 B:3087 CT:2688 1 R:1464 B:2327 CT:3937 2 R:1974 B:1613 CT:7225 Golden 1464 1024 2327 wdrLEOnly:1 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 face count: 0 [ 451.777711] Unable to handle kernel NULL pointer dereference at virtual address 00000000000002a2 [ 451.786796] Oops [#1] [ 451.789142] Modules linked in: cv181x_pwm(FO) cv181x_ive(FO) cvi_vc_driver(FO) cv181x_jpeg(FO) cv181x_vcodec(FO) cv181x_tpu(FO) cv181x_clock_cooling(FO) cv181x_rgn(FO) cv181x_mipi_tx(FO) cv181x_vo(FO) cv181x_dwa(FO) cv181x_vpss(FO) cv181x_vi(FO) snsr_i2c(FO) cvi_mipi_rx(FO) cv1) [ 451.817022] CPU: 0 PID: 0 Comm: swapper Tainted: GF O 5.10.4-tag- #1 [ 451.824839] epc: 00000000000002a2 ra : ffffffe00061fb8c sp : ffffffe0007eff10 [ 451.832207] gp : ffffffe0008632c0 tp : ffffffe0007f4440 t0 : 0000000000000000 [ 451.839665] t1 : ffffffe000620798 t2 : 0000000000000000 s0 : ffffffe0007eff70 [ 451.847122] s1 : ffffffe0007f4440 a0 : 0000000000000000 a1 : 0000000000000000 [ 451.854580] a2 : 0000000000000000 a3 : 0000000000000001 a4 : ffffffffffffffff [ 451.862037] a5 : 0000000000000000 a6 : 0000000000000000 a7 : 0000000054494d45 [ 451.869494] s2 : 0000000000000000 s3 : ffffffe0007fbdc0 s4 : ffffffe0008640a8 [ 451.876952] s5 : 0000000000000001 s6 : 0000000000000000 s7 : 0000000000000000 [ 451.884409] s8 : 000000008b0c90b2 s9 : 0000000081ae02f8 s10: 0000000000000000 [ 451.891866] s11: 0000000000000003 t3 : 0000000000000000 t4 : 0000000000000150 [ 451.899322] t5 : 0000003fe6c89d80 t6 : 0000000000040000 [ 451.904808] status: 0000000200000100 badaddr: 00000000000002a2 cause: 000000000000000c [ 451.912980] Call Trace: [ 451.915530] [] schedule_idle+0xe/0x22
[ 451.920935] [] cpu_startup_entry+0x8/0xe
[ 451.926607] [] start_kernel+0x3f2/0x41c
[ 451.932211] vi_irq_handler:7325(): pre_fe_0 sof chn_num=0 frm_num=49
[ 451.938846] cvi_vip_job_finish:844(): img(1) grp(0) finish
[ 451.945852] ---[ end trace 8c9141ee810fbd9b ]---
[ 451.950657] Kernel panic - not syncing: Attempted to kill the idle task!
[ 451.957585] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---