Ubuntu 10.04 LTS - Issues with Cameras

Forum for questions and support relating to the 1.24.x releases only.
Locked
GrangerTech
Posts: 14
Joined: Wed Jul 27, 2011 3:32 pm

Ubuntu 10.04 LTS - Issues with Cameras

Post by GrangerTech »

Ok this is fresh install of Ubuntu 10.04 LTS with Zoneminder installed.

The first two cameras work when I add them. However when I add the third none of them work and even after erasing the third none of them work.

The Camera's are all CCTV Q-see cameras hooked up To a pv-981-16 Card via bnc cables.

Here's the errors im getting in my logs:

==> /var/log/messages <==
Feb 21 10:32:22 zoneminder zmdc[2423]: INF [Starting pending process, zmc -d /dev/video0]
Feb 21 10:32:22 zoneminder zmdc[2423]: INF ['zmc -d /dev/video0' starting at 12/02/21 10:32:22, pid = 2537]
Feb 21 10:32:22 zoneminder zmdc[2537]: INF ['zmc -d /dev/video0' started at 12/02/21 10:32:22]
Feb 21 10:32:22 zoneminder zmc_dvideo0[2537]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 10:32:22 zoneminder zmc_dvideo0[2537]: INF [Starting Capture]

==> /tmp/zmdc.log <==
02/21/12 10:32:22.042637 zmdc[2423].INF [Starting pending process, zmc -d /dev/video0]
02/21/12 10:32:22.044217 zmdc[2423].INF ['zmc -d /dev/video0' starting at 12/02/21 10:32:22, pid = 2537]
02/21/12 10:32:22.147548 zmdc[2423].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

This is only with two monitors added, one is video0 channel 0 the other is video0 channel one.
The settings on both are:
NTSCAlso if I add a third camera I get a lot of shared memory issues (file not found)

However when changing the memory in schmall and schmax it still doesnt fix the issue.

Also I had this system working on a version of debian so im not sure what is causeing it now.
PAL
GREY
320
240

Permissions of video cards

root@zoneminder:/home/zoneminder# ls -l /dev/video*
crw-rw-rw-+ 1 root video 81, 0 2012-02-21 10:17 /dev/video0
crw-rw----+ 1 root video 81, 1 2012-02-21 10:17 /dev/video1
crw-rw----+ 1 root video 81, 3 2012-02-21 10:17 /dev/video2
crw-rw----+ 1 root video 81, 5 2012-02-21 10:17 /dev/video3
crw-rw----+ 1 root video 81, 7 2012-02-21 10:17 /dev/video4

I also added this to my modules file
options bttv card=77,77,77,77

Any suggestions would be appreciated, ive spent 3 days reading these forums, the wiki and the ubuntforums with no success.

Thanks
GrangerTech
Posts: 14
Joined: Wed Jul 27, 2011 3:32 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by GrangerTech »

output of ipcs -l:

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 163840
max total shared memory (kbytes) = 671088640
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767

------ Messages: Limits --------
max queues system wide = 7419
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
zSeries
Posts: 30
Joined: Thu Aug 18, 2011 12:43 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by zSeries »

Just a suggestion, try looking at the output from

zmu -q -d /dev/video0 -v

Did the video sources change when you added the third camera e.g. video0 became video1 and video1 became video2?
GrangerTech
Posts: 14
Joined: Wed Jul 27, 2011 3:32 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by GrangerTech »

Heres what I just got for doing that:

root@zoneminder:/home/zoneminder# zmu -q -d /dev/video0 -v
Error, failed to query crop /dev/video0: Invalid argument


But when I do it on video1 i get the following.

root@zoneminder:/home/zoneminder# sudo zmu -q -d /dev/video1 -v
Video Device: /dev/video1
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:03:00.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
root@zoneminder:/home/zoneminder# sudo zmu -q -d /dev/video2 -v
Video Device: /dev/video2
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:03:01.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
root@zoneminder:/home/zoneminder# sudo zmu -q -d /dev/video3 -v
Video Device: /dev/video3
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:03:02.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
root@zoneminder:/home/zoneminder# sudo zmu -q -d /dev/video4 -v
Video Device: /dev/video4
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:03:03.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal not detected (X)
Colour Signal detected
Horizontal Lock not detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
root@zoneminder:/home/zoneminder# sudo zmu -q -d /dev/video5 -v
Error, failed to open video device /dev/video5: Invalid argument
root@zoneminder:/home/zoneminder# sudo zmu -q -d /dev/video1 -v
Video Device: /dev/video1
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV150)
Bus: PCI:0000:03:00.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 1063 x 608
Default: 924 x 576
Current: 924 x 576
Inputs: 2
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected

Im not sure why video0 cannot do it.

Also Video0-3 is my dvr. I have a Video4 which is a webcam.

Thanks
GrangerTech
Posts: 14
Joined: Wed Jul 27, 2011 3:32 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by GrangerTech »

Also I just noticed something else here.

When I add Video1 Channel 0- I get a working camera
When I add Video1 Channel 1 - I get a working camera
When I add Video0 Channel 0 - Camera doesn't work and it breaks the other two on Video1.
Also it seemed to break Video0 Channel0 because I added that rbefore hand.
zSeries
Posts: 30
Joined: Thu Aug 18, 2011 12:43 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by zSeries »

OK. I would turn on debugging in the options. (Options > Debug Tab and set Extra_debug on and level 9).
Add the cameras in sequence again. Browse the logs in /tmp and see if you can see any errors.
GrangerTech
Posts: 14
Joined: Wed Jul 27, 2011 3:32 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by GrangerTech »

Ok when I try to add a camera on video0 channel 0 I get this in my logs

==> /var/log/messages <==
Feb 21 17:34:11 zoneminder zmdc[18933]: WAR [Can't find process with command of 'zmc -d /dev/video0']
Feb 21 17:34:11 zoneminder zmdc[18933]: INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:11, pid = 18976]
Feb 21 17:34:11 zoneminder zmdc[18976]: INF ['zmc -d /dev/video0' started at 12/02/21 17:34:11]
Feb 21 17:34:11 zoneminder zmc_dvideo0[18976]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:34:11 zoneminder zmc_dvideo0[18976]: INF [Starting Capture]
Feb 21 17:34:11 zoneminder zmdc[18933]: WAR [Can't find process with command of 'zma -m 8']
Feb 21 17:34:11 zoneminder zmdc[18933]: INF [Starting pending process, zmc -d /dev/video0]
Feb 21 17:34:11 zoneminder zmdc[18933]: INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:11, pid = 18979]
Feb 21 17:34:11 zoneminder zmdc[18979]: INF ['zmc -d /dev/video0' started at 12/02/21 17:34:11]
Feb 21 17:34:11 zoneminder zmc_dvideo0[18979]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:34:11 zoneminder zmc_dvideo0[18979]: INF [Starting Capture]

==> /tmp/zmdc.log <==
02/21/12 17:34:11.275314 zmdc[18933].WAR [Can't find process with command of 'zmc -d /dev/video0']
02/21/12 17:34:11.376623 zmdc[18933].INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:11, pid = 18976]
02/21/12 17:34:11.466765 zmdc[18933].WAR [Can't find process with command of 'zma -m 8']
02/21/12 17:34:11.472848 zmdc[18933].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
02/21/12 17:34:11.473292 zmdc[18933].INF [Starting pending process, zmc -d /dev/video0]
02/21/12 17:34:11.474729 zmdc[18933].INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:11, pid = 18979]
02/21/12 17:34:11.554411 zmdc[18933].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

==> /var/log/messages <==
Feb 21 17:34:16 zoneminder zmdc[18933]: INF [Starting pending process, zmc -d /dev/video0]
Feb 21 17:34:16 zoneminder zmdc[18933]: INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:16, pid = 18993]
Feb 21 17:34:16 zoneminder zmdc[18993]: INF ['zmc -d /dev/video0' started at 12/02/21 17:34:16]
Feb 21 17:34:16 zoneminder zmc_dvideo0[18993]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:34:16 zoneminder zmc_dvideo0[18993]: INF [Starting Capture]

==> /tmp/zmdc.log <==
02/21/12 17:34:16.073930 zmdc[18933].INF [Starting pending process, zmc -d /dev/video0]
02/21/12 17:34:16.075493 zmdc[18933].INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:16, pid = 18993]
02/21/12 17:34:16.171876 zmdc[18933].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

==> /var/log/messages <==
Feb 21 17:34:26 zoneminder zmdc[18933]: INF [Starting pending process, zmc -d /dev/video0]
Feb 21 17:34:26 zoneminder zmdc[18933]: INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:26, pid = 18994]
Feb 21 17:34:26 zoneminder zmdc[18994]: INF ['zmc -d /dev/video0' started at 12/02/21 17:34:26]
Feb 21 17:34:26 zoneminder zmc_dvideo0[18994]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:34:26 zoneminder zmc_dvideo0[18994]: INF [Starting Capture]

==> /tmp/zmdc.log <==
02/21/12 17:34:26.093598 zmdc[18933].INF [Starting pending process, zmc -d /dev/video0]
02/21/12 17:34:26.095206 zmdc[18933].INF ['zmc -d /dev/video0' starting at 12/02/21 17:34:26, pid = 18994]
02/21/12 17:34:26.183125 zmdc[18933].ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

==> /tmp/zmwatch.log <==
02/21/12 13:40:32.776724 zmwatch[5196].ERR [Can't get shared memory id '7a6d0006', 6: No such file or directory]
02/21/12 13:40:32.777902 zmwatch[5196].ERR [Can't get shared memory id '7a6d0007', 7: No such file or directory]
02/21/12 13:40:42.778894 zmwatch[5196].ERR [Can't get shared memory id '7a6d0006', 6: No such file or directory]
02/21/12 13:40:42.780071 zmwatch[5196].ERR [Can't get shared memory id '7a6d0007', 7: No such file or directory]
02/21/12 13:40:52.780771 zmwatch[5196].ERR [Can't get shared memory id '7a6d0006', 6: No such file or directory]
02/21/12 13:40:52.781261 zmwatch[5196].ERR [Can't get shared memory id '7a6d0007', 7: No such file or directory]
02/21/12 13:42:44.903091 zmwatch[5469].INF [Watchdog starting]
02/21/12 13:42:44.903290 zmwatch[5469].INF [Watchdog pausing for 30 seconds]
02/21/12 17:33:30.502974 zmwatch[18959].INF [Watchdog starting]
02/21/12 17:33:30.503135 zmwatch[18959].INF [Watchdog pausing for 30 seconds]


Now when I try to add video1 channel 0 the camera shows and I don't seem to be getting an errors
Same thing goes for video1 channel 1

However when I add video1 channel 3 it doesnt show a camera and the other two cameras on video1

Here are the errors generated then:

==> /var/log/messages <==
Feb 21 17:40:04 zoneminder zmdc[18933]: INF ['zmc -d /dev/video1' stopping at 12/02/21 17:40:04]
Feb 21 17:40:04 zoneminder zmc_dvideo1[19053]: INF [Got signal 15 (Terminated), exiting]
Feb 21 17:40:04 zoneminder zms[19066]: WAR [Unable to store frame as shared memory invalid]
Feb 21 17:40:04 zoneminder zmdc[18933]: INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:04, pid = 19086]
Feb 21 17:40:04 zoneminder zmdc[19086]: INF ['zmc -d /dev/video1' started at 12/02/21 17:40:04]
Feb 21 17:40:04 zoneminder zmc_dvideo1[19086]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:40:04 zoneminder zmc_dvideo1[19086]: INF [Starting Capture]
Feb 21 17:40:04 zoneminder zmdc[18933]: WAR [Can't find process with command of 'zma -m 11']
Feb 21 17:40:05 zoneminder zms[19066]: WAR [Unable to store frame as timestamp invalid]

==> /tmp/zmdc.log <==
02/21/12 17:40:04.555598 zmdc[18933].INF ['zmc -d /dev/video1' stopping at 12/02/21 17:40:04]
02/21/12 17:40:04.602417 zmdc[18933].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
02/21/12 17:40:04.706528 zmdc[18933].INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:04, pid = 19086]
02/21/12 17:40:04.793877 zmdc[18933].WAR [Can't find process with command of 'zma -m 11']

==> /var/log/messages <==
Feb 21 17:40:05 zoneminder zmdc[18933]: INF [Starting pending process, zmc -d /dev/video1]
Feb 21 17:40:05 zoneminder zmdc[18933]: INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:05, pid = 19099]
Feb 21 17:40:05 zoneminder zmdc[19099]: INF ['zmc -d /dev/video1' started at 12/02/21 17:40:05]
Feb 21 17:40:05 zoneminder zmc_dvideo1[19099]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:40:05 zoneminder zmc_dvideo1[19099]: INF [Starting Capture]
Feb 21 17:40:06 zoneminder zms[19066]: WAR [Unable to store frame as timestamp invalid]

==> /tmp/zmdc.log <==
02/21/12 17:40:05.927276 zmdc[18933].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
02/21/12 17:40:05.927717 zmdc[18933].INF [Starting pending process, zmc -d /dev/video1]
02/21/12 17:40:05.929141 zmdc[18933].INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:05, pid = 19099]
02/21/12 17:40:07.195189 zmdc[18933].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]

==> /var/log/messages <==
Feb 21 17:40:09 zoneminder zms[19100]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:40:09 zoneminder zms[19100]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Feb 21 17:40:09 zoneminder zms[19100]: WAR [Unable to store frame as shared memory invalid]

==> /tmp/zmwatch.log <==
02/21/12 17:40:10.555675 zmwatch[18959].ERR [Can't get shared memory id '7a6d0009', 9: No such file or directory]

==> /var/log/messages <==
Feb 21 17:40:12 zoneminder zmdc[18933]: INF [Starting pending process, zmc -d /dev/video1]
Feb 21 17:40:12 zoneminder zmdc[18933]: INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:12, pid = 19101]
Feb 21 17:40:12 zoneminder zmdc[19101]: INF ['zmc -d /dev/video1' started at 12/02/21 17:40:12]
Feb 21 17:40:12 zoneminder zmc_dvideo1[19101]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:40:12 zoneminder zmc_dvideo1[19101]: INF [Starting Capture]
Feb 21 17:40:12 zoneminder zms[19066]: WAR [Unable to store frame as timestamp invalid]
Feb 21 17:40:12 zoneminder zms[19100]: WAR [Unable to store frame as timestamp invalid]

==> /tmp/zmdc.log <==
02/21/12 17:40:12.004990 zmdc[18933].INF [Starting pending process, zmc -d /dev/video1]
02/21/12 17:40:12.006568 zmdc[18933].INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:12, pid = 19101]
02/21/12 17:40:13.267599 zmdc[18933].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]

==> /var/log/messages <==
Feb 21 17:40:13 zoneminder zms[19100]: WAR [Unable to store frame as shared memory invalid]

==> /tmp/zmwatch.log <==
02/21/12 17:40:20.557849 zmwatch[18959].ERR [Can't get shared memory id '7a6d0009', 9: No such file or directory]

==> /var/log/messages <==
Feb 21 17:40:23 zoneminder zmdc[18933]: INF [Starting pending process, zmc -d /dev/video1]
Feb 21 17:40:23 zoneminder zmdc[18933]: INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:23, pid = 19102]
Feb 21 17:40:23 zoneminder zmdc[19102]: INF ['zmc -d /dev/video1' started at 12/02/21 17:40:23]
Feb 21 17:40:23 zoneminder zmc_dvideo1[19102]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:40:23 zoneminder zmc_dvideo1[19102]: INF [Starting Capture]
Feb 21 17:40:23 zoneminder zms[19100]: WAR [Unable to store frame as timestamp invalid]

==> /tmp/zmdc.log <==
02/21/12 17:40:23.088503 zmdc[18933].INF [Starting pending process, zmc -d /dev/video1]
02/21/12 17:40:23.090076 zmdc[18933].INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:23, pid = 19102]

==> /var/log/messages <==
Feb 21 17:40:24 zoneminder zms[19100]: INF [Got signal 15 (Terminated), exiting]
Feb 21 17:40:24 zoneminder zms[19100]: WAR [Unable to store frame as shared memory invalid]

==> /tmp/zmdc.log <==
02/21/12 17:40:24.347905 zmdc[18933].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]

==> /tmp/zmwatch.log <==
02/21/12 17:40:30.559977 zmwatch[18959].ERR [Can't get shared memory id '7a6d0009', 9: No such file or directory]
02/21/12 17:40:30.560460 zmwatch[18959].ERR [Can't get shared memory id '7a6d000a', 10: No such file or directory]
02/21/12 17:40:40.562212 zmwatch[18959].ERR [Can't get shared memory id '7a6d0009', 9: No such file or directory]
02/21/12 17:40:40.562699 zmwatch[18959].ERR [Can't get shared memory id '7a6d000a', 10: No such file or directory]

==> /var/log/messages <==
Feb 21 17:40:44 zoneminder zmdc[18933]: INF [Starting pending process, zmc -d /dev/video1]
Feb 21 17:40:44 zoneminder zmdc[18933]: INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:44, pid = 19105]
Feb 21 17:40:44 zoneminder zmdc[19105]: INF ['zmc -d /dev/video1' started at 12/02/21 17:40:44]
Feb 21 17:40:44 zoneminder zmc_dvideo1[19105]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 17:40:44 zoneminder zmc_dvideo1[19105]: INF [Starting Capture]

==> /tmp/zmdc.log <==
02/21/12 17:40:44.088463 zmdc[18933].INF [Starting pending process, zmc -d /dev/video1]
02/21/12 17:40:44.090014 zmdc[18933].INF ['zmc -d /dev/video1' starting at 12/02/21 17:40:44, pid = 19105]
02/21/12 17:40:45.405803 zmdc[18933].ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]

==> /tmp/zmwatch.log <==
02/21/12 17:40:50.564516 zmwatch[18959].ERR [Can't get shared memory id '7a6d0009', 9: No such file or directory]
02/21/12 17:40:50.565013 zmwatch[18959].ERR [Can't get shared memory id '7a6d000a', 10: No such file or directory]
02/21/12 17:40:50.565361 zmwatch[18959].ERR [Can't get shared memory id '7a6d000b', 11: No such file or directory]
02/21/12 17:41:00.566812 zmwatch[18959].ERR [Can't get shared memory id '7a6d0009', 9: No such file or directory]
02/21/12 17:41:00.567300 zmwatch[18959].ERR [Can't get shared memory id '7a6d000a', 10: No such file or directory]
02/21/12 17:41:00.567646 zmwatch[18959].ERR [Can't get shared memory id '7a6d000b', 11: No such file or directory]
02/21/12 17:41:10.569101 zmwatch[18959].ERR [Can't get shared memory id '7a6d0009', 9: No such file or directory]
02/21/12 17:41:10.569589 zmwatch[18959].ERR [Can't get shared memory id '7a6d000a', 10: No such file or directory]
02/21/12 17:41:10.569936 zmwatch[18959].ERR [Can't get shared memory id '7a6d000b', 11: No such file or directory]
zSeries
Posts: 30
Joined: Thu Aug 18, 2011 12:43 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by zSeries »

It looks just like a memory problem. Increase shmall and shmmax and try again.

Check http://www.zoneminder.com/wiki/index.php/FAQ
keyboardgnome
Posts: 63
Joined: Sat Apr 08, 2006 10:18 pm

Re: Ubuntu 10.04 LTS - Issues with Cameras

Post by keyboardgnome »

I second this... And also check your irqpolling

Read through this: http://www.zoneminder.com/forums/viewto ... 21&t=16694
Locked