Hi,
Viewing the webcam on zoneminder gives a blank page. In the debug it says:
02/13/06 20:44:44.039709 zmdc[7560].INF [Starting pending process, zmc -d /dev/video0]
02/13/06 20:44:44.041541 zmdc[7614].INF ['zmc -d /dev/video0' started at 06/02/13 20:44:44]
02/13/06 20:44:44.049573 zmdc[7560].INF ['zmc -d /dev/video0' starting at 06/02/13 20:44:44, pid = 7614]
02/13/06 20:44:44.709233 zmdc[7560].INF ['zmc -d /dev/video0' died, signal 10]
If I run it from the command line "zmc -d /dev/video0" it segfaults.
I can run the webcam through xawtv OK.
Help please
zmc seg faults
dmesg |grep bttv
bttv: driver version 0.9.15 loaded
bttv: using 4 buffers with 2080k (520 pages) each for capture
Custom kernel on Debian Sarge
uname -a
Linux ob1 2.6.12athlon #1 Sat Aug 6 09:18:10 EST 2005 i686 GNU/Linux
==> /tmp/zmdc.log <==
02/13/06 21:57:15.953057 zmdc[8742].INF [Server starting at 06/02/13 21:57:15]
==> /tmp/zmpkg.log <==
02/13/06 21:57:15.446431 zmpkg[8730].INF [Command: start]
02/13/06 21:57:15.447491 zmpkg[8730].DBG [Testing valid shell syntax]
02/13/06 21:57:15.447803 zmpkg[8730].DBG [Running as 'www-data', su commands not needed]
02/13/06 21:57:15.447889 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl check]
02/13/06 21:57:15.695368 zmpkg[8730].DBG [Output: stopped]
02/13/06 21:57:15.695581 zmpkg[8730].DBG [Removing shared memory]
02/13/06 21:57:15.695682 zmpkg[8730].DBG [Checking for shared memory with 'ipcs -m | grep '^0x7a6d20'']
02/13/06 21:57:15.706137 zmpkg[8730].DBG [Command: /usr/local/bin/zmfix]
02/13/06 21:57:15.737415 zmpkg[8730].DBG [Output: ]
02/13/06 21:57:15.737663 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl startup]
==> /tmp/zmdc.log <==
02/13/06 21:57:19.219171 zmdc[8765].INF ['zmc -d /dev/video0' started at 06/02/13 21:57:19]
02/13/06 21:57:19.227895 zmdc[8742].INF ['zmc -d /dev/video0' starting at 06/02/13 21:57:19, pid = 8765]
==> /tmp/zmpkg.log <==
02/13/06 21:57:18.978166 zmpkg[8730].DBG [Output: Starting server]
02/13/06 21:57:18.979505 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmc -d /dev/video0]
==> /tmp/zmdc.log <==
02/13/06 21:57:19.536592 zmdc[8769].INF ['zmfilter.pl' started at 06/02/13 21:57:19]
02/13/06 21:57:19.554489 zmdc[8742].INF ['zmfilter.pl' starting at 06/02/13 21:57:19, pid = 8769]
==> /tmp/zmfilter.log <==
02/13/06 21:57:20.075739 zmfilter[8769].INF [Scanning for events]
==> /tmp/zmpkg.log <==
02/13/06 21:57:19.280188 zmpkg[8730].DBG [Output: 'zmc -d /dev/video0' started at 06/02/13 21:57:19
'zmc -d /dev/video0' starting at 06/02/13 21:57:19, pid = 8765]
02/13/06 21:57:19.280727 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmfilter.pl]
02/13/06 21:57:20.085421 zmpkg[8730].DBG [Output: 'zmfilter.pl' started at 06/02/13 21:57:19
'zmfilter.pl' starting at 06/02/13 21:57:19, pid = 8769]
02/13/06 21:57:20.085734 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmaudit.pl -c]
==> /tmp/zmaudit.log <==
02/13/06 21:57:20.578303 zmaudit[8774].DBG [Found database monitor '1']
02/13/06 21:57:20.579317 zmaudit[8774].DBG [Got 0 events]
02/13/06 21:57:20.580169 zmaudit[8774].DBG [Found database monitor '2']
02/13/06 21:57:20.580704 zmaudit[8774].DBG [Got 0 events]
02/13/06 21:57:20.581184 zmaudit[8774].DBG [Found filesystem monitor '1']
02/13/06 21:57:20.581365 zmaudit[8774].DBG [Got 0 events]
02/13/06 21:57:20.581413 zmaudit[8774].DBG [Found filesystem monitor '2']
02/13/06 21:57:20.581508 zmaudit[8774].DBG [Got 0 events]
==> /tmp/zmdc.log <==
02/13/06 21:57:20.352305 zmdc[8774].INF ['zmaudit.pl -c' started at 06/02/13 21:57:20]
02/13/06 21:57:20.360203 zmdc[8742].INF ['zmaudit.pl -c' starting at 06/02/13 21:57:20, pid = 8774]
02/13/06 21:57:20.803084 zmdc[8779].INF ['zmwatch.pl' started at 06/02/13 21:57:20]
02/13/06 21:57:20.806055 zmdc[8742].INF ['zmwatch.pl' starting at 06/02/13 21:57:20, pid = 8779]
==> /tmp/zmpkg.log <==
02/13/06 21:57:20.592389 zmpkg[8730].DBG [Output: 'zmaudit.pl -c' started at 06/02/13 21:57:20
'zmaudit.pl -c' starting at 06/02/13 21:57:20, pid = 8774]
02/13/06 21:57:20.592635 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmwatch.pl]
02/13/06 21:57:21.024509 zmpkg[8730].DBG [Output: 'zmwatch.pl' started at 06/02/13 21:57:20
'zmwatch.pl' starting at 06/02/13 21:57:20, pid = 8779]
02/13/06 21:57:21.024781 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmupdate.pl -c]
==> /tmp/zmwatch.log <==
02/13/06 21:57:21.013652 zmwatch[8779].INF [Watchdog starting]
02/13/06 21:57:21.014692 zmwatch[8779].INF [Watchdog pausing for 30 seconds]
==> /tmp/zmdc.log <==
02/13/06 21:57:21.276449 zmdc[8742].INF ['zmc -d /dev/video0' died, signal 10]
02/13/06 21:57:21.277060 zmdc[8742].INF [Starting pending process, zmc -d /dev/video0]
02/13/06 21:57:21.278987 zmdc[8742].INF ['zmc -d /dev/video0' starting at 06/02/13 21:57:21, pid = 8783]
02/13/06 21:57:21.282826 zmdc[8783].INF ['zmc -d /dev/video0' started at 06/02/13 21:57:21]
02/13/06 21:57:21.396004 zmdc[8785].INF ['zmupdate.pl -c' started at 06/02/13 21:57:21]
02/13/06 21:57:21.400025 zmdc[8742].INF ['zmupdate.pl -c' starting at 06/02/13 21:57:21, pid = 8785]
==> /tmp/zmpkg.log <==
02/13/06 21:57:21.410843 zmpkg[8730].DBG [Output: 'zmupdate.pl -c' started at 06/02/13 21:57:21
'zmupdate.pl -c' starting at 06/02/13 21:57:21, pid = 8785]
==> /tmp/zmdc.log <==
02/13/06 21:57:23.922666 zmdc[8742].INF ['zmc -d /dev/video0' died, signal 10]
02/13/06 21:57:28.035080 zmdc[8742].INF [Starting pending process, zmc -d /dev/video0]
02/13/06 21:57:28.037011 zmdc[8796].INF ['zmc -d /dev/video0' started at 06/02/13 21:57:28]
02/13/06 21:57:28.039235 zmdc[8742].INF ['zmc -d /dev/video0' starting at 06/02/13 21:57:28, pid = 8796]
02/13/06 21:57:28.771008 zmdc[8742].INF ['zmc -d /dev/video0' died, signal 10]
Cheers
Grahame
bttv: driver version 0.9.15 loaded
bttv: using 4 buffers with 2080k (520 pages) each for capture
Custom kernel on Debian Sarge
uname -a
Linux ob1 2.6.12athlon #1 Sat Aug 6 09:18:10 EST 2005 i686 GNU/Linux
==> /tmp/zmdc.log <==
02/13/06 21:57:15.953057 zmdc[8742].INF [Server starting at 06/02/13 21:57:15]
==> /tmp/zmpkg.log <==
02/13/06 21:57:15.446431 zmpkg[8730].INF [Command: start]
02/13/06 21:57:15.447491 zmpkg[8730].DBG [Testing valid shell syntax]
02/13/06 21:57:15.447803 zmpkg[8730].DBG [Running as 'www-data', su commands not needed]
02/13/06 21:57:15.447889 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl check]
02/13/06 21:57:15.695368 zmpkg[8730].DBG [Output: stopped]
02/13/06 21:57:15.695581 zmpkg[8730].DBG [Removing shared memory]
02/13/06 21:57:15.695682 zmpkg[8730].DBG [Checking for shared memory with 'ipcs -m | grep '^0x7a6d20'']
02/13/06 21:57:15.706137 zmpkg[8730].DBG [Command: /usr/local/bin/zmfix]
02/13/06 21:57:15.737415 zmpkg[8730].DBG [Output: ]
02/13/06 21:57:15.737663 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl startup]
==> /tmp/zmdc.log <==
02/13/06 21:57:19.219171 zmdc[8765].INF ['zmc -d /dev/video0' started at 06/02/13 21:57:19]
02/13/06 21:57:19.227895 zmdc[8742].INF ['zmc -d /dev/video0' starting at 06/02/13 21:57:19, pid = 8765]
==> /tmp/zmpkg.log <==
02/13/06 21:57:18.978166 zmpkg[8730].DBG [Output: Starting server]
02/13/06 21:57:18.979505 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmc -d /dev/video0]
==> /tmp/zmdc.log <==
02/13/06 21:57:19.536592 zmdc[8769].INF ['zmfilter.pl' started at 06/02/13 21:57:19]
02/13/06 21:57:19.554489 zmdc[8742].INF ['zmfilter.pl' starting at 06/02/13 21:57:19, pid = 8769]
==> /tmp/zmfilter.log <==
02/13/06 21:57:20.075739 zmfilter[8769].INF [Scanning for events]
==> /tmp/zmpkg.log <==
02/13/06 21:57:19.280188 zmpkg[8730].DBG [Output: 'zmc -d /dev/video0' started at 06/02/13 21:57:19
'zmc -d /dev/video0' starting at 06/02/13 21:57:19, pid = 8765]
02/13/06 21:57:19.280727 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmfilter.pl]
02/13/06 21:57:20.085421 zmpkg[8730].DBG [Output: 'zmfilter.pl' started at 06/02/13 21:57:19
'zmfilter.pl' starting at 06/02/13 21:57:19, pid = 8769]
02/13/06 21:57:20.085734 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmaudit.pl -c]
==> /tmp/zmaudit.log <==
02/13/06 21:57:20.578303 zmaudit[8774].DBG [Found database monitor '1']
02/13/06 21:57:20.579317 zmaudit[8774].DBG [Got 0 events]
02/13/06 21:57:20.580169 zmaudit[8774].DBG [Found database monitor '2']
02/13/06 21:57:20.580704 zmaudit[8774].DBG [Got 0 events]
02/13/06 21:57:20.581184 zmaudit[8774].DBG [Found filesystem monitor '1']
02/13/06 21:57:20.581365 zmaudit[8774].DBG [Got 0 events]
02/13/06 21:57:20.581413 zmaudit[8774].DBG [Found filesystem monitor '2']
02/13/06 21:57:20.581508 zmaudit[8774].DBG [Got 0 events]
==> /tmp/zmdc.log <==
02/13/06 21:57:20.352305 zmdc[8774].INF ['zmaudit.pl -c' started at 06/02/13 21:57:20]
02/13/06 21:57:20.360203 zmdc[8742].INF ['zmaudit.pl -c' starting at 06/02/13 21:57:20, pid = 8774]
02/13/06 21:57:20.803084 zmdc[8779].INF ['zmwatch.pl' started at 06/02/13 21:57:20]
02/13/06 21:57:20.806055 zmdc[8742].INF ['zmwatch.pl' starting at 06/02/13 21:57:20, pid = 8779]
==> /tmp/zmpkg.log <==
02/13/06 21:57:20.592389 zmpkg[8730].DBG [Output: 'zmaudit.pl -c' started at 06/02/13 21:57:20
'zmaudit.pl -c' starting at 06/02/13 21:57:20, pid = 8774]
02/13/06 21:57:20.592635 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmwatch.pl]
02/13/06 21:57:21.024509 zmpkg[8730].DBG [Output: 'zmwatch.pl' started at 06/02/13 21:57:20
'zmwatch.pl' starting at 06/02/13 21:57:20, pid = 8779]
02/13/06 21:57:21.024781 zmpkg[8730].DBG [Command: /usr/local/bin/zmdc.pl start zmupdate.pl -c]
==> /tmp/zmwatch.log <==
02/13/06 21:57:21.013652 zmwatch[8779].INF [Watchdog starting]
02/13/06 21:57:21.014692 zmwatch[8779].INF [Watchdog pausing for 30 seconds]
==> /tmp/zmdc.log <==
02/13/06 21:57:21.276449 zmdc[8742].INF ['zmc -d /dev/video0' died, signal 10]
02/13/06 21:57:21.277060 zmdc[8742].INF [Starting pending process, zmc -d /dev/video0]
02/13/06 21:57:21.278987 zmdc[8742].INF ['zmc -d /dev/video0' starting at 06/02/13 21:57:21, pid = 8783]
02/13/06 21:57:21.282826 zmdc[8783].INF ['zmc -d /dev/video0' started at 06/02/13 21:57:21]
02/13/06 21:57:21.396004 zmdc[8785].INF ['zmupdate.pl -c' started at 06/02/13 21:57:21]
02/13/06 21:57:21.400025 zmdc[8742].INF ['zmupdate.pl -c' starting at 06/02/13 21:57:21, pid = 8785]
==> /tmp/zmpkg.log <==
02/13/06 21:57:21.410843 zmpkg[8730].DBG [Output: 'zmupdate.pl -c' started at 06/02/13 21:57:21
'zmupdate.pl -c' starting at 06/02/13 21:57:21, pid = 8785]
==> /tmp/zmdc.log <==
02/13/06 21:57:23.922666 zmdc[8742].INF ['zmc -d /dev/video0' died, signal 10]
02/13/06 21:57:28.035080 zmdc[8742].INF [Starting pending process, zmc -d /dev/video0]
02/13/06 21:57:28.037011 zmdc[8796].INF ['zmc -d /dev/video0' started at 06/02/13 21:57:28]
02/13/06 21:57:28.039235 zmdc[8742].INF ['zmc -d /dev/video0' starting at 06/02/13 21:57:28, pid = 8796]
02/13/06 21:57:28.771008 zmdc[8742].INF ['zmc -d /dev/video0' died, signal 10]
Cheers
Grahame
That was a tail -f /tmp/z*log
/var/log/messages stuff
Feb 13 22:07:59 ob1 zmdc[8742]: INF [Starting pending process, zmc -d /dev/video0]
Feb 13 22:07:59 ob1 zmdc[8975]: INF ['zmc -d /dev/video0' started at 06/02/13 22:07:59]
Feb 13 22:07:59 ob1 zmdc[8742]: INF ['zmc -d /dev/video0' starting at 06/02/13 22:07:59, pid = 8975]
Feb 13 22:07:59 ob1 zmc_dvideo0[8975]: INF [Debug Level = 0, Debug Log = <none>]
Feb 13 22:08:00 ob1 zmc_dvideo0[8975]: ERR [Failed to set picture attributes: Invalid argument]
Feb 13 22:08:00 ob1 zmdc[8742]: INF ['zmc -d /dev/video0' died, signal 10]
root@ob1:~# zmu -d /dev/video0 -q -v
Video Capabilities
Name: QC Express
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 176
Minimum Height: 144
Window Attributes
X Offset: 0
Y Offset: 0
Width: 176
Height: 144
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 0
Colour :0
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: TV8532
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Thanks
/var/log/messages stuff
Feb 13 22:07:59 ob1 zmdc[8742]: INF [Starting pending process, zmc -d /dev/video0]
Feb 13 22:07:59 ob1 zmdc[8975]: INF ['zmc -d /dev/video0' started at 06/02/13 22:07:59]
Feb 13 22:07:59 ob1 zmdc[8742]: INF ['zmc -d /dev/video0' starting at 06/02/13 22:07:59, pid = 8975]
Feb 13 22:07:59 ob1 zmc_dvideo0[8975]: INF [Debug Level = 0, Debug Log = <none>]
Feb 13 22:08:00 ob1 zmc_dvideo0[8975]: ERR [Failed to set picture attributes: Invalid argument]
Feb 13 22:08:00 ob1 zmdc[8742]: INF ['zmc -d /dev/video0' died, signal 10]
root@ob1:~# zmu -d /dev/video0 -q -v
Video Capabilities
Name: QC Express
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 352
Maximum Height: 288
Minimum Width: 176
Minimum Height: 144
Window Attributes
X Offset: 0
Y Offset: 0
Width: 176
Height: 144
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 0
Colour :0
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: TV8532
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Thanks
I will look on google and try again
gbj@ob1:~$ xawtv -hwscan
This is xawtv-3.94, running on Linux/i686 (2.6.12athlon)
looking for available devices
port 61-61
type : Xvideo, image scaler
name : 3dfx Video Overlay
/dev/video0: OK [ -device /dev/video0 ]
type : v4l
name : QC Express
flags: capture
Thanks so far for your help
gbj@ob1:~$ xawtv -hwscan
This is xawtv-3.94, running on Linux/i686 (2.6.12athlon)
looking for available devices
port 61-61
type : Xvideo, image scaler
name : 3dfx Video Overlay
/dev/video0: OK [ -device /dev/video0 ]
type : v4l
name : QC Express
flags: capture
Thanks so far for your help
Here is something you might wish to look into:
http://www.zoneminder.com/forums/viewto ... ht=express
Corey
http://www.zoneminder.com/forums/viewto ... ht=express
Corey