I finally got my capture card and camera, so now have started testing my ZM install. So fair failing miserably. I am going to dump all the info on my setup and hope that someone spots my problem. I have tried searching the forums and readme but havn't figured it out yet. If anyone has any suggestions on how to troubleshoot I would greatly appreciate it.
AMD Athlon 1.2Ghz
OS: Fedora Core 4
ZM: 1.21.2
Capture card: IVC-200G (4x bt878, 4x30fps)
Camera: Sony Day/Night CCD connected to video0 ( http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... eName=WDVW )
Relavant dmesg:
Code: Select all
bttv0: Bt878 (rev 17) at 0000:02:04.0, irq: 12, latency: 32, mmio: 0xe6000000
bttv0: detected: IVC-200 [card=102], PCI subsystem ID is 0000:a155
bttv0: using: IVC-200 [card=102,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffff0f [init]
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
ACPI: PCI Interrupt Link [LNK4] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNK4] -> GSI 5 (level, low) -> IRQ
5
bttv1: Bt878 (rev 17) at 0000:02:05.0, irq: 5, latency: 32, mmio: 0xe6002000
bttv1: detected: IVC-200 [card=102], PCI subsystem ID is 0001:a155
bttv1: using: IVC-200 [card=102,autodetected]
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: using tuner=-1
bttv1: i2c: checking for MSP34xx @ 0x80... not found
bttv1: i2c: checking for TDA9875 @ 0xb0... not found
bttv1: i2c: checking for TDA7432 @ 0x8a... not found
bttv1: i2c: checking for TDA9887 @ 0x86... not found
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [LNK1] -> GSI 11 (level, low) -> IRQ
11
bttv2: Bt878 (rev 17) at 0000:02:06.0, irq: 11, latency: 32, mmio: 0xe6004000
bttv2: detected: IVC-200 [card=102], PCI subsystem ID is 0002:a155
bttv2: using: IVC-200 [card=102,autodetected]
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: using tuner=-1
bttv2: i2c: checking for MSP34xx @ 0x80... not found
bttv2: i2c: checking for TDA9875 @ 0xb0... not found
bttv2: i2c: checking for TDA7432 @ 0x8a... not found
bttv2: i2c: checking for TDA9887 @ 0x86... not found
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
ACPI: PCI Interrupt 0000:02:07.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ
10
bttv3: Bt878 (rev 17) at 0000:02:07.0, irq: 10, latency: 32, mmio: 0xe6006000
bttv3: detected: IVC-200 [card=102], PCI subsystem ID is 0003:a155
bttv3: using: IVC-200 [card=102,autodetected]
bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv3: using tuner=-1
bttv3: i2c: checking for MSP34xx @ 0x80... not found
bttv3: i2c: checking for TDA9875 @ 0xb0... not found
bttv3: i2c: checking for TDA7432 @ 0x8a... not found
bttv3: i2c: checking for TDA9887 @ 0x86... not found
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
Code: Select all
[root@zoneminder ~]# tail -3 /etc/sysctl.conf
# Increase available shared memory
kernel.shmall = 134217728
kernel.shmmax = 134217728
[root@zoneminder ~]# ls -l /dev/vid*
lrwxrwxrwx 1 root root 6 Jul 7 23:25 /dev/video -> video0
crwxrwxrwx 1 root root 81, 0 Jul 7 23:25 /dev/video0
crwxrwxrwx 1 root root 81, 1 Jul 7 23:25 /dev/video1
crwxrwxrwx 1 root root 81, 2 Jul 7 23:25 /dev/video2
crwxrwxrwx 1 root root 81, 3 Jul 7 23:25 /dev/video3
Code: Select all
# zmu -d /dev/video0 -q -v
Video Capabilities
Name: BT878 video (IVC-200)
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 1
Audio Channels: 0
Maximum Width: 768
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Composite0
Channel: 0
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Code: Select all
Jul 8 00:14:08 zoneminder zmc_d0[4866]: INF [Debug Level = 0, Debug Log = <none>]
Jul 8 00:14:08 zoneminder kernel: bttv0: reset, reinitialize
Jul 8 00:14:08 zoneminder kernel: bttv0: PLL can sleep, using XTAL (28636363).
Jul 8 00:14:08 zoneminder zmc_d0[4866]: INF [Starting Capture]
Jul 8 00:14:08 zoneminder kernel: bttv0: SCERR @ 01ac3000,bits: VSYNC HSYNC OFLOW FBUS SCERR*
Jul 8 00:14:08 zoneminder last message repeated 3 times
Jul 8 00:14:08 zoneminder kernel: bttv0: timeout: drop=0 irq=21648/21648, risc=32c27020, bits: VSYNC HSYNC OFLOW FBUS
Jul 8 00:14:08 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 1(1): Input/output error]
Jul 8 00:14:08 zoneminder kernel: bttv0: reset, reinitialize
Jul 8 00:14:08 zoneminder kernel: bttv0: PLL can sleep, using XTAL (28636363).
Jul 8 00:14:08 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 2(1): Invalid argument]
Jul 8 00:14:08 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 3(1): Invalid argument]
Jul 8 00:14:08 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 4(1): Invalid argument]
Jul 8 00:14:08 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 5(1): Invalid argument]
Jul 8 00:14:08 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 6(1): Invalid argument]
Jul 8 00:14:08 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 7(1): Invalid argument]
Jul 8 00:14:08 zoneminder kernel: bttv0: SCERR @ 01ac3000,bits: VSYNC HSYNC OFLOW FBUS SCERR*
Jul 8 00:14:08 zoneminder kernel: bttv0: SCERR @ 01ac3014,bits: VSYNC HSYNC OFLOW FBUS SCERR*
Jul 8 00:14:09 zoneminder kernel: bttv0: SCERR @ 01ac3014,bits: VSYNC HSYNC OFLOW FBUS SCERR*
Jul 8 00:14:09 zoneminder kernel: bttv0: SCERR @ 01ac3000,bits: VSYNC HSYNC OFLOW FBUS SCERR*
Jul 8 00:14:09 zoneminder kernel: bttv0: timeout: drop=0 irq=21655/21655, risc=2f67b1e0, bits: VSYNC HSYNC OFLOW FBUS
Jul 8 00:14:09 zoneminder zmc_d0[4866]: ERR [Sync failure for frame 0 buffer 0(1): Input/output error]
Code: Select all
[root@zoneminder zm]# ls -l
total 24
-rw-r--r-- 1 apache apache 290 Jul 8 00:14 zmaudit.log
-rw-r--r-- 1 apache apache 548 Jul 8 00:14 zmdc.log
-rw-r--r-- 1 apache apache 66 Jul 8 00:14 zmfilter.log
-rw-r--r-- 1 apache apache 419 Jul 8 00:14 zmpkg.log
-rw-r--r-- 1 apache apache 43 Jul 8 00:14 zmupdate.log
-rw-r--r-- 1 apache apache 71 Jul 8 00:14 zmwatch.log
[root@zoneminder zm]# cat *
07/08/05 00:14:09.311027 zmaudit_d900_y[4870].DBG [Found database monitor '1']
07/08/05 00:14:09.312212 zmaudit_d900_y[4870].DBG [Got 0 events]
07/08/05 00:14:09.312841 zmaudit_d900_y[4870].DBG [Found filesystem monitor '1']
07/08/05 00:14:09.313136 zmaudit_d900_y[4870].DBG [Got 0 events]
Server starting at 05/07/08 00:14:04
'zmc -d 0' started at 05/07/08 00:14:08
'zmc -d 0' starting at 05/07/08 00:14:08, pid = 4866
'zmfilter.pl' started at 05/07/08 00:14:08
'zmfilter.pl' starting at 05/07/08 00:14:08, pid = 4868
'zmaudit.pl -d 900 -y' started at 05/07/08 00:14:09
'zmaudit.pl -d 900 -y' starting at 05/07/08 00:14:09, pid = 4870
'zmwatch.pl' started at 05/07/08 00:14:09
'zmwatch.pl' starting at 05/07/08 00:14:09, pid = 4873
'zmupdate.pl -c' started at 05/07/08 00:14:09
'zmupdate.pl -c' starting at 05/07/08 00:14:09, pid = 4875
07/08/05 00:14:08.865864 zmfilter[4868].INF [Scanning for events]
Command: start
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
Executing: /usr/local/bin/zmdc.pl start zmc -d 0
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
Executing: /usr/local/bin/zmdc.pl start zmupdate.pl -c
Update agent starting at 05/07/08 00:14:10
Watchdog starting at 05/07/08 00:14:09
Watchdog pausing for 30 seconds
http://www.n00bstories.com/image.fetch. ... 1404231618