您尚未登录。

楼主 #1 2021-04-14 12:08:26

uuid
会员
注册时间: 2020-12-08
已发帖子: 45
积分: 31

tiny200 tina 接tv 摄像头跑 mjpg-streamer 挂了

安装TV输入驱动:

insmod videobuf2-core.ko
insmod videobuf2-memops.ko
insmod videobuf2-dma-contig.ko
insmod tvin.ko

LD_LIBRARY_PATH=/usr/lib/:$LD_LIBRARY_PATH mjpg_streamer -i "input_uvc.so  -d /dev/video4" -o "output_http.so -p 8080 -w /www/webcam/"


root@TinaLinux:/tmp# LD_LIBRARY_PATH=/usr/lib/:$LD_LIBRARY_PATH mjpg_streamer -i
 "input_uvc.so  -d /dev/video4" -o "output_http.so -p 8080 -w /www/webcam/"
MJPG Streamer Version: svn rev:
 i: Using V4L2 device.: /dev/video4
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: not limited
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
ioctl (-1060350460) retried 4 times - giving up: Resource temporarily unavailable)
 o: www-folder-path...: /www/webcam/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled

离线

楼主 #2 2021-04-14 14:09:31

uuid
会员
注册时间: 2020-12-08
已发帖子: 45
积分: 31

Re: tiny200 tina 接tv 摄像头跑 mjpg-streamer 挂了

[ 1084.260061] tvd_open:
[ 1084.263619] __tvd_clk_init: dev->interface = 0, dev->system = 0
[ 1084.270367] div = 11
[ 1084.272809] __tvd_clk_init: parent = 297000000, clk = 27000000
[ 1084.290296] vidioc_s_fmt_vid_cap:
[ 1084.294008] interface=0
[ 1084.296718] system=0
[ 1084.299136] format=1
[ 1084.301706] width=720
[ 1084.304229] height=480
[ 1084.333673] __tvd_clk_init: dev->interface = 0, dev->system = 0
[ 1084.340404] div = 11
[ 1084.342844] __tvd_clk_init: parent = 297000000, clk = 27000000
[ 1084.352737] vidioc_reqbufs:
[ 1084.356041] queue_setup, buffer count=4, size=518400
[ 1084.375106] tvd_mmap: mmap called, vma=0xc0f7f528
[ 1084.381332] tvd_mmap: vma start=0xb6e84000, size=520192, ret=0
[ 1084.387949] tvd_mmap: mmap called, vma=0xc0f7f5d8
[ 1084.394380] tvd_mmap: vma start=0xb6e05000, size=520192, ret=0
[ 1084.401909] tvd_mmap: mmap called, vma=0xc1b01420
[ 1084.407280] tvd_mmap: vma start=0xb6d86000, size=520192, ret=0
[ 1084.415035] tvd_mmap: mmap called, vma=0xc1b01738
[ 1084.421243] tvd_mmap: vma start=0xb6d07000, size=520192, ret=0
[ 1084.429446] vidioc_enum_fmt_vid_cap:
[ 1084.434647] vidioc_enum_fmt_vid_cap:
[ 1084.440062] vidioc_enum_fmt_vid_cap:
[ 1084.445996] vidioc_enum_fmt_vid_cap:
[ 1084.451005] vidioc_enum_fmt_vid_cap:
[ 1084.455042] vidioc_enum_fmt_vid_cap:
[ 1084.459030] vidioc_enum_fmt_vid_cap:
[ 1084.464408] vidioc_enum_fmt_vid_cap:
[ 1084.468448] vidioc_enum_fmt_vid_cap:
[ 1084.473665] vidioc_enum_fmt_vid_cap:
[ 1084.477702] vidioc_enum_fmt_vid_cap:
[ 1084.482886] vidioc_enum_fmt_vid_cap:
[ 1084.486926] vidioc_enum_fmt_vid_cap:
[ 1084.492205] vidioc_enum_fmt_vid_cap:
[ 1084.496239] vidioc_enum_fmt_vid_cap:
[ 1084.515310] vidioc_streamon: dev->id=[0]
[ 1084.519699] start_streaming:
[ 1084.523140] [vidioc_streamon]: [934]
[ 1084.527107] [vidioc_streamon]: [936]
[ 1116.546702] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb8c00
[ 1116.588212] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9800
[ 1116.637450] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9400
[ 1116.678828] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9000
[ 1116.686649] No more free frame on next time
[ 1116.715894] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb8c00
[ 1116.723744] No more free frame on next time
[ 1116.758462] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9800
[ 1116.766310] tvd_isr: No more free frame
[ 1116.801006] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9400
[ 1116.808852] No more free frame on next time
[ 1116.843570] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9000
[ 1116.851417] No more free frame on next time
[ 1116.886130] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb8c00
[ 1116.928689] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9800
[ 1118.503420] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9400
[ 1130.548257] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9800
[ 1130.596810] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9400
[ 1130.638469] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9000
[ 1130.675568] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb8c00
[ 1130.718139] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9800
[ 1130.725988] No more free frame on next time
[ 1130.760691] tvd_isr: Nobody is waiting on this video buffer,buf = 0xc0fb9400
[ 1130.768540] tvd_isr: No more free frame
[ 1130.803294] Unable to handle kernel paging request at virtual address 4e98af9b
[ 1130.811333] pgd = c0fb4000
[ 1130.814338] [4e98af9b] *pgd=00000000
[ 1130.818319] Internal error: Oops: 1 [#1] ARM
[ 1130.823054] Modules linked in: tvin videobuf2_dma_contig videobuf2_memops videobuf2_core icn85xx_ts 8723bs snd_pcm_oss snd_mixer_oss snd_seq_device
[ 1130.837778] CPU: 0 PID: 255 Comm: mjpg_streamer Not tainted 3.10.65 #83
[ 1130.845121] task: c1832dc0 ti: c0fb0000 task.ti: c0fb0000
[ 1130.851155] PC is at tvd_isr+0x60/0x1a4 [tvin]
[ 1130.856107] LR is at handle_irq_event_percpu+0x38/0x1a4
[ 1130.861910] pc : [<bf1f559c>]    lr : [<c005f158>]    psr: 20000093
[ 1130.861910] sp : c0fb1ed8  ip : c0fb1ef8  fp : c0fb1ef4
[ 1130.874638] r10: c0593641  r9 : 80808080  r8 : 00000000
[ 1130.880432] r7 : c0e9d9d8  r6 : c0e9dc7c  r5 : c0e9dc7c  r4 : c0e9dc00
[ 1130.887669] r3 : 4e98aed3  r2 : 4e98af9b  r1 : 00000001  r0 : 00000070
[ 1130.894910] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[ 1130.902918] Control: 0005317f  Table: 80fb4000  DAC: 00000015
[ 1130.909284]
[ 1130.909284] LR: 0xc005f0d8:
[ 1130.914018] f0d8  c042dfe8 c042dff2 c042dffc c042e008 c042e014 c042e022 c042e02f c042e03c
[ 1130.923128] f0f8  c042e04c c042e058 c042e065 c04bb880 c0593820 e1a0c00d e92dd800 e24cb004
[ 1130.932237] f118  e3a00000 e89da800 e1a0c00d e92ddff0 e24cb004 e24dd00c e3a08000 e1a05000
[ 1130.941345] f138  e1a04001 e1a07008 e5906000 e59fa164 e5943000 e5941004 e1a00006 e12fff33
[ 1130.950455] f158  e1a09000 e10f3000 e3130080 1a00000e e5da3000 e3530000 1a000008 e5943000
[ 1130.959564] f178  e59f2134 e58d3000 e3a01092 e1a03006 e59f0128 ebfef219 e3a03001 e5ca3000
[ 1130.968670] f198  e10f3000 e3833080 e121f003 e3590001 0a00003d e3590002 1a00000f e5943010
[ 1130.977781] f1b8  e3530000 1a00001e e10f2000 e3823080 e121f003 e5943020 e3831002 e5841020
[ 1130.986895]
[ 1130.986895] SP: 0xc0fb1e58:
[ 1130.991629] 1e58  c04c043c 0000006b c0fb1e7c c0fb1e70 c00617e4 c0061790 bf1f559c 20000093
[ 1131.000738] 1e78  ffffffff c0fb1ec4 c0fb1ef4 c0fb1e90 c000f4b8 c000a1a0 00000070 00000001
[ 1131.009847] 1e98  4e98af9b 4e98aed3 c0e9dc00 c0e9dc7c c0e9dc7c c0e9d9d8 00000000 80808080
[ 1131.018957] 1eb8  c0593641 c0fb1ef4 c0fb1ef8 c0fb1ed8 c005f158 bf1f559c 20000093 ffffffff
[ 1131.028067] 1ed8  c0fdf040 c04c06a8 00000070 00000000 c0fb1f2c c0fb1ef8 c005f158 bf1f554c
[ 1131.037174] 1ef8  c1832df0 4774463a c0fb1f34 c04c06a8 00000070 00000000 80808080 80808080
[ 1131.046283] 1f18  80808080 80808080 c0fb1f44 c0fb1f30 c005f2f4 c005f130 c04c06a8 00000070
[ 1131.055393] 1f38  c0fb1f5c c0fb1f48 c00618bc c005f2d4 00000070 00000070 c0fb1f74 c0fb1f60
[ 1131.064501]
[ 1131.064501] IP: 0xc0fb1e78:
[ 1131.069234] 1e78  ffffffff c0fb1ec4 c0fb1ef4 c0fb1e90 c000f4b8 c000a1a0 00000070 00000001
[ 1131.078344] 1e98  4e98af9b 4e98aed3 c0e9dc00 c0e9dc7c c0e9dc7c c0e9d9d8 00000000 80808080
[ 1131.087451] 1eb8  c0593641 c0fb1ef4 c0fb1ef8 c0fb1ed8 c005f158 bf1f559c 20000093 ffffffff
[ 1131.096561] 1ed8  c0fdf040 c04c06a8 00000070 00000000 c0fb1f2c c0fb1ef8 c005f158 bf1f554c
[ 1131.105670] 1ef8  c1832df0 4774463a c0fb1f34 c04c06a8 00000070 00000000 80808080 80808080
[ 1131.114780] 1f18  80808080 80808080 c0fb1f44 c0fb1f30 c005f2f4 c005f130 c04c06a8 00000070
[ 1131.123888] 1f38  c0fb1f5c c0fb1f48 c00618bc c005f2d4 00000070 00000070 c0fb1f74 c0fb1f60
[ 1131.132999] 1f58  c005eb98 c00617f8 c04c7960 00000070 c0fb1f94 c0fb1f78 c00107d8 c005eb80
[ 1131.142111]
[ 1131.142111] FP: 0xc0fb1e74:
[ 1131.146845] 1e74  20000093 ffffffff c0fb1ec4 c0fb1ef4 c0fb1e90 c000f4b8 c000a1a0 00000070
[ 1131.155956] 1e94  00000001 4e98af9b 4e98aed3 c0e9dc00 c0e9dc7c c0e9dc7c c0e9d9d8 00000000
[ 1131.165067] 1eb4  80808080 c0593641 c0fb1ef4 c0fb1ef8 c0fb1ed8 c005f158 bf1f559c 20000093
[ 1131.174177] 1ed4  ffffffff c0fdf040 c04c06a8 00000070 00000000 c0fb1f2c c0fb1ef8 c005f158
[ 1131.183284] 1ef4  bf1f554c c1832df0 4774463a c0fb1f34 c04c06a8 00000070 00000000 80808080
[ 1131.192391] 1f14  80808080 80808080 80808080 c0fb1f44 c0fb1f30 c005f2f4 c005f130 c04c06a8
[ 1131.201500] 1f34  00000070 c0fb1f5c c0fb1f48 c00618bc c005f2d4 00000070 00000070 c0fb1f74
[ 1131.210607] 1f54  c0fb1f60 c005eb98 c00617f8 c04c7960 00000070 c0fb1f94 c0fb1f78 c00107d8
[ 1131.219722]
[ 1131.219722] R4: 0xc0e9db80:
[ 1131.224456] db80  00000000 3b9aca00 c0e9dbac c0e9db98 80000093 c059aec0 ff676980 6b280000
[ 1131.233564] dba0  000000ee 00000000 c0e9dbdc c0e9dbb8 c00120bc c0289034 c0e86b30 4e979ce6
[ 1131.242674] dbc0  005b8d80 00000000 00000000 00000002 c0e9dbfc c0e9dbe0 c0041584 c004136c
[ 1131.251783] dbe0  00000000 00000002 c04bb3d0 c0e86b30 c0e9dc24 c0e9dc00 c0e86b30 4e98aed3
[ 1131.260892] dc00  bf1f8a18 bf1f8a18 c1862a10 c0e9dc0c c0e9dc0c 5f647674 326c3476 7665645f
[ 1131.270003] dc20  00000030 00000000 00000000 00000000 00000000 00000000 00000000 c0e9de74
[ 1131.279108] dc40  00000000 00000000 00000000 00000000 00000001 c0e9dc54 c0e9dc54 00000002
[ 1131.288215] dc60  00000000 00000000 c1862a00 00000000 00000000 00000001 c1b66800 c0e9dc7c
[ 1131.297325]
[ 1131.297325] R5: 0xc0e9dbfc:
[ 1131.302059] dbfc  4e98aed3 bf1f8a18 bf1f8a18 c1862a10 c0e9dc0c c0e9dc0c 5f647674 326c3476
[ 1131.311169] dc1c  7665645f 00000030 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.320275] dc3c  c0e9de74 00000000 00000000 00000000 00000000 00000001 c0e9dc54 c0e9dc54
[ 1131.329386] dc5c  00000002 00000000 00000000 c1862a00 00000000 00000000 00000001 c1b66800
[ 1131.338494] dc7c  c0e9dc7c c0e9dc7c 00000000 00013274 0000b4aa 00014485 00000000 00000000
[ 1131.347601] dc9c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.356707] dcbc  00000001 00000000 000002d0 000001e0 00000001 00000000 00000000 000002d0
[ 1131.365810] dcdc  000001e0 0007e900 00000000 c0e98e60 00000001 00000017 00000000 00000000
[ 1131.374920]
[ 1131.374920] R6: 0xc0e9dbfc:
[ 1131.379654] dbfc  4e98aed3 bf1f8a18 bf1f8a18 c1862a10 c0e9dc0c c0e9dc0c 5f647674 326c3476
[ 1131.388767] dc1c  7665645f 00000030 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.397874] dc3c  c0e9de74 00000000 00000000 00000000 00000000 00000001 c0e9dc54 c0e9dc54
[ 1131.406983] dc5c  00000002 00000000 00000000 c1862a00 00000000 00000000 00000001 c1b66800
[ 1131.416091] dc7c  c0e9dc7c c0e9dc7c 00000000 00013274 0000b4aa 00014485 00000000 00000000
[ 1131.425201] dc9c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.434307] dcbc  00000001 00000000 000002d0 000001e0 00000001 00000000 00000000 000002d0
[ 1131.443414] dcdc  000001e0 0007e900 00000000 c0e98e60 00000001 00000017 00000000 00000000
[ 1131.452524]
[ 1131.452524] R7: 0xc0e9d958:
[ 1131.457259] d958  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.466366] d978  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.475473] d998  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.484581] d9b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.493688] d9d8  00000000 00000000 00000000 00000000 00000000 00000000 c0e86b30 4ba7ea54
[ 1131.502796] d9f8  c0e9da2c 00000000 6fecf2e7 c0592e6c 60000013 c059cf88 c0592e6c c06524f0
[ 1131.511903] da18  c0592e6c 60000013 c0e9daa4 c0e9da30 c006ce8c c006bc78 00000041 c003f07c
[ 1131.521014] da38  00000001 c065250c c0e9da64 c0e9da50 c01a8dec c01a8d98 c18f0380 c18f0380
[ 1131.530127]
[ 1131.530127] R10: 0xc05935c1:
[ 1131.534957] 35c0  00100100 00200200 00000000 00000040 00000000 c02dafc4 00000000 00000000
[ 1131.544066] 35e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.553173] 3600  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.562281] 3620  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.571390] 3640  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.580499] 3660  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.589608] 3680  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.598714] 36a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.607822] 36c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1131.616936] Process mjpg_streamer (pid: 255, stack limit = 0xc0fb01b8)
[ 1131.624173] Stack: (0xc0fb1ed8 to 0xc0fb2000)
[ 1131.629013] 1ec0:                                                       c0fdf040 c04c06a8
[ 1131.638093] 1ee0: 00000070 00000000 c0fb1f2c c0fb1ef8 c005f158 bf1f554c c1832df0 4774463a
[ 1131.647174] 1f00: c0fb1f34 c04c06a8 00000070 00000000 80808080 80808080 80808080 80808080
[ 1131.656257] 1f20: c0fb1f44 c0fb1f30 c005f2f4 c005f130 c04c06a8 00000070 c0fb1f5c c0fb1f48
[ 1131.665339] 1f40: c00618bc c005f2d4 00000070 00000070 c0fb1f74 c0fb1f60 c005eb98 c00617f8
[ 1131.674421] 1f60: c04c7960 00000070 c0fb1f94 c0fb1f78 c00107d8 c005eb80 c059eac0 c0fb1fb0
[ 1131.683503] 1f80: ffffffff 80808080 c0fb1fac c0fb1f98 c000a314 c0010778 b6fca0a4 20000010
[ 1131.692585] 1fa0: 00000000 c0fb1fb0 c000f6c8 c000a2e8 b6ccd920 b6de3930 00020fd0 00000010
[ 1131.701667] 1fc0: 80808080 80808080 80808080 80808080 80808080 80808080 80808080 80808080
[ 1131.710747] 1fe0: 00000000 b6b26868 b6f46174 b6fca0a4 20000010 ffffffff 00000000 00000000
[ 1131.719806] Backtrace:
[ 1131.722589] [<bf1f553c>] (tvd_isr+0x0/0x1a4 [tvin]) from [<c005f158>] (handle_irq_event_percpu+0x38/0x1a4)
[ 1131.733293]  r7:00000000 r6:00000070 r5:c04c06a8 r4:c0fdf040
[ 1131.739618] [<c005f120>] (handle_irq_event_percpu+0x0/0x1a4) from [<c005f2f4>] (handle_irq_event+0x30/0x40)
[ 1131.750446] [<c005f2c4>] (handle_irq_event+0x0/0x40) from [<c00618bc>] (handle_level_irq+0xd4/0xe4)
[ 1131.760469]  r5:00000070 r4:c04c06a8
[ 1131.764462] [<c00617e8>] (handle_level_irq+0x0/0xe4) from [<c005eb98>] (generic_handle_irq+0x28/0x38)
[ 1131.774678]  r5:00000070 r4:00000070
[ 1131.778687] [<c005eb70>] (generic_handle_irq+0x0/0x38) from [<c00107d8>] (handle_IRQ+0x70/0x88)
[ 1131.788328]  r5:00000070 r4:c04c7960
[ 1131.792324] [<c0010768>] (handle_IRQ+0x0/0x88) from [<c000a314>] (sun3i_handle_irq+0x3c/0x44)
[ 1131.801771]  r7:80808080 r6:ffffffff r5:c0fb1fb0 r4:c059eac0
[ 1131.808087] [<c000a2d8>] (sun3i_handle_irq+0x0/0x44) from [<c000f6c8>] (__irq_usr+0x48/0x60)
[ 1131.817442] Exception stack(0xc0fb1fb0 to 0xc0fb1ff8)
[ 1131.823052] 1fa0:                                     b6ccd920 b6de3930 00020fd0 00000010
[ 1131.832136] 1fc0: 80808080 80808080 80808080 80808080 80808080 80808080 80808080 80808080
[ 1131.841211] 1fe0: 00000000 b6b26868 b6f46174 b6fca0a4 20000010 ffffffff
[ 1131.848540]  r5:20000010 r4:b6fca0a4
[ 1131.852526] Code: e594507c e5153080 e2457fa9 e28320c8 (e59330c8)
[ 1131.859306] ---[ end trace 86da1e7699facbf8 ]---
[ 1131.864428] Kernel panic - not syncing: Fatal exception in interrupt

日志 : (

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn