Andy пишет:

On Thu, 16 Sep 2004 18:20:31 +0200
"Ronald S. Bultje" wrote:

RSB> Hi Andy,
RSB> RSB> On Thu, 2004-09-16 at 10:29, Andy Brown wrote:
RSB> > Sep 16 09:02:35 geostat kernel: ZORAN: get_high_mem() - requested
RSB> > 4194304, avail 262144
RSB> RSB> This suggests that the driver doesn't use bigphysarea. You have to
RSB> recompile the driver against the bigphysarea-patched kernel sources to
RSB> use bigphysarea in the kernel; did you do that?
RSB> RSB> Ronald


Hi Guys, thanks for your two suggestions. I followed dmitriy kuvshinov
suggestions, and also recompiled to make sure, but i'm still getting
similar problems:

Sep 16 20:45:17 geostat kernel: DC10(new)[0]: zoran_open(motion, pid=[2662]), users(-)=0
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: dc10plus_init()
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: jpeg_codec_sleep() - wake GPIO=0x89008888
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: enable_jpg(IDLE)
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: VIDIOCGCAP
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: VIDIOCGCHAN - channel=1
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: VIDIOCSCHAN - channel=1, norm=0
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: VIDIOCGMBUF
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: mmap(V4L) of 0x403e9000-0x40429000 (size=262144)
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: VIDIOCMCAPTURE - frame=0, geom=768x576, fmt=15
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: v4l_grab() - wrong bytes-per-pixel format
Sep 16 20:45:17 geostat motion: Failed with YUV420P, trying YUV422 palette Sep 16 20:45:17 geostat kernel: DC10(new)[0]: VIDIOCMCAPTURE - frame=0, geom=768x576, fmt=7
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: v4l_set_format() - video buffer size (128 kB) is too small
Sep 16 20:45:17 geostat motion: Failed with YUV422, trying RGB24 palette Sep 16 20:45:17 geostat kernel: DC10(new)[0]: VIDIOCMCAPTURE - frame=0, geom=768x576, fmt=4
Sep 16 20:45:17 geostat kernel: DC10(new)[0]: v4l_set_format() - video buffer size (128 kB) is too small
Sep 16 20:45:17 geostat motion: ioctl VIDIOCMCAPTURE: Invalid argument


But according to my kernel:
cat /proc/bigphysarea Big physical area, size 16384 kB
free list: used list:
number of blocks: 1 0
size of largest block: 16384 kB 0 kB
total: 16384 kB 0 kB


So i'm still a bit stuck! I've set
bigpages=10MB mem=366M bigphysarea=4096
in my bootloader as suggested, but still not getting any further.

Any other ideas guys??



There is a file "update" in the driver-zoran (./update dc10plus PAL)

It is contains that lines (in the bottom of the file):

$SUDO /sbin/insmod ./zoran.$mod_ext debug=3 card=$cardnum encoder=$encnum \
decoder=$decnum default_norm=$normnum lock_norm=0 pass_through=0 \
lml33dpath=1 # v4l_bufsize=1280

with comment about v4l_bufsize=1280.

When you update driver, may be you need uncomment this option?

In my update this option is a comment, becouse i setup this in my /etc/modules.conf

#alias usb-controller usb-uhci

alias eth0 8139too
options zoran card=2 v4l_bufsize=4096
alias char-major-81-0 zoran
alias char-major-81 zr36067
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci


I dont know about kernel boot option "bigpages" and i don't newer used this option.
My kernel boot option is (total memory: 217708k):


kernel /boot/vmlinuz-2.4.20-20.9observ mem=235M bigphysarea=4096 root=/dev/hda6 ro

dmitriy aka vilfred

p.s. sorry for my bad english



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to