Page 1 of 1

ZoneMinder refuses to work

Posted: Tue May 31, 2005 8:56 am
by GrauW9lf
I've been trying, and trying, for two days to get any results from ZM 1.21.0 and for the life of me, nothing. I've followed the directions exactly. I've even wiped the install of ZM, MySQL and all associated Perl modules and libraries and installed them fresh. Below, I'll include all information from my currennt install and all associated info from log files.

Gentoo Linux, kernel 2.6.11.11. Apache 1.3.33. PHP 4.3.10. MySQL 4.0.24. ZoneMinder 1.21.0. Everything but MySQL is compiled by hand (portage just ISN'T right for some things..). Freshly new compiled version of ZoneMinder (as of writing this, brand new install).

(writen some hours later..)
I was finally able to solve one problem by installing many, many *grumble* perl modules, but now I seem to have another and I'm so fustrated now that I'm really hoping someone can help me. ZM appears to start, and load all of the perl scripts it needs. If I open the browser, it reports as running. But the video source, no matter what channel I try, remains red. Within just a minute or so, if I look at ps aux, I get only a single process running.

Code: Select all

/usr/bin/perl -wT /usr/local/bin/zmdc.pl stop zma -m 1
That's all I get running related to ZM. I'll include what my ZM logs say, below.

zmaudit.log

Code: Select all

Found database monitor '1', got 0 events
zmdc.log

Code: Select all

Server starting at 05/06/06 00:43:55
'zmc -d 0' started at 05/06/06 00:44:00
'zmc -d 0' starting at 05/06/06 00:44:00, pid = 7604
'zmc -d 0' crashed at 05/06/06 00:44:00, exit status 255
'zmc -d 0' started at 05/06/06 00:44:00
'zmc -d 0' starting at 05/06/06 00:44:00, pid = 7606
Can't select: Is a directory at /usr/local/bin/zmdc.pl line 593.
Server starting at 05/06/06 00:44:02
'zmfilter.pl' started at 05/06/06 00:44:05
'zmfilter.pl' starting at 05/06/06 00:44:05, pid = 7632
'zmaudit.pl -d 900 -y' started at 05/06/06 00:44:13
'zmaudit.pl -d 900 -y' starting at 05/06/06 00:44:13, pid = 7638
'zmwatch.pl' started at 05/06/06 00:44:16
'zmwatch.pl' starting at 05/06/06 00:44:16, pid = 7644
'zmupdate.pl -c' started at 05/06/06 00:44:20
'zmupdate.pl -c' starting at 05/06/06 00:44:20, pid = 7649
Can't find process with command of 'zmc -d 0'
'zmc -d 0' starting at 05/06/06 00:45:10, pid = 7684
'zmc -d 0' started at 05/06/06 00:45:10
'zmc -d 0' crashed at 05/06/06 00:45:11, exit status 255
'zmc -d 0' starting at 05/06/06 00:45:11, pid = 7686
Can't select: Is a directory at /usr/local/bin/zmdc.pl line 593.
'zmc -d 0' started at 05/06/06 00:45:11
Server starting at 05/06/06 00:45:13
Can't find process with command of 'zma -m 1'
zmfilter.log

Code: Select all

Scanning for events
zmpkg.log

Code: Select all

Command: start
Executing: su nobody -c '/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su nobody -c '/usr/local/bin/zmfix'
Executing: su nobody -c '/usr/local/bin/zmdc.pl status'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmc -d 0'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmfilter.pl'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmwatch.pl'
Executing: su nobody -c '/usr/local/bin/zmdc.pl start zmupdate.pl -c'
zmupdate.log

Code: Select all

Update agent starting at 05/06/06 00:44:22
zmwatch.log

Code: Select all

Watchdog starting at 05/06/06 00:44:18
Watchdog pausing for 30 seconds
Can't get shared memory id '2053971969': No such file or directory
That's all there is. No errors from apache at all. When I try to look at a streaming view at one time I did get 40fps but a black streen on every channel I tried (it wouldn't go above 4). I'm really hoping I can figure this out soon. It's not out of simple curiosity that I'm playing with ZM. Someone has tried to break into our yard (and most likely our van or garage, which is filled with thousands of dollars worth of tools since my brother is a general contractor), having cut the fence in the back yard.. we've put up a new fence, but I want extra security. Any help would be greatly appreciated.

EDIT: I just tried to restart ZM. And when trying to view the stream, I get a broken image. But trying to force 'view image' with firefox, I get a 500 internal server error. In my apache error_log, apparently the cgi is broken, I have..

Code: Select all

[Mon Jun  6 01:08:59 2005] [error] [client 192.168.1.102] Premature end of script headers: /usr/local/apache/cgi-bin/zms

Posted: Tue May 31, 2005 12:17 pm
by zoneminder
Hi

Sorry to hear you are having so many problems.

A couple of things to get started

1) Can you post your configure line and the output from it?
2) Have you checked /var/log/messages as that tends to have the most useful output most of the time. Look for any ERR strings. I'm certain the answer will be in there.

Phil

Posted: Tue May 31, 2005 9:20 pm
by GrauW9lf
It was apparently a permissions issue about it not being able to r/w to the actual video device, not the symlink /dev/video0. Now at least the daemon fires up, and appears to run. I had to chmod /dev/v4l/video0 to 666 to allow sufficient access. That might be something you'd want to include in the documentation. A new mystery is now reared its ugly little head..

I can only tune to channels 0 to 3. 4 and above turn red. Channel 1-3 give me a black screen. All channels cause unstability though. On channel 0, I get a band of static across the top, I'll post an image of it. I'll also post, beneath my configuration, what errors I get in my logs.

Image

Code: Select all

./configure --with-mysql=/usr --with-webdir=/data/htdocs/security --with-cgidir=/usr/local/apache/cgi-bin

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-ffmpeg option.
    This tells configure where to find the ffmpeg build directory within which are the libavcodec
        and libavformat files that can be used to build true MPEG streaming into ZoneMinder. A normal
        install of ffmpeg only installs the applications and not the libraries or headers necessary
        to link to so this will probably be a local or temporary directory.
    e.g. --with-ffmpeg=/usr/local
configure: WARNING: You can call configure with the --with-lame option.
    This tells configure where to find the Lame library which can be used by the ffmpeg libraries
        to generate IE compatible MPEG audio streams. This option is only necessary if you have built
        the ffmpeg package itself with the --enable-mp3lame option and if the normal link cannot
        find the library. Using mp3lame is not necessary or of any benefit to ZoneMinder per se.
    e.g. --with-lame=/use/local/lib
configure: WARNING: You can call configure with the --with-webuser option.
    This tells configure what the user name of the web user is if it is not the default of 'apache'.
    e.g. --with-webuser=apache or --with-webuser=web
configure: WARNING: You can call configure with the --with-webgroup option.
    This tells configure what the group name of the web group is if it is not the default of 'apache'.
    e.g. --with-webgroup=apache or --with-webgroup=web
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking how to run the C++ preprocessor... g++ -E
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking whether MD5 is declared... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for MD5 in -lcrypto... yes
checking for pcre_compile in -lpcre... no
configure: WARNING: libpcre.a is required for remote/network camera support
checking for avcodec_init in -lavcodec... no
configure: WARNING: libavcodec.a is required for MPEG streaming
checking for av_new_stream in -lavformat... no
configure: WARNING: libavformat.a is required for MPEG streaming
checking for lame_init in -lmp3lame... no
configure: WARNING: libmp3lame.a may be required if ffmpeg was built with it
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zmconfig.pl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
checking for zmconfig.txt... yes
When channel 4 is accessed, the logs report this;
error_log (httpd)

Code: Select all

 Premature end of script headers: /usr/local/apache/cgi-bin/zms
This is reported in zmdc.log when the channel is mrely changed to 4 (not even viewed).

Code: Select all

'zmc -d 0' stopping at 05/06/06 13:12:09
'zmc -d 0' died at 05/06/06 13:12:09
'zmc -d 0' started at 05/06/06 13:12:11
'zmc -d 0' starting at 05/06/06 13:12:11, pid = 15919
'zmc -d 0' crashed at 05/06/06 13:12:11, exit status 255
'zmc -d 0' started at 05/06/06 13:12:11
'zmc -d 0' starting at 05/06/06 13:12:11, pid = 15921
Can't select: Is a directory at /usr/local/bin/zmdc.pl line 593.
Server starting at 05/06/06 13:12:13
Can't find process with command of 'zma -m 1'
A tail /var/log/messages of the event above states(based on time stamps this is the only part of the tail that is of immediate relivence);

Code: Select all

Jun  6 13:12:09 huntinground zmc_d0[15778]: INF [Got TERM signal, exiting]
Jun  6 13:12:09 huntinground zmc_d0[15778]: ERR [Sync failure for frame 7: Interrupted system call]
Jun  6 13:12:11 huntinground zmc_d0[15919]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 13:12:11 huntinground zmc_d0[15919]: ERR [Failed to get camera source: Invalid argument]
Jun  6 13:12:11 huntinground zmc_d0[15921]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 13:12:11 huntinground zmc_d0[15921]: ERR [Failed to get camera source: Invalid argument]
Jun  6 13:12:50 huntinground zmu[15956]: ERR [Shared memory not initialised by capture daemon]
Jun  6 13:12:53 huntinground zms[15960]: ERR [Shared memory not initialised by capture daemon]
Jun  6 13:12:56 huntinground zmu[15962]: ERR [Shared memory not initialised by capture daemon]

This is the complete of /var/log/messages following the permissions change to my video driver.

Code: Select all

Jun  6 12:36:52 huntinground zmc_d0[15095]: INF [New: 1000 - Capturing at 18.52 fps]
Jun  6 12:37:40 huntinground zmc_d0[15095]: INF [Got TERM signal, exiting]
Jun  6 12:37:40 huntinground zmc_d0[15095]: ERR [Sync failure for frame 0: Interrupted system call]
Jun  6 12:37:43 huntinground zmc_d0[15161]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:37:44 huntinground zmc_d0[15161]: INF [Starting Capture]
Jun  6 12:38:18 huntinground zmc_d0[15161]: INF [New: 1000 - Capturing at 29.41 fps]
Jun  6 12:38:52 huntinground zmc_d0[15161]: INF [New: 2000 - Capturing at 30.30 fps]
Jun  6 12:39:25 huntinground zmc_d0[15161]: INF [New: 3000 - Capturing at 29.41 fps]
Jun  6 12:39:58 huntinground zmc_d0[15161]: INF [New: 4000 - Capturing at 30.30 fps]
Jun  6 12:40:01 huntinground /usr/sbin/cron[15219]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jun  6 12:40:32 huntinground zmc_d0[15161]: INF [New: 5000 - Capturing at 29.41 fps]
Jun  6 12:41:05 huntinground zmc_d0[15161]: INF [New: 6000 - Capturing at 30.30 fps]
Jun  6 12:41:39 huntinground zmc_d0[15161]: INF [New: 7000 - Capturing at 29.41 fps]
Jun  6 12:42:12 huntinground zmc_d0[15161]: INF [New: 8000 - Capturing at 30.30 fps]
Jun  6 12:42:45 huntinground zmc_d0[15161]: INF [New: 9000 - Capturing at 30.30 fps]
Jun  6 12:43:01 huntinground zmc_d0[15161]: INF [Got TERM signal, exiting]
Jun  6 12:43:01 huntinground zmc_d0[15161]: ERR [Sync failure for frame 1: Interrupted system call]
Jun  6 12:43:03 huntinground zmc_d0[15289]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:43:04 huntinground zmc_d0[15289]: ERR [Failed to get camera source: Invalid argument]
Jun  6 12:43:04 huntinground zmc_d0[15291]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:43:04 huntinground zmc_d0[15291]: ERR [Failed to get camera source: Invalid argument]
Jun  6 12:43:31 huntinground zmu[15326]: ERR [Shared memory not initialised by capture daemon]
Jun  6 12:43:33 huntinground zms[15330]: ERR [Shared memory not initialised by capture daemon]
Jun  6 12:43:36 huntinground zmu[15332]: ERR [Shared memory not initialised by capture daemon]
Jun  6 12:43:48 huntinground zmc_d0[15345]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:43:49 huntinground zmc_d0[15345]: INF [Starting Capture]
Jun  6 12:44:23 huntinground zmc_d0[15345]: INF [New: 1000 - Capturing at 29.41 fps]
Jun  6 12:44:34 huntinground zmc_d0[15345]: INF [Got TERM signal, exiting]
Jun  6 12:44:34 huntinground zmc_d0[15345]: ERR [Sync failure for frame 6: Interrupted system call]
Jun  6 12:44:36 huntinground zmc_d0[15377]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:44:36 huntinground zmc_d0[15377]: INF [Starting Capture]
Jun  6 12:45:11 huntinground zmc_d0[15377]: INF [New: 1000 - Capturing at 28.57 fps]
Jun  6 12:45:47 huntinground zmc_d0[15377]: INF [New: 2000 - Capturing at 27.78 fps]
Jun  6 12:46:15 huntinground zmc_d0[15377]: INF [Got TERM signal, exiting]
Jun  6 12:46:15 huntinground zmc_d0[15377]: ERR [Sync failure for frame 6: Interrupted system call]
Jun  6 12:46:17 huntinground zmc_d0[15447]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:46:17 huntinground zmc_d0[15447]: INF [Starting Capture]
Jun  6 12:47:10 huntinground zmc_d0[15447]: INF [New: 1000 - Capturing at 18.87 fps]
Jun  6 12:48:01 huntinground zmc_d0[15447]: INF [New: 2000 - Capturing at 19.61 fps]
Jun  6 12:48:54 huntinground zmc_d0[15447]: INF [New: 3000 - Capturing at 18.87 fps]
Jun  6 12:49:42 huntinground zmc_d0[15447]: INF [New: 4000 - Capturing at 20.83 fps]
Jun  6 12:50:02 huntinground /usr/sbin/cron[15560]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jun  6 12:50:29 huntinground zmc_d0[15447]: INF [New: 5000 - Capturing at 21.28 fps]
Jun  6 12:51:14 huntinground zmc_d0[15447]: INF [New: 6000 - Capturing at 22.22 fps]
Jun  6 12:52:01 huntinground zmc_d0[15447]: INF [New: 7000 - Capturing at 21.28 fps]
Jun  6 12:52:49 huntinground zmc_d0[15447]: INF [New: 8000 - Capturing at 20.83 fps]
Jun  6 12:53:33 huntinground zmc_d0[15447]: INF [New: 9000 - Capturing at 22.73 fps]
Jun  6 12:54:19 huntinground zmc_d0[15447]: INF [New: 10000 - Capturing at 21.74 fps]
Jun  6 12:55:07 huntinground zmc_d0[15447]: INF [New: 11000 - Capturing at 20.83 fps]
Jun  6 12:55:52 huntinground zmc_d0[15447]: INF [New: 12000 - Capturing at 22.22 fps]
Jun  6 12:56:42 huntinground zmc_d0[15447]: INF [New: 13000 - Capturing at 20.00 fps]
Jun  6 12:57:18 huntinground zmc_d0[15447]: INF [Got TERM signal, exiting]
Jun  6 12:57:18 huntinground zmc_d0[15447]: ERR [Sync failure for frame 7: Interrupted system call]
Jun  6 12:57:20 huntinground zmc_d0[15665]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:57:20 huntinground zmc_d0[15665]: INF [Starting Capture]
Jun  6 12:57:55 huntinground zmc_d0[15665]: INF [New: 1000 - Capturing at 28.57 fps]
Jun  6 12:58:29 huntinground zmc_d0[15665]: INF [New: 2000 - Capturing at 29.41 fps]
Jun  6 12:58:37 huntinground zmc_d0[15665]: INF [Got TERM signal, exiting]
Jun  6 12:58:37 huntinground zmc_d0[15665]: ERR [Sync failure for frame 7: Interrupted system call]
Jun  6 12:58:39 huntinground zmc_d0[15705]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:58:39 huntinground zmc_d0[15705]: ERR [Failed to get camera source: Invalid argument]
Jun  6 12:58:39 huntinground zmc_d0[15707]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:58:40 huntinground zmc_d0[15707]: ERR [Failed to get camera source: Invalid argument]
Jun  6 12:59:02 huntinground zmu[15758]: ERR [Shared memory not initialised by capture daemon]
Jun  6 12:59:04 huntinground zms[15762]: ERR [Shared memory not initialised by capture daemon]
Jun  6 12:59:08 huntinground zmu[15765]: ERR [Shared memory not initialised by capture daemon]
Jun  6 12:59:19 huntinground zmc_d0[15778]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 12:59:19 huntinground zmc_d0[15778]: INF [Starting Capture]
Jun  6 13:00:01 huntinground /usr/sbin/cron[15794]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Jun  6 13:00:01 huntinground /usr/sbin/cron[15795]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jun  6 13:00:07 huntinground zmc_d0[15778]: INF [New: 1000 - Capturing at 20.83 fps]
Jun  6 13:00:55 huntinground zmc_d0[15778]: INF [New: 2000 - Capturing at 20.83 fps]
Jun  6 13:01:41 huntinground zmc_d0[15778]: INF [New: 3000 - Capturing at 21.74 fps]
Jun  6 13:02:28 huntinground zmc_d0[15778]: INF [New: 4000 - Capturing at 21.28 fps]
Jun  6 13:03:15 huntinground zmc_d0[15778]: INF [New: 5000 - Capturing at 21.28 fps]
Jun  6 13:04:01 huntinground zmc_d0[15778]: INF [New: 6000 - Capturing at 21.74 fps]
Jun  6 13:04:47 huntinground zmc_d0[15778]: INF [New: 7000 - Capturing at 21.74 fps]
Jun  6 13:05:35 huntinground zmc_d0[15778]: INF [New: 8000 - Capturing at 20.83 fps]
Jun  6 13:06:21 huntinground zmc_d0[15778]: INF [New: 9000 - Capturing at 21.74 fps]
Jun  6 13:07:07 huntinground zmc_d0[15778]: INF [New: 10000 - Capturing at 21.74 fps]
Jun  6 13:07:56 huntinground zmc_d0[15778]: INF [New: 11000 - Capturing at 20.41 fps]
Jun  6 13:08:43 huntinground zmc_d0[15778]: INF [New: 12000 - Capturing at 21.28 fps]
Jun  6 13:09:28 huntinground zmc_d0[15778]: INF [New: 13000 - Capturing at 22.22 fps]
Jun  6 13:10:01 huntinground /usr/sbin/cron[15882]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jun  6 13:10:15 huntinground zmc_d0[15778]: INF [New: 14000 - Capturing at 21.28 fps]
Jun  6 13:11:02 huntinground zmc_d0[15778]: INF [New: 15000 - Capturing at 21.28 fps]
Jun  6 13:11:48 huntinground zmc_d0[15778]: INF [New: 16000 - Capturing at 21.74 fps]
Jun  6 13:12:09 huntinground zmc_d0[15778]: INF [Got TERM signal, exiting]
Jun  6 13:12:09 huntinground zmc_d0[15778]: ERR [Sync failure for frame 7: Interrupted system call]
Jun  6 13:12:11 huntinground zmc_d0[15919]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 13:12:11 huntinground zmc_d0[15919]: ERR [Failed to get camera source: Invalid argument]
Jun  6 13:12:11 huntinground zmc_d0[15921]: INF [Debug Level = 0, Debug Log = <none>]
Jun  6 13:12:11 huntinground zmc_d0[15921]: ERR [Failed to get camera source: Invalid argument]
Jun  6 13:12:50 huntinground zmu[15956]: ERR [Shared memory not initialised by capture daemon]
Jun  6 13:12:53 huntinground zms[15960]: ERR [Shared memory not initialised by capture daemon]
Jun  6 13:12:56 huntinground zmu[15962]: ERR [Shared memory not initialised by capture daemon]

Posted: Tue May 31, 2005 11:01 pm
by lazyleopard
Usually, zmfix is installed suid, and its job is to chmod the video devices so they're usable. I guess symbolic links may cause trouble, perhaps?

What "Source" settings have you got for your video input? Likely source of problems would be the Device Format (0=PAL, 1=NTSC etc.) and the Capture Palette, but getting width and height correct can help some too...

This may give useful information if run as root:

Code: Select all

zmu -h
zmu -d0 -q -v
though if you've enabled user controls on zoneminder then it'll also want -Uuser -Ppassword for one of your zoneminder users tacked on the end.

Alternatively, if you've got xawtv installed, xawtv -hwscan may help.

Posted: Wed Jun 01, 2005 12:16 am
by GrauW9lf
lazyleopard wrote:Usually, zmfix is installed suid, and its job is to chmod the video devices so they're usable. I guess symbolic links may cause trouble, perhaps?

What "Source" settings have you got for your video input? Likely source of problems would be the Device Format (0=PAL, 1=NTSC etc.) and the Capture Palette, but getting width and height correct can help some too...

This may give useful information if run as root:

Code: Select all

zmu -h
zmu -d0 -q -v
though if you've enabled user controls on zoneminder then it'll also want -Uuser -Ppassword for one of your zoneminder users tacked on the end.

Alternatively, if you've got xawtv installed, xawtv -hwscan may help.
The 'Source' is /dev/video0 which is a symlink to /dev/v4l/video0. I guess gentoo automatically made after I booted. Device format is set '1' for NTSC. Colour palette is set to 'Grey' which is sufficient, it's a black and white camera hooked up for the moment.

After continued fiddling and finding that everything points to being "ok", I checked all of my hardware through yet another time I narrowed down *A* problem being a composite to svideo adapter I'm using. After changing it, voila, an image. That bit of code for zmu shed some light on what linux thinks of all the inputs. It only gives me 4 channels. 0 is "TV", 1-3 are, composite 1, s-video, and composite 3. Which is strange, because I only have a single s-video port. :P This is also a machine without X installed, so I can't run xawtv. This is mostly just a testing box, some spare hardware I already had put together. K6-2 300, 64meg ram. Using a WinTV32 (bt878 chip) for stuff. So it's not the best, but at least hopefuly now I can work on learning the system.

Thanks for the suggestion and help, I'll have to remember it for the future, when I put together a dedicated box for security (prolly this Celery 600 I have laying around).