Hi all,
My aim is to set up a real time video capture system via DM6446 board
(2.6.10_mvl402) in linux(Centos5 2.6.18-8.el5).
I use a CCD Color camera(PAL) via BNC connecter and a Color TFT LCD
Monitor(PAL).
I set the SW3-10 to on.
The problems came out when I encode and decode the demos:
root=/dev/hda1
[EMAIL PROTECTED]:/opt/dvevm#./loadmodules.sh
insmod:error inserting'cmemk.ko': -1File exists
insmod:error inserting'dsplinkk.ko':-1 File exists
[EMAIL PROTECTED]:/opt/dvevm#./encode -v test.mpeg4 -t 20
Encode demo started
Win:1, hfactor:0,vfactor:0
Capturing 720*480video
[]
System halt.
Ctrl+c
#####################
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd=cfa3c000
[00000000]*pgd=8fa45334,*pte=01801b29,*ppte=003da44f
Internal error:Oops:895[#1]
Modules linked in : ipv6 dsplinkk cmemk
CPU:0
PC is at queue_delayed_work+0x54/0xa0
LR is at 0xcfa5c0ec
pc:[<c004c8b8>] Ir:[<cfa5c0ec>] Tainted:PF
sp:cfc29eb8 ip:cfa5c0d4 fp:cfc29ed0
r10:00000100 r9:cfc29f08 r8:00000003
r7:cfa5c000 r6:00000001 r5:cfc0ff20 r4:00000000
r3:01820162 r2:cfa5c0d8 r1:0280be7e r0:cfa5c0ec
Flags:nzCv IRQs on FIQs on Mode SVC_32 Segment user
Control:5317F Table:8FA3C000 DAC:00000015
Process init(pid:1, stack limit=0xcfc28198)
Stack:(0xcfc29eb8 to 0xcfc2a000)
...
<0>Kernel panic- not syncing:Aiee,killing interrupt handler!
##################################
[EMAIL PROTECTED]:/opt/dvevm#./decode -v
/opt/dvevm/data/videos/davincieffect_pal.mpeg4
Decode demo started.
win:1,hfactor:0,vfactor:0
#######################################
BUG:scheduling while atomic:decode/0x00000001/1172
caller is schedule+0xec/0x12c
Alignment trap:klogd(994) PC=0x400clb58 Instr=0xd190a2f5 Address=0x000149cl Fl
BUG:scheduling while atomic:klogd/0x00000001/994
caller is schedule+0xec/0x12c
BUG:scheduling while atomic:interface/0x00000001/1094
caller is schedule+0xec/0x12c
Unable to handle kernel paging request at virtual address 04400a54
pgd=c0004000
[04400a54]*pgd=00000000
Internal error:Oops:805[#1]
Modules linked in :ipv6 dsplinkk cmemk
CPU:0
PC is at free_block+0x58/0x120
LR is at drain_arry_locked+0x84/0xa4
pc:[<c0062088>] Ir:[<c0062ld4>] Tainted:PF
.....
BUG: scheduling while atomic:events/0/0x00000001/4
caller is do_exit+0xd5c/0xdc0
Alignment trap:syslogd(986) PC=0x40094204 Instr=0x05183ca3 Address=0xbeffefb51
BUG: scheduling while atomic:syslogd/0x00000001/986
caller is schedule+0xec/0x 12c
[]
System halt.
Ctrl+c can't work and have to restart.
##############################################
I check the system like below:
/opt/dvevm#ls -ltr test.mpeg4
-rw-r--r-- l root root 0 Jan 1 12:02 test.mpeg4
#lsmod
Module Size Used by
ipv6 274616 8
dsplinkk 65800 0
cmemk 8668 0
#dmesg
video=dm64xxfb:output=pal
davincifb:Options"output=pal"
DaVinci: Output on PAL in COMPOSITE format,Enabled windows:Video0 Video1 OSD0
OSD1
Linux video capture interface:v1.00
Registering platform device 'vpfe1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded.
cmemk: module license'(c) Texas Instruments' taints kernel.
cmem initialized 3pools beween 0x87800000 and 0x88000000
dsplinkk: no version for "struct_module" found: kernel tainted.
#cat /proc/devices
81 video0
#/sbin/lspci
pcilib: Cannot open /sys/bus/pci/devices
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method
Any advices?
How to make the encode and decode work?
Thank you for your kindly help!
Lynn
---------------------------------
雅虎邮箱,您的终生邮箱!
---------------------------------
雅虎邮箱,您的终生邮箱!_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source