still no luck. source still red

Forum for questions and support relating to the 1.24.x releases only.
Locked
suley
Posts: 1
Joined: Wed Mar 30, 2011 4:44 pm

still no luck. source still red

Post by suley »

I have been trying for days now with no luck.
have done these tips -
done this # ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
done this # adduser www-data video
done this Adding the following in /etc/sysctl.conf will make the changes automatically at boot time
kernel.shmall = 134217728
kernel.shmmax = 134217728
Camera works perfectly in cheese usb WinBook
added these lines to /usr/bin/zmdc.pl $ENV{LD_PRELOAD} = `/usr/lib/libv4l/v4l1compat.so`;
$ENV{LD_PRELOAD} = `/usr/lib/libv4l/v4l2convert.so`;
After I change settings I do this # /etc/init.d/zoneminder restart and get a success message.
under "general" I have source type "local" function "monitor", under source - device path /dev/video , capture method V4LV2 , device channel "0" , device format "NTSC" , capture pallette "GREY" , capture width and height 320 x 280
Function is "modect" which is green though source is /dev/video (0) which is always red
Just found the logs- zmdc[3372]: INF [Starting pending process, zmc -d /dev/video]
zmdc[3372]: INF ['zmc -d /dev/video' starting at 11/03/30 12:11:26, pid = 5180]
zmdc[5180]: INF ['zmc -d /dev/video' started at 11/03/30 12:11:26]
zmc_dvideo[5180]: INF [Debug Level = 0, Debug Log = <none>]
zmc_dvideo[5180]: INF [Starting Capture]
zmc_dvideo[5180]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
zma_m1[4697]: WAR [Waiting for capture daemon]
zma_m1[4697]: last message repeated 3 times
zms[5185]: INF [Debug Level = 0, Debug Log = <none>]
zma_m1[4697]: WAR [Waiting for capture daemon]
zma_m1[4697]: last message repeated 9 times
zms[5200]: INF [Debug Level = 0, Debug Log = <none>]
zma_m1[4697]: WAR [Waiting for capture daemon]
zma_m1[4697]: last message repeated 6 times
kernel: [ 2339.890212] __ratelimit: 4 callbacks suppressed
kernel: [ 2339.890218] v4l1compat.so[5211]: segfault at 1 ip 00000001 sp bf80a374 error 14
kernel: [ 2339.891146] v4l2convert.so[5212]: segfault at 1 ip 00000001 sp bfd5c664 error 14
zma_m1[4697]: WAR [Waiting for capture daemon]
kernel: [ 2340.044770] v4l1compat.so[5215]: segfault at 1 ip 00000001 sp bfd15304 error 14
kernel: [ 2340.045868] v4l2convert.so[5216]: segfault at 1 ip 00000001 sp bf845df4 error 14
kernel: [ 2340.195854] v4l1compat.so[5219]: segfault at 1 ip 00000001 sp bff54fe4 error 14
kernel: [ 2340.196715] v4l2convert.so[5220]: segfault at 1 ip 00000001 sp bfd46d34 error 14
zma_m1[4697]: WAR [Waiting for capture daemon]
zma_m1[4697]: WAR [Waiting for capture daemon]
zms[5225]: INF [Debug Level = 0, Debug Log = <none>]
zma_m1[4697]: WAR [Waiting for capture daemon]

Any ideas on what this means? Thanks
clipo
Posts: 101
Joined: Sat Sep 06, 2008 9:55 am
Location: Manchester, UK
Contact:

Re: still no luck. source still red

Post by clipo »

Try explain what the error is in detail and the system setup you are using.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: still no luck. source still red

Post by bb99 »

I hope it's this easy for you: change your device to /dev/video0 (0). Also the camera resolution and palette must match your ZM monitor configuration exactly, worth double checking.
Locked